peachsim 0.1.2247 → 0.1.2249

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 (111) hide show
  1. package/cli/bin.ts +5 -0
  2. package/cli/bridge-flow-runner.ts +28 -2
  3. package/cli/cloud-dispatch.ts +2 -0
  4. package/cli/commands/control.ts +2 -2
  5. package/cli/commands/coverage-swift.ts +3 -3
  6. package/cli/commands/inspect/settling.ts +35 -4
  7. package/cli/commands/shell-url.ts +6 -0
  8. package/cli/commands/skills.ts +6 -3
  9. package/cli/drivers/playwright.ts +2 -0
  10. package/dist-lib/agent-daemon-client.cjs +1 -29
  11. package/dist-lib/agent-events.cjs +1 -1
  12. package/dist-lib/attached-projects.cjs +1 -10
  13. package/dist-lib/auth/shared-session.cjs +1 -1
  14. package/dist-lib/backend-origin.cjs +1 -1
  15. package/dist-lib/beta.cjs +1 -1
  16. package/dist-lib/beta.mjs +1 -1
  17. package/dist-lib/bridge-constants.cjs +1 -1
  18. package/dist-lib/bridge-contract-input.cjs +1 -1
  19. package/dist-lib/bridge-contract-input.mjs +1 -1
  20. package/dist-lib/bridge-contract.cjs +1 -1
  21. package/dist-lib/bridge-contract.mjs +1 -1
  22. package/dist-lib/bundle-channel.cjs +4300 -4531
  23. package/dist-lib/capture-contract.cjs +1 -1
  24. package/dist-lib/capture-contract.mjs +1 -1
  25. package/dist-lib/cloud-contract.cjs +1 -1
  26. package/dist-lib/cloud-contract.mjs +1 -1
  27. package/dist-lib/cloud-test-args.cjs +1 -1
  28. package/dist-lib/cloud-test-args.mjs +1 -1
  29. package/dist-lib/cloud.cjs +1 -1
  30. package/dist-lib/cloud.mjs +1 -1
  31. package/dist-lib/config.cjs +1 -1
  32. package/dist-lib/config.mjs +1 -1
  33. package/dist-lib/detox/index.cjs +32 -315
  34. package/dist-lib/dev-bundle-resolution.cjs +1 -12
  35. package/dist-lib/expo-swift-bundle.cjs +3579 -3864
  36. package/dist-lib/expo-swift-metadata.cjs +1 -1
  37. package/dist-lib/expo-swift-metadata.mjs +1 -1
  38. package/dist-lib/home-paths.cjs +1 -1
  39. package/dist-lib/host/bridge-host.cjs +4376 -4682
  40. package/dist-lib/host/fetch-proxy-handler.cjs +97 -713
  41. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  42. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  43. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  44. package/dist-lib/host/websocket-proxy.cjs +1 -1
  45. package/dist-lib/index.cjs +669 -1116
  46. package/dist-lib/jump-to-source-babel.cjs +1 -1
  47. package/dist-lib/jump-to-source-native.cjs +1 -1
  48. package/dist-lib/kotlin-host.cjs +3 -24
  49. package/dist-lib/menu.cjs +1 -1
  50. package/dist-lib/menu.mjs +1 -1
  51. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  52. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  53. package/dist-lib/metro-production-bundle.cjs +1 -10
  54. package/dist-lib/metro-production-bundle.mjs +1 -12
  55. package/dist-lib/metro.cjs +546 -975
  56. package/dist-lib/native-app-identity-project.cjs +299 -592
  57. package/dist-lib/native-app-identity-project.mjs +11 -232
  58. package/dist-lib/native-app-identity.cjs +1 -1
  59. package/dist-lib/native-app-identity.mjs +1 -1
  60. package/dist-lib/native-firebase-metadata.cjs +1 -1
  61. package/dist-lib/native-firebase-metadata.mjs +1 -1
  62. package/dist-lib/pdfium-raster.cjs +1 -1
  63. package/dist-lib/pdfium-raster.mjs +1 -1
  64. package/dist-lib/plist.cjs +1 -1
  65. package/dist-lib/plist.mjs +1 -1
  66. package/dist-lib/profiles.cjs +1 -1
  67. package/dist-lib/public-brand.cjs +1 -1
  68. package/dist-lib/public-origins-lib-esm.json +28 -96
  69. package/dist-lib/public-origins-lib.json +172 -1058
  70. package/dist-lib/react-native-host-modules.cjs +1 -1
  71. package/dist-lib/react-native-host-modules.mjs +1 -1
  72. package/dist-lib/reap-browser.cjs +1 -1
  73. package/dist-lib/scripts/dev-server-scanner.cjs +1 -34
  74. package/dist-lib/sdk.cjs +31 -7
  75. package/dist-lib/sdk.mjs +31 -7
  76. package/dist-lib/skills.cjs +4960 -5345
  77. package/dist-lib/swift-compile.cjs +1185 -1107
  78. package/dist-lib/swift-compile.mjs +137 -54
  79. package/dist-lib/swift-package.cjs +1 -1
  80. package/dist-lib/swift-package.mjs +1 -1
  81. package/dist-lib/swift-submit.cjs +1 -1
  82. package/dist-lib/swift-submit.mjs +1 -1
  83. package/dist-lib/swift-toolchain.cjs +1 -1
  84. package/dist-lib/swift.cjs +1 -1
  85. package/dist-lib/vite-swift.cjs +1568 -1672
  86. package/dist-lib/vite.cjs +173 -763
  87. package/dist-lib/worklet-executable.cjs +1 -1
  88. package/dist-lib/worklet-executable.mjs +1 -1
  89. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +3 -0
  90. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
  91. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +1 -0
  92. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +8 -0
  93. package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -0
  94. package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +10 -2
  95. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +5 -0
  96. package/kotlin/sdk.tar.gz +0 -0
  97. package/package.json +1 -1
  98. package/runtime-companion.json +1 -1
  99. package/sdk/ios/wasm/include/math.h +1 -1
  100. package/sdk/ios/wasm/include/pthread.h +1 -1
  101. package/src/assetCatalogContract.ts +6 -0
  102. package/src/kotlin-module.ts +3 -3
  103. package/src/sfSymbolMetricsContract.ts +73 -37
  104. package/src/swift-compile.ts +99 -7
  105. package/src/swift-coverage/provenance.ts +4 -4
  106. package/src/swift-guest-image-ledger.ts +10 -5
  107. package/src/swift-guest-link.ts +20 -14
  108. package/src/swift-objc-sdk.ts +34 -21
  109. package/src/swift-objc-standin.ts +7 -7
  110. package/src/swift-standins.ts +11 -8
  111. package/src/swift-wasm-prune.ts +30 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -35,14 +35,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  ));
36
36
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
37
 
38
- // <define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>
39
- var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
40
- var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
41
- "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
42
- define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547", "home-paths.ts": "d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95", "xcode-target-members.ts": "d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
- }
44
- });
45
-
46
38
  // ../peach-globals/src/bundle-global-footer.ts
47
39
  function findBundleFooter(source, prefix2) {
48
40
  let end = source.length;
@@ -92,7 +84,6 @@ ${prefix2}${json}${suffix}`;
92
84
  var init_bundle_global_footer = __esm({
93
85
  "../peach-globals/src/bundle-global-footer.ts"() {
94
86
  "use strict";
95
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
96
87
  }
97
88
  });
98
89
 
@@ -130,7 +121,6 @@ var import_node_fs, import_node_path, EXPO_APP_CONFIG_NAMES, PEACH_APP_CONFIG_NA
130
121
  var init_app_project = __esm({
131
122
  "cli/app-project.ts"() {
132
123
  "use strict";
133
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
134
124
  import_node_fs = __toESM(require("node:fs"), 1);
135
125
  import_node_path = __toESM(require("node:path"), 1);
136
126
  EXPO_APP_CONFIG_NAMES = [
@@ -154,7 +144,6 @@ var PEACH_FORKED_SCRIPT_ENV;
154
144
  var init_forked_script_contract = __esm({
155
145
  "src/forked-script-contract.ts"() {
156
146
  "use strict";
157
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
158
147
  PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
159
148
  }
160
149
  });
@@ -166,7 +155,6 @@ function isRecord(value) {
166
155
  var init_is_record = __esm({
167
156
  "src/is-record.ts"() {
168
157
  "use strict";
169
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
170
158
  }
171
159
  });
172
160
 
@@ -274,7 +262,6 @@ var import_node_child_process, import_node_fs2, import_node_module, import_node_
274
262
  var init_react_native_autolinking = __esm({
275
263
  "src/react-native-autolinking.ts"() {
276
264
  "use strict";
277
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
278
265
  import_node_child_process = require("node:child_process");
279
266
  import_node_fs2 = __toESM(require("node:fs"), 1);
280
267
  import_node_module = require("node:module");
@@ -318,7 +305,6 @@ var NativeURL;
318
305
  var init_backend_origin = __esm({
319
306
  "src/backend-origin.ts"() {
320
307
  "use strict";
321
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
322
308
  NativeURL = globalThis.URL;
323
309
  }
324
310
  });
@@ -410,7 +396,6 @@ var import_node_child_process3, import_node_fs6, import_node_os, clockTicks;
410
396
  var init_process_table = __esm({
411
397
  "src/process-table.ts"() {
412
398
  "use strict";
413
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
414
399
  import_node_child_process3 = require("node:child_process");
415
400
  import_node_fs6 = require("node:fs");
416
401
  import_node_os = require("node:os");
@@ -728,7 +713,6 @@ var import_node_child_process4, import_node_fs7, import_node_os2, import_node_pa
728
713
  var init_process_group = __esm({
729
714
  "src/process-group.ts"() {
730
715
  "use strict";
731
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
732
716
  import_node_child_process4 = require("node:child_process");
733
717
  import_node_fs7 = require("node:fs");
734
718
  import_node_os2 = require("node:os");
@@ -749,7 +733,6 @@ function isValidRuntimeVersion(value) {
749
733
  var init_version = __esm({
750
734
  "../contrast-runtime-delivery/src/version.ts"() {
751
735
  "use strict";
752
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
753
736
  }
754
737
  });
755
738
 
@@ -789,7 +772,6 @@ var import_node_fs8, import_node_path6;
789
772
  var init_product = __esm({
790
773
  "../contrast-runtime-delivery/src/product.ts"() {
791
774
  "use strict";
792
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
793
775
  import_node_fs8 = __toESM(require("node:fs"), 1);
794
776
  import_node_path6 = __toESM(require("node:path"), 1);
795
777
  init_version();
@@ -801,7 +783,6 @@ var RUNTIME_PACKS_FILE, RUNTIME_PACK_MARKER, RUNTIME_PACK_PREFIXES, RUNTIME_MERG
801
783
  var init_packs = __esm({
802
784
  "../contrast-runtime-delivery/src/packs.ts"() {
803
785
  "use strict";
804
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
805
786
  RUNTIME_PACKS_FILE = "packs.json";
806
787
  RUNTIME_PACK_MARKER = ".pack";
807
788
  RUNTIME_PACK_PREFIXES = [
@@ -1331,7 +1312,6 @@ var import_node_child_process5, import_node_crypto2, import_node_fs9, import_nod
1331
1312
  var init_src = __esm({
1332
1313
  "../contrast-runtime-delivery/src/index.ts"() {
1333
1314
  "use strict";
1334
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1335
1315
  import_node_child_process5 = require("node:child_process");
1336
1316
  import_node_crypto2 = __toESM(require("node:crypto"), 1);
1337
1317
  import_node_fs9 = __toESM(require("node:fs"), 1);
@@ -1401,7 +1381,6 @@ var import_node_fs10, import_node_os4, import_node_path8, PEACH_HOME_ENV, ACTIVE
1401
1381
  var init_home_paths = __esm({
1402
1382
  "src/home-paths.ts"() {
1403
1383
  "use strict";
1404
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1405
1384
  import_node_fs10 = __toESM(require("node:fs"), 1);
1406
1385
  import_node_os4 = require("node:os");
1407
1386
  import_node_path8 = __toESM(require("node:path"), 1);
@@ -1575,7 +1554,6 @@ var import_fs, import_path, import_url, SOOTSIM_RUNTIME_MISSING_MESSAGE, _monore
1575
1554
  var init_runtime_assets = __esm({
1576
1555
  "src/runtime-assets.ts"() {
1577
1556
  "use strict";
1578
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1579
1557
  import_fs = __toESM(require("fs"), 1);
1580
1558
  import_path = __toESM(require("path"), 1);
1581
1559
  import_url = require("url");
@@ -1636,7 +1614,6 @@ function peachRuntimeRoot() {
1636
1614
  var init_answeredNativePackages = __esm({
1637
1615
  "src/answeredNativePackages.ts"() {
1638
1616
  "use strict";
1639
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1640
1617
  init_runtime_assets();
1641
1618
  }
1642
1619
  });
@@ -1644,7 +1621,6 @@ var init_answeredNativePackages = __esm({
1644
1621
  // ../../node_modules/json5/lib/unicode.js
1645
1622
  var require_unicode = __commonJS({
1646
1623
  "../../node_modules/json5/lib/unicode.js"(exports2, module2) {
1647
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1648
1624
  module2.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/;
1649
1625
  module2.exports.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;
1650
1626
  module2.exports.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;
@@ -1654,7 +1630,6 @@ var require_unicode = __commonJS({
1654
1630
  // ../../node_modules/json5/lib/util.js
1655
1631
  var require_util = __commonJS({
1656
1632
  "../../node_modules/json5/lib/util.js"(exports2, module2) {
1657
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1658
1633
  var unicode = require_unicode();
1659
1634
  module2.exports = {
1660
1635
  isSpaceSeparator(c) {
@@ -1679,7 +1654,6 @@ var require_util = __commonJS({
1679
1654
  // ../../node_modules/json5/lib/parse.js
1680
1655
  var require_parse = __commonJS({
1681
1656
  "../../node_modules/json5/lib/parse.js"(exports2, module2) {
1682
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1683
1657
  var util = require_util();
1684
1658
  var source;
1685
1659
  var parseState;
@@ -2527,7 +2501,6 @@ var require_parse = __commonJS({
2527
2501
  // ../../node_modules/json5/lib/stringify.js
2528
2502
  var require_stringify = __commonJS({
2529
2503
  "../../node_modules/json5/lib/stringify.js"(exports2, module2) {
2530
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2531
2504
  var util = require_util();
2532
2505
  module2.exports = function stringify4(value, replacer, space) {
2533
2506
  const stack = [];
@@ -2747,7 +2720,6 @@ var require_stringify = __commonJS({
2747
2720
  // ../../node_modules/json5/lib/index.js
2748
2721
  var require_lib = __commonJS({
2749
2722
  "../../node_modules/json5/lib/index.js"(exports2, module2) {
2750
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2751
2723
  var parse8 = require_parse();
2752
2724
  var stringify4 = require_stringify();
2753
2725
  var JSON53 = {
@@ -2782,7 +2754,6 @@ function isNode(node) {
2782
2754
  var ALIAS, DOC, MAP, PAIR, SCALAR, SEQ, NODE_TYPE, isAlias, isDocument, isMap, isPair, isScalar, isSeq, hasAnchor;
2783
2755
  var init_identity = __esm({
2784
2756
  "../../node_modules/yaml/browser/dist/nodes/identity.js"() {
2785
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2786
2757
  ALIAS = Symbol.for("yaml.alias");
2787
2758
  DOC = Symbol.for("yaml.document");
2788
2759
  MAP = Symbol.for("yaml.map");
@@ -2810,17 +2781,17 @@ function visit(node, visitor) {
2810
2781
  } else
2811
2782
  visit_(null, node, visitor_, Object.freeze([]));
2812
2783
  }
2813
- function visit_(key, node, visitor, path29) {
2814
- const ctrl = callVisitor(key, node, visitor, path29);
2784
+ function visit_(key, node, visitor, path26) {
2785
+ const ctrl = callVisitor(key, node, visitor, path26);
2815
2786
  if (isNode(ctrl) || isPair(ctrl)) {
2816
- replaceNode(key, path29, ctrl);
2817
- return visit_(key, ctrl, visitor, path29);
2787
+ replaceNode(key, path26, ctrl);
2788
+ return visit_(key, ctrl, visitor, path26);
2818
2789
  }
2819
2790
  if (typeof ctrl !== "symbol") {
2820
2791
  if (isCollection(node)) {
2821
- path29 = Object.freeze(path29.concat(node));
2792
+ path26 = Object.freeze(path26.concat(node));
2822
2793
  for (let i = 0; i < node.items.length; ++i) {
2823
- const ci = visit_(i, node.items[i], visitor, path29);
2794
+ const ci = visit_(i, node.items[i], visitor, path26);
2824
2795
  if (typeof ci === "number")
2825
2796
  i = ci - 1;
2826
2797
  else if (ci === BREAK)
@@ -2831,13 +2802,13 @@ function visit_(key, node, visitor, path29) {
2831
2802
  }
2832
2803
  }
2833
2804
  } else if (isPair(node)) {
2834
- path29 = Object.freeze(path29.concat(node));
2835
- const ck = visit_("key", node.key, visitor, path29);
2805
+ path26 = Object.freeze(path26.concat(node));
2806
+ const ck = visit_("key", node.key, visitor, path26);
2836
2807
  if (ck === BREAK)
2837
2808
  return BREAK;
2838
2809
  else if (ck === REMOVE)
2839
2810
  node.key = null;
2840
- const cv = visit_("value", node.value, visitor, path29);
2811
+ const cv = visit_("value", node.value, visitor, path26);
2841
2812
  if (cv === BREAK)
2842
2813
  return BREAK;
2843
2814
  else if (cv === REMOVE)
@@ -2855,17 +2826,17 @@ async function visitAsync(node, visitor) {
2855
2826
  } else
2856
2827
  await visitAsync_(null, node, visitor_, Object.freeze([]));
2857
2828
  }
2858
- async function visitAsync_(key, node, visitor, path29) {
2859
- const ctrl = await callVisitor(key, node, visitor, path29);
2829
+ async function visitAsync_(key, node, visitor, path26) {
2830
+ const ctrl = await callVisitor(key, node, visitor, path26);
2860
2831
  if (isNode(ctrl) || isPair(ctrl)) {
2861
- replaceNode(key, path29, ctrl);
2862
- return visitAsync_(key, ctrl, visitor, path29);
2832
+ replaceNode(key, path26, ctrl);
2833
+ return visitAsync_(key, ctrl, visitor, path26);
2863
2834
  }
2864
2835
  if (typeof ctrl !== "symbol") {
2865
2836
  if (isCollection(node)) {
2866
- path29 = Object.freeze(path29.concat(node));
2837
+ path26 = Object.freeze(path26.concat(node));
2867
2838
  for (let i = 0; i < node.items.length; ++i) {
2868
- const ci = await visitAsync_(i, node.items[i], visitor, path29);
2839
+ const ci = await visitAsync_(i, node.items[i], visitor, path26);
2869
2840
  if (typeof ci === "number")
2870
2841
  i = ci - 1;
2871
2842
  else if (ci === BREAK)
@@ -2876,13 +2847,13 @@ async function visitAsync_(key, node, visitor, path29) {
2876
2847
  }
2877
2848
  }
2878
2849
  } else if (isPair(node)) {
2879
- path29 = Object.freeze(path29.concat(node));
2880
- const ck = await visitAsync_("key", node.key, visitor, path29);
2850
+ path26 = Object.freeze(path26.concat(node));
2851
+ const ck = await visitAsync_("key", node.key, visitor, path26);
2881
2852
  if (ck === BREAK)
2882
2853
  return BREAK;
2883
2854
  else if (ck === REMOVE)
2884
2855
  node.key = null;
2885
- const cv = await visitAsync_("value", node.value, visitor, path29);
2856
+ const cv = await visitAsync_("value", node.value, visitor, path26);
2886
2857
  if (cv === BREAK)
2887
2858
  return BREAK;
2888
2859
  else if (cv === REMOVE)
@@ -2909,23 +2880,23 @@ function initVisitor(visitor) {
2909
2880
  }
2910
2881
  return visitor;
2911
2882
  }
2912
- function callVisitor(key, node, visitor, path29) {
2883
+ function callVisitor(key, node, visitor, path26) {
2913
2884
  if (typeof visitor === "function")
2914
- return visitor(key, node, path29);
2885
+ return visitor(key, node, path26);
2915
2886
  if (isMap(node))
2916
- return visitor.Map?.(key, node, path29);
2887
+ return visitor.Map?.(key, node, path26);
2917
2888
  if (isSeq(node))
2918
- return visitor.Seq?.(key, node, path29);
2889
+ return visitor.Seq?.(key, node, path26);
2919
2890
  if (isPair(node))
2920
- return visitor.Pair?.(key, node, path29);
2891
+ return visitor.Pair?.(key, node, path26);
2921
2892
  if (isScalar(node))
2922
- return visitor.Scalar?.(key, node, path29);
2893
+ return visitor.Scalar?.(key, node, path26);
2923
2894
  if (isAlias(node))
2924
- return visitor.Alias?.(key, node, path29);
2895
+ return visitor.Alias?.(key, node, path26);
2925
2896
  return void 0;
2926
2897
  }
2927
- function replaceNode(key, path29, node) {
2928
- const parent = path29[path29.length - 1];
2898
+ function replaceNode(key, path26, node) {
2899
+ const parent = path26[path26.length - 1];
2929
2900
  if (isCollection(parent)) {
2930
2901
  parent.items[key] = node;
2931
2902
  } else if (isPair(parent)) {
@@ -2943,7 +2914,6 @@ function replaceNode(key, path29, node) {
2943
2914
  var BREAK, SKIP, REMOVE;
2944
2915
  var init_visit = __esm({
2945
2916
  "../../node_modules/yaml/browser/dist/visit.js"() {
2946
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2947
2917
  init_identity();
2948
2918
  BREAK = Symbol("break visit");
2949
2919
  SKIP = Symbol("skip children");
@@ -2961,7 +2931,6 @@ var init_visit = __esm({
2961
2931
  var escapeChars, escapeTagName, Directives;
2962
2932
  var init_directives = __esm({
2963
2933
  "../../node_modules/yaml/browser/dist/doc/directives.js"() {
2964
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2965
2934
  init_identity();
2966
2935
  init_visit();
2967
2936
  escapeChars = {
@@ -3139,7 +3108,6 @@ function anchorIsValid(anchor) {
3139
3108
  }
3140
3109
  var init_anchors = __esm({
3141
3110
  "../../node_modules/yaml/browser/dist/doc/anchors.js"() {
3142
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3143
3111
  init_identity();
3144
3112
  init_visit();
3145
3113
  }
@@ -3190,7 +3158,6 @@ function applyReviver(reviver, obj, key, val) {
3190
3158
  }
3191
3159
  var init_applyReviver = __esm({
3192
3160
  "../../node_modules/yaml/browser/dist/doc/applyReviver.js"() {
3193
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3194
3161
  }
3195
3162
  });
3196
3163
 
@@ -3218,7 +3185,6 @@ function toJS(value, arg, ctx) {
3218
3185
  }
3219
3186
  var init_toJS = __esm({
3220
3187
  "../../node_modules/yaml/browser/dist/nodes/toJS.js"() {
3221
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3222
3188
  init_identity();
3223
3189
  }
3224
3190
  });
@@ -3227,7 +3193,6 @@ var init_toJS = __esm({
3227
3193
  var NodeBase;
3228
3194
  var init_Node = __esm({
3229
3195
  "../../node_modules/yaml/browser/dist/nodes/Node.js"() {
3230
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3231
3196
  init_applyReviver();
3232
3197
  init_identity();
3233
3198
  init_toJS();
@@ -3288,7 +3253,6 @@ function getAliasCount(doc, node, anchors) {
3288
3253
  var Alias;
3289
3254
  var init_Alias = __esm({
3290
3255
  "../../node_modules/yaml/browser/dist/nodes/Alias.js"() {
3291
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3292
3256
  init_anchors();
3293
3257
  init_visit();
3294
3258
  init_identity();
@@ -3384,7 +3348,6 @@ var init_Alias = __esm({
3384
3348
  var isScalarValue, Scalar;
3385
3349
  var init_Scalar = __esm({
3386
3350
  "../../node_modules/yaml/browser/dist/nodes/Scalar.js"() {
3387
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3388
3351
  init_identity();
3389
3352
  init_Node();
3390
3353
  init_toJS();
@@ -3476,7 +3439,6 @@ function createNode(value, tagName, ctx) {
3476
3439
  var defaultTagPrefix;
3477
3440
  var init_createNode = __esm({
3478
3441
  "../../node_modules/yaml/browser/dist/doc/createNode.js"() {
3479
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3480
3442
  init_Alias();
3481
3443
  init_identity();
3482
3444
  init_Scalar();
@@ -3485,10 +3447,10 @@ var init_createNode = __esm({
3485
3447
  });
3486
3448
 
3487
3449
  // ../../node_modules/yaml/browser/dist/nodes/Collection.js
3488
- function collectionFromPath(schema4, path29, value) {
3450
+ function collectionFromPath(schema4, path26, value) {
3489
3451
  let v6 = value;
3490
- for (let i = path29.length - 1; i >= 0; --i) {
3491
- const k = path29[i];
3452
+ for (let i = path26.length - 1; i >= 0; --i) {
3453
+ const k = path26[i];
3492
3454
  if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
3493
3455
  const a = [];
3494
3456
  a[k] = v6;
@@ -3510,11 +3472,10 @@ function collectionFromPath(schema4, path29, value) {
3510
3472
  var isEmptyPath, Collection;
3511
3473
  var init_Collection = __esm({
3512
3474
  "../../node_modules/yaml/browser/dist/nodes/Collection.js"() {
3513
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3514
3475
  init_createNode();
3515
3476
  init_identity();
3516
3477
  init_Node();
3517
- isEmptyPath = (path29) => path29 == null || typeof path29 === "object" && !!path29[Symbol.iterator]().next().done;
3478
+ isEmptyPath = (path26) => path26 == null || typeof path26 === "object" && !!path26[Symbol.iterator]().next().done;
3518
3479
  Collection = class extends NodeBase {
3519
3480
  constructor(type, schema4) {
3520
3481
  super(type);
@@ -3544,11 +3505,11 @@ var init_Collection = __esm({
3544
3505
  * be a Pair instance or a `{ key, value }` object, which may not have a key
3545
3506
  * that already exists in the map.
3546
3507
  */
3547
- addIn(path29, value) {
3548
- if (isEmptyPath(path29))
3508
+ addIn(path26, value) {
3509
+ if (isEmptyPath(path26))
3549
3510
  this.add(value);
3550
3511
  else {
3551
- const [key, ...rest] = path29;
3512
+ const [key, ...rest] = path26;
3552
3513
  const node = this.get(key, true);
3553
3514
  if (isCollection(node))
3554
3515
  node.addIn(rest, value);
@@ -3562,8 +3523,8 @@ var init_Collection = __esm({
3562
3523
  * Removes a value from the collection.
3563
3524
  * @returns `true` if the item was found and removed.
3564
3525
  */
3565
- deleteIn(path29) {
3566
- const [key, ...rest] = path29;
3526
+ deleteIn(path26) {
3527
+ const [key, ...rest] = path26;
3567
3528
  if (rest.length === 0)
3568
3529
  return this.delete(key);
3569
3530
  const node = this.get(key, true);
@@ -3577,8 +3538,8 @@ var init_Collection = __esm({
3577
3538
  * scalar values from their surrounding node; to disable set `keepScalar` to
3578
3539
  * `true` (collections are always returned intact).
3579
3540
  */
3580
- getIn(path29, keepScalar) {
3581
- const [key, ...rest] = path29;
3541
+ getIn(path26, keepScalar) {
3542
+ const [key, ...rest] = path26;
3582
3543
  const node = this.get(key, true);
3583
3544
  if (rest.length === 0)
3584
3545
  return !keepScalar && isScalar(node) ? node.value : node;
@@ -3596,8 +3557,8 @@ var init_Collection = __esm({
3596
3557
  /**
3597
3558
  * Checks if the collection includes a value with the key `key`.
3598
3559
  */
3599
- hasIn(path29) {
3600
- const [key, ...rest] = path29;
3560
+ hasIn(path26) {
3561
+ const [key, ...rest] = path26;
3601
3562
  if (rest.length === 0)
3602
3563
  return this.has(key);
3603
3564
  const node = this.get(key, true);
@@ -3607,8 +3568,8 @@ var init_Collection = __esm({
3607
3568
  * Sets a value in this collection. For `!!set`, `value` needs to be a
3608
3569
  * boolean to add/remove the item from the set.
3609
3570
  */
3610
- setIn(path29, value) {
3611
- const [key, ...rest] = path29;
3571
+ setIn(path26, value) {
3572
+ const [key, ...rest] = path26;
3612
3573
  if (rest.length === 0) {
3613
3574
  this.set(key, value);
3614
3575
  } else {
@@ -3634,7 +3595,6 @@ function indentComment(comment, indent) {
3634
3595
  var stringifyComment, lineComment;
3635
3596
  var init_stringifyComment = __esm({
3636
3597
  "../../node_modules/yaml/browser/dist/stringify/stringifyComment.js"() {
3637
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3638
3598
  stringifyComment = (str2) => str2.replace(/^(?!$)(?: $)?/gm, "#");
3639
3599
  lineComment = (str2, indent, comment) => str2.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str2.endsWith(" ") ? "" : " ") + comment;
3640
3600
  }
@@ -3766,7 +3726,6 @@ function consumeMoreIndentedLines(text2, i, indent) {
3766
3726
  var FOLD_FLOW, FOLD_BLOCK, FOLD_QUOTED;
3767
3727
  var init_foldFlowLines = __esm({
3768
3728
  "../../node_modules/yaml/browser/dist/stringify/foldFlowLines.js"() {
3769
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3770
3729
  FOLD_FLOW = "flow";
3771
3730
  FOLD_BLOCK = "block";
3772
3731
  FOLD_QUOTED = "quoted";
@@ -4038,7 +3997,6 @@ function stringifyString(item, ctx, onComment, onChompKeep) {
4038
3997
  var getFoldOptions, containsDocumentMarker, blockEndNewlines;
4039
3998
  var init_stringifyString = __esm({
4040
3999
  "../../node_modules/yaml/browser/dist/stringify/stringifyString.js"() {
4041
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4042
4000
  init_Scalar();
4043
4001
  init_foldFlowLines();
4044
4002
  getFoldOptions = (ctx, isBlock) => ({
@@ -4169,7 +4127,6 @@ ${ctx.indent}${str2}`;
4169
4127
  }
4170
4128
  var init_stringify = __esm({
4171
4129
  "../../node_modules/yaml/browser/dist/stringify/stringify.js"() {
4172
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4173
4130
  init_anchors();
4174
4131
  init_identity();
4175
4132
  init_stringifyComment();
@@ -4301,7 +4258,6 @@ ${ctx.indent}`;
4301
4258
  }
4302
4259
  var init_stringifyPair = __esm({
4303
4260
  "../../node_modules/yaml/browser/dist/stringify/stringifyPair.js"() {
4304
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4305
4261
  init_identity();
4306
4262
  init_Scalar();
4307
4263
  init_stringify();
@@ -4317,7 +4273,6 @@ function warn(logLevel, warning) {
4317
4273
  }
4318
4274
  var init_log = __esm({
4319
4275
  "../../node_modules/yaml/browser/dist/log.js"() {
4320
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4321
4276
  }
4322
4277
  });
4323
4278
 
@@ -4361,7 +4316,6 @@ function resolveAliasValue(ctx, value) {
4361
4316
  var MERGE_KEY, merge, isMergeKey;
4362
4317
  var init_merge = __esm({
4363
4318
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js"() {
4364
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4365
4319
  init_identity();
4366
4320
  init_Scalar();
4367
4321
  MERGE_KEY = "<<";
@@ -4433,7 +4387,6 @@ function stringifyKey(key, jsKey, ctx) {
4433
4387
  }
4434
4388
  var init_addPairToJSMap = __esm({
4435
4389
  "../../node_modules/yaml/browser/dist/nodes/addPairToJSMap.js"() {
4436
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4437
4390
  init_log();
4438
4391
  init_merge();
4439
4392
  init_stringify();
@@ -4451,7 +4404,6 @@ function createPair(key, value, ctx) {
4451
4404
  var Pair;
4452
4405
  var init_Pair = __esm({
4453
4406
  "../../node_modules/yaml/browser/dist/nodes/Pair.js"() {
4454
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4455
4407
  init_createNode();
4456
4408
  init_stringifyPair();
4457
4409
  init_addPairToJSMap();
@@ -4624,7 +4576,6 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
4624
4576
  }
4625
4577
  var init_stringifyCollection = __esm({
4626
4578
  "../../node_modules/yaml/browser/dist/stringify/stringifyCollection.js"() {
4627
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4628
4579
  init_identity();
4629
4580
  init_stringify();
4630
4581
  init_stringifyComment();
@@ -4647,7 +4598,6 @@ function findPair(items2, key) {
4647
4598
  var YAMLMap;
4648
4599
  var init_YAMLMap = __esm({
4649
4600
  "../../node_modules/yaml/browser/dist/nodes/YAMLMap.js"() {
4650
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4651
4601
  init_stringifyCollection();
4652
4602
  init_addPairToJSMap();
4653
4603
  init_Collection();
@@ -4778,7 +4728,6 @@ var init_YAMLMap = __esm({
4778
4728
  var map;
4779
4729
  var init_map = __esm({
4780
4730
  "../../node_modules/yaml/browser/dist/schema/common/map.js"() {
4781
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4782
4731
  init_identity();
4783
4732
  init_YAMLMap();
4784
4733
  map = {
@@ -4806,7 +4755,6 @@ function asItemIndex(key) {
4806
4755
  var YAMLSeq;
4807
4756
  var init_YAMLSeq = __esm({
4808
4757
  "../../node_modules/yaml/browser/dist/nodes/YAMLSeq.js"() {
4809
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4810
4758
  init_createNode();
4811
4759
  init_stringifyCollection();
4812
4760
  init_Collection();
@@ -4916,7 +4864,6 @@ var init_YAMLSeq = __esm({
4916
4864
  var seq;
4917
4865
  var init_seq = __esm({
4918
4866
  "../../node_modules/yaml/browser/dist/schema/common/seq.js"() {
4919
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4920
4867
  init_identity();
4921
4868
  init_YAMLSeq();
4922
4869
  seq = {
@@ -4937,7 +4884,6 @@ var init_seq = __esm({
4937
4884
  // ../../node_modules/yaml/browser/dist/schema/common/string.js
4938
4885
  var init_string = __esm({
4939
4886
  "../../node_modules/yaml/browser/dist/schema/common/string.js"() {
4940
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4941
4887
  init_stringifyString();
4942
4888
  }
4943
4889
  });
@@ -4945,7 +4891,6 @@ var init_string = __esm({
4945
4891
  // ../../node_modules/yaml/browser/dist/schema/common/null.js
4946
4892
  var init_null = __esm({
4947
4893
  "../../node_modules/yaml/browser/dist/schema/common/null.js"() {
4948
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4949
4894
  init_Scalar();
4950
4895
  }
4951
4896
  });
@@ -4953,7 +4898,6 @@ var init_null = __esm({
4953
4898
  // ../../node_modules/yaml/browser/dist/schema/core/bool.js
4954
4899
  var init_bool = __esm({
4955
4900
  "../../node_modules/yaml/browser/dist/schema/core/bool.js"() {
4956
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4957
4901
  init_Scalar();
4958
4902
  }
4959
4903
  });
@@ -4961,14 +4905,12 @@ var init_bool = __esm({
4961
4905
  // ../../node_modules/yaml/browser/dist/stringify/stringifyNumber.js
4962
4906
  var init_stringifyNumber = __esm({
4963
4907
  "../../node_modules/yaml/browser/dist/stringify/stringifyNumber.js"() {
4964
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4965
4908
  }
4966
4909
  });
4967
4910
 
4968
4911
  // ../../node_modules/yaml/browser/dist/schema/core/float.js
4969
4912
  var init_float = __esm({
4970
4913
  "../../node_modules/yaml/browser/dist/schema/core/float.js"() {
4971
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4972
4914
  init_Scalar();
4973
4915
  init_stringifyNumber();
4974
4916
  }
@@ -4977,7 +4919,6 @@ var init_float = __esm({
4977
4919
  // ../../node_modules/yaml/browser/dist/schema/core/int.js
4978
4920
  var init_int = __esm({
4979
4921
  "../../node_modules/yaml/browser/dist/schema/core/int.js"() {
4980
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4981
4922
  init_stringifyNumber();
4982
4923
  }
4983
4924
  });
@@ -4985,7 +4926,6 @@ var init_int = __esm({
4985
4926
  // ../../node_modules/yaml/browser/dist/schema/core/schema.js
4986
4927
  var init_schema = __esm({
4987
4928
  "../../node_modules/yaml/browser/dist/schema/core/schema.js"() {
4988
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
4989
4929
  init_map();
4990
4930
  init_null();
4991
4931
  init_seq();
@@ -5003,7 +4943,6 @@ function intIdentify(value) {
5003
4943
  var stringifyJSON, jsonScalars, jsonError, schema;
5004
4944
  var init_schema2 = __esm({
5005
4945
  "../../node_modules/yaml/browser/dist/schema/json/schema.js"() {
5006
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5007
4946
  init_Scalar();
5008
4947
  init_map();
5009
4948
  init_seq();
@@ -5066,7 +5005,6 @@ var init_schema2 = __esm({
5066
5005
  // ../../node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
5067
5006
  var init_binary = __esm({
5068
5007
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js"() {
5069
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5070
5008
  init_Scalar();
5071
5009
  init_stringifyString();
5072
5010
  }
@@ -5106,7 +5044,6 @@ function createPairs(schema4, iterable, ctx) {
5106
5044
  }
5107
5045
  var init_pairs = __esm({
5108
5046
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js"() {
5109
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5110
5047
  init_identity();
5111
5048
  init_Pair();
5112
5049
  init_Scalar();
@@ -5118,7 +5055,6 @@ var init_pairs = __esm({
5118
5055
  var YAMLOMap;
5119
5056
  var init_omap = __esm({
5120
5057
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js"() {
5121
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5122
5058
  init_identity();
5123
5059
  init_toJS();
5124
5060
  init_YAMLMap();
@@ -5172,7 +5108,6 @@ var init_omap = __esm({
5172
5108
  // ../../node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
5173
5109
  var init_bool2 = __esm({
5174
5110
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js"() {
5175
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5176
5111
  init_Scalar();
5177
5112
  }
5178
5113
  });
@@ -5180,7 +5115,6 @@ var init_bool2 = __esm({
5180
5115
  // ../../node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
5181
5116
  var init_float2 = __esm({
5182
5117
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/float.js"() {
5183
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5184
5118
  init_Scalar();
5185
5119
  init_stringifyNumber();
5186
5120
  }
@@ -5189,7 +5123,6 @@ var init_float2 = __esm({
5189
5123
  // ../../node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
5190
5124
  var init_int2 = __esm({
5191
5125
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/int.js"() {
5192
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5193
5126
  init_stringifyNumber();
5194
5127
  }
5195
5128
  });
@@ -5198,7 +5131,6 @@ var init_int2 = __esm({
5198
5131
  var YAMLSet;
5199
5132
  var init_set = __esm({
5200
5133
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/set.js"() {
5201
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5202
5134
  init_identity();
5203
5135
  init_Pair();
5204
5136
  init_YAMLMap();
@@ -5275,7 +5207,6 @@ function parseSexagesimal(str2, asBigInt) {
5275
5207
  var timestamp;
5276
5208
  var init_timestamp = __esm({
5277
5209
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js"() {
5278
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5279
5210
  init_stringifyNumber();
5280
5211
  timestamp = {
5281
5212
  identify: (value) => value instanceof Date,
@@ -5309,7 +5240,6 @@ var init_timestamp = __esm({
5309
5240
  // ../../node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js
5310
5241
  var init_schema3 = __esm({
5311
5242
  "../../node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js"() {
5312
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5313
5243
  init_map();
5314
5244
  init_null();
5315
5245
  init_seq();
@@ -5329,7 +5259,6 @@ var init_schema3 = __esm({
5329
5259
  // ../../node_modules/yaml/browser/dist/schema/tags.js
5330
5260
  var init_tags = __esm({
5331
5261
  "../../node_modules/yaml/browser/dist/schema/tags.js"() {
5332
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5333
5262
  init_map();
5334
5263
  init_null();
5335
5264
  init_seq();
@@ -5352,7 +5281,6 @@ var init_tags = __esm({
5352
5281
  // ../../node_modules/yaml/browser/dist/schema/Schema.js
5353
5282
  var init_Schema = __esm({
5354
5283
  "../../node_modules/yaml/browser/dist/schema/Schema.js"() {
5355
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5356
5284
  init_identity();
5357
5285
  init_map();
5358
5286
  init_seq();
@@ -5364,7 +5292,6 @@ var init_Schema = __esm({
5364
5292
  // ../../node_modules/yaml/browser/dist/stringify/stringifyDocument.js
5365
5293
  var init_stringifyDocument = __esm({
5366
5294
  "../../node_modules/yaml/browser/dist/stringify/stringifyDocument.js"() {
5367
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5368
5295
  init_identity();
5369
5296
  init_stringify();
5370
5297
  init_stringifyComment();
@@ -5374,7 +5301,6 @@ var init_stringifyDocument = __esm({
5374
5301
  // ../../node_modules/yaml/browser/dist/doc/Document.js
5375
5302
  var init_Document = __esm({
5376
5303
  "../../node_modules/yaml/browser/dist/doc/Document.js"() {
5377
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5378
5304
  init_Alias();
5379
5305
  init_Collection();
5380
5306
  init_identity();
@@ -5392,28 +5318,24 @@ var init_Document = __esm({
5392
5318
  // ../../node_modules/yaml/browser/dist/errors.js
5393
5319
  var init_errors = __esm({
5394
5320
  "../../node_modules/yaml/browser/dist/errors.js"() {
5395
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5396
5321
  }
5397
5322
  });
5398
5323
 
5399
5324
  // ../../node_modules/yaml/browser/dist/compose/resolve-props.js
5400
5325
  var init_resolve_props = __esm({
5401
5326
  "../../node_modules/yaml/browser/dist/compose/resolve-props.js"() {
5402
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5403
5327
  }
5404
5328
  });
5405
5329
 
5406
5330
  // ../../node_modules/yaml/browser/dist/compose/util-contains-newline.js
5407
5331
  var init_util_contains_newline = __esm({
5408
5332
  "../../node_modules/yaml/browser/dist/compose/util-contains-newline.js"() {
5409
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5410
5333
  }
5411
5334
  });
5412
5335
 
5413
5336
  // ../../node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
5414
5337
  var init_util_flow_indent_check = __esm({
5415
5338
  "../../node_modules/yaml/browser/dist/compose/util-flow-indent-check.js"() {
5416
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5417
5339
  init_util_contains_newline();
5418
5340
  }
5419
5341
  });
@@ -5421,7 +5343,6 @@ var init_util_flow_indent_check = __esm({
5421
5343
  // ../../node_modules/yaml/browser/dist/compose/util-map-includes.js
5422
5344
  var init_util_map_includes = __esm({
5423
5345
  "../../node_modules/yaml/browser/dist/compose/util-map-includes.js"() {
5424
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5425
5346
  init_identity();
5426
5347
  }
5427
5348
  });
@@ -5429,7 +5350,6 @@ var init_util_map_includes = __esm({
5429
5350
  // ../../node_modules/yaml/browser/dist/compose/resolve-block-map.js
5430
5351
  var init_resolve_block_map = __esm({
5431
5352
  "../../node_modules/yaml/browser/dist/compose/resolve-block-map.js"() {
5432
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5433
5353
  init_Pair();
5434
5354
  init_YAMLMap();
5435
5355
  init_resolve_props();
@@ -5442,7 +5362,6 @@ var init_resolve_block_map = __esm({
5442
5362
  // ../../node_modules/yaml/browser/dist/compose/resolve-block-seq.js
5443
5363
  var init_resolve_block_seq = __esm({
5444
5364
  "../../node_modules/yaml/browser/dist/compose/resolve-block-seq.js"() {
5445
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5446
5365
  init_YAMLSeq();
5447
5366
  init_resolve_props();
5448
5367
  init_util_flow_indent_check();
@@ -5452,14 +5371,12 @@ var init_resolve_block_seq = __esm({
5452
5371
  // ../../node_modules/yaml/browser/dist/compose/resolve-end.js
5453
5372
  var init_resolve_end = __esm({
5454
5373
  "../../node_modules/yaml/browser/dist/compose/resolve-end.js"() {
5455
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5456
5374
  }
5457
5375
  });
5458
5376
 
5459
5377
  // ../../node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
5460
5378
  var init_resolve_flow_collection = __esm({
5461
5379
  "../../node_modules/yaml/browser/dist/compose/resolve-flow-collection.js"() {
5462
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5463
5380
  init_identity();
5464
5381
  init_Pair();
5465
5382
  init_YAMLMap();
@@ -5474,7 +5391,6 @@ var init_resolve_flow_collection = __esm({
5474
5391
  // ../../node_modules/yaml/browser/dist/compose/compose-collection.js
5475
5392
  var init_compose_collection = __esm({
5476
5393
  "../../node_modules/yaml/browser/dist/compose/compose-collection.js"() {
5477
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5478
5394
  init_identity();
5479
5395
  init_Scalar();
5480
5396
  init_YAMLMap();
@@ -5488,7 +5404,6 @@ var init_compose_collection = __esm({
5488
5404
  // ../../node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
5489
5405
  var init_resolve_block_scalar = __esm({
5490
5406
  "../../node_modules/yaml/browser/dist/compose/resolve-block-scalar.js"() {
5491
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5492
5407
  init_Scalar();
5493
5408
  }
5494
5409
  });
@@ -5496,7 +5411,6 @@ var init_resolve_block_scalar = __esm({
5496
5411
  // ../../node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
5497
5412
  var init_resolve_flow_scalar = __esm({
5498
5413
  "../../node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js"() {
5499
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5500
5414
  init_Scalar();
5501
5415
  init_resolve_end();
5502
5416
  }
@@ -5505,7 +5419,6 @@ var init_resolve_flow_scalar = __esm({
5505
5419
  // ../../node_modules/yaml/browser/dist/compose/compose-scalar.js
5506
5420
  var init_compose_scalar = __esm({
5507
5421
  "../../node_modules/yaml/browser/dist/compose/compose-scalar.js"() {
5508
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5509
5422
  init_identity();
5510
5423
  init_Scalar();
5511
5424
  init_resolve_block_scalar();
@@ -5516,14 +5429,12 @@ var init_compose_scalar = __esm({
5516
5429
  // ../../node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
5517
5430
  var init_util_empty_scalar_position = __esm({
5518
5431
  "../../node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js"() {
5519
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5520
5432
  }
5521
5433
  });
5522
5434
 
5523
5435
  // ../../node_modules/yaml/browser/dist/compose/compose-node.js
5524
5436
  var init_compose_node = __esm({
5525
5437
  "../../node_modules/yaml/browser/dist/compose/compose-node.js"() {
5526
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5527
5438
  init_Alias();
5528
5439
  init_identity();
5529
5440
  init_compose_collection();
@@ -5536,7 +5447,6 @@ var init_compose_node = __esm({
5536
5447
  // ../../node_modules/yaml/browser/dist/compose/compose-doc.js
5537
5448
  var init_compose_doc = __esm({
5538
5449
  "../../node_modules/yaml/browser/dist/compose/compose-doc.js"() {
5539
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5540
5450
  init_Document();
5541
5451
  init_compose_node();
5542
5452
  init_resolve_end();
@@ -5547,7 +5457,6 @@ var init_compose_doc = __esm({
5547
5457
  // ../../node_modules/yaml/browser/dist/compose/composer.js
5548
5458
  var init_composer = __esm({
5549
5459
  "../../node_modules/yaml/browser/dist/compose/composer.js"() {
5550
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5551
5460
  init_directives();
5552
5461
  init_Document();
5553
5462
  init_errors();
@@ -5560,7 +5469,6 @@ var init_composer = __esm({
5560
5469
  // ../../node_modules/yaml/browser/dist/parse/cst-scalar.js
5561
5470
  var init_cst_scalar = __esm({
5562
5471
  "../../node_modules/yaml/browser/dist/parse/cst-scalar.js"() {
5563
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5564
5472
  init_resolve_block_scalar();
5565
5473
  init_resolve_flow_scalar();
5566
5474
  init_errors();
@@ -5571,7 +5479,6 @@ var init_cst_scalar = __esm({
5571
5479
  // ../../node_modules/yaml/browser/dist/parse/cst-stringify.js
5572
5480
  var init_cst_stringify = __esm({
5573
5481
  "../../node_modules/yaml/browser/dist/parse/cst-stringify.js"() {
5574
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5575
5482
  }
5576
5483
  });
5577
5484
 
@@ -5581,15 +5488,15 @@ function visit2(cst, visitor) {
5581
5488
  cst = { start: cst.start, value: cst.value };
5582
5489
  _visit(Object.freeze([]), cst, visitor);
5583
5490
  }
5584
- function _visit(path29, item, visitor) {
5585
- let ctrl = visitor(item, path29);
5491
+ function _visit(path26, item, visitor) {
5492
+ let ctrl = visitor(item, path26);
5586
5493
  if (typeof ctrl === "symbol")
5587
5494
  return ctrl;
5588
5495
  for (const field of ["key", "value"]) {
5589
5496
  const token = item[field];
5590
5497
  if (token && "items" in token) {
5591
5498
  for (let i = 0; i < token.items.length; ++i) {
5592
- const ci = _visit(Object.freeze(path29.concat([[field, i]])), token.items[i], visitor);
5499
+ const ci = _visit(Object.freeze(path26.concat([[field, i]])), token.items[i], visitor);
5593
5500
  if (typeof ci === "number")
5594
5501
  i = ci - 1;
5595
5502
  else if (ci === BREAK2)
@@ -5600,24 +5507,23 @@ function _visit(path29, item, visitor) {
5600
5507
  }
5601
5508
  }
5602
5509
  if (typeof ctrl === "function" && field === "key")
5603
- ctrl = ctrl(item, path29);
5510
+ ctrl = ctrl(item, path26);
5604
5511
  }
5605
5512
  }
5606
- return typeof ctrl === "function" ? ctrl(item, path29) : ctrl;
5513
+ return typeof ctrl === "function" ? ctrl(item, path26) : ctrl;
5607
5514
  }
5608
5515
  var BREAK2, SKIP2, REMOVE2;
5609
5516
  var init_cst_visit = __esm({
5610
5517
  "../../node_modules/yaml/browser/dist/parse/cst-visit.js"() {
5611
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5612
5518
  BREAK2 = Symbol("break visit");
5613
5519
  SKIP2 = Symbol("skip children");
5614
5520
  REMOVE2 = Symbol("remove item");
5615
5521
  visit2.BREAK = BREAK2;
5616
5522
  visit2.SKIP = SKIP2;
5617
5523
  visit2.REMOVE = REMOVE2;
5618
- visit2.itemAtPath = (cst, path29) => {
5524
+ visit2.itemAtPath = (cst, path26) => {
5619
5525
  let item = cst;
5620
- for (const [field, index] of path29) {
5526
+ for (const [field, index] of path26) {
5621
5527
  const tok = item?.[field];
5622
5528
  if (tok && "items" in tok) {
5623
5529
  item = tok.items[index];
@@ -5626,9 +5532,9 @@ var init_cst_visit = __esm({
5626
5532
  }
5627
5533
  return item;
5628
5534
  };
5629
- visit2.parentCollection = (cst, path29) => {
5630
- const parent = visit2.itemAtPath(cst, path29.slice(0, -1));
5631
- const field = path29[path29.length - 1][0];
5535
+ visit2.parentCollection = (cst, path26) => {
5536
+ const parent = visit2.itemAtPath(cst, path26.slice(0, -1));
5537
+ const field = path26[path26.length - 1][0];
5632
5538
  const coll = parent?.[field];
5633
5539
  if (coll && "items" in coll)
5634
5540
  return coll;
@@ -5640,7 +5546,6 @@ var init_cst_visit = __esm({
5640
5546
  // ../../node_modules/yaml/browser/dist/parse/cst.js
5641
5547
  var init_cst = __esm({
5642
5548
  "../../node_modules/yaml/browser/dist/parse/cst.js"() {
5643
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5644
5549
  init_cst_scalar();
5645
5550
  init_cst_stringify();
5646
5551
  init_cst_visit();
@@ -5651,7 +5556,6 @@ var init_cst = __esm({
5651
5556
  var hexDigits, tagChars, flowIndicatorChars, invalidAnchorChars;
5652
5557
  var init_lexer = __esm({
5653
5558
  "../../node_modules/yaml/browser/dist/parse/lexer.js"() {
5654
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5655
5559
  init_cst();
5656
5560
  hexDigits = new Set("0123456789ABCDEFabcdef");
5657
5561
  tagChars = new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()");
@@ -5663,14 +5567,12 @@ var init_lexer = __esm({
5663
5567
  // ../../node_modules/yaml/browser/dist/parse/line-counter.js
5664
5568
  var init_line_counter = __esm({
5665
5569
  "../../node_modules/yaml/browser/dist/parse/line-counter.js"() {
5666
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5667
5570
  }
5668
5571
  });
5669
5572
 
5670
5573
  // ../../node_modules/yaml/browser/dist/parse/parser.js
5671
5574
  var init_parser = __esm({
5672
5575
  "../../node_modules/yaml/browser/dist/parse/parser.js"() {
5673
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5674
5576
  init_cst();
5675
5577
  init_lexer();
5676
5578
  }
@@ -5679,7 +5581,6 @@ var init_parser = __esm({
5679
5581
  // ../../node_modules/yaml/browser/dist/public-api.js
5680
5582
  var init_public_api = __esm({
5681
5583
  "../../node_modules/yaml/browser/dist/public-api.js"() {
5682
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5683
5584
  init_composer();
5684
5585
  init_Document();
5685
5586
  init_errors();
@@ -5693,7 +5594,6 @@ var init_public_api = __esm({
5693
5594
  // ../../node_modules/yaml/browser/dist/index.js
5694
5595
  var init_dist = __esm({
5695
5596
  "../../node_modules/yaml/browser/dist/index.js"() {
5696
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5697
5597
  init_composer();
5698
5598
  init_Document();
5699
5599
  init_Schema();
@@ -5716,32 +5616,30 @@ var init_dist = __esm({
5716
5616
  // ../../node_modules/yaml/browser/index.js
5717
5617
  var init_browser = __esm({
5718
5618
  "../../node_modules/yaml/browser/index.js"() {
5719
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5720
5619
  init_dist();
5721
5620
  init_dist();
5722
5621
  }
5723
5622
  });
5724
5623
 
5725
5624
  // cli/commands/nodeRepoFileReader.ts
5726
- var import_node_fs12, nodeRepoFileReader;
5625
+ var import_node_fs11, nodeRepoFileReader;
5727
5626
  var init_nodeRepoFileReader = __esm({
5728
5627
  "cli/commands/nodeRepoFileReader.ts"() {
5729
5628
  "use strict";
5730
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5731
- import_node_fs12 = require("node:fs");
5629
+ import_node_fs11 = require("node:fs");
5732
5630
  nodeRepoFileReader = {
5733
- exists: import_node_fs12.existsSync,
5734
- readText: (filePath) => (0, import_node_fs12.readFileSync)(filePath, "utf8"),
5735
- entries: (directory) => (0, import_node_fs12.readdirSync)(directory, { withFileTypes: true }).map((entry) => ({
5631
+ exists: import_node_fs11.existsSync,
5632
+ readText: (filePath) => (0, import_node_fs11.readFileSync)(filePath, "utf8"),
5633
+ entries: (directory) => (0, import_node_fs11.readdirSync)(directory, { withFileTypes: true }).map((entry) => ({
5736
5634
  name: entry.name,
5737
5635
  directory: entry.isDirectory()
5738
5636
  })),
5739
- isDirectory: (filePath) => (0, import_node_fs12.statSync)(filePath).isDirectory(),
5637
+ isDirectory: (filePath) => (0, import_node_fs11.statSync)(filePath).isDirectory(),
5740
5638
  readMetadata(filePath) {
5741
5639
  try {
5742
- const info = (0, import_node_fs12.lstatSync)(filePath);
5640
+ const info = (0, import_node_fs11.lstatSync)(filePath);
5743
5641
  if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
5744
- return (0, import_node_fs12.readFileSync)(filePath, "utf8");
5642
+ return (0, import_node_fs11.readFileSync)(filePath, "utf8");
5745
5643
  } catch {
5746
5644
  return null;
5747
5645
  }
@@ -5764,7 +5662,7 @@ function scanRepository(root) {
5764
5662
  directories.push(next.dir);
5765
5663
  let handle;
5766
5664
  try {
5767
- handle = (0, import_node_fs13.opendirSync)(next.dir);
5665
+ handle = (0, import_node_fs12.opendirSync)(next.dir);
5768
5666
  } catch {
5769
5667
  unreadable++;
5770
5668
  continue;
@@ -5779,7 +5677,7 @@ function scanRepository(root) {
5779
5677
  truncated = true;
5780
5678
  continue;
5781
5679
  }
5782
- pending.push({ dir: (0, import_node_path10.join)(next.dir, entry.name), depth: next.depth + 1 });
5680
+ pending.push({ dir: (0, import_node_path9.join)(next.dir, entry.name), depth: next.depth + 1 });
5783
5681
  }
5784
5682
  } finally {
5785
5683
  handle.closeSync();
@@ -5798,8 +5696,8 @@ function metadataValue(value, key) {
5798
5696
  if (!value || typeof value !== "object") return void 0;
5799
5697
  return Object.getOwnPropertyDescriptor(value, key)?.value;
5800
5698
  }
5801
- function readProjectJson(path29, files = nodeRepoFileReader) {
5802
- const text2 = readProjectMetadata(path29, files);
5699
+ function readProjectJson(path26, files = nodeRepoFileReader) {
5700
+ const text2 = readProjectMetadata(path26, files);
5803
5701
  if (text2 === null) return null;
5804
5702
  try {
5805
5703
  const value = JSON.parse(text2);
@@ -5809,7 +5707,7 @@ function readProjectJson(path29, files = nodeRepoFileReader) {
5809
5707
  }
5810
5708
  }
5811
5709
  function readProjectManifest(dir, files = nodeRepoFileReader) {
5812
- const parsed = readProjectJson((0, import_node_path10.join)(dir, "package.json"), files);
5710
+ const parsed = readProjectJson((0, import_node_path9.join)(dir, "package.json"), files);
5813
5711
  if (!parsed || typeof parsed !== "object") return null;
5814
5712
  const record = (value) => {
5815
5713
  if (!value || typeof value !== "object") return {};
@@ -5826,13 +5724,12 @@ function readProjectManifest(dir, files = nodeRepoFileReader) {
5826
5724
  devDependencies: record(metadataValue(parsed, "devDependencies"))
5827
5725
  };
5828
5726
  }
5829
- var import_node_fs13, import_node_path10, import_json5, REPORT_SKIP_DIRS, PODFILE_NEW_ARCH_MARK, PODFILE_NEW_ARCH_RUBY;
5727
+ var import_node_fs12, import_node_path9, import_json5, REPORT_SKIP_DIRS, PODFILE_NEW_ARCH_MARK, PODFILE_NEW_ARCH_RUBY;
5830
5728
  var init_detect = __esm({
5831
5729
  "cli/commands/detect.ts"() {
5832
5730
  "use strict";
5833
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5834
- import_node_fs13 = require("node:fs");
5835
- import_node_path10 = require("node:path");
5731
+ import_node_fs12 = require("node:fs");
5732
+ import_node_path9 = require("node:path");
5836
5733
  import_json5 = __toESM(require_lib(), 1);
5837
5734
  init_browser();
5838
5735
  init_nodeRepoFileReader();
@@ -5883,7 +5780,6 @@ end
5883
5780
  var init_assetCatalogContract = __esm({
5884
5781
  "src/assetCatalogContract.ts"() {
5885
5782
  "use strict";
5886
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5887
5783
  }
5888
5784
  });
5889
5785
 
@@ -5891,7 +5787,6 @@ var init_assetCatalogContract = __esm({
5891
5787
  var init_swiftContract = __esm({
5892
5788
  "src/swiftContract.ts"() {
5893
5789
  "use strict";
5894
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5895
5790
  init_assetCatalogContract();
5896
5791
  }
5897
5792
  });
@@ -5901,7 +5796,6 @@ var import_node_child_process11, import_node_util6, run5;
5901
5796
  var init_kotlin_toolchain = __esm({
5902
5797
  "src/kotlin-toolchain.ts"() {
5903
5798
  "use strict";
5904
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5905
5799
  import_node_child_process11 = require("node:child_process");
5906
5800
  import_node_util6 = require("node:util");
5907
5801
  init_home_paths();
@@ -5912,22 +5806,22 @@ var init_kotlin_toolchain = __esm({
5912
5806
 
5913
5807
  // src/swift-source-file.ts
5914
5808
  function relativeInside(root, file) {
5915
- const relative3 = import_node_path20.default.relative(root, file);
5916
- return relative3 === ".." || relative3.startsWith(`..${import_node_path20.default.sep}`) || import_node_path20.default.isAbsolute(relative3) ? null : relative3;
5809
+ const relative3 = import_node_path16.default.relative(root, file);
5810
+ return relative3 === ".." || relative3.startsWith(`..${import_node_path16.default.sep}`) || import_node_path16.default.isAbsolute(relative3) ? null : relative3;
5917
5811
  }
5918
5812
  function packageInputPath(canonicalRoot, file) {
5919
- const canonicalFile = import_node_fs20.default.realpathSync(file);
5813
+ const canonicalFile = import_node_fs17.default.realpathSync(file);
5920
5814
  if (relativeInside(canonicalRoot, canonicalFile) === null) {
5921
5815
  throw new Error(`swift input escapes the selected package: ${file}`);
5922
5816
  }
5923
5817
  return canonicalFile;
5924
5818
  }
5925
5819
  function readPackageFile(root, file, maxBytes) {
5926
- const canonicalFile = packageInputPath(import_node_fs20.default.realpathSync(root), file);
5927
- const expected = import_node_fs20.default.statSync(canonicalFile);
5928
- const fd = import_node_fs20.default.openSync(canonicalFile, import_node_fs20.default.constants.O_RDONLY | import_node_fs20.default.constants.O_NOFOLLOW);
5820
+ const canonicalFile = packageInputPath(import_node_fs17.default.realpathSync(root), file);
5821
+ const expected = import_node_fs17.default.statSync(canonicalFile);
5822
+ const fd = import_node_fs17.default.openSync(canonicalFile, import_node_fs17.default.constants.O_RDONLY | import_node_fs17.default.constants.O_NOFOLLOW);
5929
5823
  try {
5930
- const stat = import_node_fs20.default.fstatSync(fd);
5824
+ const stat = import_node_fs17.default.fstatSync(fd);
5931
5825
  if (stat.dev !== expected.dev || stat.ino !== expected.ino) {
5932
5826
  throw new Error(`swift input changed while opening: ${file}`);
5933
5827
  }
@@ -5937,25 +5831,24 @@ function readPackageFile(root, file, maxBytes) {
5937
5831
  const bytes = Buffer.alloc(stat.size + 1);
5938
5832
  let offset = 0;
5939
5833
  while (offset < bytes.length) {
5940
- const count = import_node_fs20.default.readSync(fd, bytes, offset, bytes.length - offset, null);
5834
+ const count = import_node_fs17.default.readSync(fd, bytes, offset, bytes.length - offset, null);
5941
5835
  if (count === 0) break;
5942
5836
  offset += count;
5943
5837
  }
5944
- if (offset !== stat.size || import_node_fs20.default.fstatSync(fd).size !== stat.size) {
5838
+ if (offset !== stat.size || import_node_fs17.default.fstatSync(fd).size !== stat.size) {
5945
5839
  throw new Error(`swift input changed while reading: ${file}`);
5946
5840
  }
5947
5841
  return bytes.subarray(0, offset);
5948
5842
  } finally {
5949
- import_node_fs20.default.closeSync(fd);
5843
+ import_node_fs17.default.closeSync(fd);
5950
5844
  }
5951
5845
  }
5952
- var import_node_fs20, import_node_path20;
5846
+ var import_node_fs17, import_node_path16;
5953
5847
  var init_swift_source_file = __esm({
5954
5848
  "src/swift-source-file.ts"() {
5955
5849
  "use strict";
5956
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5957
- import_node_fs20 = __toESM(require("node:fs"), 1);
5958
- import_node_path20 = __toESM(require("node:path"), 1);
5850
+ import_node_fs17 = __toESM(require("node:fs"), 1);
5851
+ import_node_path16 = __toESM(require("node:path"), 1);
5959
5852
  }
5960
5853
  });
5961
5854
 
@@ -5964,7 +5857,6 @@ var DEFAULT_SWIFT_COMPILE_BUILD_MS, MAX_SWIFT_COMPILE_BUILD_MS, MAX_SWIFT_COMPIL
5964
5857
  var init_swift_submit = __esm({
5965
5858
  "src/swift-submit.ts"() {
5966
5859
  "use strict";
5967
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5968
5860
  init_is_record();
5969
5861
  init_swiftContract();
5970
5862
  DEFAULT_SWIFT_COMPILE_BUILD_MS = 10 * 6e4;
@@ -5984,7 +5876,6 @@ var import_node_child_process12, import_node_util7, run6, DOUBLE_CONVERSION_WASM
5984
5876
  var init_nitro_dependencies = __esm({
5985
5877
  "src/nitro-dependencies.ts"() {
5986
5878
  "use strict";
5987
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
5988
5879
  import_node_child_process12 = require("node:child_process");
5989
5880
  import_node_util7 = require("node:util");
5990
5881
  init_home_paths();
@@ -6078,19 +5969,19 @@ function readJson(root, relative3) {
6078
5969
  return JSON.parse(
6079
5970
  readPackageFile(
6080
5971
  root,
6081
- import_node_path21.default.join(root, relative3),
5972
+ import_node_path17.default.join(root, relative3),
6082
5973
  MAX_SWIFT_COMPILE_SOURCE_BYTES
6083
5974
  ).toString("utf8")
6084
5975
  );
6085
5976
  }
6086
5977
  function registrations(root) {
6087
- const directory = import_node_path21.default.join(root, "nitrogen/generated/ios");
6088
- const initializers = import_node_fs21.default.readdirSync(directory).filter((file) => file.endsWith("Autolinking.mm"));
5978
+ const directory = import_node_path17.default.join(root, "nitrogen/generated/ios");
5979
+ const initializers = import_node_fs18.default.readdirSync(directory).filter((file) => file.endsWith("Autolinking.mm"));
6089
5980
  if (initializers.length !== 1)
6090
5981
  throw new Error(`${root}: expected one generated Nitro iOS initializer`);
6091
5982
  const source = readPackageFile(
6092
5983
  root,
6093
- import_node_path21.default.join(directory, initializers[0]),
5984
+ import_node_path17.default.join(directory, initializers[0]),
6094
5985
  MAX_SWIFT_COMPILE_SOURCE_BYTES
6095
5986
  ).toString("utf8");
6096
5987
  const namespaces = [
@@ -6153,18 +6044,18 @@ function registrations(root) {
6153
6044
  if (new Set(classes.map(({ name: name2 }) => name2)).size !== classes.length)
6154
6045
  throw new Error(`${root}: duplicate generated Nitro iOS registration`);
6155
6046
  classes.sort((a, b) => a.name.localeCompare(b.name));
6156
- const ios = import_node_path21.default.join(root, "ios");
6157
- if (swiftModule === null && import_node_fs21.default.existsSync(ios) && import_node_fs21.default.readdirSync(ios, { recursive: true, encoding: "utf8" }).some((file) => file.endsWith(".swift") && !file.startsWith("Tests")))
6047
+ const ios = import_node_path17.default.join(root, "ios");
6048
+ if (swiftModule === null && import_node_fs18.default.existsSync(ios) && import_node_fs18.default.readdirSync(ios, { recursive: true, encoding: "utf8" }).some((file) => file.endsWith(".swift") && !file.startsWith("Tests")))
6158
6049
  swiftModule = initializers[0].slice(0, -"Autolinking.mm".length);
6159
6050
  return { namespace, swiftModule, classes, views: viewNames(root, classes) };
6160
6051
  }
6161
6052
  function viewNames(root, classes) {
6162
- const directory = import_node_path21.default.join(root, "nitrogen/generated/shared/json");
6163
- if (!import_node_fs21.default.existsSync(directory)) return /* @__PURE__ */ new Set();
6053
+ const directory = import_node_path17.default.join(root, "nitrogen/generated/shared/json");
6054
+ if (!import_node_fs18.default.existsSync(directory)) return /* @__PURE__ */ new Set();
6164
6055
  const views = /* @__PURE__ */ new Set();
6165
- for (const file of import_node_fs21.default.readdirSync(directory)) {
6056
+ for (const file of import_node_fs18.default.readdirSync(directory)) {
6166
6057
  if (!file.endsWith("Config.json")) continue;
6167
- const config = readJson(root, import_node_path21.default.join("nitrogen/generated/shared/json", file));
6058
+ const config = readJson(root, import_node_path17.default.join("nitrogen/generated/shared/json", file));
6168
6059
  const name2 = object3(config) ? config.uiViewClassName : void 0;
6169
6060
  if (typeof name2 === "string" && classes.some((entry) => entry.name === name2))
6170
6061
  views.add(name2);
@@ -6172,21 +6063,20 @@ function viewNames(root, classes) {
6172
6063
  return views;
6173
6064
  }
6174
6065
  function hasNitroIosInitializer(root) {
6175
- const generated = import_node_path21.default.join(root, "nitrogen/generated/ios");
6176
- return import_node_fs21.default.existsSync(generated) && import_node_fs21.default.readdirSync(generated).some((file) => file.endsWith("Autolinking.mm"));
6066
+ const generated = import_node_path17.default.join(root, "nitrogen/generated/ios");
6067
+ return import_node_fs18.default.existsSync(generated) && import_node_fs18.default.readdirSync(generated).some((file) => file.endsWith("Autolinking.mm"));
6177
6068
  }
6178
6069
  function nitroRegisteredNames(root) {
6179
6070
  if (!hasNitroIosInitializer(root)) return null;
6180
6071
  const { classes, views } = registrations(root);
6181
6072
  return { names: classes.map(({ name: name2 }) => name2), views: [...views].sort() };
6182
6073
  }
6183
- var import_node_fs21, import_node_path21;
6074
+ var import_node_fs18, import_node_path17;
6184
6075
  var init_nitro_source = __esm({
6185
6076
  "src/nitro-source.ts"() {
6186
6077
  "use strict";
6187
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6188
- import_node_fs21 = __toESM(require("node:fs"), 1);
6189
- import_node_path21 = __toESM(require("node:path"), 1);
6078
+ import_node_fs18 = __toESM(require("node:fs"), 1);
6079
+ import_node_path17 = __toESM(require("node:path"), 1);
6190
6080
  init_nitro_dependencies();
6191
6081
  init_react_native_autolinking();
6192
6082
  init_swift_source_file();
@@ -6398,7 +6288,6 @@ var ANY_BOUNDS, COMPARATOR;
6398
6288
  var init_version_range = __esm({
6399
6289
  "../peach-globals/src/guest-modules/version-range.ts"() {
6400
6290
  "use strict";
6401
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6402
6291
  ANY_BOUNDS = {
6403
6292
  lower: null,
6404
6293
  lowerInclusive: false,
@@ -6430,7 +6319,6 @@ function isNativeViewSource(value) {
6430
6319
  var init_nativeViewSourceContract = __esm({
6431
6320
  "src/nativeViewSourceContract.ts"() {
6432
6321
  "use strict";
6433
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6434
6322
  init_is_record();
6435
6323
  }
6436
6324
  });
@@ -6619,7 +6507,6 @@ var PEACH_CONFIG_QUERY_PARAM, BUNDLE_CONFIG_PREFIX, PEACH_CONFIGURED_FILES_HOOK;
6619
6507
  var init_config = __esm({
6620
6508
  "src/config.ts"() {
6621
6509
  "use strict";
6622
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6623
6510
  init_version();
6624
6511
  init_bundle_global_footer();
6625
6512
  init_is_record();
@@ -6724,7 +6611,6 @@ var import_node_http, import_node_https, import_node_stream3, import_node_zlib3,
6724
6611
  var init_node_http_fetch = __esm({
6725
6612
  "src/node-http-fetch.ts"() {
6726
6613
  "use strict";
6727
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6728
6614
  import_node_http = __toESM(require("node:http"), 1);
6729
6615
  import_node_https = __toESM(require("node:https"), 1);
6730
6616
  import_node_stream3 = require("node:stream");
@@ -6740,7 +6626,7 @@ var init_node_http_fetch = __esm({
6740
6626
  var runtime_companion_default;
6741
6627
  var init_runtime_companion = __esm({
6742
6628
  "runtime-companion.json"() {
6743
- runtime_companion_default = { abi: 1, sha256: "e31bca40962475bce9d44f3218ea76c4537e744dfed9849160b028389774d5ba", file: "node/cli-e31bca40962475bce9d44f3218ea76c4537e744dfed9849160b028389774d5ba.cjs" };
6629
+ runtime_companion_default = { abi: 1, sha256: "0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93", file: "node/cli-0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93.cjs" };
6744
6630
  }
6745
6631
  });
6746
6632
 
@@ -6749,12 +6635,12 @@ function cliCompanionPath() {
6749
6635
  return `node/cli-${runtime_companion_default.sha256}.cjs`;
6750
6636
  }
6751
6637
  function verifyCliCompanion(root) {
6752
- verifyCompanionFile((0, import_node_path26.join)(root, cliCompanionPath()));
6638
+ verifyCompanionFile((0, import_node_path22.join)(root, cliCompanionPath()));
6753
6639
  }
6754
6640
  function verifyCompanionFile(file) {
6755
6641
  let bytes;
6756
6642
  try {
6757
- bytes = (0, import_node_fs25.readFileSync)(file);
6643
+ bytes = (0, import_node_fs22.readFileSync)(file);
6758
6644
  } catch (error) {
6759
6645
  if (error instanceof Error) {
6760
6646
  const missing2 = "code" in error && error.code === "ENOENT" ? `; run \`peach runtime install\`, which fetches the companion this CLI published${process.platform === "win32" ? ", and check Windows Security protection history if it repeats" : ""}` : "";
@@ -6762,7 +6648,7 @@ function verifyCompanionFile(file) {
6762
6648
  }
6763
6649
  throw error;
6764
6650
  }
6765
- const hash = (0, import_node_crypto7.createHash)("sha256").update(bytes).digest("hex");
6651
+ const hash = (0, import_node_crypto6.createHash)("sha256").update(bytes).digest("hex");
6766
6652
  if (hash !== runtime_companion_default.sha256) {
6767
6653
  throw new Error(
6768
6654
  "Peach runtime companion does not match this CLI; run `peach runtime install`"
@@ -6770,7 +6656,7 @@ function verifyCompanionFile(file) {
6770
6656
  }
6771
6657
  }
6772
6658
  async function ensureCliCompanion(root) {
6773
- const file = (0, import_node_path26.join)(root, cliCompanionPath());
6659
+ const file = (0, import_node_path22.join)(root, cliCompanionPath());
6774
6660
  try {
6775
6661
  verifyCompanionFile(file);
6776
6662
  return;
@@ -6785,9 +6671,9 @@ async function ensureCliCompanion(root) {
6785
6671
  staged
6786
6672
  );
6787
6673
  verifyCompanionFile(staged);
6788
- (0, import_node_fs25.renameSync)(staged, file);
6674
+ (0, import_node_fs22.renameSync)(staged, file);
6789
6675
  } finally {
6790
- (0, import_node_fs25.rmSync)(staged, { force: true });
6676
+ (0, import_node_fs22.rmSync)(staged, { force: true });
6791
6677
  }
6792
6678
  }
6793
6679
  function getCliRuntime() {
@@ -6795,7 +6681,7 @@ function getCliRuntime() {
6795
6681
  const root = peachRuntimeRoot();
6796
6682
  verifyCliCompanion(root);
6797
6683
  const require2 = (0, import_node_module4.createRequire)(__sootsim_import_meta_url);
6798
- const runtime = require2((0, import_node_path26.join)(root, cliCompanionPath()));
6684
+ const runtime = require2((0, import_node_path22.join)(root, cliCompanionPath()));
6799
6685
  if (runtime.cliCompanionAbi !== CLI_COMPANION_ABI) {
6800
6686
  throw new Error(
6801
6687
  "Incompatible Peach runtime companion ABI; run `peach runtime install`"
@@ -6805,15 +6691,14 @@ function getCliRuntime() {
6805
6691
  loaded2 = { root, runtime };
6806
6692
  return runtime;
6807
6693
  }
6808
- var import_node_crypto7, import_node_fs25, import_node_module4, import_node_path26, CLI_COMPANION_ABI, loaded2;
6694
+ var import_node_crypto6, import_node_fs22, import_node_module4, import_node_path22, CLI_COMPANION_ABI, loaded2;
6809
6695
  var init_cli_runtime = __esm({
6810
6696
  "src/cli-runtime.ts"() {
6811
6697
  "use strict";
6812
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6813
- import_node_crypto7 = require("node:crypto");
6814
- import_node_fs25 = require("node:fs");
6698
+ import_node_crypto6 = require("node:crypto");
6699
+ import_node_fs22 = require("node:fs");
6815
6700
  import_node_module4 = require("node:module");
6816
- import_node_path26 = require("node:path");
6701
+ import_node_path22 = require("node:path");
6817
6702
  init_src();
6818
6703
  init_runtime_companion();
6819
6704
  init_answeredNativePackages();
@@ -6851,7 +6736,7 @@ function normalize(p) {
6851
6736
  if (trailingSlash) joined += "/";
6852
6737
  return absolute ? "/" + joined : joined;
6853
6738
  }
6854
- function join6(...parts) {
6739
+ function join5(...parts) {
6855
6740
  const present = parts.filter((part) => part.length > 0);
6856
6741
  if (present.length === 0) return ".";
6857
6742
  return normalize(present.join("/"));
@@ -6907,7 +6792,6 @@ var sep, delimiter, posix, posixPath_default;
6907
6792
  var init_posixPath = __esm({
6908
6793
  "../contrast-bundler/src/posixPath.ts"() {
6909
6794
  "use strict";
6910
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6911
6795
  sep = "/";
6912
6796
  delimiter = ":";
6913
6797
  posix = {
@@ -6915,7 +6799,7 @@ var init_posixPath = __esm({
6915
6799
  delimiter,
6916
6800
  isAbsolute: isAbsolute2,
6917
6801
  normalize,
6918
- join: join6,
6802
+ join: join5,
6919
6803
  resolve: resolve2,
6920
6804
  dirname: dirname2,
6921
6805
  basename: basename2,
@@ -7123,7 +7007,6 @@ var import_dist, import_parser3, import_types, REPLACEMENT_MODULE_EXTENSIONS, IM
7123
7007
  var init_replacementModule = __esm({
7124
7008
  "../contrast-bundler/src/replacementModule.ts"() {
7125
7009
  "use strict";
7126
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7127
7010
  import_dist = require("sucrase/dist/index.js");
7128
7011
  import_parser3 = require("sucrase/dist/parser/index.js");
7129
7012
  import_types = require("sucrase/dist/parser/tokenizer/types.js");
@@ -7158,16 +7041,16 @@ function sendJavaScript(req, res, source) {
7158
7041
  res.end(req.method === "HEAD" ? void 0 : source);
7159
7042
  }
7160
7043
  function resolveReplacementModuleFile(fromFile, specifier) {
7161
- const base = import_node_path27.default.resolve(import_node_path27.default.dirname(fromFile), specifier);
7044
+ const base = import_node_path23.default.resolve(import_node_path23.default.dirname(fromFile), specifier);
7162
7045
  const candidates = [
7163
7046
  ...REPLACEMENT_MODULE_EXTENSIONS.some(
7164
- (ext) => ext === import_node_path27.default.extname(base).toLowerCase()
7047
+ (ext) => ext === import_node_path23.default.extname(base).toLowerCase()
7165
7048
  ) ? [base] : [],
7166
7049
  ...REPLACEMENT_MODULE_EXTENSIONS.map((ext) => base + ext),
7167
- ...REPLACEMENT_MODULE_EXTENSIONS.map((ext) => import_node_path27.default.join(base, `index${ext}`))
7050
+ ...REPLACEMENT_MODULE_EXTENSIONS.map((ext) => import_node_path23.default.join(base, `index${ext}`))
7168
7051
  ];
7169
7052
  const found = candidates.find(
7170
- (candidate) => (0, import_node_fs26.statSync)(candidate, { throwIfNoEntry: false })?.isFile()
7053
+ (candidate) => (0, import_node_fs23.statSync)(candidate, { throwIfNoEntry: false })?.isFile()
7171
7054
  );
7172
7055
  if (!found) {
7173
7056
  throw new Error(
@@ -7178,8 +7061,8 @@ function resolveReplacementModuleFile(fromFile, specifier) {
7178
7061
  }
7179
7062
  function isInsideAny(roots, file) {
7180
7063
  return roots.some((root) => {
7181
- const relative3 = import_node_path27.default.relative(root, file);
7182
- return !relative3.startsWith("..") && !import_node_path27.default.isAbsolute(relative3);
7064
+ const relative3 = import_node_path23.default.relative(root, file);
7065
+ return !relative3.startsWith("..") && !import_node_path23.default.isAbsolute(relative3);
7183
7066
  });
7184
7067
  }
7185
7068
  function isReplacementModuleRequestUrl(rawUrl) {
@@ -7228,19 +7111,19 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
7228
7111
  res.end("missing path param");
7229
7112
  return true;
7230
7113
  }
7231
- const extension = import_node_path27.default.extname(targetPath).toLowerCase();
7114
+ const extension = import_node_path23.default.extname(targetPath).toLowerCase();
7232
7115
  if (!REPLACEMENT_MODULE_EXTENSIONS.some((allowed) => allowed === extension)) {
7233
7116
  res.writeHead(400, { "Content-Type": "text/plain; charset=utf-8" });
7234
7117
  res.end(`replacement files must be ${REPLACEMENT_MODULE_EXTENSIONS.join(", ")}`);
7235
7118
  return true;
7236
7119
  }
7237
- if (!import_node_path27.default.isAbsolute(targetPath)) {
7120
+ if (!import_node_path23.default.isAbsolute(targetPath)) {
7238
7121
  res.writeHead(400, { "Content-Type": "text/plain; charset=utf-8" });
7239
7122
  res.end("replacement file path must be absolute");
7240
7123
  return true;
7241
7124
  }
7242
7125
  const runtimePackages = new Set(url.searchParams.getAll("runtimePackage"));
7243
- const servedRoots = options.servedRoots?.map((root) => import_node_path27.default.resolve(root));
7126
+ const servedRoots = options.servedRoots?.map((root) => import_node_path23.default.resolve(root));
7244
7127
  if (servedRoots && !isInsideAny(servedRoots, targetPath)) {
7245
7128
  res.writeHead(403, { "Content-Type": "text/plain; charset=utf-8" });
7246
7129
  res.end("replacement file must be inside a folder the bundler serves");
@@ -7292,14 +7175,13 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
7292
7175
  }
7293
7176
  return true;
7294
7177
  }
7295
- var import_node_fs26, import_promises7, import_node_path27, REPLACEMENT_MODULE_ROUTE;
7178
+ var import_node_fs23, import_promises7, import_node_path23, REPLACEMENT_MODULE_ROUTE;
7296
7179
  var init_replacement_module_handler = __esm({
7297
7180
  "src/host/replacement-module-handler.ts"() {
7298
7181
  "use strict";
7299
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7300
- import_node_fs26 = require("node:fs");
7182
+ import_node_fs23 = require("node:fs");
7301
7183
  import_promises7 = __toESM(require("node:fs/promises"), 1);
7302
- import_node_path27 = __toESM(require("node:path"), 1);
7184
+ import_node_path23 = __toESM(require("node:path"), 1);
7303
7185
  init_replacementModule();
7304
7186
  init_backend_origin();
7305
7187
  REPLACEMENT_MODULE_ROUTE = "/__sootsim-replacement-module";
@@ -7311,7 +7193,6 @@ var name, peachPublicBrand, rnxPublicBrand;
7311
7193
  var init_public_brand = __esm({
7312
7194
  "src/public-brand.ts"() {
7313
7195
  "use strict";
7314
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7315
7196
  name = "Peach";
7316
7197
  peachPublicBrand = Object.freeze({
7317
7198
  name,
@@ -7330,7 +7211,6 @@ var DEFAULT_RUNTIME_CDN_ORIGIN, RNX_CHANGELOG_URL, RNX_CHANGELOG_API_URL, RNX_RU
7330
7211
  var init_runtime_delivery = __esm({
7331
7212
  "src/runtime-delivery.ts"() {
7332
7213
  "use strict";
7333
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7334
7214
  init_src();
7335
7215
  init_cli_runtime();
7336
7216
  init_home_paths();
@@ -7382,7 +7262,7 @@ function listedFiles(runtimeRoot) {
7382
7262
  listed = /* @__PURE__ */ new Map();
7383
7263
  for (const [pack, entry] of Object.entries(readPacks(runtimeRoot) ?? {}))
7384
7264
  for (const file of entry.files ?? []) {
7385
- const name2 = import_node_path28.default.posix.basename(file);
7265
+ const name2 = import_node_path24.default.posix.basename(file);
7386
7266
  listed.set(name2, [...listed.get(name2) ?? [], { file, pack }]);
7387
7267
  }
7388
7268
  listedByRoot.set(runtimeRoot, listed);
@@ -7391,12 +7271,12 @@ function listedFiles(runtimeRoot) {
7391
7271
  function readPacks(runtimeRoot) {
7392
7272
  const cached = packsByRoot.get(runtimeRoot);
7393
7273
  if (cached !== void 0) return cached;
7394
- const file = import_node_path28.default.join(runtimeRoot, RUNTIME_PACKS_FILE);
7395
- if (!import_node_fs27.default.existsSync(file)) {
7274
+ const file = import_node_path24.default.join(runtimeRoot, RUNTIME_PACKS_FILE);
7275
+ if (!import_node_fs24.default.existsSync(file)) {
7396
7276
  packsByRoot.set(runtimeRoot, null);
7397
7277
  return null;
7398
7278
  }
7399
- const parsed = JSON.parse(import_node_fs27.default.readFileSync(file, "utf8"));
7279
+ const parsed = JSON.parse(import_node_fs24.default.readFileSync(file, "utf8"));
7400
7280
  const packs = {};
7401
7281
  if (typeof parsed !== "object" || parsed === null)
7402
7282
  throw new Error(`${file} is not an object`);
@@ -7424,26 +7304,26 @@ async function ensureRuntimePackFor(runtimeRoot, pathname) {
7424
7304
  await installNamedPack(runtimeRoot, prefix2);
7425
7305
  return;
7426
7306
  }
7427
- const listed = listedFiles(runtimeRoot).get(import_node_path28.default.posix.basename(pathname))?.find(({ file }) => pathname.endsWith(`/${file}`));
7307
+ const listed = listedFiles(runtimeRoot).get(import_node_path24.default.posix.basename(pathname))?.find(({ file }) => pathname.endsWith(`/${file}`));
7428
7308
  if (listed) {
7429
- if (!import_node_fs27.default.existsSync(import_node_path28.default.join(runtimeRoot, listed.file)))
7309
+ if (!import_node_fs24.default.existsSync(import_node_path24.default.join(runtimeRoot, listed.file)))
7430
7310
  await installNamedPack(runtimeRoot, listed.pack);
7431
7311
  return;
7432
7312
  }
7433
7313
  const at = pathname.indexOf(`/${RUNTIME_MERGE_PACK_DIR}`);
7434
7314
  if (at === -1) return;
7435
- const tenantDir = import_node_path28.default.join(runtimeRoot, RUNTIME_MERGE_PACK_DIR);
7315
+ const tenantDir = import_node_path24.default.join(runtimeRoot, RUNTIME_MERGE_PACK_DIR);
7436
7316
  const rel = pathname.slice(at + RUNTIME_MERGE_PACK_DIR.length + 1);
7437
- if (!/\.m?js$/.test(rel) || import_node_fs27.default.existsSync(import_node_path28.default.join(tenantDir, rel))) return;
7317
+ if (!/\.m?js$/.test(rel) || import_node_fs24.default.existsSync(import_node_path24.default.join(tenantDir, rel))) return;
7438
7318
  await installNamedPack(runtimeRoot, RUNTIME_MERGE_PACK_DIR);
7439
7319
  }
7440
7320
  function installNamedPack(runtimeRoot, name2) {
7441
7321
  if (name2 === RUNTIME_MERGE_PACK_DIR) {
7442
- const tenantDir = import_node_path28.default.join(runtimeRoot, RUNTIME_MERGE_PACK_DIR);
7322
+ const tenantDir = import_node_path24.default.join(runtimeRoot, RUNTIME_MERGE_PACK_DIR);
7443
7323
  return mergePack(
7444
7324
  runtimeRoot,
7445
7325
  name2,
7446
- import_node_path28.default.join(tenantDir, RUNTIME_MERGE_PACK_INSTALL),
7326
+ import_node_path24.default.join(tenantDir, RUNTIME_MERGE_PACK_INSTALL),
7447
7327
  tenantDir
7448
7328
  );
7449
7329
  }
@@ -7451,10 +7331,10 @@ function installNamedPack(runtimeRoot, name2) {
7451
7331
  return mergePack(
7452
7332
  runtimeRoot,
7453
7333
  name2,
7454
- import_node_path28.default.join(runtimeRoot, `.pack-${name2}`),
7334
+ import_node_path24.default.join(runtimeRoot, `.pack-${name2}`),
7455
7335
  runtimeRoot
7456
7336
  );
7457
- return installPack(runtimeRoot, name2, import_node_path28.default.join(runtimeRoot, name2.slice(0, -1)));
7337
+ return installPack(runtimeRoot, name2, import_node_path24.default.join(runtimeRoot, name2.slice(0, -1)));
7458
7338
  }
7459
7339
  function warmRuntimePacks(runtimeRoot) {
7460
7340
  if (warming.has(runtimeRoot)) return;
@@ -7467,19 +7347,19 @@ function warmRuntimePacks(runtimeRoot) {
7467
7347
  schedule(() => void warm(), WARM_DELAY_MS).unref();
7468
7348
  }
7469
7349
  async function mergePack(runtimeRoot, name2, installDir, targetDir) {
7470
- if (import_node_fs27.default.existsSync(import_node_path28.default.join(installDir, RUNTIME_MERGE_PACK_MERGED))) return true;
7350
+ if (import_node_fs24.default.existsSync(import_node_path24.default.join(installDir, RUNTIME_MERGE_PACK_MERGED))) return true;
7471
7351
  if (!await installPack(runtimeRoot, name2, installDir)) return false;
7472
7352
  const link = (sub) => {
7473
- for (const entry of import_node_fs27.default.readdirSync(import_node_path28.default.join(installDir, sub), {
7353
+ for (const entry of import_node_fs24.default.readdirSync(import_node_path24.default.join(installDir, sub), {
7474
7354
  withFileTypes: true
7475
7355
  })) {
7476
- const child = import_node_path28.default.join(sub, entry.name);
7356
+ const child = import_node_path24.default.join(sub, entry.name);
7477
7357
  if (entry.isDirectory()) {
7478
- import_node_fs27.default.mkdirSync(import_node_path28.default.join(targetDir, child), { recursive: true });
7358
+ import_node_fs24.default.mkdirSync(import_node_path24.default.join(targetDir, child), { recursive: true });
7479
7359
  link(child);
7480
7360
  } else if (entry.name !== RUNTIME_PACK_MARKER) {
7481
7361
  try {
7482
- import_node_fs27.default.linkSync(import_node_path28.default.join(installDir, child), import_node_path28.default.join(targetDir, child));
7362
+ import_node_fs24.default.linkSync(import_node_path24.default.join(installDir, child), import_node_path24.default.join(targetDir, child));
7483
7363
  } catch (error) {
7484
7364
  if (!(error instanceof Error && "code" in error && error.code === "EEXIST"))
7485
7365
  throw error;
@@ -7489,7 +7369,7 @@ async function mergePack(runtimeRoot, name2, installDir, targetDir) {
7489
7369
  };
7490
7370
  try {
7491
7371
  link("");
7492
- import_node_fs27.default.writeFileSync(import_node_path28.default.join(installDir, RUNTIME_MERGE_PACK_MERGED), "");
7372
+ import_node_fs24.default.writeFileSync(import_node_path24.default.join(installDir, RUNTIME_MERGE_PACK_MERGED), "");
7493
7373
  return true;
7494
7374
  } catch (error) {
7495
7375
  console.error(
@@ -7499,13 +7379,13 @@ async function mergePack(runtimeRoot, name2, installDir, targetDir) {
7499
7379
  }
7500
7380
  }
7501
7381
  async function installPack(runtimeRoot, prefix2, destDir) {
7502
- const marker = import_node_path28.default.join(destDir, RUNTIME_PACK_MARKER);
7503
- if (import_node_fs27.default.existsSync(marker)) return true;
7382
+ const marker = import_node_path24.default.join(destDir, RUNTIME_PACK_MARKER);
7383
+ if (import_node_fs24.default.existsSync(marker)) return true;
7504
7384
  const pack = readPacks(runtimeRoot)?.[prefix2];
7505
7385
  if (!pack) return true;
7506
7386
  let install = inflight.get(destDir);
7507
7387
  if (!install) {
7508
- const version = import_node_path28.default.basename(runtimeRoot);
7388
+ const version = import_node_path24.default.basename(runtimeRoot);
7509
7389
  const url = new URL(pack.file, rnxRuntime.tarballUrl(version));
7510
7390
  url.searchParams.set("sha256", pack.sha256);
7511
7391
  install = installVerifiedTarball({
@@ -7522,15 +7402,14 @@ async function installPack(runtimeRoot, prefix2, destDir) {
7522
7402
  inflight.set(destDir, install);
7523
7403
  }
7524
7404
  await install;
7525
- return import_node_fs27.default.existsSync(marker);
7405
+ return import_node_fs24.default.existsSync(marker);
7526
7406
  }
7527
- var import_node_fs27, import_node_path28, import_node_timers, inflight, packsByRoot, listedByRoot, WARM_DELAY_MS, warming;
7407
+ var import_node_fs24, import_node_path24, import_node_timers, inflight, packsByRoot, listedByRoot, WARM_DELAY_MS, warming;
7528
7408
  var init_runtime_packs = __esm({
7529
7409
  "src/runtime-packs.ts"() {
7530
7410
  "use strict";
7531
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7532
- import_node_fs27 = __toESM(require("node:fs"), 1);
7533
- import_node_path28 = __toESM(require("node:path"), 1);
7411
+ import_node_fs24 = __toESM(require("node:fs"), 1);
7412
+ import_node_path24 = __toESM(require("node:path"), 1);
7534
7413
  import_node_timers = require("node:timers");
7535
7414
  init_src();
7536
7415
  init_runtime_delivery();
@@ -7564,7 +7443,6 @@ var import_oxc_parser;
7564
7443
  var init_visit_parsed_program = __esm({
7565
7444
  "src/visit-parsed-program.ts"() {
7566
7445
  "use strict";
7567
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
7568
7446
  import_oxc_parser = require("oxc-parser");
7569
7447
  init_is_record();
7570
7448
  }
@@ -7658,7 +7536,7 @@ function resolveAppStubs(appDir, config, configDir) {
7658
7536
  const { modules, views, hybridObjects } = expandStubs(appDir, source);
7659
7537
  assertRegisteredHybridObjects(appDir, source, hybridObjects);
7660
7538
  for (const [name2, answer] of Object.entries(hybridObjects))
7661
- nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0, import_node_path29.resolve)(source.baseDir, answer) };
7539
+ nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0, import_node_path25.resolve)(source.baseDir, answer) };
7662
7540
  for (const [name2, stub] of Object.entries(modules))
7663
7541
  nativeModules[name2] = lowerStub(stub, source.baseDir);
7664
7542
  for (const [name2, stub] of Object.entries(views))
@@ -7723,10 +7601,10 @@ function assertRegisteredHybridObjects(appDir, source, hybridObjects) {
7723
7601
  );
7724
7602
  }
7725
7603
  function lowerStub(stub, baseDir) {
7726
- return stub === "noop" ? stub : { file: (0, import_node_path29.resolve)(baseDir, stub) };
7604
+ return stub === "noop" ? stub : { file: (0, import_node_path25.resolve)(baseDir, stub) };
7727
7605
  }
7728
7606
  function readPackageJson(dir) {
7729
- const text2 = readSmallFile((0, import_node_path29.join)(dir, "package.json"));
7607
+ const text2 = readSmallFile((0, import_node_path25.join)(dir, "package.json"));
7730
7608
  if (!text2) return null;
7731
7609
  try {
7732
7610
  const parsed = JSON.parse(text2);
@@ -7738,9 +7616,9 @@ function readPackageJson(dir) {
7738
7616
  function installedPackageDir(appDir, name2) {
7739
7617
  let current = appDir;
7740
7618
  while (true) {
7741
- const dir = (0, import_node_path29.join)(current, "node_modules", name2);
7742
- if ((0, import_node_fs28.existsSync)((0, import_node_path29.join)(dir, "package.json"))) return (0, import_node_fs28.realpathSync)(dir);
7743
- const parent = (0, import_node_path29.dirname)(current);
7619
+ const dir = (0, import_node_path25.join)(current, "node_modules", name2);
7620
+ if ((0, import_node_fs25.existsSync)((0, import_node_path25.join)(dir, "package.json"))) return (0, import_node_fs25.realpathSync)(dir);
7621
+ const parent = (0, import_node_path25.dirname)(current);
7744
7622
  if (parent === current) return null;
7745
7623
  current = parent;
7746
7624
  }
@@ -7844,7 +7722,7 @@ function mergeRequests(previous, next) {
7844
7722
  function packageNativeRequests(dir) {
7845
7723
  const found = /* @__PURE__ */ new Map();
7846
7724
  const directories = scanRepository(dir).directories.filter((sub) => {
7847
- const segments = (0, import_node_path29.relative)(dir, sub).split("/");
7725
+ const segments = (0, import_node_path25.relative)(dir, sub).split("/");
7848
7726
  return !NATIVE_SOURCE_DIRS.has(segments[0]) && !segments.some((segment) => PACKAGE_SKIP_DIRS.has(segment));
7849
7727
  });
7850
7728
  let files = 0;
@@ -7852,7 +7730,7 @@ function packageNativeRequests(dir) {
7852
7730
  for (const name2 of listDir(sub)) {
7853
7731
  if (!SOURCE_FILE.test(name2) || name2.endsWith(".d.ts") || files >= 2e3) continue;
7854
7732
  files++;
7855
- const file = (0, import_node_path29.join)(sub, name2);
7733
+ const file = (0, import_node_path25.join)(sub, name2);
7856
7734
  const text2 = readSmallFile(file);
7857
7735
  if (!text2) continue;
7858
7736
  for (const { line: _line, ...request } of sourceNativeRequests(file, text2, true)) {
@@ -7970,27 +7848,27 @@ function wireSlotMigration(appDir, configPath, wire, kept = []) {
7970
7848
  }
7971
7849
  function listDir(dir) {
7972
7850
  try {
7973
- return (0, import_node_fs28.readdirSync)(dir);
7851
+ return (0, import_node_fs25.readdirSync)(dir);
7974
7852
  } catch {
7975
7853
  return [];
7976
7854
  }
7977
7855
  }
7978
7856
  function readSmallFile(file) {
7979
7857
  try {
7980
- return (0, import_node_fs28.statSync)(file).size <= 1024 * 1024 ? (0, import_node_fs28.readFileSync)(file, "utf8") : null;
7858
+ return (0, import_node_fs25.statSync)(file).size <= 1024 * 1024 ? (0, import_node_fs25.readFileSync)(file, "utf8") : null;
7981
7859
  } catch {
7982
7860
  return null;
7983
7861
  }
7984
7862
  }
7985
7863
  function hasNativeCode(dir, platform) {
7986
- const expoConfig = (0, import_node_path29.join)(dir, "expo-module.config.json");
7864
+ const expoConfig = (0, import_node_path25.join)(dir, "expo-module.config.json");
7987
7865
  const platforms = metadataValue(readProjectJson(expoConfig), "platforms");
7988
7866
  if (Array.isArray(platforms))
7989
7867
  return platforms.includes(platform) || platform === "ios" && platforms.includes("apple");
7990
- if ([platform, "expo-module.config.json"].some((entry) => (0, import_node_fs28.existsSync)((0, import_node_path29.join)(dir, entry))))
7868
+ if ([platform, "expo-module.config.json"].some((entry) => (0, import_node_fs25.existsSync)((0, import_node_path25.join)(dir, entry))))
7991
7869
  return true;
7992
7870
  if (listDir(dir).some((name2) => name2.endsWith(".podspec"))) return true;
7993
- const manifest = readSmallFile((0, import_node_path29.join)(dir, "package.json"));
7871
+ const manifest = readSmallFile((0, import_node_path25.join)(dir, "package.json"));
7994
7872
  return manifest !== null && manifest.includes('"codegenConfig"');
7995
7873
  }
7996
7874
  function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__PURE__ */ new Set(), includeLegacy = false, providers) {
@@ -8003,7 +7881,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
8003
7881
  (excluded) => dir === excluded || dir.startsWith(`${excluded}/`)
8004
7882
  ))
8005
7883
  continue;
8006
- if ((0, import_node_fs28.existsSync)((0, import_node_path29.join)(dir, "expo-module.config.json"))) {
7884
+ if ((0, import_node_fs25.existsSync)((0, import_node_path25.join)(dir, "expo-module.config.json"))) {
8007
7885
  if (platform && !hasNativeCode(dir, platform)) {
8008
7886
  excludedModuleDirs.push(dir);
8009
7887
  continue;
@@ -8012,7 +7890,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
8012
7890
  }
8013
7891
  for (const name2 of listDir(dir)) {
8014
7892
  if (SOURCE_FILE.test(name2) && !name2.endsWith(".d.ts"))
8015
- sourceFiles.push((0, import_node_path29.join)(dir, name2));
7893
+ sourceFiles.push((0, import_node_path25.join)(dir, name2));
8016
7894
  }
8017
7895
  }
8018
7896
  }
@@ -8022,7 +7900,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
8022
7900
  scanRepository(dir).directories.flatMap(
8023
7901
  (sub) => listDir(sub).filter(
8024
7902
  (name2) => NATIVE_SOURCE_FILE.test(name2) && (!platform || (platform === "ios" ? name2.endsWith(".swift") : name2.endsWith(".kt")))
8025
- ).map((name2) => (0, import_node_path29.join)(sub, name2))
7903
+ ).map((name2) => (0, import_node_path25.join)(sub, name2))
8026
7904
  )
8027
7905
  ])
8028
7906
  );
@@ -8031,7 +7909,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
8031
7909
  const known = owners.get(dir);
8032
7910
  if (known) return known;
8033
7911
  const name2 = readPackageJson(dir)?.name;
8034
- const parent = (0, import_node_path29.dirname)(dir);
7912
+ const parent = (0, import_node_path25.dirname)(dir);
8035
7913
  const result = typeof name2 === "string" ? name2 : parent === dir ? pkg.name ?? "app" : owner(parent);
8036
7914
  owners.set(dir, result);
8037
7915
  return result;
@@ -8045,25 +7923,25 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
8045
7923
  else {
8046
7924
  const moduleDir2 = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`));
8047
7925
  if (moduleDir2 && (file.endsWith(".swift") || !known.expoModule)) {
8048
- known.expoModule = (0, import_node_path29.relative)(appDir, moduleDir2) || ".";
7926
+ known.expoModule = (0, import_node_path25.relative)(appDir, moduleDir2) || ".";
8049
7927
  known.swift = file.endsWith(".swift");
8050
7928
  }
8051
7929
  }
8052
7930
  return;
8053
7931
  }
8054
7932
  providers ??= dependencyNativeOwners(appDir, pkg);
8055
- const packageName = providers.get(key) ?? owner((0, import_node_path29.dirname)(file));
7933
+ const packageName = providers.get(key) ?? owner((0, import_node_path25.dirname)(file));
8056
7934
  if (knownPackages.has(packageName)) return;
8057
7935
  const moduleDir = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`)) ?? null;
8058
7936
  found.set(key, {
8059
7937
  kind,
8060
7938
  name: name2,
8061
7939
  package: packageName,
8062
- path: `${(0, import_node_path29.relative)(appDir, file)}:${line}`,
8063
- expoModule: moduleDir ? (0, import_node_path29.relative)(appDir, moduleDir) || "." : null,
7940
+ path: `${(0, import_node_path25.relative)(appDir, file)}:${line}`,
7941
+ expoModule: moduleDir ? (0, import_node_path25.relative)(appDir, moduleDir) || "." : null,
8064
7942
  optional: optional3,
8065
7943
  swift: moduleDir ? (nativeFilesByModule.get(moduleDir) ?? []).some(
8066
- (path29) => path29.endsWith(".swift") && [...(readSmallFile(path29) ?? "").matchAll(/\bName\(\s*"(\w+)"\s*\)/g)].some(
7944
+ (path26) => path26.endsWith(".swift") && [...(readSmallFile(path26) ?? "").matchAll(/\bName\(\s*"(\w+)"\s*\)/g)].some(
8067
7945
  (match) => match[1] === name2
8068
7946
  )
8069
7947
  ) : false,
@@ -8111,30 +7989,29 @@ function workspacePackageDirs(appDir, pkg) {
8111
7989
  for (const name2 of Object.keys({ ...pkg.dependencies, ...pkg.devDependencies })) {
8112
7990
  let current = appDir;
8113
7991
  while (true) {
8114
- const link = (0, import_node_path29.join)(current, "node_modules", name2);
8115
- if ((0, import_node_fs28.existsSync)(link)) {
8116
- if ((0, import_node_fs28.lstatSync)(link).isSymbolicLink()) {
8117
- const target = (0, import_node_fs28.realpathSync)(link);
7992
+ const link = (0, import_node_path25.join)(current, "node_modules", name2);
7993
+ if ((0, import_node_fs25.existsSync)(link)) {
7994
+ if ((0, import_node_fs25.lstatSync)(link).isSymbolicLink()) {
7995
+ const target = (0, import_node_fs25.realpathSync)(link);
8118
7996
  if (!target.split("/").includes("node_modules") && !target.startsWith(`${appDir}/`)) {
8119
7997
  dirs.add(target);
8120
7998
  }
8121
7999
  }
8122
8000
  break;
8123
8001
  }
8124
- const parent = (0, import_node_path29.dirname)(current);
8002
+ const parent = (0, import_node_path25.dirname)(current);
8125
8003
  if (parent === current) break;
8126
8004
  current = parent;
8127
8005
  }
8128
8006
  }
8129
8007
  return [...dirs];
8130
8008
  }
8131
- var import_node_fs28, import_node_path29, import_oxc_parser2, import_sucrase, SOURCE_FILE, NATIVE_LOOKUP, NATIVE_SOURCE_DIRS, PACKAGE_SKIP_DIRS, NATIVE_SOURCE_FILE;
8009
+ var import_node_fs25, import_node_path25, import_oxc_parser2, import_sucrase, SOURCE_FILE, NATIVE_LOOKUP, NATIVE_SOURCE_DIRS, PACKAGE_SKIP_DIRS, NATIVE_SOURCE_FILE;
8132
8010
  var init_app_stubs = __esm({
8133
8011
  "cli/app-stubs.ts"() {
8134
8012
  "use strict";
8135
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8136
- import_node_fs28 = require("node:fs");
8137
- import_node_path29 = require("node:path");
8013
+ import_node_fs25 = require("node:fs");
8014
+ import_node_path25 = require("node:path");
8138
8015
  init_version_range();
8139
8016
  import_oxc_parser2 = require("oxc-parser");
8140
8017
  import_sucrase = require("sucrase");
@@ -8170,12 +8047,12 @@ function resolveFileEntries(entries, configDir) {
8170
8047
  return Object.fromEntries(
8171
8048
  Object.entries(entries).map(([name2, resolution]) => [
8172
8049
  name2,
8173
- resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file: import_node_path30.default.resolve(configDir, resolution.file) } : resolution
8050
+ resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file: import_node_path26.default.resolve(configDir, resolution.file) } : resolution
8174
8051
  ])
8175
8052
  );
8176
8053
  }
8177
8054
  function resolveConfigReplacementFiles(config, configPath) {
8178
- const configDir = import_node_path30.default.dirname(configPath);
8055
+ const configDir = import_node_path26.default.dirname(configPath);
8179
8056
  return {
8180
8057
  ...config,
8181
8058
  modules: resolveFileEntries(config.modules, configDir)
@@ -8191,7 +8068,7 @@ async function loadRNXAppStubs(project) {
8191
8068
  return resolveAppStubs(
8192
8069
  project.appDir,
8193
8070
  config,
8194
- project.configPath ? import_node_path30.default.dirname(project.configPath) : project.appDir
8071
+ project.configPath ? import_node_path26.default.dirname(project.configPath) : project.appDir
8195
8072
  );
8196
8073
  } catch (error) {
8197
8074
  const message = error instanceof Error ? error.message : String(error);
@@ -8210,7 +8087,7 @@ async function loadConfigFile(project) {
8210
8087
  [`${rnxPublicBrand.packageName}/config`]: config_exports
8211
8088
  }
8212
8089
  });
8213
- const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0, import_node_fs29.readFileSync)(project.configPath, "utf8")) : await jiti.import(project.configPath, { default: true });
8090
+ const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0, import_node_fs26.readFileSync)(project.configPath, "utf8")) : await jiti.import(project.configPath, { default: true });
8214
8091
  if (!isPeachConfig(loaded3)) {
8215
8092
  throw new Error("the default export must be a peach config object");
8216
8093
  }
@@ -8246,13 +8123,12 @@ async function resolveRNXAppConfig(startDir = process.cwd()) {
8246
8123
  const project = resolveAppProject(startDir);
8247
8124
  return { project, ...await loadRNXAppStubs(project) };
8248
8125
  }
8249
- var import_node_fs29, import_node_path30, import_jiti, WIRE_SLOTS;
8126
+ var import_node_fs26, import_node_path26, import_jiti, WIRE_SLOTS;
8250
8127
  var init_app_config = __esm({
8251
8128
  "cli/app-config.ts"() {
8252
8129
  "use strict";
8253
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8254
- import_node_fs29 = require("node:fs");
8255
- import_node_path30 = __toESM(require("node:path"), 1);
8130
+ import_node_fs26 = require("node:fs");
8131
+ import_node_path26 = __toESM(require("node:path"), 1);
8256
8132
  import_jiti = require("jiti");
8257
8133
  init_config();
8258
8134
  init_config();
@@ -8312,7 +8188,6 @@ var import_parser4, import_tokenizer, import_types2, LITERAL_TOKEN_TYPES;
8312
8188
  var init_dependencies = __esm({
8313
8189
  "../contrast-bundler/src/dependencies.ts"() {
8314
8190
  "use strict";
8315
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8316
8191
  import_parser4 = require("sucrase/dist/parser/index.js");
8317
8192
  import_tokenizer = require("sucrase/dist/parser/tokenizer/index.js");
8318
8193
  import_types2 = require("sucrase/dist/parser/tokenizer/types.js");
@@ -8352,14 +8227,14 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
8352
8227
  const neededPackages = /* @__PURE__ */ new Set();
8353
8228
  const factories = [];
8354
8229
  const visit3 = (filePath) => {
8355
- const real = import_node_fs30.default.realpathSync(filePath);
8230
+ const real = import_node_fs27.default.realpathSync(filePath);
8356
8231
  const previous = files.get(real);
8357
8232
  if (previous !== void 0) return previous;
8358
8233
  const id = "peach-config-file:" + files.size;
8359
8234
  files.set(real, id);
8360
8235
  const compiled = compileReplacementModule({
8361
8236
  filePath: real,
8362
- source: import_node_fs30.default.readFileSync(real, "utf8"),
8237
+ source: import_node_fs27.default.readFileSync(real, "utf8"),
8363
8238
  runtimePackages,
8364
8239
  localModuleUrl: (specifier) => visit3(resolveReplacementModuleFile(real, specifier))
8365
8240
  });
@@ -8383,7 +8258,7 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
8383
8258
  if (!entries || typeof entries !== "object") continue;
8384
8259
  for (const resolution of Object.values(entries)) {
8385
8260
  if (resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string") {
8386
- resolution.file = visit3(import_node_path31.default.resolve(resolution.file));
8261
+ resolution.file = visit3(import_node_path27.default.resolve(resolution.file));
8387
8262
  }
8388
8263
  }
8389
8264
  }
@@ -8407,13 +8282,12 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
8407
8282
  const identityStart = findBundleFooter(source, "globalThis.__sootsimModulePaths=");
8408
8283
  return prefix2 + (identityStart < 0 ? source + footer : source.slice(0, identityStart) + footer + source.slice(identityStart));
8409
8284
  }
8410
- var import_node_fs30, import_node_path31, import_sucrase2, import_terser, PREFIX_START, PREFIX_END;
8285
+ var import_node_fs27, import_node_path27, import_sucrase2, import_terser, PREFIX_START, PREFIX_END;
8411
8286
  var init_configured_bundle_producer = __esm({
8412
8287
  "src/configured-bundle-producer.ts"() {
8413
8288
  "use strict";
8414
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8415
- import_node_fs30 = __toESM(require("node:fs"), 1);
8416
- import_node_path31 = __toESM(require("node:path"), 1);
8289
+ import_node_fs27 = __toESM(require("node:fs"), 1);
8290
+ import_node_path27 = __toESM(require("node:path"), 1);
8417
8291
  init_bundle_global_footer();
8418
8292
  import_sucrase2 = require("sucrase");
8419
8293
  import_terser = require("terser");
@@ -8435,14 +8309,12 @@ __export(metro_plugin_exports, {
8435
8309
  withPeach: () => withPeach
8436
8310
  });
8437
8311
  module.exports = __toCommonJS(metro_plugin_exports);
8438
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8439
8312
  var import_fs4 = __toESM(require("fs"), 1);
8440
8313
  var import_module = require("module");
8441
- var import_node_crypto8 = require("node:crypto");
8314
+ var import_node_crypto7 = require("node:crypto");
8442
8315
  var import_path4 = __toESM(require("path"), 1);
8443
8316
 
8444
8317
  // ../peach-globals/src/package-versions.ts
8445
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8446
8318
  init_bundle_global_footer();
8447
8319
  var NATIVE_BUILD_OPTIONS_KEY = "@peach/native-build-options";
8448
8320
  var PACKAGE_VERSIONS_HEADER = "X-Peach-Package-Versions";
@@ -8485,7 +8357,6 @@ function resolveWorkletsStaticFlags(defaults, appManifest) {
8485
8357
  init_app_project();
8486
8358
 
8487
8359
  // src/android-autolinking.ts
8488
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8489
8360
  var import_node_child_process2 = require("node:child_process");
8490
8361
  var import_node_fs3 = __toESM(require("node:fs"), 1);
8491
8362
  var import_node_module2 = require("node:module");
@@ -8493,7 +8364,6 @@ var import_node_path3 = __toESM(require("node:path"), 1);
8493
8364
  var import_node_util2 = require("node:util");
8494
8365
 
8495
8366
  // src/androidAutolinkingContract.ts
8496
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8497
8367
  init_bundle_global_footer();
8498
8368
  var FOOTER2 = "__peachAndroidAutolinkedPackages";
8499
8369
  function readAndroidAutolinkedPackages(value) {
@@ -8601,12 +8471,10 @@ async function resolveReactNativeAndroidAutolinking(appRoot) {
8601
8471
  }
8602
8472
 
8603
8473
  // src/android-root-module.ts
8604
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8605
8474
  var import_node_fs4 = __toESM(require("node:fs"), 1);
8606
8475
  var import_node_path4 = __toESM(require("node:path"), 1);
8607
8476
 
8608
8477
  // src/android-xml.ts
8609
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8610
8478
  var ENTITIES = {
8611
8479
  quot: '"',
8612
8480
  apos: "'",
@@ -8755,7 +8623,6 @@ function readAndroidLauncherRootModuleName(projectRoot) {
8755
8623
  }
8756
8624
 
8757
8625
  // src/androidRootModuleContract.ts
8758
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8759
8626
  init_bundle_global_footer();
8760
8627
  var FOOTER3 = "__peachAndroidRootModule";
8761
8628
  function readAndroidRootModuleName(value) {
@@ -8768,7 +8635,6 @@ function insertAndroidRootModuleFooter(source, name2) {
8768
8635
  }
8769
8636
 
8770
8637
  // src/dev-server-open.ts
8771
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8772
8638
  var import_node_crypto = require("node:crypto");
8773
8639
  var import_node_fs5 = __toESM(require("node:fs"), 1);
8774
8640
  function tagRnxBundleForPlugin(bundleUrl, replacementOrigin, replacementToken, projectRoot, appName) {
@@ -8787,7 +8653,6 @@ function tagRnxBundleForPlugin(bundleUrl, replacementOrigin, replacementToken, p
8787
8653
  }
8788
8654
 
8789
8655
  // src/host/fetch-proxy-handler.ts
8790
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8791
8656
  var import_http = __toESM(require("http"), 1);
8792
8657
  var import_https = __toESM(require("https"), 1);
8793
8658
  var import_node_http2 = require("node:http2");
@@ -8795,114 +8660,68 @@ var import_promises6 = require("stream/promises");
8795
8660
  init_backend_origin();
8796
8661
 
8797
8662
  // src/host/dev-server-package-versions.ts
8798
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8799
8663
  var import_fs3 = __toESM(require("fs"), 1);
8800
8664
  var import_path3 = __toESM(require("path"), 1);
8801
8665
 
8802
8666
  // src/expo-pod-prebuilt.ts
8803
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8804
8667
  init_answeredNativePackages();
8805
8668
 
8806
8669
  // src/expo-autolinking.ts
8807
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8808
8670
  var import_node_child_process6 = require("node:child_process");
8809
8671
  var import_node_util3 = require("node:util");
8810
8672
  init_forked_script_contract();
8811
8673
  var run3 = (0, import_node_util3.promisify)(import_node_child_process6.execFile);
8812
8674
 
8813
8675
  // src/expo-native-prebuilt.ts
8814
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8815
8676
  var import_plist5 = __toESM(require("plist"), 1);
8816
8677
  init_answeredNativePackages();
8817
8678
 
8818
- // src/expo-native-compiler-digest.ts
8819
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8820
-
8821
- // src/react-native-core-digest.ts
8822
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8823
-
8824
- // src/swift-compiler-digest.ts
8825
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8826
-
8827
- // src/swift-objc-sdk-tree.ts
8828
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8829
- var import_node_fs11 = require("node:fs");
8830
- var import_node_path9 = __toESM(require("node:path"), 1);
8831
- function readIosSdkTree(root) {
8832
- return (0, import_node_fs11.readdirSync)(root, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => {
8833
- const file = import_node_path9.default.join(entry.parentPath, entry.name);
8834
- return [
8835
- import_node_path9.default.relative(root, file).split(import_node_path9.default.sep).join("/"),
8836
- (0, import_node_fs11.readFileSync)(file, "utf8")
8837
- ];
8838
- }).sort(([a], [b]) => a < b ? -1 : 1);
8839
- }
8840
-
8841
8679
  // src/swift-standin-digest.ts
8842
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8843
- var STANDIN_SOURCE_DIGEST = true ? "5060fb77e22fd3d9fa69d6e25dbc7bca5b3605d41a6bc164f40ccaee2a131504" : standinSourceDigest();
8680
+ var STANDIN_SOURCE_DIGEST = true ? "089050e56f3e4935fed286174446973ff56c0fb4ee8c326f19a71b9fecbe9d05" : standinSourceDigest();
8844
8681
 
8845
8682
  // src/expo-native-workspace.ts
8846
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8847
8683
  init_detect();
8848
8684
 
8849
- // src/admitted-mac-build.ts
8850
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8851
-
8852
8685
  // src/expo-workspace-exclusion.ts
8853
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8854
8686
  var import_ignore = __toESM(require("ignore"), 1);
8855
8687
 
8856
8688
  // src/expo-native-workspace.ts
8857
8689
  init_home_paths();
8858
8690
 
8859
8691
  // src/native-failure-output.ts
8860
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8861
8692
  init_home_paths();
8862
8693
  var FAILED_OUTPUT_KEPT_MS = 7 * 24 * 36e5;
8863
8694
 
8864
- // src/native-git.ts
8865
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8866
-
8867
- // src/one-sdk-preparation.ts
8868
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8869
-
8870
8695
  // src/native-prebuilt.ts
8871
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8872
8696
  init_home_paths();
8873
8697
  init_is_record();
8874
8698
 
8875
8699
  // src/oneSdkContract.ts
8876
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8877
8700
  init_bundle_global_footer();
8878
8701
  init_is_record();
8879
8702
  init_swiftContract();
8880
8703
 
8881
8704
  // src/portable-expo-workspace.ts
8882
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8883
8705
  init_is_record();
8884
8706
 
8885
8707
  // src/native-firebase-config.ts
8886
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8887
8708
  var import_node_child_process10 = require("node:child_process");
8888
- var import_node_fs19 = __toESM(require("node:fs"), 1);
8709
+ var import_node_fs16 = __toESM(require("node:fs"), 1);
8889
8710
  var import_node_os5 = __toESM(require("node:os"), 1);
8890
- var import_node_path19 = __toESM(require("node:path"), 1);
8711
+ var import_node_path15 = __toESM(require("node:path"), 1);
8891
8712
  init_is_record();
8892
8713
 
8893
8714
  // src/plist.ts
8894
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8895
8715
  var import_plist = __toESM(require("plist"), 1);
8896
8716
  function parsePlistSource(source) {
8897
8717
  return import_plist.default.parse(source);
8898
8718
  }
8899
8719
 
8900
8720
  // src/xcode-project.ts
8901
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
8902
8721
  var import_node_child_process9 = require("node:child_process");
8903
- var import_node_crypto6 = require("node:crypto");
8904
- var import_node_fs18 = __toESM(require("node:fs"), 1);
8905
- var import_node_path18 = __toESM(require("node:path"), 1);
8722
+ var import_node_crypto5 = require("node:crypto");
8723
+ var import_node_fs15 = __toESM(require("node:fs"), 1);
8724
+ var import_node_path14 = __toESM(require("node:path"), 1);
8906
8725
  var import_plist2 = __toESM(require("plist"), 1);
8907
8726
 
8908
8727
  // src/ios-sdk-frameworks.json
@@ -9200,14 +9019,9 @@ var ios_sdk_frameworks_default = {
9200
9019
  init_is_record();
9201
9020
 
9202
9021
  // src/native-app-identity.ts
9203
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9204
9022
  init_bundle_global_footer();
9205
9023
 
9206
- // src/android-app-identity.ts
9207
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9208
-
9209
9024
  // src/android-string-value.ts
9210
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9211
9025
  function compileAndroidStringValue(text2, where) {
9212
9026
  if (/^\s*[@?]/.test(text2))
9213
9027
  throw new Error(`${where} is a resource reference, not resolved by Peach yet`);
@@ -9344,7 +9158,6 @@ function androidMergedResourceValuesDirectory(manifestFile) {
9344
9158
  init_is_record();
9345
9159
 
9346
9160
  // src/nativeAppIconContract.ts
9347
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9348
9161
  init_assetCatalogContract();
9349
9162
  init_is_record();
9350
9163
  function resolveNativeBundleIcons(icons, catalogNames, resolveReference) {
@@ -9447,7 +9260,6 @@ function resolveNativeAppIconArtwork(resources, readText, resourceUri, icons, pr
9447
9260
  }
9448
9261
 
9449
9262
  // src/openstep-plist.ts
9450
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9451
9263
  var isDict = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
9452
9264
  var str = (value) => typeof value === "string" ? value : void 0;
9453
9265
  var list = (value) => Array.isArray(value) ? value.filter((item) => typeof item === "string") : [];
@@ -9543,11 +9355,10 @@ function parseOpenStepPlist(text2) {
9543
9355
  }
9544
9356
 
9545
9357
  // src/xcode-target-members.ts
9546
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
9547
9358
  var NEVER_MEMBER = /(?:^|\/)(?:Info\.plist|[^/]+\.entitlements|[^/]+\.xcconfig|\.DS_Store)$/;
9548
9359
  var FOLDER_REFERENCE = /^(?:folder|wrapper\.scnassets)$/;
9549
9360
  var BUNDLE_DIR = /\.(xcassets|bundle|lproj|xcdatamodeld|scnassets|spriteatlas|rcproject|storyboardc|icon)$/;
9550
- function xcodePathResolver(objects, projectDir, join8, sourceTreeRoot) {
9361
+ function xcodePathResolver(objects, projectDir, join7, sourceTreeRoot) {
9551
9362
  const parents = /* @__PURE__ */ new Map();
9552
9363
  for (const [id, entry] of Object.entries(objects)) {
9553
9364
  if (!isDict(entry)) continue;
@@ -9563,16 +9374,16 @@ function xcodePathResolver(objects, projectDir, join8, sourceTreeRoot) {
9563
9374
  let result = null;
9564
9375
  if (isDict(entry)) {
9565
9376
  const own = str(entry.path) ?? "";
9566
- const tree2 = str(entry.sourceTree) ?? "<group>";
9567
- if (tree2 === "<absolute>") result = own;
9568
- else if (tree2 === "SOURCE_ROOT") result = join8(projectDir, own);
9569
- else if (tree2 === "<group>") {
9377
+ const tree = str(entry.sourceTree) ?? "<group>";
9378
+ if (tree === "<absolute>") result = own;
9379
+ else if (tree === "SOURCE_ROOT") result = join7(projectDir, own);
9380
+ else if (tree === "<group>") {
9570
9381
  const parent = parents.get(id);
9571
9382
  const base = parent ? resolve4(parent) : projectDir;
9572
- if (base !== null) result = join8(base, own);
9383
+ if (base !== null) result = join7(base, own);
9573
9384
  } else {
9574
- const base = sourceTreeRoot?.(tree2);
9575
- if (base) result = join8(base, own);
9385
+ const base = sourceTreeRoot?.(tree);
9386
+ if (base) result = join7(base, own);
9576
9387
  }
9577
9388
  }
9578
9389
  paths.set(id, result);
@@ -9594,7 +9405,7 @@ function xcodeTargetMemberVisitor(objects) {
9594
9405
  if (isDict(group) && group.isa === "PBXFileSystemSynchronizedRootGroup")
9595
9406
  synchronizedGroups.push({ id, group });
9596
9407
  }
9597
- return (targetId, resolvePath, filesUnder, join8, visit3) => {
9408
+ return (targetId, resolvePath, filesUnder, join7, visit3) => {
9598
9409
  const target = objects[targetId];
9599
9410
  if (!isDict(target)) return;
9600
9411
  for (const phaseId of list(target.buildPhases)) {
@@ -9641,7 +9452,7 @@ function xcodeTargetMemberVisitor(objects) {
9641
9452
  for (const relative3 of list(exception.membershipExceptions))
9642
9453
  exceptions.add(relative3);
9643
9454
  }
9644
- const members = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative3) => filesUnder(join8(folder, relative3)));
9455
+ const members = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative3) => filesUnder(join7(folder, relative3)));
9645
9456
  for (const file of members) {
9646
9457
  const relative3 = file.slice(prefix2.length);
9647
9458
  const excepted = [...exceptions].some(
@@ -9811,10 +9622,10 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
9811
9622
  var APP_DELEGATE_PATH_RE = /(?:^|\/)(?:ios\/)?([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
9812
9623
  function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri) {
9813
9624
  const pbxprojPath = Object.keys(files).find(
9814
- (path29) => /(?:^|\/)ios\/[^/]+\.xcodeproj\/project\.pbxproj$/.test(path29)
9625
+ (path26) => /(?:^|\/)ios\/[^/]+\.xcodeproj\/project\.pbxproj$/.test(path26)
9815
9626
  ) ?? Object.keys(files).find(
9816
- (path29) => /(?:^|\/)[^/]+\.xcodeproj\/project\.pbxproj$/.test(path29)
9817
- ) ?? Object.keys(files).find((path29) => /(?:^|\/)project\.pbxproj$/.test(path29));
9627
+ (path26) => /(?:^|\/)[^/]+\.xcodeproj\/project\.pbxproj$/.test(path26)
9628
+ ) ?? Object.keys(files).find((path26) => /(?:^|\/)project\.pbxproj$/.test(path26));
9818
9629
  if (!pbxprojPath) return null;
9819
9630
  const pbxproj = files[pbxprojPath];
9820
9631
  let objects = {};
@@ -9856,7 +9667,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
9856
9667
  } else if (applicationTargetNames.size === 1) {
9857
9668
  targetName = [...applicationTargetNames][0];
9858
9669
  } else if (applicationTargetNames.size > 1) {
9859
- const delegateTargets = Object.keys(files).filter((path29) => !path29.includes("/Pods/")).map((path29) => path29.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
9670
+ const delegateTargets = Object.keys(files).filter((path26) => !path26.includes("/Pods/")).map((path26) => path26.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
9860
9671
  (name2) => typeof name2 === "string" && applicationTargetNames.has(name2)
9861
9672
  );
9862
9673
  if (delegateTargets.length === 1) {
@@ -10072,7 +9883,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
10072
9883
  if (resourceUri) {
10073
9884
  if (!selectedTarget)
10074
9885
  throw new Error("native app icon target membership is unresolved");
10075
- const join8 = (base, own) => {
9886
+ const join7 = (base, own) => {
10076
9887
  const segments = [];
10077
9888
  for (const segment of `${base}/${own}`.split("/")) {
10078
9889
  if (segment === "" || segment === ".") continue;
@@ -10085,22 +9896,22 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
10085
9896
  const project = Object.values(objects).find(
10086
9897
  (object4) => isRecord(object4) && object4.isa === "PBXProject"
10087
9898
  );
10088
- const projectDir = join8(
9899
+ const projectDir = join7(
10089
9900
  pbxprojPath.replace(/(?:^|\/)[^/]+\.xcodeproj\/project\.pbxproj$/, ""),
10090
9901
  isRecord(project) && typeof project.projectDirPath === "string" ? project.projectDirPath : ""
10091
9902
  );
10092
9903
  const paths = Object.keys(files);
10093
9904
  xcodeTargetMemberVisitor(objects)(
10094
9905
  selectedTarget.id,
10095
- xcodePathResolver(objects, projectDir, join8),
9906
+ xcodePathResolver(objects, projectDir, join7),
10096
9907
  (file) => {
10097
9908
  if (Object.hasOwn(files, file)) return [file];
10098
9909
  const prefix2 = file === "" ? "" : `${file.replace(/\/$/, "")}/`;
10099
9910
  return paths.filter(
10100
- (path29) => path29.startsWith(prefix2) && !/(?:^|\/)\./.test(path29.slice(prefix2.length))
9911
+ (path26) => path26.startsWith(prefix2) && !/(?:^|\/)\./.test(path26.slice(prefix2.length))
10101
9912
  );
10102
9913
  },
10103
- join8,
9914
+ join7,
10104
9915
  (file, kind) => {
10105
9916
  if (kind === "resource") resources.add(file);
10106
9917
  }
@@ -10108,7 +9919,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
10108
9919
  }
10109
9920
  const rootModuleName = readRootModuleName(
10110
9921
  Object.entries(files).filter(
10111
- ([path29]) => !path29.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path29) || path29.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
9922
+ ([path26]) => !path26.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path26) || path26.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
10112
9923
  ).map(([, source]) => source)
10113
9924
  );
10114
9925
  return {
@@ -10200,25 +10011,24 @@ function extractNativeAppIdentityFromFiles(files, platform, parseInfoPlist, iosT
10200
10011
  }
10201
10012
 
10202
10013
  // src/prepared-xcode-phases.ts
10203
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10204
10014
  var import_node_crypto3 = require("node:crypto");
10205
- var import_node_fs14 = __toESM(require("node:fs"), 1);
10206
- var import_node_path11 = __toESM(require("node:path"), 1);
10015
+ var import_node_fs13 = __toESM(require("node:fs"), 1);
10016
+ var import_node_path10 = __toESM(require("node:path"), 1);
10207
10017
  var workspaces = /* @__PURE__ */ new Map();
10208
10018
  var recording;
10209
10019
  function relativeFile(root, file) {
10210
- const relative3 = import_node_path11.default.relative(root, file);
10211
- if (!relative3 || relative3 === ".." || relative3.startsWith(`..${import_node_path11.default.sep}`) || import_node_path11.default.isAbsolute(relative3))
10020
+ const relative3 = import_node_path10.default.relative(root, file);
10021
+ if (!relative3 || relative3 === ".." || relative3.startsWith(`..${import_node_path10.default.sep}`) || import_node_path10.default.isAbsolute(relative3))
10212
10022
  throw new Error(`prepared Xcode output is outside its workspace: ${file}`);
10213
- return relative3.split(import_node_path11.default.sep).join("/");
10023
+ return relative3.split(import_node_path10.default.sep).join("/");
10214
10024
  }
10215
10025
  function output(root, file) {
10216
10026
  const relative3 = relativeFile(root, file);
10217
- const stat = import_node_fs14.default.statSync(file, { throwIfNoEntry: false });
10027
+ const stat = import_node_fs13.default.statSync(file, { throwIfNoEntry: false });
10218
10028
  if (!stat) return { path: relative3, sha256: null };
10219
10029
  if (!stat.isFile()) throw new Error(`prepared Xcode output is not a file: ${file}`);
10220
- relativeFile(root, import_node_fs14.default.realpathSync(file));
10221
- const bytes = import_node_fs14.default.readFileSync(file);
10030
+ relativeFile(root, import_node_fs13.default.realpathSync(file));
10031
+ const bytes = import_node_fs13.default.readFileSync(file);
10222
10032
  const prefix2 = Buffer.from(root);
10223
10033
  const hash = (0, import_node_crypto3.createHash)("sha256");
10224
10034
  let offset = 0;
@@ -10234,8 +10044,8 @@ function output(root, file) {
10234
10044
  }
10235
10045
  function preparedXcodePhase(project, target, phase, configuration, outputs, recorded) {
10236
10046
  const root = recording?.root ?? [...workspaces.keys()].find((root2) => {
10237
- const relative3 = import_node_path11.default.relative(root2, project);
10238
- return relative3 !== ".." && !relative3.startsWith(`..${import_node_path11.default.sep}`) && !import_node_path11.default.isAbsolute(relative3);
10047
+ const relative3 = import_node_path10.default.relative(root2, project);
10048
+ return relative3 !== ".." && !relative3.startsWith(`..${import_node_path10.default.sep}`) && !import_node_path10.default.isAbsolute(relative3);
10239
10049
  });
10240
10050
  if (!root) return false;
10241
10051
  const entry = {
@@ -10270,13 +10080,11 @@ function preparedXcodePhase(project, target, phase, configuration, outputs, reco
10270
10080
  }
10271
10081
 
10272
10082
  // src/swift-binary-modules.ts
10273
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10274
- var import_node_fs15 = __toESM(require("node:fs"), 1);
10275
- var import_node_path12 = __toESM(require("node:path"), 1);
10083
+ var import_node_fs14 = __toESM(require("node:fs"), 1);
10084
+ var import_node_path11 = __toESM(require("node:path"), 1);
10276
10085
  init_home_paths();
10277
10086
 
10278
10087
  // src/swift-package.ts
10279
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10280
10088
  var SWIFT_NATIVE_TRANSLATION_UNIT_EXTENSIONS = [
10281
10089
  ".c",
10282
10090
  ".cc",
@@ -10317,7 +10125,7 @@ function moduleMapName(text2) {
10317
10125
  }
10318
10126
 
10319
10127
  // src/swift-binary-modules.ts
10320
- var cacheDir2 = import_node_path12.default.join(cacheDir(), "swift-binary-modules");
10128
+ var cacheDir2 = import_node_path11.default.join(cacheDir(), "swift-binary-modules");
10321
10129
  function frameworkModules(paths) {
10322
10130
  const modules = /* @__PURE__ */ new Set();
10323
10131
  for (const file of paths) {
@@ -10327,72 +10135,31 @@ function frameworkModules(paths) {
10327
10135
  return [...modules].sort();
10328
10136
  }
10329
10137
  function localSwiftBinaryModules(dir) {
10330
- if (!import_node_fs15.default.existsSync(dir)) return [];
10331
- const slices = import_node_fs15.default.readdirSync(dir, { withFileTypes: true }).filter((slice) => slice.isDirectory());
10138
+ if (!import_node_fs14.default.existsSync(dir)) return [];
10139
+ const slices = import_node_fs14.default.readdirSync(dir, { withFileTypes: true }).filter((slice) => slice.isDirectory());
10332
10140
  const frameworks = frameworkModules(
10333
10141
  slices.flatMap(
10334
- (slice) => import_node_fs15.default.readdirSync(import_node_path12.default.join(dir, slice.name)).map((entry) => `${slice.name}/${entry}`)
10142
+ (slice) => import_node_fs14.default.readdirSync(import_node_path11.default.join(dir, slice.name)).map((entry) => `${slice.name}/${entry}`)
10335
10143
  )
10336
10144
  );
10337
10145
  if (frameworks.length > 0) return frameworks;
10338
10146
  const modules = /* @__PURE__ */ new Set();
10339
10147
  for (const slice of slices) {
10340
- const headers = import_node_path12.default.join(dir, slice.name, "Headers");
10341
- if (!import_node_fs15.default.existsSync(headers)) continue;
10342
- for (const file of import_node_fs15.default.readdirSync(headers, { recursive: true, encoding: "utf8" })) {
10343
- if (import_node_path12.default.basename(file) !== "module.modulemap") continue;
10344
- const module2 = moduleMapName(import_node_fs15.default.readFileSync(import_node_path12.default.join(headers, file), "utf8"));
10148
+ const headers = import_node_path11.default.join(dir, slice.name, "Headers");
10149
+ if (!import_node_fs14.default.existsSync(headers)) continue;
10150
+ for (const file of import_node_fs14.default.readdirSync(headers, { recursive: true, encoding: "utf8" })) {
10151
+ if (import_node_path11.default.basename(file) !== "module.modulemap") continue;
10152
+ const module2 = moduleMapName(import_node_fs14.default.readFileSync(import_node_path11.default.join(headers, file), "utf8"));
10345
10153
  if (module2) modules.add(module2);
10346
10154
  }
10347
10155
  }
10348
10156
  return [...modules].sort();
10349
10157
  }
10350
10158
 
10351
- // src/swift-coverage/xcode-assets.ts
10352
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10353
-
10354
10159
  // src/swift-coverage/provenance.ts
10355
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10356
- var import_node_crypto4 = require("node:crypto");
10357
- var import_node_fs16 = require("node:fs");
10358
- var import_node_path13 = require("node:path");
10359
- var SWIFT_COVERAGE_DIGEST_SOURCES = [
10360
- "swift-coverage/indexdump.ts",
10361
- "swift-coverage/indexing.ts",
10362
- "swift-coverage/types.ts",
10363
- "swift-coverage/source.ts",
10364
- "swift-coverage/package.ts",
10365
- "swift-coverage/xcode.ts",
10366
- "swift-coverage/xcode-assets.ts",
10367
- "swift-coverage/xcode-asset-symbols.ts",
10368
- "swift-coverage/xcode-bridging.ts",
10369
- "swift-coverage/xcode-packages.ts",
10370
- "swift-coverage/xcode-strings.ts",
10371
- "swift-coverage/reader.ts",
10372
- "swift-coverage/provenance.ts",
10373
- "swift-package-manifest.ts",
10374
- "swift-package.ts",
10375
- "swift-source-file.ts",
10376
- "swift-toolchain.ts",
10377
- "home-paths.ts",
10378
- "xcode-header-search.ts",
10379
- "xcode-project.ts",
10380
- "xcode-target-members.ts",
10381
- "xcode-json-project.ts",
10382
- "openstep-plist.ts"
10383
- ];
10384
- function swiftCoverageSourceDigests(srcDir) {
10385
- return Object.fromEntries(
10386
- SWIFT_COVERAGE_DIGEST_SOURCES.map((file) => [
10387
- file,
10388
- (0, import_node_crypto4.createHash)("sha256").update((0, import_node_fs16.readFileSync)((0, import_node_path13.join)(srcDir, file))).digest("hex")
10389
- ])
10390
- );
10391
- }
10392
- var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0, import_node_path13.join)(__sootsim_import_meta_dirname, ".."));
10160
+ var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
10393
10161
 
10394
10162
  // src/swift-coverage/xcode-asset-symbols.ts
10395
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10396
10163
  var silentTypes = /* @__PURE__ */ new Set([
10397
10164
  "appiconset",
10398
10165
  "brandassets",
@@ -10574,55 +10341,27 @@ var assetSymbolSettingKeys = [
10574
10341
  ];
10575
10342
 
10576
10343
  // src/swift-package-manifest.ts
10577
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10578
10344
  var import_node_child_process8 = require("node:child_process");
10579
- var import_node_path16 = __toESM(require("node:path"), 1);
10345
+ var import_node_path12 = __toESM(require("node:path"), 1);
10580
10346
  var import_node_util5 = require("node:util");
10581
10347
  init_home_paths();
10582
10348
 
10583
10349
  // src/swift-distribution.ts
10584
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10585
10350
  init_src();
10586
10351
 
10587
10352
  // cli/drivers/linux-browser-libs.ts
10588
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10589
10353
  init_src();
10590
10354
  init_home_paths();
10591
10355
  init_is_record();
10592
10356
 
10593
- // cli/cli-release-origin.ts
10594
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10595
-
10596
10357
  // src/swift-distribution.ts
10597
10358
  init_home_paths();
10598
10359
 
10599
10360
  // src/swift-compile.ts
10600
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10601
10361
  var v5 = __toESM(require("valibot"), 1);
10602
10362
  init_process_group();
10603
10363
 
10604
- // src/retired-cache-directory.ts
10605
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10606
-
10607
- // src/process-liveness.ts
10608
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10609
-
10610
- // src/swift-darwin-records.ts
10611
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10612
-
10613
- // src/swift-objc-platform.ts
10614
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10615
-
10616
10364
  // src/swift-toolchain.ts
10617
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10618
- var import_node_fs17 = __toESM(require("node:fs"), 1);
10619
- var import_node_path14 = __toESM(require("node:path"), 1);
10620
- function peachsimPackageRoot() {
10621
- let dir = __sootsim_import_meta_dirname;
10622
- while (!import_node_fs17.default.existsSync(import_node_path14.default.join(dir, "package.json")) && dir !== import_node_path14.default.dirname(dir))
10623
- dir = import_node_path14.default.dirname(dir);
10624
- return dir;
10625
- }
10626
10365
  var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
10627
10366
  var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
10628
10367
  var compilerArchives = {
@@ -10880,41 +10619,12 @@ var compilerArchives = {
10880
10619
  }
10881
10620
  };
10882
10621
 
10883
- // src/swift-objc-runtime.ts
10884
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10885
-
10886
10622
  // src/swift-objc-standin.ts
10887
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10888
- var import_node_crypto5 = require("node:crypto");
10623
+ var import_node_crypto4 = require("node:crypto");
10889
10624
  init_is_record();
10890
10625
 
10891
- // src/swift-interface-bodies.ts
10892
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10893
-
10894
10626
  // src/swift-objc-sdk.ts
10895
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10896
- var import_node_path15 = __toESM(require("node:path"), 1);
10897
10627
  var IOS_SDK_TARGET = "arm64-apple-ios16.0-simulator";
10898
- var OVERLAY_PATH = /^usr\/lib\/swift\/([^/]+)\.swiftmodule\/arm64-apple-ios-simulator\.swiftinterface$/;
10899
- var tree = typeof __PEACH_BUNDLED_IOS_SDK__ === "undefined" ? readIosSdkTree(import_node_path15.default.join(peachsimPackageRoot(), "sdk", "ios")) : Object.entries(__PEACH_BUNDLED_IOS_SDK__).sort(([a], [b]) => a < b ? -1 : 1);
10900
- var IOS_SDK_HEADERS = {};
10901
- var IOS_SDK_OVERLAYS = {};
10902
- for (const [file, text2] of tree) {
10903
- const module2 = OVERLAY_PATH.exec(file)?.[1];
10904
- if (module2 === void 0) {
10905
- IOS_SDK_HEADERS[file] = text2;
10906
- continue;
10907
- }
10908
- const header = `// swift-interface-format-version: 1.0
10909
- // swift-module-flags: -target ${IOS_SDK_TARGET} -enable-objc-interop -enable-library-evolution -module-name ${module2}
10910
- `;
10911
- if (!text2.startsWith(header))
10912
- throw new Error(`sdk overlay ${file} has the wrong interface header`);
10913
- IOS_SDK_OVERLAYS[module2] = text2.slice(header.length);
10914
- }
10915
-
10916
- // src/swift-standin-emit.ts
10917
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10918
10628
 
10919
10629
  // src/swift-objc-standin.ts
10920
10630
  var NATIVE_GRAPH_SDK_VERSION = "27.1";
@@ -10931,33 +10641,15 @@ var NATIVE_GRAPH_INPUTS = {
10931
10641
  compiler: "Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)",
10932
10642
  target: IOS_SDK_TARGET
10933
10643
  };
10934
- var NATIVE_GRAPH_ID = (0, import_node_crypto5.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
10935
-
10936
- // src/swift-shared-sdk.ts
10937
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10938
-
10939
- // src/swift-design-time.ts
10940
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10644
+ var NATIVE_GRAPH_ID = (0, import_node_crypto4.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
10941
10645
 
10942
10646
  // src/swift-distribution-contract.ts
10943
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10944
10647
  init_is_record();
10945
10648
 
10946
- // src/swift-foundation.ts
10947
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10948
-
10949
- // src/swift-guest-compile.ts
10950
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10951
-
10952
- // src/swift-guest-archive.ts
10953
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10954
-
10955
10649
  // src/swift-wasm-prune.ts
10956
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10957
10650
  var v2 = __toESM(require("valibot"), 1);
10958
10651
 
10959
10652
  // src/swiftRuntimeProductContract.ts
10960
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
10961
10653
  var v = __toESM(require("valibot"), 1);
10962
10654
  var swiftFrameworkProductSchema = v.object({
10963
10655
  version: v.literal(1),
@@ -11101,43 +10793,16 @@ var SWIFTUI_WRAPPER_HOST_PROTOCOLS = new Set(
11101
10793
  ].map((name2) => `$s7SwiftUI${name2.length}${name2}Mp`)
11102
10794
  );
11103
10795
 
11104
- // src/swift-guest-link.ts
11105
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11106
-
11107
- // src/swift-guest-image-ledger.ts
11108
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11109
-
11110
- // src/swift-guest-link-plan.ts
11111
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11112
-
11113
- // src/swift-guest-manifest.ts
11114
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11115
-
11116
- // src/swift-guest-projection-storage.ts
11117
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11118
-
11119
- // src/swift-guest-linked-spans.ts
11120
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11121
-
11122
- // src/swift-guest-projection.ts
11123
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11124
-
11125
10796
  // src/swiftGuestImageContract.ts
11126
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11127
10797
  init_is_record();
11128
10798
 
11129
10799
  // src/swift-guest-projection-storage.ts
11130
10800
  var maxProjectionRegions = 1 << 20;
11131
10801
 
11132
10802
  // src/swift-guest-runtime-plan.ts
11133
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11134
10803
  var v4 = __toESM(require("valibot"), 1);
11135
10804
 
11136
- // src/swift-guest-source-plan.ts
11137
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11138
-
11139
10805
  // src/swift-runtime-products.ts
11140
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11141
10806
  var v3 = __toESM(require("valibot"), 1);
11142
10807
  init_is_record();
11143
10808
  var packageSchema = v3.object({
@@ -11159,19 +10824,10 @@ var packageSchema = v3.object({
11159
10824
  )
11160
10825
  });
11161
10826
 
11162
- // src/swift-guest-source-inputs.ts
11163
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11164
-
11165
10827
  // src/wasm-optimize.ts
11166
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11167
10828
  init_src();
11168
10829
  var import_wasm_opt = require("wasm-opt");
11169
10830
  init_home_paths();
11170
-
11171
- // src/wasm-narrow-boundary.ts
11172
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11173
-
11174
- // src/wasm-optimize.ts
11175
10831
  var FEATURES = [
11176
10832
  "memory64",
11177
10833
  "threads",
@@ -11190,17 +10846,10 @@ var LOWERING = ["--memory64-lowering", "--table64-lowering"];
11190
10846
  var WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
11191
10847
 
11192
10848
  // src/swift-icu.ts
11193
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11194
10849
  var import_node_child_process7 = require("node:child_process");
11195
10850
  var import_node_util4 = require("node:util");
11196
10851
  var import_node_zlib2 = require("node:zlib");
11197
10852
 
11198
- // ../sootsim-swift/src/icuData.ts
11199
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11200
-
11201
- // ../peach-kit/src/wasm-memory.ts
11202
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11203
-
11204
10853
  // ../sootsim-swift/src/icuData.ts
11205
10854
  var PACK_BYTES = 64 * 1024;
11206
10855
  var VERSION = 1;
@@ -11212,36 +10861,12 @@ var deflate = (0, import_node_util4.promisify)(import_node_zlib2.gzip);
11212
10861
  var compressBrotli = (0, import_node_util4.promisify)(import_node_zlib2.brotliCompress);
11213
10862
  var inflateGzip = (0, import_node_util4.promisify)(import_node_zlib2.gunzip);
11214
10863
 
11215
- // src/swift-link-roots.ts
11216
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11217
-
11218
- // src/swift-objc-import.ts
11219
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11220
-
11221
- // src/swift-project-user.ts
11222
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11223
-
11224
- // src/swift-reproducible.ts
11225
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11226
-
11227
10864
  // src/swift-root-lock.ts
11228
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11229
10865
  init_process_group();
11230
10866
  init_process_table();
11231
10867
 
11232
- // src/swift-uniform-type-constants.ts
11233
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11234
-
11235
10868
  // src/swift-compile.ts
11236
10869
  init_swiftContract();
11237
-
11238
- // src/write-build-file.ts
11239
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11240
-
11241
- // src/xcode-header-search.ts
11242
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11243
-
11244
- // src/swift-compile.ts
11245
10870
  var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
11246
10871
  PDFKit: [],
11247
10872
  CFNetwork: ["PeachCFNetwork"],
@@ -11316,7 +10941,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
11316
10941
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
11317
10942
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
11318
10943
  ).join("");
11319
- var compilerSourceDigest = true ? "c08bc25b20368e967d20bd07b2812d538ac73d60f4f4790ad0a59924bba3b684" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
10944
+ var compilerSourceDigest = true ? "660487c29d9a45fcb5a83e23f25f239be6cc1cc7338a3a2c2f756a4c985ae043" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
11320
10945
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
11321
10946
  "CFAllocator",
11322
10947
  "CFArray",
@@ -11355,24 +10980,20 @@ var rootLocks = host[ROOT_LOCKS] ??= /* @__PURE__ */ new Map();
11355
10980
  var SHARED_ARTIFACT_BUDGET_BYTES = 4 * 1024 ** 3;
11356
10981
 
11357
10982
  // src/swift-native-pin.ts
11358
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11359
10983
  init_answeredNativePackages();
11360
10984
 
11361
10985
  // src/nitroAdapterContract.ts
11362
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11363
10986
  init_is_record();
11364
10987
 
11365
10988
  // src/swiftNativePinContract.ts
11366
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11367
10989
  init_is_record();
11368
10990
 
11369
10991
  // src/swift-package-manifest.ts
11370
- var cacheDir3 = import_node_path16.default.join(cacheDir(), "swift-manifests");
10992
+ var cacheDir3 = import_node_path12.default.join(cacheDir(), "swift-manifests");
11371
10993
  var execFileAsync = (0, import_node_util5.promisify)(import_node_child_process8.execFile);
11372
10994
 
11373
10995
  // src/xcode-json-project.ts
11374
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
11375
- var import_node_path17 = __toESM(require("node:path"), 1);
10996
+ var import_node_path13 = __toESM(require("node:path"), 1);
11376
10997
  var import_json52 = __toESM(require_lib(), 1);
11377
10998
  var isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
11378
10999
  var text = (value) => typeof value === "string" ? value : void 0;
@@ -11430,7 +11051,7 @@ var PHASE_ISA = {
11430
11051
  function readXcodeJsonProject(xcodeproj, source) {
11431
11052
  const json = import_json52.default.parse(source);
11432
11053
  if (!isJsonObject(json)) throw new Error(`${xcodeproj}/project.xcproj is not an object`);
11433
- const projectDir = import_node_path17.default.dirname(xcodeproj);
11054
+ const projectDir = import_node_path13.default.dirname(xcodeproj);
11434
11055
  const objects = {};
11435
11056
  let next = 0;
11436
11057
  const add = (entry, id) => {
@@ -11443,7 +11064,7 @@ function readXcodeJsonProject(xcodeproj, source) {
11443
11064
  const base = /^<([A-Z]+)>\/(.*)$/.exec(raw);
11444
11065
  if (base) {
11445
11066
  if (base[1] === "PROJECT")
11446
- return { sourceTree: "<absolute>", path: import_node_path17.default.join(projectDir, base[2]) };
11067
+ return { sourceTree: "<absolute>", path: import_node_path13.default.join(projectDir, base[2]) };
11447
11068
  if (base[1] === "PRODUCTS")
11448
11069
  return { sourceTree: "BUILT_PRODUCTS_DIR", path: base[2] };
11449
11070
  return null;
@@ -11451,7 +11072,7 @@ function readXcodeJsonProject(xcodeproj, source) {
11451
11072
  const unescaped = raw.replaceAll("\\<", "<");
11452
11073
  if (unescaped.startsWith("/")) return { sourceTree: "<absolute>", path: unescaped };
11453
11074
  if (unescaped.startsWith("~")) return null;
11454
- return groupDir === null ? null : { sourceTree: "<absolute>", path: import_node_path17.default.join(groupDir, unescaped) };
11075
+ return groupDir === null ? null : { sourceTree: "<absolute>", path: import_node_path13.default.join(groupDir, unescaped) };
11455
11076
  };
11456
11077
  const memberships = [];
11457
11078
  const folders = [];
@@ -11462,7 +11083,7 @@ function readXcodeJsonProject(xcodeproj, source) {
11462
11083
  const kind = text(entry.kind) ?? "file-reference";
11463
11084
  const raw = text(entry.path) ?? "";
11464
11085
  const located = raw === "" ? null : locate(raw, parent.dir);
11465
- const name2 = text(entry.name) ?? import_node_path17.default.basename(raw);
11086
+ const name2 = text(entry.name) ?? import_node_path13.default.basename(raw);
11466
11087
  const node = { id: "", name: name2, dir: null, parent, children: [] };
11467
11088
  if (kind === "group" || kind === "variant-group" || kind === "version-group") {
11468
11089
  node.dir = raw === "" ? parent.dir : located?.sourceTree === "<absolute>" ? located.path : null;
@@ -11583,7 +11204,7 @@ function readXcodeJsonProject(xcodeproj, source) {
11583
11204
  if (!isObject(entry)) continue;
11584
11205
  const repository = text(entry.repository);
11585
11206
  const local = text(entry.path);
11586
- const name2 = local !== void 0 ? import_node_path17.default.basename(import_node_path17.default.resolve(import_node_path17.default.dirname(xcodeproj), local)) : import_node_path17.default.basename(repository ?? "").replace(/\.git$/, "");
11207
+ const name2 = local !== void 0 ? import_node_path13.default.basename(import_node_path13.default.resolve(import_node_path13.default.dirname(xcodeproj), local)) : import_node_path13.default.basename(repository ?? "").replace(/\.git$/, "");
11587
11208
  const id = text(entry.kind) === "local" && local !== void 0 ? add({ isa: "XCLocalSwiftPackageReference", relativePath: local }) : add({
11588
11209
  isa: "XCRemoteSwiftPackageReference",
11589
11210
  repositoryURL: repository ?? "",
@@ -11803,28 +11424,28 @@ var CONDITIONS = {
11803
11424
  variant: "normal"
11804
11425
  };
11805
11426
  function walkFiles(dir) {
11806
- if (!import_node_fs18.default.existsSync(dir)) return [];
11427
+ if (!import_node_fs15.default.existsSync(dir)) return [];
11807
11428
  const out = [];
11808
- for (const entry of import_node_fs18.default.readdirSync(dir, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
11429
+ for (const entry of import_node_fs15.default.readdirSync(dir, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
11809
11430
  if (entry.name.startsWith(".")) continue;
11810
- const full = import_node_path18.default.join(dir, entry.name);
11431
+ const full = import_node_path14.default.join(dir, entry.name);
11811
11432
  if (entry.isDirectory()) out.push(...walkFiles(full));
11812
11433
  else if (entry.isFile()) out.push(full);
11813
11434
  }
11814
11435
  return out;
11815
11436
  }
11816
- var isDirectory = (dir) => import_node_fs18.default.existsSync(dir) && import_node_fs18.default.statSync(dir).isDirectory();
11437
+ var isDirectory = (dir) => import_node_fs15.default.existsSync(dir) && import_node_fs15.default.statSync(dir).isDirectory();
11817
11438
  function readXcconfig(file, read) {
11818
- if (read.includes(file) || !import_node_fs18.default.existsSync(file)) return {};
11439
+ if (read.includes(file) || !import_node_fs15.default.existsSync(file)) return {};
11819
11440
  read.push(file);
11820
11441
  const settings = {};
11821
- for (const raw of import_node_fs18.default.readFileSync(file, "utf8").split("\n")) {
11442
+ for (const raw of import_node_fs15.default.readFileSync(file, "utf8").split("\n")) {
11822
11443
  const line = raw.replace(/\/\/.*$/, "").trim();
11823
11444
  const include = /^#include\??\s+"([^"]+)"/.exec(line);
11824
11445
  if (include) {
11825
11446
  Object.assign(
11826
11447
  settings,
11827
- readXcconfig(import_node_path18.default.resolve(import_node_path18.default.dirname(file), include[1]), read)
11448
+ readXcconfig(import_node_path14.default.resolve(import_node_path14.default.dirname(file), include[1]), read)
11828
11449
  );
11829
11450
  continue;
11830
11451
  }
@@ -11874,22 +11495,22 @@ function decodeXml(text2) {
11874
11495
  return text2.replaceAll("&quot;", '"').replaceAll("&apos;", "'").replaceAll("&lt;", "<").replaceAll("&gt;", ">").replaceAll("&amp;", "&");
11875
11496
  }
11876
11497
  function workspaceReferences(workspace) {
11877
- const data = import_node_path18.default.join(workspace, "contents.xcworkspacedata");
11878
- if (!import_node_fs18.default.existsSync(data))
11498
+ const data = import_node_path14.default.join(workspace, "contents.xcworkspacedata");
11499
+ if (!import_node_fs15.default.existsSync(data))
11879
11500
  throw new Error(`${workspace} has no contents.xcworkspacedata`);
11880
- const container = import_node_path18.default.dirname(workspace);
11501
+ const container = import_node_path14.default.dirname(workspace);
11881
11502
  const locate = (location, base) => {
11882
11503
  const colon = location.indexOf(":");
11883
11504
  const kind = location.slice(0, colon);
11884
11505
  const rest = location.slice(colon + 1);
11885
- if (kind === "group") return import_node_path18.default.resolve(base, rest);
11886
- if (kind === "container" || kind === "self") return import_node_path18.default.resolve(container, rest);
11887
- if (kind === "absolute") return import_node_path18.default.resolve(rest);
11888
- throw new Error(`${import_node_path18.default.basename(workspace)} has an unsupported location ${location}`);
11506
+ if (kind === "group") return import_node_path14.default.resolve(base, rest);
11507
+ if (kind === "container" || kind === "self") return import_node_path14.default.resolve(container, rest);
11508
+ if (kind === "absolute") return import_node_path14.default.resolve(rest);
11509
+ throw new Error(`${import_node_path14.default.basename(workspace)} has an unsupported location ${location}`);
11889
11510
  };
11890
11511
  const groups = [container];
11891
11512
  const references = [];
11892
- for (const [, closing, tag, attributes, selfClosing] of import_node_fs18.default.readFileSync(data, "utf8").matchAll(/<(\/?)(Group|FileRef)\b([^>]*?)(\/?)>/g)) {
11513
+ for (const [, closing, tag, attributes, selfClosing] of import_node_fs15.default.readFileSync(data, "utf8").matchAll(/<(\/?)(Group|FileRef)\b([^>]*?)(\/?)>/g)) {
11893
11514
  if (closing) {
11894
11515
  if (tag === "Group") groups.pop();
11895
11516
  continue;
@@ -11940,8 +11561,8 @@ function remotePackageRequirements(projects) {
11940
11561
  var loaded = /* @__PURE__ */ new Map();
11941
11562
  function xcodeProjectFile(xcodeproj) {
11942
11563
  for (const name2 of ["project.pbxproj", "project.xcproj"]) {
11943
- const file = import_node_path18.default.join(xcodeproj, name2);
11944
- if (import_node_fs18.default.existsSync(file)) return file;
11564
+ const file = import_node_path14.default.join(xcodeproj, name2);
11565
+ if (import_node_fs15.default.existsSync(file)) return file;
11945
11566
  }
11946
11567
  return null;
11947
11568
  }
@@ -11949,8 +11570,8 @@ function loadProject(xcodeproj) {
11949
11570
  const projectFile = xcodeProjectFile(xcodeproj);
11950
11571
  if (!projectFile)
11951
11572
  throw new Error(`${xcodeproj} has no project.pbxproj or project.xcproj`);
11952
- const source = import_node_fs18.default.readFileSync(projectFile, "utf8");
11953
- const digest = (0, import_node_crypto6.createHash)("sha256").update(source).digest("hex");
11573
+ const source = import_node_fs15.default.readFileSync(projectFile, "utf8");
11574
+ const digest = (0, import_node_crypto5.createHash)("sha256").update(source).digest("hex");
11954
11575
  const cached = loaded.get(projectFile);
11955
11576
  if (cached?.digest === digest) return cached.project;
11956
11577
  const root = projectFile.endsWith(".xcproj") ? readXcodeJsonProject(xcodeproj, source) : parseOpenStepPlist(source);
@@ -11966,10 +11587,10 @@ function loadProject(xcodeproj) {
11966
11587
  if (!project || project.isa !== "PBXProject") {
11967
11588
  throw new Error(`${projectFile} has no PBXProject root`);
11968
11589
  }
11969
- const projectDir = import_node_fs18.default.realpathSync.native(
11970
- import_node_path18.default.resolve(import_node_path18.default.dirname(xcodeproj), str(project.projectDirPath) ?? "")
11590
+ const projectDir = import_node_fs15.default.realpathSync.native(
11591
+ import_node_path14.default.resolve(import_node_path14.default.dirname(xcodeproj), str(project.projectDirPath) ?? "")
11971
11592
  );
11972
- const resolvePath = xcodePathResolver(objects, projectDir, import_node_path18.default.join);
11593
+ const resolvePath = xcodePathResolver(objects, projectDir, import_node_path14.default.join);
11973
11594
  const result = {
11974
11595
  xcodeproj,
11975
11596
  projectFile,
@@ -12006,8 +11627,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
12006
11627
  const relative3 = str(config.baseConfigurationReferenceRelativePath);
12007
11628
  const own = isDict(config.buildSettings) ? config.buildSettings : {};
12008
11629
  const directory = anchor ? project.resolvePath(anchor) : null;
12009
- const baseFile = base ? project.resolvePath(base) : directory && relative3 ? import_node_path18.default.resolve(directory, relative3) : null;
12010
- if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !import_node_fs18.default.existsSync(baseFile)))
11630
+ const baseFile = base ? project.resolvePath(base) : directory && relative3 ? import_node_path14.default.resolve(directory, relative3) : null;
11631
+ if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !import_node_fs15.default.existsSync(baseFile)))
12011
11632
  throw new Error(
12012
11633
  `Unable to open base configuration reference file '${baseFile ?? base ?? relative3 ?? anchor}'`
12013
11634
  );
@@ -12105,26 +11726,26 @@ function scriptCommand(shell, script) {
12105
11726
  return [executable, ...args, "-c", script];
12106
11727
  }
12107
11728
  function expandSearchPath(directory, rules2) {
12108
- if (import_node_path18.default.basename(directory) !== "**") return [directory];
11729
+ if (import_node_path14.default.basename(directory) !== "**") return [directory];
12109
11730
  const expanded = [];
12110
11731
  const seen = /* @__PURE__ */ new Set();
12111
- const queue = [import_node_path18.default.dirname(directory)];
11732
+ const queue = [import_node_path14.default.dirname(directory)];
12112
11733
  for (let at = 0; at < queue.length; at++) {
12113
11734
  const current = queue[at];
12114
11735
  let real;
12115
11736
  try {
12116
- real = import_node_fs18.default.realpathSync.native(current);
11737
+ real = import_node_fs15.default.realpathSync.native(current);
12117
11738
  } catch {
12118
11739
  continue;
12119
11740
  }
12120
- if (!import_node_fs18.default.statSync(real).isDirectory() || seen.has(real)) continue;
11741
+ if (!import_node_fs15.default.statSync(real).isDirectory() || seen.has(real)) continue;
12121
11742
  seen.add(real);
12122
11743
  expanded.push(current);
12123
- for (const entry of import_node_fs18.default.readdirSync(real, { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
11744
+ for (const entry of import_node_fs15.default.readdirSync(real, { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
12124
11745
  if (entry.isSymbolicLink() ? !rules2.followLinks : !entry.isDirectory()) continue;
12125
11746
  if (rules2.excluded.some((pattern) => pattern.test(entry.name)) && !rules2.included.some((pattern) => pattern.test(entry.name)))
12126
11747
  continue;
12127
- queue.push(import_node_path18.default.join(current, entry.name));
11748
+ queue.push(import_node_path14.default.join(current, entry.name));
12128
11749
  }
12129
11750
  }
12130
11751
  return expanded;
@@ -12195,7 +11816,7 @@ function shellAssetCatalogs(script, settings, projectDir) {
12195
11816
  for (const token of tokens) {
12196
11817
  if (token.startsWith("-")) break;
12197
11818
  const file = resolve4(token);
12198
- if (file?.endsWith(".xcassets")) catalogs.push(import_node_path18.default.resolve(projectDir, file));
11819
+ if (file?.endsWith(".xcassets")) catalogs.push(import_node_path14.default.resolve(projectDir, file));
12199
11820
  }
12200
11821
  }
12201
11822
  return catalogs;
@@ -12240,14 +11861,14 @@ function shellCopies(script, settings, projectDir) {
12240
11861
  if (operands.length !== 2 || operands.some((operand) => operand.startsWith("-")))
12241
11862
  return [];
12242
11863
  copies.push({
12243
- from: import_node_path18.default.resolve(projectDir, operands[0]),
12244
- to: import_node_path18.default.resolve(projectDir, operands[1])
11864
+ from: import_node_path14.default.resolve(projectDir, operands[0]),
11865
+ to: import_node_path14.default.resolve(projectDir, operands[1])
12245
11866
  });
12246
11867
  }
12247
11868
  return copies;
12248
11869
  }
12249
11870
  function fileListEntries(file, absolute) {
12250
- return import_node_fs18.default.readFileSync(file, "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line !== "" && !line.startsWith("#")).map(absolute);
11871
+ return import_node_fs15.default.readFileSync(file, "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line !== "" && !line.startsWith("#")).map(absolute);
12251
11872
  }
12252
11873
  function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12253
11874
  const { project, target, id: targetId } = ref;
@@ -12261,7 +11882,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12261
11882
  const copiedFiles = [];
12262
11883
  let generatedInfoPlist = false;
12263
11884
  const declaredInfoPlist = settings("INFOPLIST_FILE");
12264
- const infoPlistOutput = declaredInfoPlist ? import_node_path18.default.resolve(project.projectDir, declaredInfoPlist) : null;
11885
+ const infoPlistOutput = declaredInfoPlist ? import_node_path14.default.resolve(project.projectDir, declaredInfoPlist) : null;
12265
11886
  const isPreparedOutput = (file) => file === infoPlistOutput || options.requireSources !== false && file.endsWith(".swift");
12266
11887
  for (const phaseId of list(target.buildPhases)) {
12267
11888
  const phase = project.object(phaseId);
@@ -12276,7 +11897,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12276
11897
  copiedFiles.push(
12277
11898
  ...shellCopies(str(phase.shellScript) ?? "", settings, project.projectDir)
12278
11899
  );
12279
- const absolute = (raw) => import_node_path18.default.resolve(project.projectDir, expand(raw, settings));
11900
+ const absolute = (raw) => import_node_path14.default.resolve(project.projectDir, expand(raw, settings));
12280
11901
  const inputs = list(phase.inputPaths).map(absolute);
12281
11902
  const outputs = list(phase.outputPaths).map(absolute);
12282
11903
  const fileLists = /* @__PURE__ */ new Map();
@@ -12285,7 +11906,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12285
11906
  kind === "INPUT" ? phase.inputFileListPaths : phase.outputFileListPaths
12286
11907
  ).map((raw) => {
12287
11908
  const file = absolute(raw);
12288
- if (!import_node_fs18.default.existsSync(file)) {
11909
+ if (!import_node_fs15.default.existsSync(file)) {
12289
11910
  return { file, entries: [] };
12290
11911
  }
12291
11912
  return { file, entries: fileListEntries(file, absolute) };
@@ -12306,7 +11927,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12306
11927
  ...fileLists.get("OUTPUT").map((item) => item.file)
12307
11928
  ];
12308
11929
  if (allOutputs.some((file) => file.endsWith(".swift") || file === infoPlistOutput)) {
12309
- for (const file of inputFiles) if (import_node_fs18.default.existsSync(file)) projectInputs.add(file);
11930
+ for (const file of inputFiles) if (import_node_fs15.default.existsSync(file)) projectInputs.add(file);
12310
11931
  }
12311
11932
  if (options.prepareGeneratedSources === true && allOutputs.some(isPreparedOutput)) {
12312
11933
  const configuration = settings("CONFIGURATION");
@@ -12319,10 +11940,10 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12319
11940
  false
12320
11941
  ))
12321
11942
  continue;
12322
- const phaseDir = import_node_path18.default.join(settings("TARGET_TEMP_DIR"), `Script-${phaseId}`);
11943
+ const phaseDir = import_node_path14.default.join(settings("TARGET_TEMP_DIR"), `Script-${phaseId}`);
12323
11944
  for (const lists of fileLists.values())
12324
11945
  for (const { file } of lists)
12325
- if (!import_node_fs18.default.existsSync(file))
11946
+ if (!import_node_fs15.default.existsSync(file))
12326
11947
  throw new Error(
12327
11948
  `${targetName}: Run Script "${script}" missing file list ${file}`
12328
11949
  );
@@ -12341,25 +11962,25 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12341
11962
  const lists = fileLists.get(kind);
12342
11963
  env[`SCRIPT_${kind}_FILE_LIST_COUNT`] = String(lists.length);
12343
11964
  lists.forEach((_item, index) => {
12344
- env[`SCRIPT_${kind}_FILE_LIST_${index}`] = import_node_path18.default.join(
11965
+ env[`SCRIPT_${kind}_FILE_LIST_${index}`] = import_node_path14.default.join(
12345
11966
  phaseDir,
12346
11967
  `${kind}-${index}.xcfilelist`
12347
11968
  );
12348
11969
  });
12349
11970
  }
12350
- const signature = (0, import_node_crypto6.createHash)("sha256").update(
11971
+ const signature = (0, import_node_crypto5.createHash)("sha256").update(
12351
11972
  JSON.stringify([phase, [...settingKeys].map((key2) => [key2, settings(key2)])])
12352
11973
  );
12353
11974
  for (const file of inputFiles) {
12354
11975
  signature.update(file);
12355
- if (import_node_fs18.default.existsSync(file)) {
12356
- const stat = import_node_fs18.default.statSync(file);
11976
+ if (import_node_fs15.default.existsSync(file)) {
11977
+ const stat = import_node_fs15.default.statSync(file);
12357
11978
  signature.update(`${stat.mtimeMs}:${stat.ctimeMs}:${stat.size}`);
12358
11979
  } else signature.update("missing");
12359
11980
  }
12360
11981
  const stamp = signature.digest("hex");
12361
11982
  const key = `${project.projectFile}:${targetId}:${phaseId}:${settings("CONFIGURATION")}`;
12362
- if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) => import_node_fs18.default.existsSync(file))) {
11983
+ if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) => import_node_fs15.default.existsSync(file))) {
12363
11984
  preparedXcodePhase(
12364
11985
  project.projectFile,
12365
11986
  targetId,
@@ -12370,14 +11991,14 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
12370
11991
  );
12371
11992
  continue;
12372
11993
  }
12373
- import_node_fs18.default.mkdirSync(phaseDir, { recursive: true });
12374
- import_node_fs18.default.mkdirSync(settings("BUILT_PRODUCTS_DIR"), { recursive: true });
12375
- import_node_fs18.default.mkdirSync(settings("DERIVED_FILE_DIR"), { recursive: true });
11994
+ import_node_fs15.default.mkdirSync(phaseDir, { recursive: true });
11995
+ import_node_fs15.default.mkdirSync(settings("BUILT_PRODUCTS_DIR"), { recursive: true });
11996
+ import_node_fs15.default.mkdirSync(settings("DERIVED_FILE_DIR"), { recursive: true });
12376
11997
  for (const output2 of allOutputs)
12377
- import_node_fs18.default.mkdirSync(import_node_path18.default.dirname(output2), { recursive: true });
11998
+ import_node_fs15.default.mkdirSync(import_node_path14.default.dirname(output2), { recursive: true });
12378
11999
  for (const [kind, lists] of fileLists)
12379
12000
  lists.forEach((item, index) => {
12380
- import_node_fs18.default.writeFileSync(
12001
+ import_node_fs15.default.writeFileSync(
12381
12002
  env[`SCRIPT_${kind}_FILE_LIST_${index}`],
12382
12003
  `${item.entries.join("\n")}
12383
12004
  `
@@ -12404,7 +12025,7 @@ ${output2}`
12404
12025
  );
12405
12026
  }
12406
12027
  const missing2 = allOutputs.filter(
12407
- (file) => file === infoPlistOutput && !import_node_fs18.default.existsSync(file)
12028
+ (file) => file === infoPlistOutput && !import_node_fs15.default.existsSync(file)
12408
12029
  );
12409
12030
  if (missing2.length > 0)
12410
12031
  throw new Error(
@@ -12423,9 +12044,9 @@ ${output2}`
12423
12044
  }
12424
12045
  project.visitMembers(
12425
12046
  targetId,
12426
- xcodePathResolver(project.objects, project.projectDir, import_node_path18.default.join, settings),
12427
- (file) => isDirectory(file) ? walkFiles(file) : import_node_fs18.default.existsSync(file) ? [file] : [],
12428
- import_node_path18.default.join,
12047
+ xcodePathResolver(project.objects, project.projectDir, import_node_path14.default.join, settings),
12048
+ (file) => isDirectory(file) ? walkFiles(file) : import_node_fs15.default.existsSync(file) ? [file] : [],
12049
+ import_node_path14.default.join,
12429
12050
  (file, kind, bundleName) => {
12430
12051
  if (kind === "header") {
12431
12052
  headers.add(file);
@@ -12436,9 +12057,9 @@ ${output2}`
12436
12057
  if (bundleName) resourceNames[file] = bundleName;
12437
12058
  return;
12438
12059
  }
12439
- if (!import_node_fs18.default.existsSync(file)) {
12060
+ if (!import_node_fs15.default.existsSync(file)) {
12440
12061
  if (options.requireSources === false) return;
12441
- const script = scriptForOutput.get(import_node_path18.default.normalize(file));
12062
+ const script = scriptForOutput.get(import_node_path14.default.normalize(file));
12442
12063
  throw new Error(
12443
12064
  script ? `${targetName}: missing generated source ${file} (Run Script "${script}" declares it in outputPaths; run the script or check in its output)` : `${targetName}: missing source ${file}`
12444
12065
  );
@@ -12449,17 +12070,17 @@ ${output2}`
12449
12070
  );
12450
12071
  if (options.prepareGeneratedSources && options.requireSources !== false) {
12451
12072
  const interfaceFiles = [...resources].filter(
12452
- (file) => /\.(storyboard|xib)$/.test(file) && !file.split(import_node_path18.default.sep).some((part) => part.endsWith(".bundle"))
12073
+ (file) => /\.(storyboard|xib)$/.test(file) && !file.split(import_node_path14.default.sep).some((part) => part.endsWith(".bundle"))
12453
12074
  );
12454
12075
  if (process.platform !== "darwin") {
12455
12076
  let launchName = settings("INFOPLIST_KEY_UILaunchStoryboardName");
12456
- if (!launchName && infoPlistOutput && import_node_fs18.default.existsSync(infoPlistOutput)) {
12457
- const info = import_plist2.default.parse(import_node_fs18.default.readFileSync(infoPlistOutput, "utf8"));
12077
+ if (!launchName && infoPlistOutput && import_node_fs15.default.existsSync(infoPlistOutput)) {
12078
+ const info = import_plist2.default.parse(import_node_fs15.default.readFileSync(infoPlistOutput, "utf8"));
12458
12079
  const declared = isRecord(info) ? info.UILaunchStoryboardName : void 0;
12459
12080
  if (typeof declared === "string") launchName = expand(declared, settings);
12460
12081
  }
12461
12082
  const runtimeInterfaceFiles = interfaceFiles.filter(
12462
- (file) => import_node_path18.default.basename(file, import_node_path18.default.extname(file)) !== launchName
12083
+ (file) => import_node_path14.default.basename(file, import_node_path14.default.extname(file)) !== launchName
12463
12084
  );
12464
12085
  if (runtimeInterfaceFiles.length > 0)
12465
12086
  throw new Error(
@@ -12470,19 +12091,19 @@ ${output2}`
12470
12091
  }
12471
12092
  const interfaceOutputs = /* @__PURE__ */ new Set();
12472
12093
  for (const file of interfaceFiles) {
12473
- const localization = file.split(import_node_path18.default.sep).findLast((part) => part.endsWith(".lproj")) ?? "";
12094
+ const localization = file.split(import_node_path14.default.sep).findLast((part) => part.endsWith(".lproj")) ?? "";
12474
12095
  const extension = file.endsWith(".storyboard") ? ".storyboardc" : ".nib";
12475
- const output2 = import_node_path18.default.join(
12096
+ const output2 = import_node_path14.default.join(
12476
12097
  settings("DERIVED_FILE_DIR"),
12477
12098
  "InterfaceBuilder",
12478
12099
  localization,
12479
- import_node_path18.default.basename(file, import_node_path18.default.extname(file)) + extension
12100
+ import_node_path14.default.basename(file, import_node_path14.default.extname(file)) + extension
12480
12101
  );
12481
12102
  if (interfaceOutputs.has(output2))
12482
12103
  throw new Error(`${targetName}: duplicate Interface Builder output ${output2}`);
12483
12104
  interfaceOutputs.add(output2);
12484
- import_node_fs18.default.rmSync(output2, { recursive: true, force: true });
12485
- import_node_fs18.default.mkdirSync(import_node_path18.default.dirname(output2), { recursive: true });
12105
+ import_node_fs15.default.rmSync(output2, { recursive: true, force: true });
12106
+ import_node_fs15.default.mkdirSync(import_node_path14.default.dirname(output2), { recursive: true });
12486
12107
  const args = [
12487
12108
  "ibtool",
12488
12109
  "--compile",
@@ -12516,13 +12137,13 @@ ${output2}`
12516
12137
  for (const definition of definitions) {
12517
12138
  const configuredLanguage = settings("INTENTS_CODEGEN_LANGUAGE");
12518
12139
  const language = !configuredLanguage || configuredLanguage === "Automatic" ? sources.size > 0 ? "Swift" : "Objective-C" : configuredLanguage;
12519
- const output2 = import_node_path18.default.join(
12140
+ const output2 = import_node_path14.default.join(
12520
12141
  settings("DERIVED_FILE_DIR"),
12521
12142
  "IntentDefinitionGenerated",
12522
- import_node_path18.default.basename(definition, ".intentdefinition")
12143
+ import_node_path14.default.basename(definition, ".intentdefinition")
12523
12144
  );
12524
- import_node_fs18.default.rmSync(output2, { recursive: true, force: true });
12525
- import_node_fs18.default.mkdirSync(output2, { recursive: true });
12145
+ import_node_fs15.default.rmSync(output2, { recursive: true, force: true });
12146
+ import_node_fs15.default.mkdirSync(output2, { recursive: true });
12526
12147
  const args = [
12527
12148
  "intentbuilderc",
12528
12149
  "generate",
@@ -12567,37 +12188,37 @@ ${output2}`
12567
12188
  function commonAncestor(dirs) {
12568
12189
  let common = dirs[0];
12569
12190
  for (const dir of dirs) {
12570
- while (common !== import_node_path18.default.dirname(common) && import_node_path18.default.relative(common, dir).startsWith(".."))
12571
- common = import_node_path18.default.dirname(common);
12191
+ while (common !== import_node_path14.default.dirname(common) && import_node_path14.default.relative(common, dir).startsWith(".."))
12192
+ common = import_node_path14.default.dirname(common);
12572
12193
  }
12573
12194
  return common;
12574
12195
  }
12575
- var isPodsProject = (xcodeproj) => import_node_path18.default.basename(xcodeproj) === "Pods.xcodeproj" && import_node_path18.default.basename(import_node_path18.default.dirname(xcodeproj)) === "Pods";
12196
+ var isPodsProject = (xcodeproj) => import_node_path14.default.basename(xcodeproj) === "Pods.xcodeproj" && import_node_path14.default.basename(import_node_path14.default.dirname(xcodeproj)) === "Pods";
12576
12197
  function installedPodsSandbox(pods) {
12577
- const podfileLock = import_node_path18.default.join(import_node_path18.default.dirname(pods), "Podfile.lock");
12578
- const manifestLock = import_node_path18.default.join(pods, "Manifest.lock");
12579
- if (!import_node_fs18.default.existsSync(podfileLock))
12198
+ const podfileLock = import_node_path14.default.join(import_node_path14.default.dirname(pods), "Podfile.lock");
12199
+ const manifestLock = import_node_path14.default.join(pods, "Manifest.lock");
12200
+ if (!import_node_fs15.default.existsSync(podfileLock))
12580
12201
  throw new Error(
12581
- `${pods} has no ${podfileLock}: run \`pod install\` in ${import_node_path18.default.dirname(pods)}`
12202
+ `${pods} has no ${podfileLock}: run \`pod install\` in ${import_node_path14.default.dirname(pods)}`
12582
12203
  );
12583
- if (!import_node_fs18.default.existsSync(manifestLock) || !import_node_fs18.default.readFileSync(manifestLock).equals(import_node_fs18.default.readFileSync(podfileLock)))
12204
+ if (!import_node_fs15.default.existsSync(manifestLock) || !import_node_fs15.default.readFileSync(manifestLock).equals(import_node_fs15.default.readFileSync(podfileLock)))
12584
12205
  throw new Error(
12585
- `The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${import_node_path18.default.dirname(pods)}`
12206
+ `The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${import_node_path14.default.dirname(pods)}`
12586
12207
  );
12587
12208
  const specChecksums = {};
12588
- const lines = import_node_fs18.default.readFileSync(manifestLock, "utf8").split("\n");
12209
+ const lines = import_node_fs15.default.readFileSync(manifestLock, "utf8").split("\n");
12589
12210
  const start = lines.indexOf("SPEC CHECKSUMS:");
12590
12211
  for (const line of start === -1 ? [] : lines.slice(start + 1)) {
12591
12212
  const entry = /^ {2}"?([^":]+)"?: ([0-9a-f]+)$/.exec(line);
12592
12213
  if (!entry) break;
12593
12214
  specChecksums[entry[1]] = entry[2];
12594
12215
  }
12595
- const specs = import_node_path18.default.join(pods, "Local Podspecs");
12216
+ const specs = import_node_path14.default.join(pods, "Local Podspecs");
12596
12217
  return {
12597
12218
  podfileLock,
12598
12219
  manifestLock,
12599
12220
  specChecksums,
12600
- localPodspecs: isDirectory(specs) ? import_node_fs18.default.readdirSync(specs).filter((name2) => name2.endsWith(".podspec.json")).sort().map((name2) => import_node_path18.default.join(specs, name2)) : []
12221
+ localPodspecs: isDirectory(specs) ? import_node_fs15.default.readdirSync(specs).filter((name2) => name2.endsWith(".podspec.json")).sort().map((name2) => import_node_path14.default.join(specs, name2)) : []
12601
12222
  };
12602
12223
  }
12603
12224
  function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
@@ -12609,14 +12230,14 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
12609
12230
  if (!xcodeProjectFile(xcodeproj)) {
12610
12231
  if (installedPods && isPodsProject(xcodeproj))
12611
12232
  throw new Error(
12612
- `${import_node_path18.default.basename(xcodeprojOrWorkspace)} builds ${xcodeproj}, which is not installed: run \`pod install\` in ${import_node_path18.default.dirname(import_node_path18.default.dirname(xcodeproj))}`
12233
+ `${import_node_path14.default.basename(xcodeprojOrWorkspace)} builds ${xcodeproj}, which is not installed: run \`pod install\` in ${import_node_path14.default.dirname(import_node_path14.default.dirname(xcodeproj))}`
12613
12234
  );
12614
12235
  return;
12615
12236
  }
12616
- const key = import_node_fs18.default.realpathSync.native(xcodeproj);
12617
- if (projectAt.has(key) || !installedPods && key.split(import_node_path18.default.sep).includes("Pods"))
12237
+ const key = import_node_fs15.default.realpathSync.native(xcodeproj);
12238
+ if (projectAt.has(key) || !installedPods && key.split(import_node_path14.default.sep).includes("Pods"))
12618
12239
  return;
12619
- if (isPodsProject(key)) cocoapods = installedPodsSandbox(import_node_path18.default.dirname(key));
12240
+ if (isPodsProject(key)) cocoapods = installedPodsSandbox(import_node_path14.default.dirname(key));
12620
12241
  const project = loadProject(key);
12621
12242
  projectAt.set(key, project);
12622
12243
  projects.push(project);
@@ -12632,12 +12253,12 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
12632
12253
  for (const reference of listed)
12633
12254
  if (reference.endsWith(".xcodeproj")) addProject(reference);
12634
12255
  if (projects.length === 0) {
12635
- throw new Error(`${import_node_path18.default.basename(xcodeprojOrWorkspace)} lists no Xcode project`);
12256
+ throw new Error(`${import_node_path14.default.basename(xcodeprojOrWorkspace)} lists no Xcode project`);
12636
12257
  }
12637
- const podfile = import_node_path18.default.join(import_node_path18.default.dirname(xcodeprojOrWorkspace), "Podfile");
12638
- if (installedPods && !cocoapods && import_node_fs18.default.existsSync(podfile))
12258
+ const podfile = import_node_path14.default.join(import_node_path14.default.dirname(xcodeprojOrWorkspace), "Podfile");
12259
+ if (installedPods && !cocoapods && import_node_fs15.default.existsSync(podfile))
12639
12260
  throw new Error(
12640
- `${podfile} is not installed into ${import_node_path18.default.basename(xcodeprojOrWorkspace)}: run \`pod install\` in ${import_node_path18.default.dirname(podfile)} and open the workspace it writes`
12261
+ `${podfile} is not installed into ${import_node_path14.default.basename(xcodeprojOrWorkspace)}: run \`pod install\` in ${import_node_path14.default.dirname(podfile)} and open the workspace it writes`
12641
12262
  );
12642
12263
  return { listed, projects, projectAt, cocoapods };
12643
12264
  }
@@ -12675,7 +12296,7 @@ function listXcodeAppTargets(xcodeprojOrWorkspace, options = {}) {
12675
12296
  return workspaceProjects(xcodeprojOrWorkspace).projects.flatMap(projectTargets).filter((ref) => isIosAppTarget(ref, options)).map((ref) => str(ref.target.name) ?? ref.id);
12676
12297
  }
12677
12298
  function defaultXcodeAppTarget(xcodeproj) {
12678
- const project = loadProject(import_node_fs18.default.realpathSync.native(xcodeproj));
12299
+ const project = loadProject(import_node_fs15.default.realpathSync.native(xcodeproj));
12679
12300
  for (const [id, target] of Object.entries(project.objects)) {
12680
12301
  if (!isDict(target) || target.isa !== "PBXNativeTarget") continue;
12681
12302
  if (isIosAppTarget({ project, id, target }, { requireSources: false }))
@@ -12683,30 +12304,30 @@ function defaultXcodeAppTarget(xcodeproj) {
12683
12304
  }
12684
12305
  }
12685
12306
  function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
12686
- const container = import_node_fs18.default.realpathSync.native(xcodeprojOrWorkspace);
12307
+ const container = import_node_fs15.default.realpathSync.native(xcodeprojOrWorkspace);
12687
12308
  const { projects } = workspaceProjects(container);
12688
12309
  const containers = [
12689
12310
  .../* @__PURE__ */ new Set([container, ...projects.map((project2) => project2.xcodeproj)])
12690
12311
  ];
12691
12312
  const found = containers.flatMap(
12692
12313
  (dir) => [
12693
- import_node_path18.default.join(dir, "xcshareddata"),
12694
- ...isDirectory(import_node_path18.default.join(dir, "xcuserdata")) ? import_node_fs18.default.readdirSync(import_node_path18.default.join(dir, "xcuserdata")).sort().map((user) => import_node_path18.default.join(dir, "xcuserdata", user)) : []
12314
+ import_node_path14.default.join(dir, "xcshareddata"),
12315
+ ...isDirectory(import_node_path14.default.join(dir, "xcuserdata")) ? import_node_fs15.default.readdirSync(import_node_path14.default.join(dir, "xcuserdata")).sort().map((user) => import_node_path14.default.join(dir, "xcuserdata", user)) : []
12695
12316
  ].map((data) => ({
12696
12317
  dir,
12697
- file: import_node_path18.default.join(data, "xcschemes", `${scheme}.xcscheme`)
12318
+ file: import_node_path14.default.join(data, "xcschemes", `${scheme}.xcscheme`)
12698
12319
  }))
12699
- ).find((candidate) => import_node_fs18.default.existsSync(candidate.file));
12320
+ ).find((candidate) => import_node_fs15.default.existsSync(candidate.file));
12700
12321
  if (!found) {
12701
12322
  const known = containers.flatMap(
12702
- (dir) => import_node_fs18.default.existsSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes")) ? import_node_fs18.default.readdirSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes")).filter((name3) => name3.endsWith(".xcscheme")).map((name3) => name3.slice(0, -".xcscheme".length)).sort() : []
12323
+ (dir) => import_node_fs15.default.existsSync(import_node_path14.default.join(dir, "xcshareddata", "xcschemes")) ? import_node_fs15.default.readdirSync(import_node_path14.default.join(dir, "xcshareddata", "xcschemes")).filter((name3) => name3.endsWith(".xcscheme")).map((name3) => name3.slice(0, -".xcscheme".length)).sort() : []
12703
12324
  );
12704
12325
  throw new Error(
12705
- `${import_node_path18.default.basename(container)} has no scheme ${scheme}; it shares ${known.join(", ") || "none"}`
12326
+ `${import_node_path14.default.basename(container)} has no scheme ${scheme}; it shares ${known.join(", ") || "none"}`
12706
12327
  );
12707
12328
  }
12708
12329
  const launch = /<LaunchAction\b([^>]*)>([\s\S]*?)<\/LaunchAction>/.exec(
12709
- import_node_fs18.default.readFileSync(found.file, "utf8")
12330
+ import_node_fs15.default.readFileSync(found.file, "utf8")
12710
12331
  );
12711
12332
  const attribute = (text2, name3) => {
12712
12333
  const value = new RegExp(`\\b${name3}\\s*=\\s*"([^"]*)"`).exec(text2)?.[1];
@@ -12719,12 +12340,12 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
12719
12340
  if (!configuration || !blueprint || !referenced?.startsWith("container:")) {
12720
12341
  throw new Error(`scheme ${scheme} runs no application target`);
12721
12342
  }
12722
- const projectPath = import_node_path18.default.resolve(
12723
- import_node_path18.default.dirname(found.dir),
12343
+ const projectPath = import_node_path14.default.resolve(
12344
+ import_node_path14.default.dirname(found.dir),
12724
12345
  referenced.slice("container:".length)
12725
12346
  );
12726
12347
  const project = projects.find(
12727
- (candidate) => import_node_fs18.default.existsSync(projectPath) && candidate.xcodeproj === import_node_fs18.default.realpathSync.native(projectPath)
12348
+ (candidate) => import_node_fs15.default.existsSync(projectPath) && candidate.xcodeproj === import_node_fs15.default.realpathSync.native(projectPath)
12728
12349
  );
12729
12350
  const target = project && projectTargets(project).find((ref) => ref.id === blueprint);
12730
12351
  const name2 = target && str(target.target.name);
@@ -12744,26 +12365,26 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
12744
12365
  var NativeAppTargetSelectionError = class extends Error {
12745
12366
  };
12746
12367
  function selectIosAppTarget(projectRoot, iosTarget) {
12747
- const nested = import_node_path18.default.join(projectRoot, "ios");
12748
- const iosRoot = import_node_fs18.default.existsSync(nested) ? nested : projectRoot;
12749
- const entries = import_node_fs18.default.readdirSync(iosRoot, { withFileTypes: true });
12368
+ const nested = import_node_path14.default.join(projectRoot, "ios");
12369
+ const iosRoot = import_node_fs15.default.existsSync(nested) ? nested : projectRoot;
12370
+ const entries = import_node_fs15.default.readdirSync(iosRoot, { withFileTypes: true });
12750
12371
  const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => ({
12751
- xcodeproj: import_node_path18.default.join(iosRoot, entry.name),
12372
+ xcodeproj: import_node_path14.default.join(iosRoot, entry.name),
12752
12373
  workspace: null
12753
12374
  })) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => {
12754
- const workspace = import_node_path18.default.join(iosRoot, entry.name);
12375
+ const workspace = import_node_path14.default.join(iosRoot, entry.name);
12755
12376
  return workspaceReferences(workspace).map((xcodeproj2) => ({
12756
12377
  xcodeproj: xcodeproj2,
12757
12378
  workspace
12758
12379
  }));
12759
12380
  }).filter(
12760
- ({ xcodeproj: xcodeproj2 }) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path18.default.sep).includes("Pods") && import_node_fs18.default.existsSync(xcodeproj2)
12381
+ ({ xcodeproj: xcodeproj2 }) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path14.default.sep).includes("Pods") && import_node_fs15.default.existsSync(xcodeproj2)
12761
12382
  ).filter(
12762
12383
  ({ xcodeproj: xcodeproj2 }) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
12763
12384
  )).map(({ xcodeproj: xcodeproj2, workspace }) => ({
12764
12385
  xcodeproj: xcodeproj2,
12765
12386
  workspace,
12766
- name: import_node_path18.default.basename(xcodeproj2)
12387
+ name: import_node_path14.default.basename(xcodeproj2)
12767
12388
  }));
12768
12389
  if (projects.length === 0) return null;
12769
12390
  if (projects.length > 1 && !iosTarget) {
@@ -12802,13 +12423,13 @@ function selectIosAppTarget(projectRoot, iosTarget) {
12802
12423
  if (!target) throw new Error("native app identity has no iOS application target");
12803
12424
  if (!iosTarget) {
12804
12425
  const workspace = xcodeproj.replace(/\.xcodeproj$/, ".xcworkspace");
12805
- const container = import_node_fs18.default.existsSync(workspace) ? workspace : xcodeproj;
12426
+ const container = import_node_fs15.default.existsSync(workspace) ? workspace : xcodeproj;
12806
12427
  const hasScheme = [container, xcodeproj].some((dir) => {
12807
- if (import_node_fs18.default.existsSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes", `${target}.xcscheme`)))
12428
+ if (import_node_fs15.default.existsSync(import_node_path14.default.join(dir, "xcshareddata", "xcschemes", `${target}.xcscheme`)))
12808
12429
  return true;
12809
- const users = import_node_path18.default.join(dir, "xcuserdata");
12810
- return import_node_fs18.default.existsSync(users) && import_node_fs18.default.readdirSync(users).some(
12811
- (user) => import_node_fs18.default.existsSync(import_node_path18.default.join(users, user, "xcschemes", `${target}.xcscheme`))
12430
+ const users = import_node_path14.default.join(dir, "xcuserdata");
12431
+ return import_node_fs15.default.existsSync(users) && import_node_fs15.default.readdirSync(users).some(
12432
+ (user) => import_node_fs15.default.existsSync(import_node_path14.default.join(users, user, "xcschemes", `${target}.xcscheme`))
12812
12433
  );
12813
12434
  });
12814
12435
  if (hasScheme) target = readXcodeScheme(container, target).target;
@@ -12819,8 +12440,8 @@ function selectIosAppTarget(projectRoot, iosTarget) {
12819
12440
  );
12820
12441
  return { xcodeproj, target, workspace: project.workspace };
12821
12442
  }
12822
- var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path18.default.join(
12823
- xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path18.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
12443
+ var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path14.default.join(
12444
+ xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path14.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
12824
12445
  "xcshareddata",
12825
12446
  "swiftpm",
12826
12447
  "Package.resolved"
@@ -12835,7 +12456,7 @@ var SwiftPackageResolutionRequired = class extends Error {
12835
12456
  }
12836
12457
  };
12837
12458
  function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
12838
- const xcodeprojOrWorkspace = import_node_fs18.default.realpathSync.native(input);
12459
+ const xcodeprojOrWorkspace = import_node_fs15.default.realpathSync.native(input);
12839
12460
  const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
12840
12461
  const { listed, projects, projectAt, cocoapods } = workspaceProjects(
12841
12462
  xcodeprojOrWorkspace,
@@ -12844,7 +12465,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
12844
12465
  const allTargets = projects.flatMap(projectTargets);
12845
12466
  const appTargets = allTargets.filter((ref) => isIosAppTarget(ref, options));
12846
12467
  const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
12847
- const container = import_node_path18.default.basename(xcodeprojOrWorkspace);
12468
+ const container = import_node_path14.default.basename(xcodeprojOrWorkspace);
12848
12469
  const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
12849
12470
  if (named.length !== 1) {
12850
12471
  if (appTargets.length === 0)
@@ -12865,15 +12486,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
12865
12486
  for (const ref of allTargets) {
12866
12487
  const product = ref.project.object(str(ref.target.productReference));
12867
12488
  const file = str(product?.path);
12868
- if (file && !byProduct.has(import_node_path18.default.basename(file)))
12869
- byProduct.set(import_node_path18.default.basename(file), ref);
12489
+ if (file && !byProduct.has(import_node_path14.default.basename(file)))
12490
+ byProduct.set(import_node_path14.default.basename(file), ref);
12870
12491
  }
12871
12492
  const proxied = (project, proxyId) => {
12872
12493
  const proxy = project.object(proxyId);
12873
12494
  if (proxy?.isa !== "PBXContainerItemProxy") return void 0;
12874
12495
  const portal = str(proxy.containerPortal);
12875
12496
  const portalPath = project.resolvePath(portal ?? "");
12876
- const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs18.default.existsSync(portalPath) ? projectAt.get(import_node_fs18.default.realpathSync.native(portalPath)) : void 0;
12497
+ const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs15.default.existsSync(portalPath) ? projectAt.get(import_node_fs15.default.realpathSync.native(portalPath)) : void 0;
12877
12498
  const remote = str(proxy.remoteGlobalIDString);
12878
12499
  if (!owner || !remote) return void 0;
12879
12500
  return projectTargets(owner).find(
@@ -12890,7 +12511,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
12890
12511
  const buildFile = project.object(buildFileId);
12891
12512
  if (!buildFile || !xcodeBuildFileBuildsForIos(buildFile)) continue;
12892
12513
  const file = project.object(str(buildFile.fileRef));
12893
- const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(import_node_path18.default.basename(str(file.path) ?? "")) : void 0;
12514
+ const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(import_node_path14.default.basename(str(file.path) ?? "")) : void 0;
12894
12515
  if (resolved)
12895
12516
  found.push({
12896
12517
  target: resolved,
@@ -12974,8 +12595,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
12974
12595
  ref.project.visitMembers(
12975
12596
  ref.id,
12976
12597
  ref.project.resolvePath,
12977
- (file) => isDirectory(file) ? walkFiles(file) : import_node_fs18.default.existsSync(file) ? [file] : [],
12978
- import_node_path18.default.join,
12598
+ (file) => isDirectory(file) ? walkFiles(file) : import_node_fs15.default.existsSync(file) ? [file] : [],
12599
+ import_node_path14.default.join,
12979
12600
  (file, kind) => {
12980
12601
  if (kind === "header") found.push(file);
12981
12602
  }
@@ -12991,12 +12612,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
12991
12612
  for (const ref of projectTargets(project)) {
12992
12613
  const product = productName(ref);
12993
12614
  for (const { file, visibility } of headerPhase(ref)) {
12994
- const name2 = import_node_path18.default.basename(file);
12615
+ const name2 = import_node_path14.default.basename(file);
12995
12616
  if (!entries.has(name2))
12996
12617
  entries.set(name2, visibility !== "Project" ? `${product}/${name2}` : file);
12997
12618
  }
12998
12619
  for (const file of synchronizedHeaders(ref)) {
12999
- const name2 = import_node_path18.default.basename(file);
12620
+ const name2 = import_node_path14.default.basename(file);
13000
12621
  if (!entries.has(name2)) entries.set(name2, file);
13001
12622
  }
13002
12623
  }
@@ -13006,7 +12627,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13006
12627
  if (folder === null) continue;
13007
12628
  for (const file of walkFiles(folder)) {
13008
12629
  if (!HEADER_FILE.test(file)) continue;
13009
- const name2 = import_node_path18.default.basename(file);
12630
+ const name2 = import_node_path14.default.basename(file);
13010
12631
  if (!entries.has(name2)) entries.set(name2, file);
13011
12632
  }
13012
12633
  }
@@ -13014,18 +12635,18 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13014
12635
  for (const id of Object.keys(project.objects)) {
13015
12636
  if (project.object(id)?.isa !== "PBXFileReference") continue;
13016
12637
  const file = project.resolvePath(id);
13017
- if (file && HEADER_FILE.test(file) && !entries.has(import_node_path18.default.basename(file)))
13018
- entries.set(import_node_path18.default.basename(file), file);
12638
+ if (file && HEADER_FILE.test(file) && !entries.has(import_node_path14.default.basename(file)))
12639
+ entries.set(import_node_path14.default.basename(file), file);
13019
12640
  }
13020
12641
  const map2 = [...entries];
13021
12642
  projectHeaderMaps.set(project, map2);
13022
12643
  return map2;
13023
12644
  };
13024
12645
  const xcconfigs = /* @__PURE__ */ new Set();
13025
- const buildDir = (project) => import_node_path18.default.join(project.projectDir, ".build/peach-xcode/Build");
12646
+ const buildDir = (project) => import_node_path14.default.join(project.projectDir, ".build/peach-xcode/Build");
13026
12647
  const workspaceBuild = {
13027
- SYMROOT: import_node_path18.default.join(buildDir(app.project), "Products"),
13028
- OBJROOT: import_node_path18.default.join(buildDir(app.project), "Intermediates.noindex")
12648
+ SYMROOT: import_node_path14.default.join(buildDir(app.project), "Products"),
12649
+ OBJROOT: import_node_path14.default.join(buildDir(app.project), "Intermediates.noindex")
13029
12650
  };
13030
12651
  const moduleTarget = (ref) => {
13031
12652
  const name2 = str(ref.target.name) ?? ref.id;
@@ -13040,16 +12661,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13040
12661
  TARGET_NAME: name2,
13041
12662
  TARGETNAME: "$(TARGET_NAME)",
13042
12663
  PROJECT: "$(PROJECT_NAME)",
13043
- PROJECT_NAME: import_node_path18.default.basename(ref.project.xcodeproj, ".xcodeproj"),
12664
+ PROJECT_NAME: import_node_path14.default.basename(ref.project.xcodeproj, ".xcodeproj"),
13044
12665
  PROJECT_CLASS_PREFIX: isDict(ref.project.project.attributes) ? str(ref.project.project.attributes.CLASSPREFIX) ?? "" : "",
13045
12666
  PROJECT_FILE_PATH: ref.project.xcodeproj,
13046
12667
  SRCROOT: ref.project.projectDir,
13047
12668
  SOURCE_ROOT: ref.project.projectDir,
13048
12669
  PROJECT_DIR: ref.project.projectDir,
13049
- SYMROOT: import_node_path18.default.join(buildDir(ref.project), "Products"),
12670
+ SYMROOT: import_node_path14.default.join(buildDir(ref.project), "Products"),
13050
12671
  BUILD_DIR: "$(SYMROOT)",
13051
12672
  BUILD_ROOT: "$(SYMROOT)",
13052
- OBJROOT: import_node_path18.default.join(buildDir(ref.project), "Intermediates.noindex"),
12673
+ OBJROOT: import_node_path14.default.join(buildDir(ref.project), "Intermediates.noindex"),
13053
12674
  CONFIGURATION_BUILD_DIR: "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)",
13054
12675
  BUILT_PRODUCTS_DIR: "$(CONFIGURATION_BUILD_DIR)",
13055
12676
  TARGET_BUILD_DIR: "$(CONFIGURATION_BUILD_DIR)",
@@ -13091,7 +12712,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13091
12712
  xcconfigs
13092
12713
  );
13093
12714
  const searchRules = recursiveSearchRules(settings2);
13094
- const absolute = (file) => import_node_path18.default.resolve(ref.project.projectDir, file);
12715
+ const absolute = (file) => import_node_path14.default.resolve(ref.project.projectDir, file);
13095
12716
  const framework = FRAMEWORK_PRODUCTS.has(str(ref.target.productType) ?? "");
13096
12717
  const product = settings2("PRODUCT_NAME");
13097
12718
  const moduleName = applyOperator(settings2("PRODUCT_MODULE_NAME"), "c99extidentifier");
@@ -13122,7 +12743,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13122
12743
  `${name2}: Swift compatibility header phase has no Swift producer sources`
13123
12744
  );
13124
12745
  const building = options.prepareGeneratedSources && options.requireSources !== false;
13125
- const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ? import_node_path18.default.join(settings2("DERIVED_FILE_DIR"), `${product}_vers.c`) : null;
12746
+ const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ? import_node_path14.default.join(settings2("DERIVED_FILE_DIR"), `${product}_vers.c`) : null;
13126
12747
  if (versioning) {
13127
12748
  const version = settings2("CURRENT_PROJECT_VERSION");
13128
12749
  const custom = [
@@ -13135,7 +12756,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13135
12756
  ].filter((key) => settings2(key));
13136
12757
  if (custom.length)
13137
12758
  throw new Error(
13138
- `${name2}: Xcode generates ${import_node_path18.default.basename(versioning)} with ${custom.join(", ")}; peach does not model VERSION_INFO_* overrides`
12759
+ `${name2}: Xcode generates ${import_node_path14.default.basename(versioning)} with ${custom.join(", ")}; peach does not model VERSION_INFO_* overrides`
13139
12760
  );
13140
12761
  const symbol = product.replace(/^[^A-Za-z_]/, "_").replace(/[^A-Za-z0-9_]/g, "_");
13141
12762
  const [major, minor] = version.split(".");
@@ -13148,9 +12769,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13148
12769
  ` const double ${symbol}VersionNumber __attribute__ ((used)) = (double)${number2};`,
13149
12770
  ""
13150
12771
  ].join("\n");
13151
- if (!import_node_fs18.default.existsSync(versioning) || import_node_fs18.default.readFileSync(versioning, "utf8") !== unit) {
13152
- import_node_fs18.default.mkdirSync(import_node_path18.default.dirname(versioning), { recursive: true });
13153
- import_node_fs18.default.writeFileSync(versioning, unit);
12772
+ if (!import_node_fs15.default.existsSync(versioning) || import_node_fs15.default.readFileSync(versioning, "utf8") !== unit) {
12773
+ import_node_fs15.default.mkdirSync(import_node_path14.default.dirname(versioning), { recursive: true });
12774
+ import_node_fs15.default.writeFileSync(versioning, unit);
13154
12775
  }
13155
12776
  allSources.push(versioning);
13156
12777
  }
@@ -13169,7 +12790,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13169
12790
  const headerFiles = headerPhase(ref);
13170
12791
  const ownHeaders = /* @__PURE__ */ new Map();
13171
12792
  for (const { file, visibility } of headerFiles) {
13172
- const name3 = import_node_path18.default.basename(file);
12793
+ const name3 = import_node_path14.default.basename(file);
13173
12794
  const published = visibility !== "Project";
13174
12795
  if (!ownHeaders.has(name3))
13175
12796
  ownHeaders.set(name3, published ? `${product}/${name3}` : file);
@@ -13177,7 +12798,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13177
12798
  ownHeaders.set(`${product}/${name3}`, file);
13178
12799
  }
13179
12800
  for (const file of synchronizedHeaders(ref)) {
13180
- const name3 = import_node_path18.default.basename(file);
12801
+ const name3 = import_node_path14.default.basename(file);
13181
12802
  if (ownHeaders.has(name3)) continue;
13182
12803
  ownHeaders.set(name3, file);
13183
12804
  const qualified = `${product}/${name3}`;
@@ -13189,24 +12810,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13189
12810
  const otherProduct = productName(other);
13190
12811
  for (const { file, visibility } of headerPhase(other)) {
13191
12812
  if (visibility === "Project") continue;
13192
- const key = `${otherProduct}/${import_node_path18.default.basename(file)}`;
12813
+ const key = `${otherProduct}/${import_node_path14.default.basename(file)}`;
13193
12814
  if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
13194
12815
  }
13195
12816
  }
13196
- const wrapper = import_node_path18.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
12817
+ const wrapper = import_node_path14.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
13197
12818
  const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
13198
- const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path18.default.join(import_node_path18.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
13199
- const frameworkCompatibility = frameworkUmbrella && moduleMap && import_node_fs18.default.existsSync(moduleMap) && import_node_fs18.default.existsSync(frameworkUmbrella) ? {
12819
+ const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path14.default.join(import_node_path14.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
12820
+ const frameworkCompatibility = frameworkUmbrella && moduleMap && import_node_fs15.default.existsSync(moduleMap) && import_node_fs15.default.existsSync(frameworkUmbrella) ? {
13200
12821
  framework: true,
13201
12822
  moduleMap,
13202
12823
  umbrella: frameworkUmbrella,
13203
- outputModuleMap: import_node_path18.default.join(wrapper, "Modules", "module.modulemap"),
13204
- outputUmbrella: import_node_path18.default.join(
12824
+ outputModuleMap: import_node_path14.default.join(wrapper, "Modules", "module.modulemap"),
12825
+ outputUmbrella: import_node_path14.default.join(
13205
12826
  wrapper,
13206
12827
  "Headers",
13207
- import_node_path18.default.basename(frameworkUmbrella)
12828
+ import_node_path14.default.basename(frameworkUmbrella)
13208
12829
  ),
13209
- outputHeader: import_node_path18.default.join(
12830
+ outputHeader: import_node_path14.default.join(
13210
12831
  wrapper,
13211
12832
  "Headers",
13212
12833
  settings2("SWIFT_OBJC_INTERFACE_HEADER_NAME") || `${moduleName}-Swift.h`
@@ -13220,10 +12841,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13220
12841
  outputUmbrella: compatibility.outputUmbrella,
13221
12842
  outputHeader: compatibility.outputHeader
13222
12843
  } : frameworkCompatibility;
13223
- const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap && import_node_path18.default.relative(import_node_path18.default.join(ref.project.projectDir, "Headers", "Public"), moduleMap).split(import_node_path18.default.sep)[0] !== ".." && import_node_fs18.default.existsSync(moduleMap) ? import_node_fs18.default.readdirSync(import_node_path18.default.dirname(moduleMap)).flatMap((entry) => {
12844
+ const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap && import_node_path14.default.relative(import_node_path14.default.join(ref.project.projectDir, "Headers", "Public"), moduleMap).split(import_node_path14.default.sep)[0] !== ".." && import_node_fs15.default.existsSync(moduleMap) ? import_node_fs15.default.readdirSync(import_node_path14.default.dirname(moduleMap)).flatMap((entry) => {
13224
12845
  if (!/\.(h|hh|hpp|hxx|modulemap)$/.test(entry)) return [];
13225
- const file = import_node_path18.default.join(import_node_path18.default.dirname(moduleMap), entry);
13226
- return import_node_fs18.default.existsSync(file) ? [file] : [];
12846
+ const file = import_node_path14.default.join(import_node_path14.default.dirname(moduleMap), entry);
12847
+ return import_node_fs15.default.existsSync(file) ? [file] : [];
13227
12848
  }) : [];
13228
12849
  const fileFlags = {};
13229
12850
  for (const phaseId of list(ref.target.buildPhases)) {
@@ -13298,15 +12919,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13298
12919
  // xcode searches its products' include directory before
13299
12920
  // HEADER_SEARCH_PATHS and the target's derived sources after.
13300
12921
  headerSearchPaths: [
13301
- import_node_path18.default.join(settings2("BUILT_PRODUCTS_DIR"), "include"),
12922
+ import_node_path14.default.join(settings2("BUILT_PRODUCTS_DIR"), "include"),
13302
12923
  ...settingList(settings2("HEADER_SEARCH_PATHS")).flatMap(
13303
12924
  (raw) => expandSearchPath(absolute(raw), searchRules)
13304
12925
  ),
13305
- import_node_path18.default.join(
12926
+ import_node_path14.default.join(
13306
12927
  `${settings2("DERIVED_FILE_DIR")}-normal`,
13307
12928
  settings2("CURRENT_ARCH")
13308
12929
  ),
13309
- import_node_path18.default.join(settings2("DERIVED_FILE_DIR"), settings2("CURRENT_ARCH")),
12930
+ import_node_path14.default.join(settings2("DERIVED_FILE_DIR"), settings2("CURRENT_ARCH")),
13310
12931
  settings2("DERIVED_FILE_DIR")
13311
12932
  ],
13312
12933
  userHeaderSearchPaths: settingList(
@@ -13356,10 +12977,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13356
12977
  ...headerFiles.flatMap(
13357
12978
  ({ file, visibility }) => visibility === "Project" ? [] : [
13358
12979
  [
13359
- import_node_path18.default.join(
12980
+ import_node_path14.default.join(
13360
12981
  wrapper,
13361
12982
  visibility === "Public" ? "Headers" : "PrivateHeaders",
13362
- import_node_path18.default.basename(file)
12983
+ import_node_path14.default.basename(file)
13363
12984
  ),
13364
12985
  file
13365
12986
  ]
@@ -13373,7 +12994,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13373
12994
  return [];
13374
12995
  const destination = expand(
13375
12996
  str(phase.dstPath) ?? "",
13376
- (name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ? import_node_path18.default.join(wrapper, "Headers") : name3 === "PRIVATE_HEADERS_FOLDER_PATH" ? import_node_path18.default.join(wrapper, "PrivateHeaders") : settings2(name3)
12997
+ (name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ? import_node_path14.default.join(wrapper, "Headers") : name3 === "PRIVATE_HEADERS_FOLDER_PATH" ? import_node_path14.default.join(wrapper, "PrivateHeaders") : settings2(name3)
13377
12998
  );
13378
12999
  return list(phase.files).flatMap((id) => {
13379
13000
  const file = ref.project.resolvePath(
@@ -13381,17 +13002,17 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13381
13002
  );
13382
13003
  return file && HEADER_FILE.test(file) ? [
13383
13004
  [
13384
- import_node_path18.default.resolve(
13005
+ import_node_path14.default.resolve(
13385
13006
  settings2("BUILT_PRODUCTS_DIR"),
13386
13007
  destination,
13387
- import_node_path18.default.basename(file)
13008
+ import_node_path14.default.basename(file)
13388
13009
  ),
13389
13010
  file
13390
13011
  ]
13391
13012
  ] : [];
13392
13013
  });
13393
13014
  }),
13394
- ...moduleMap ? [[import_node_path18.default.join(wrapper, "Modules", "module.modulemap"), moduleMap]] : []
13015
+ ...moduleMap ? [[import_node_path14.default.join(wrapper, "Modules", "module.modulemap"), moduleMap]] : []
13395
13016
  ]) : Object.fromEntries([
13396
13017
  ...podHeaders.map((file) => [file, file]),
13397
13018
  ...moduleMap ? [[moduleMap, moduleMap]] : []
@@ -13423,7 +13044,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13423
13044
  const frameworkTargets = selectedTargets.filter((target) => target !== builtTargets.at(-1)).filter(({ ref }) => MODULE_PRODUCTS.has(str(ref.target.productType) ?? "")).map(({ ref, module: module3 }) => ({ ref, framework: module3 }));
13424
13045
  const frameworks = frameworkTargets.map(({ framework }) => framework);
13425
13046
  const podSourceDirs = builtTargets.slice(0, -1).flatMap(
13426
- ({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) => import_node_path18.default.dirname(file)).filter((dir) => import_node_fs18.default.existsSync(dir)) : []
13047
+ ({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) => import_node_path14.default.dirname(file)).filter((dir) => import_node_fs15.default.existsSync(dir)) : []
13427
13048
  );
13428
13049
  const expandValue = (value, settings2) => {
13429
13050
  if (typeof value === "string") return expand(value, settings2);
@@ -13444,7 +13065,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13444
13065
  const phase = owner.ref.project.object(phaseId);
13445
13066
  if (phase?.isa !== "PBXShellScriptBuildPhase" || str(phase.name) !== "[CP] Copy Pods Resources")
13446
13067
  continue;
13447
- const absolute = (raw) => import_node_path18.default.resolve(owner.ref.project.projectDir, expand(raw, owner.settings));
13068
+ const absolute = (raw) => import_node_path14.default.resolve(owner.ref.project.projectDir, expand(raw, owner.settings));
13448
13069
  const entries = (paths) => paths.flatMap((raw) => {
13449
13070
  const file = absolute(raw);
13450
13071
  xcconfigs.add(file);
@@ -13460,7 +13081,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13460
13081
  ].filter((file) => file.endsWith(".bundle"));
13461
13082
  if (inputs.length !== outputs.length)
13462
13083
  throw new Error(`${owner.module.name}: resource bundle copy lists differ`);
13463
- const destinationRoot = import_node_path18.default.join(
13084
+ const destinationRoot = import_node_path14.default.join(
13464
13085
  owner.settings("TARGET_BUILD_DIR"),
13465
13086
  owner.settings("UNLOCALIZED_RESOURCES_FOLDER_PATH")
13466
13087
  );
@@ -13469,24 +13090,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13469
13090
  const file = str(
13470
13091
  target.ref.project.object(str(target.ref.target.productReference))?.path
13471
13092
  );
13472
- return file && import_node_path18.default.join(target.settings("TARGET_BUILD_DIR"), file) === input2;
13093
+ return file && import_node_path14.default.join(target.settings("TARGET_BUILD_DIR"), file) === input2;
13473
13094
  });
13474
13095
  if (!product && !isDirectory(input2))
13475
13096
  throw new Error(
13476
13097
  `${owner.module.name}: resource bundle input has no selected producer: ${input2}`
13477
13098
  );
13478
- const destination = import_node_path18.default.relative(destinationRoot, outputs[index]);
13479
- if (destination === ".." || destination.startsWith(`..${import_node_path18.default.sep}`) || import_node_path18.default.isAbsolute(destination) || import_node_path18.default.basename(input2) !== import_node_path18.default.basename(destination))
13099
+ const destination = import_node_path14.default.relative(destinationRoot, outputs[index]);
13100
+ if (destination === ".." || destination.startsWith(`..${import_node_path14.default.sep}`) || import_node_path14.default.isAbsolute(destination) || import_node_path14.default.basename(input2) !== import_node_path14.default.basename(destination))
13480
13101
  throw new Error(
13481
13102
  `${owner.module.name}: invalid resource bundle copy destination`
13482
13103
  );
13483
- const infoFile = product ? import_node_path18.default.resolve(
13104
+ const infoFile = product ? import_node_path14.default.resolve(
13484
13105
  product.ref.project.projectDir,
13485
13106
  product.settings("INFOPLIST_FILE")
13486
13107
  ) : null;
13487
13108
  if (infoFile) xcconfigs.add(infoFile);
13488
13109
  const prefix2 = owner.ref === app ? "" : `Frameworks/${owner.module.moduleName}.framework/`;
13489
- const bundlePath = prefix2 + destination.split(import_node_path18.default.sep).join("/");
13110
+ const bundlePath = prefix2 + destination.split(import_node_path14.default.sep).join("/");
13490
13111
  if (resourceProducts.some((resource) => resource.path === bundlePath))
13491
13112
  throw new Error(
13492
13113
  `${owner.module.name}: duplicate resource bundle destination ${bundlePath}`
@@ -13497,22 +13118,22 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13497
13118
  resources: product.module.resources,
13498
13119
  infoPlist: import_plist2.default.build(
13499
13120
  expandValue(
13500
- import_plist2.default.parse(import_node_fs18.default.readFileSync(infoFile, "utf8")),
13121
+ import_plist2.default.parse(import_node_fs15.default.readFileSync(infoFile, "utf8")),
13501
13122
  product.settings
13502
13123
  )
13503
13124
  )
13504
13125
  } : {
13505
- resources: import_node_fs18.default.readdirSync(input2, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path18.default.join(entry.parentPath, entry.name)).sort(),
13126
+ resources: import_node_fs15.default.readdirSync(input2, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path14.default.join(entry.parentPath, entry.name)).sort(),
13506
13127
  sourceRoot: input2
13507
13128
  }
13508
13129
  });
13509
13130
  }
13510
13131
  }
13511
13132
  }
13512
- const infoPlistFile = settings("INFOPLIST_FILE") ? import_node_path18.default.resolve(app.project.projectDir, settings("INFOPLIST_FILE")) : null;
13513
- const entitlementsFile = settings("CODE_SIGN_ENTITLEMENTS") ? import_node_path18.default.resolve(app.project.projectDir, settings("CODE_SIGN_ENTITLEMENTS")) : null;
13133
+ const infoPlistFile = settings("INFOPLIST_FILE") ? import_node_path14.default.resolve(app.project.projectDir, settings("INFOPLIST_FILE")) : null;
13134
+ const entitlementsFile = settings("CODE_SIGN_ENTITLEMENTS") ? import_node_path14.default.resolve(app.project.projectDir, settings("CODE_SIGN_ENTITLEMENTS")) : null;
13514
13135
  const infoPlistPending = module2.generatedInfoPlist && !options.prepareGeneratedSources;
13515
- const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist2.default.parse(import_node_fs18.default.readFileSync(infoPlistFile, "utf8")) : {};
13136
+ const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist2.default.parse(import_node_fs15.default.readFileSync(infoPlistFile, "utf8")) : {};
13516
13137
  if (!sourceInfo || typeof sourceInfo !== "object" || Array.isArray(sourceInfo) || sourceInfo instanceof Date || Buffer.isBuffer(sourceInfo)) {
13517
13138
  throw new Error(`${module2.name} Info.plist must contain a dictionary`);
13518
13139
  }
@@ -13537,7 +13158,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13537
13158
  }
13538
13159
  const bundleIdentifier = settings("PRODUCT_BUNDLE_IDENTIFIER") || (typeof info.CFBundleIdentifier === "string" ? info.CFBundleIdentifier : "");
13539
13160
  const keychainAccessGroups = entitlementsFile ? readKeychainAccessGroups(
13540
- import_plist2.default.parse(import_node_fs18.default.readFileSync(entitlementsFile, "utf8")),
13161
+ import_plist2.default.parse(import_node_fs15.default.readFileSync(entitlementsFile, "utf8")),
13541
13162
  (value) => expand(value, (key) => {
13542
13163
  if (key === "AppIdentifierPrefix") return "FAKETEAMID.";
13543
13164
  if (key === "TeamIdentifierPrefix") return "";
@@ -13575,7 +13196,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13575
13196
  };
13576
13197
  }
13577
13198
  const localPackageDirs = [
13578
- ...listed.filter((reference) => import_node_fs18.default.existsSync(import_node_path18.default.join(reference, "Package.swift"))),
13199
+ ...listed.filter((reference) => import_node_fs15.default.existsSync(import_node_path14.default.join(reference, "Package.swift"))),
13579
13200
  ...projects.flatMap(
13580
13201
  (project) => Object.entries(project.objects).flatMap(([id, entry]) => {
13581
13202
  if (!isDict(entry)) return [];
@@ -13585,19 +13206,19 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13585
13206
  const packages = [];
13586
13207
  while (pending.length > 0) {
13587
13208
  const dir = pending.pop();
13588
- if (import_node_fs18.default.existsSync(import_node_path18.default.join(dir, "Package.swift"))) {
13209
+ if (import_node_fs15.default.existsSync(import_node_path14.default.join(dir, "Package.swift"))) {
13589
13210
  packages.push(dir);
13590
13211
  continue;
13591
13212
  }
13592
13213
  if (!isDirectory(dir)) continue;
13593
- for (const child of import_node_fs18.default.readdirSync(dir, { withFileTypes: true }))
13214
+ for (const child of import_node_fs15.default.readdirSync(dir, { withFileTypes: true }))
13594
13215
  if (child.isDirectory() && !child.name.startsWith("."))
13595
- pending.push(import_node_path18.default.join(dir, child.name));
13216
+ pending.push(import_node_path14.default.join(dir, child.name));
13596
13217
  }
13597
13218
  return packages;
13598
13219
  }
13599
- const candidate = entry.isa === "XCLocalSwiftPackageReference" ? import_node_path18.default.resolve(project.projectDir, str(entry.relativePath) ?? "") : entry.isa === "PBXFileReference" ? project.resolvePath(id) : null;
13600
- return candidate && import_node_fs18.default.existsSync(import_node_path18.default.join(candidate, "Package.swift")) ? [candidate] : [];
13220
+ const candidate = entry.isa === "XCLocalSwiftPackageReference" ? import_node_path14.default.resolve(project.projectDir, str(entry.relativePath) ?? "") : entry.isa === "PBXFileReference" ? project.resolvePath(id) : null;
13221
+ return candidate && import_node_fs15.default.existsSync(import_node_path14.default.join(candidate, "Package.swift")) ? [candidate] : [];
13601
13222
  })
13602
13223
  )
13603
13224
  ];
@@ -13627,7 +13248,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13627
13248
  if ((flag === "-framework" || flag === "-weak_framework") && name2)
13628
13249
  sdkFrameworks.add(name2);
13629
13250
  });
13630
- const absolute = (raw) => import_node_path18.default.resolve(ref.project.projectDir, expand(raw, settings2));
13251
+ const absolute = (raw) => import_node_path14.default.resolve(ref.project.projectDir, expand(raw, settings2));
13631
13252
  const requested = options.nativeModules;
13632
13253
  const includeBinary = (name2, dir) => {
13633
13254
  if (!requested || nativeTargets.has(ref) || requested.includes(name2) || dir.endsWith(".xcframework") && localSwiftBinaryModules(dir).some((module3) => requested.includes(module3)))
@@ -13639,14 +13260,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13639
13260
  for (const directory of expandSearchPath(absolute(raw), searchRules)) {
13640
13261
  if (frameworkSearchDirectories.has(directory)) continue;
13641
13262
  frameworkSearchDirectories.add(directory);
13642
- if (!import_node_fs18.default.statSync(directory, { throwIfNoEntry: false })?.isDirectory() || /\.sdk\/(?:System|Developer)\/Library\/Frameworks\/?$/.test(directory))
13263
+ if (!import_node_fs15.default.statSync(directory, { throwIfNoEntry: false })?.isDirectory() || /\.sdk\/(?:System|Developer)\/Library\/Frameworks\/?$/.test(directory))
13643
13264
  continue;
13644
- for (const entry of import_node_fs18.default.readdirSync(directory, { withFileTypes: true })) {
13265
+ for (const entry of import_node_fs15.default.readdirSync(directory, { withFileTypes: true })) {
13645
13266
  const name2 = /^(.+)\.framework$/.exec(entry.name)?.[1];
13646
13267
  if (!name2 || byProduct.has(entry.name) || searchedFrameworks.has(name2))
13647
13268
  continue;
13648
- const file = import_node_path18.default.join(directory, entry.name);
13649
- if (import_node_fs18.default.statSync(file, { throwIfNoEntry: false })?.isDirectory())
13269
+ const file = import_node_path14.default.join(directory, entry.name);
13270
+ if (import_node_fs15.default.statSync(file, { throwIfNoEntry: false })?.isDirectory())
13650
13271
  searchedFrameworks.set(name2, file);
13651
13272
  }
13652
13273
  }
@@ -13654,9 +13275,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13654
13275
  }
13655
13276
  for (const raw of settingList(settings2("SWIFT_INCLUDE_PATHS"))) {
13656
13277
  const dir = absolute(raw);
13657
- const modulemap = import_node_path18.default.join(dir, "module.modulemap");
13658
- if (!import_node_fs18.default.existsSync(modulemap)) continue;
13659
- const name2 = moduleMapName(import_node_fs18.default.readFileSync(modulemap, "utf8"));
13278
+ const modulemap = import_node_path14.default.join(dir, "module.modulemap");
13279
+ if (!import_node_fs15.default.existsSync(modulemap)) continue;
13280
+ const name2 = moduleMapName(import_node_fs15.default.readFileSync(modulemap, "utf8"));
13660
13281
  if (name2 && !binaryFrameworks.has(name2)) includeBinary(name2, dir);
13661
13282
  }
13662
13283
  for (const phaseId of list(ref.target.buildPhases)) {
@@ -13665,7 +13286,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13665
13286
  const inputs = list(phase.inputPaths).map(absolute);
13666
13287
  for (const raw of list(phase.inputFileListPaths)) {
13667
13288
  const file = absolute(raw);
13668
- if (!import_node_fs18.default.existsSync(file)) continue;
13289
+ if (!import_node_fs15.default.existsSync(file)) continue;
13669
13290
  xcconfigs.add(file);
13670
13291
  inputs.push(...fileListEntries(file, absolute));
13671
13292
  }
@@ -13730,7 +13351,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13730
13351
  ...productAttributes.get(dependencyId)?.length ? { attributes: productAttributes.get(dependencyId) } : {},
13731
13352
  source: reference?.isa === "XCRemoteSwiftPackageReference" ? { kind: "remote", url: str(reference.repositoryURL) ?? "" } : reference?.isa === "XCLocalSwiftPackageReference" ? {
13732
13353
  kind: "local",
13733
- dir: import_node_path18.default.resolve(
13354
+ dir: import_node_path14.default.resolve(
13734
13355
  project.projectDir,
13735
13356
  str(reference.relativePath) ?? ""
13736
13357
  )
@@ -13755,19 +13376,19 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13755
13376
  if (!buildFile || !xcodeBuildFileBuildsForIos(buildFile)) continue;
13756
13377
  const fileId = str(buildFile.fileRef);
13757
13378
  const file = project.object(fileId);
13758
- const tree2 = str(file?.sourceTree);
13379
+ const tree = str(file?.sourceTree);
13759
13380
  const rawPath = str(file?.path) ?? "";
13760
13381
  const name2 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
13761
13382
  if (file?.isa !== "PBXFileReference" || !name2) continue;
13762
- if (tree2 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
13383
+ if (tree === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
13763
13384
  sdkFrameworks.add(name2);
13764
13385
  continue;
13765
13386
  }
13766
- if (tree2 === "BUILT_PRODUCTS_DIR" || tree2 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
13767
- byProduct.has(import_node_path18.default.basename(rawPath)))
13387
+ if (tree === "BUILT_PRODUCTS_DIR" || tree === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
13388
+ byProduct.has(import_node_path14.default.basename(rawPath)))
13768
13389
  continue;
13769
13390
  const resolved = fileId ? project.resolvePath(fileId) : null;
13770
- if (fileId && resolved !== null && !import_node_fs18.default.existsSync(resolved)) {
13391
+ if (fileId && resolved !== null && !import_node_fs15.default.existsSync(resolved)) {
13771
13392
  if (!ios_sdk_frameworks_default.frameworks.includes(name2))
13772
13393
  throw new Error(
13773
13394
  `${str(target.name) ?? "target"}: linked framework ${name2} (${fileId}) points at missing ${resolved} in ${project.projectFile}`
@@ -13794,7 +13415,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13794
13415
  ({ product }) => !options.nativeModules || nativeTargets.has(built.ref) || options.nativeModules.includes(product)
13795
13416
  );
13796
13417
  const resolvedFile = workspaceResolvedFile(xcodeprojOrWorkspace);
13797
- let packageResolved = import_node_fs18.default.existsSync(resolvedFile) ? [import_node_fs18.default.realpathSync.native(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path18.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs18.default.existsSync(file)).map((file) => import_node_fs18.default.realpathSync.native(file)).sort();
13418
+ let packageResolved = import_node_fs15.default.existsSync(resolvedFile) ? [import_node_fs15.default.realpathSync.native(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path14.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs15.default.existsSync(file)).map((file) => import_node_fs15.default.realpathSync.native(file)).sort();
13798
13419
  if (packageResolved.length === 0) {
13799
13420
  const requirements = remotePackageRequirements(projects);
13800
13421
  if (requirements.length > 0) {
@@ -13845,19 +13466,19 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13845
13466
  } : {},
13846
13467
  rootDir: commonAncestor(
13847
13468
  [
13848
- workspace ? import_node_path18.default.dirname(workspace) : app.project.projectDir,
13469
+ workspace ? import_node_path14.default.dirname(workspace) : app.project.projectDir,
13849
13470
  ...used.map((project) => project.projectDir),
13850
13471
  ...localPackageDirs,
13851
13472
  ...linkedProducts.flatMap(
13852
- ({ source }) => source.kind === "local" && import_node_fs18.default.existsSync(source.dir) ? [source.dir] : []
13473
+ ({ source }) => source.kind === "local" && import_node_fs15.default.existsSync(source.dir) ? [source.dir] : []
13853
13474
  ),
13854
13475
  ...new Set(podSourceDirs),
13855
13476
  // a target's own files may sit beside the project, such as an asset
13856
13477
  // catalog one folder up, and xcode builds them from there
13857
13478
  ...new Set(
13858
- [...module2.allSources, ...module2.resources].filter((file) => import_node_fs18.default.existsSync(file)).map((file) => import_node_path18.default.dirname(file))
13479
+ [...module2.allSources, ...module2.resources].filter((file) => import_node_fs15.default.existsSync(file)).map((file) => import_node_path14.default.dirname(file))
13859
13480
  )
13860
- ].map((dir) => import_node_fs18.default.realpathSync.native(dir))
13481
+ ].map((dir) => import_node_fs15.default.realpathSync.native(dir))
13861
13482
  ),
13862
13483
  projectFiles: [
13863
13484
  .../* @__PURE__ */ new Set([
@@ -13878,7 +13499,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
13878
13499
  resourceProducts,
13879
13500
  linkedProducts,
13880
13501
  localPackageDirs: [
13881
- ...new Set(localPackageDirs.map((dir) => import_node_fs18.default.realpathSync.native(dir)))
13502
+ ...new Set(localPackageDirs.map((dir) => import_node_fs15.default.realpathSync.native(dir)))
13882
13503
  ].sort(),
13883
13504
  binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
13884
13505
  sdkFrameworks: [...sdkFrameworks].filter(
@@ -13910,13 +13531,13 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
13910
13531
  if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
13911
13532
  writeFileSync(process.argv[2], result, { mode: 0o600 });`;
13912
13533
  function hasExpoConfig(projectRoot) {
13913
- const appJsonPath = import_node_path19.default.join(projectRoot, "app.json");
13914
- const appJson = import_node_fs19.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs19.default.readFileSync(appJsonPath, "utf8")) : null;
13534
+ const appJsonPath = import_node_path15.default.join(projectRoot, "app.json");
13535
+ const appJson = import_node_fs16.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs16.default.readFileSync(appJsonPath, "utf8")) : null;
13915
13536
  const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
13916
13537
  (value) => isRecord(value) && typeof value.googleServicesFile === "string"
13917
13538
  ));
13918
13539
  return staticExpo || ["app.config.js", "app.config.ts", "app.config.cjs", "app.config.mjs"].some(
13919
- (name2) => import_node_fs19.default.existsSync(import_node_path19.default.join(projectRoot, name2))
13540
+ (name2) => import_node_fs16.default.existsSync(import_node_path15.default.join(projectRoot, name2))
13920
13541
  );
13921
13542
  }
13922
13543
  function expoConfigArgs(projectRoot, resultPath) {
@@ -13924,7 +13545,7 @@ function expoConfigArgs(projectRoot, resultPath) {
13924
13545
  "--input-type=commonjs",
13925
13546
  "-e",
13926
13547
  EXPO_CONFIG_SCRIPT,
13927
- import_node_path19.default.resolve(projectRoot),
13548
+ import_node_path15.default.resolve(projectRoot),
13928
13549
  resultPath
13929
13550
  ];
13930
13551
  }
@@ -13938,15 +13559,15 @@ function readExpoConfigResult(resultPath, status, signal, stderr) {
13938
13559
  throw new Error(
13939
13560
  stderr || (signal ? `Expo native configuration evaluation was killed by ${signal}.` : "Expo native configuration evaluation failed.")
13940
13561
  );
13941
- const resolved = JSON.parse(import_node_fs19.default.readFileSync(resultPath, "utf8"));
13562
+ const resolved = JSON.parse(import_node_fs16.default.readFileSync(resultPath, "utf8"));
13942
13563
  if (!isRecord(resolved)) throw new Error("Expo native configuration is unavailable.");
13943
13564
  return resolved;
13944
13565
  }
13945
- var resultDirectory = () => import_node_fs19.default.mkdtempSync(import_node_path19.default.join(import_node_os5.default.tmpdir(), "peach-expo-config-"));
13566
+ var resultDirectory = () => import_node_fs16.default.mkdtempSync(import_node_path15.default.join(import_node_os5.default.tmpdir(), "peach-expo-config-"));
13946
13567
  function readExpoConfig(projectRoot) {
13947
13568
  if (!hasExpoConfig(projectRoot)) return {};
13948
13569
  const directory = resultDirectory();
13949
- const resultPath = import_node_path19.default.join(directory, "config.json");
13570
+ const resultPath = import_node_path15.default.join(directory, "config.json");
13950
13571
  try {
13951
13572
  const child = (0, import_node_child_process10.spawnSync)("node", expoConfigArgs(projectRoot, resultPath), {
13952
13573
  cwd: projectRoot,
@@ -13958,7 +13579,7 @@ function readExpoConfig(projectRoot) {
13958
13579
  if (child.error) throw child.error;
13959
13580
  return readExpoConfigResult(resultPath, child.status, child.signal, child.stderr);
13960
13581
  } finally {
13961
- import_node_fs19.default.rmSync(directory, { recursive: true, force: true });
13582
+ import_node_fs16.default.rmSync(directory, { recursive: true, force: true });
13962
13583
  }
13963
13584
  }
13964
13585
  var HELPER_DEPTH = 3;
@@ -14006,7 +13627,7 @@ function splitClauses(condition) {
14006
13627
  function findHelper(type, name2, label, sources) {
14007
13628
  const found = [];
14008
13629
  for (const file of sources) {
14009
- const raw = import_node_fs19.default.readFileSync(file, "utf8");
13630
+ const raw = import_node_fs16.default.readFileSync(file, "utf8");
14010
13631
  const blank = blankSwiftObjcLiterals(raw);
14011
13632
  if (file.endsWith(".swift") && label === void 0) {
14012
13633
  const owners = type ? [
@@ -14092,7 +13713,7 @@ function evaluateSwiftBody(body, scope, depth) {
14092
13713
  }
14093
13714
  function evaluateObjcBody(body, bundle, constants, scope) {
14094
13715
  const plists = scope.resources.filter(
14095
- (file) => import_node_path19.default.basename(file) === "GoogleService-Info.plist"
13716
+ (file) => import_node_path15.default.basename(file) === "GoogleService-Info.plist"
14096
13717
  );
14097
13718
  const variables = /* @__PURE__ */ new Map();
14098
13719
  const literal2 = (text2) => {
@@ -14135,7 +13756,7 @@ function evaluateObjcBody(body, bundle, constants, scope) {
14135
13756
  variables.set(name2, plists.length === 1 ? plists[0] : void 0);
14136
13757
  } else if (dictionary && variables.has(dictionary[1])) {
14137
13758
  const file = variables.get(dictionary[1]);
14138
- const parsed = typeof file === "string" ? parsePlistSource(import_node_fs19.default.readFileSync(file, "utf8")) : void 0;
13759
+ const parsed = typeof file === "string" ? parsePlistSource(import_node_fs16.default.readFileSync(file, "utf8")) : void 0;
14139
13760
  variables.set(name2, isRecord(parsed) ? parsed : void 0);
14140
13761
  } else if (entry && variables.has(entry[1])) {
14141
13762
  const key = literal2(entry[2]);
@@ -14148,7 +13769,7 @@ function evaluateObjcBody(body, bundle, constants, scope) {
14148
13769
  }
14149
13770
  function evaluateClauses(clauses, scope, bound, depth) {
14150
13771
  const sources = scope.resources.filter(
14151
- (file) => import_node_path19.default.basename(file) === "GoogleService-Info.plist"
13772
+ (file) => import_node_path15.default.basename(file) === "GoogleService-Info.plist"
14152
13773
  );
14153
13774
  for (const clause of clauses) {
14154
13775
  if (clause === "true") continue;
@@ -14165,7 +13786,7 @@ function evaluateClauses(clauses, scope, bound, depth) {
14165
13786
  const dictionary = /^let\s+(\w+)\s*=\s*NSDictionary\s*\(\s*contentsOfFile:\s*(\w+)\s*\)$/.exec(clause);
14166
13787
  if (dictionary && typeof bound.get(dictionary[2]) === "string") {
14167
13788
  const parsed = parsePlistSource(
14168
- import_node_fs19.default.readFileSync(String(bound.get(dictionary[2])), "utf8")
13789
+ import_node_fs16.default.readFileSync(String(bound.get(dictionary[2])), "utf8")
14169
13790
  );
14170
13791
  if (!isRecord(parsed)) return false;
14171
13792
  bound.set(dictionary[1], parsed);
@@ -14254,7 +13875,7 @@ function findDefaultConfigureCall(body, sources) {
14254
13875
  const [, type, name2] = call;
14255
13876
  for (const file of sources) {
14256
13877
  if (!file.endsWith(".swift")) continue;
14257
- const source = blankSwiftObjcLiterals(import_node_fs19.default.readFileSync(file, "utf8"));
13878
+ const source = blankSwiftObjcLiterals(import_node_fs16.default.readFileSync(file, "utf8"));
14258
13879
  const declaration = new RegExp(
14259
13880
  `\\b(?:enum|struct|class)\\s+${type}\\b[^{]*\\{`
14260
13881
  ).exec(source);
@@ -14276,10 +13897,10 @@ function readTargetGoogleServicesFile(projectRoot, container, target, prepareGen
14276
13897
  prepareGeneratedSources
14277
13898
  });
14278
13899
  const delegates = app.allSources.filter(
14279
- (file) => /^AppDelegate\.(swift|mm|m)$/.test(import_node_path19.default.basename(file))
13900
+ (file) => /^AppDelegate\.(swift|mm|m)$/.test(import_node_path15.default.basename(file))
14280
13901
  );
14281
13902
  const defaultConfigured = delegates.some((file) => {
14282
- const raw = import_node_fs19.default.readFileSync(file, "utf8");
13903
+ const raw = import_node_fs16.default.readFileSync(file, "utf8");
14283
13904
  const source = blankSwiftObjcLiterals(raw);
14284
13905
  const launch = /(?:\bfunc\s+application\s*\([\s\S]*?didFinishLaunchingWithOptions[\s\S]*?\)\s*->\s*Bool|^-\s*\(BOOL\)\s*application\s*:[\s\S]*?didFinishLaunchingWithOptions[^{]*)\s*\{/m.exec(
14285
13906
  source
@@ -14350,17 +13971,17 @@ function readTargetGoogleServicesFile(projectRoot, container, target, prepareGen
14350
13971
  return guarded;
14351
13972
  });
14352
13973
  if (!defaultConfigured) return null;
14353
- const bundle = import_node_path19.default.join(
13974
+ const bundle = import_node_path15.default.join(
14354
13975
  app.settings("BUILT_PRODUCTS_DIR"),
14355
13976
  app.settings("WRAPPER_NAME") || `${app.settings("PRODUCT_NAME")}.app`
14356
13977
  );
14357
13978
  const staged = app.copiedFiles.filter(
14358
- ({ from, to }) => to === import_node_path19.default.join(bundle, "GoogleService-Info.plist") && import_node_fs19.default.existsSync(from)
14359
- ).map(({ from }) => import_node_fs19.default.realpathSync(from));
13979
+ ({ from, to }) => to === import_node_path15.default.join(bundle, "GoogleService-Info.plist") && import_node_fs16.default.existsSync(from)
13980
+ ).map(({ from }) => import_node_fs16.default.realpathSync(from));
14360
13981
  const resources = [
14361
13982
  .../* @__PURE__ */ new Set([
14362
13983
  ...app.resources.filter(
14363
- (file) => /^GoogleService-Info\.plist$/.test(import_node_path19.default.basename(file))
13984
+ (file) => /^GoogleService-Info\.plist$/.test(import_node_path15.default.basename(file))
14364
13985
  ),
14365
13986
  ...staged
14366
13987
  ])
@@ -14369,7 +13990,7 @@ function readTargetGoogleServicesFile(projectRoot, container, target, prepareGen
14369
13990
  throw new Error(
14370
13991
  "native Firebase default initialization requires one GoogleService-Info.plist build resource"
14371
13992
  );
14372
- return import_node_path19.default.relative(import_node_fs19.default.realpathSync(projectRoot), resources[0]);
13993
+ return import_node_path15.default.relative(import_node_fs16.default.realpathSync(projectRoot), resources[0]);
14373
13994
  }
14374
13995
  function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], iosTarget, config = readExpoConfig(projectRoot), prepareGeneratedSources = false) {
14375
13996
  const result = {};
@@ -14390,8 +14011,8 @@ function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], i
14390
14011
  const native = config[platform];
14391
14012
  if (!isRecord(native) || typeof native.googleServicesFile !== "string") continue;
14392
14013
  try {
14393
- const source = import_node_fs19.default.readFileSync(
14394
- import_node_path19.default.resolve(projectRoot, native.googleServicesFile),
14014
+ const source = import_node_fs16.default.readFileSync(
14015
+ import_node_path15.default.resolve(projectRoot, native.googleServicesFile),
14395
14016
  "utf8"
14396
14017
  );
14397
14018
  const parsed = platform === "ios" ? parsePlistSource(source) : JSON.parse(source);
@@ -14445,23 +14066,17 @@ function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], i
14445
14066
  }
14446
14067
 
14447
14068
  // src/portable-expo-contract.ts
14448
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14449
14069
  init_is_record();
14450
14070
 
14451
14071
  // src/prepared-native-inventory.ts
14452
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14453
14072
  init_is_record();
14454
14073
  init_nitro_source();
14455
14074
 
14456
- // src/workspace-root.ts
14457
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14458
-
14459
14075
  // src/expo-native-workspace.ts
14460
14076
  var utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
14461
14077
  var ABANDONED_WORKSPACE_MS = 24 * 36e5;
14462
14078
 
14463
14079
  // src/expoSwiftContract.ts
14464
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14465
14080
  init_bundle_global_footer();
14466
14081
  init_is_record();
14467
14082
  init_swiftContract();
@@ -14470,10 +14085,9 @@ init_swiftContract();
14470
14085
  init_is_record();
14471
14086
 
14472
14087
  // src/native-app-identity-project.ts
14473
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14474
- var import_node_fs22 = __toESM(require("node:fs"), 1);
14088
+ var import_node_fs19 = __toESM(require("node:fs"), 1);
14475
14089
  var import_node_module3 = require("node:module");
14476
- var import_node_path22 = __toESM(require("node:path"), 1);
14090
+ var import_node_path18 = __toESM(require("node:path"), 1);
14477
14091
  init_is_record();
14478
14092
  function nonEmptyString2(value) {
14479
14093
  return typeof value === "string" && value.length > 0 ? value : void 0;
@@ -14561,7 +14175,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
14561
14175
  const rtcAppGroupIdentifier = nonEmptyString2(dictionary.RTCAppGroupIdentifier);
14562
14176
  const screenShareExtensionBundleId = typeof dictionary.ScreenShareExtensionBundleId === "string" ? dictionary.ScreenShareExtensionBundleId : void 0;
14563
14177
  const rootModuleName = readRootModuleName(
14564
- app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) && import_node_fs22.default.existsSync(file)).map((file) => import_node_fs22.default.readFileSync(file, "utf8"))
14178
+ app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) && import_node_fs19.default.existsSync(file)).map((file) => import_node_fs19.default.readFileSync(file, "utf8"))
14565
14179
  );
14566
14180
  return stampNativeBuildSdk({
14567
14181
  ...app.keychainAccessGroups === void 0 ? {} : { keychainAccessGroups: app.keychainAccessGroups },
@@ -14583,7 +14197,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
14583
14197
  googleSignIn: readGoogleSignInConfiguration(
14584
14198
  dictionary,
14585
14199
  Object.fromEntries(
14586
- app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(import_node_fs22.default.readFileSync(file, "utf8"))])
14200
+ app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(import_node_fs19.default.readFileSync(file, "utf8"))])
14587
14201
  )
14588
14202
  ),
14589
14203
  supportedInterfaceOrientations,
@@ -14593,11 +14207,11 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
14593
14207
  bundleIcons: resolveNativeBundleIcons(icons, catalogAlternateNames, (value) => value),
14594
14208
  appIconArtwork: resolveNativeAppIconArtwork(
14595
14209
  app.resources,
14596
- (file) => import_node_fs22.default.readFileSync(file, "utf8"),
14210
+ (file) => import_node_fs19.default.readFileSync(file, "utf8"),
14597
14211
  (file) => {
14598
- const extension = import_node_path22.default.extname(file).toLowerCase();
14212
+ const extension = import_node_path18.default.extname(file).toLowerCase();
14599
14213
  const contentType = extension === ".jpg" || extension === ".jpeg" ? "image/jpeg" : extension === ".webp" ? "image/webp" : "image/png";
14600
- return `data:${contentType};base64,${import_node_fs22.default.readFileSync(file).toString("base64")}`;
14214
+ return `data:${contentType};base64,${import_node_fs19.default.readFileSync(file).toString("base64")}`;
14601
14215
  },
14602
14216
  icons,
14603
14217
  app.appIconName,
@@ -14627,11 +14241,11 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
14627
14241
  const read = selectNativeAppIdentityReader(platform, {
14628
14242
  android: () => null,
14629
14243
  ios: () => {
14630
- const nested = import_node_path22.default.join(projectRoot, "ios");
14631
- const iosRoot = import_node_fs22.default.existsSync(nested) ? nested : projectRoot;
14244
+ const nested = import_node_path18.default.join(projectRoot, "ios");
14245
+ const iosRoot = import_node_fs19.default.existsSync(nested) ? nested : projectRoot;
14632
14246
  const prefix2 = iosRoot === nested ? "ios/" : "";
14633
14247
  const files = {};
14634
- for (const entry of import_node_fs22.default.readdirSync(iosRoot, { withFileTypes: true })) {
14248
+ for (const entry of import_node_fs19.default.readdirSync(iosRoot, { withFileTypes: true })) {
14635
14249
  if (entry.name === "Pods") continue;
14636
14250
  if (entry.isDirectory()) {
14637
14251
  const names = entry.name.endsWith(".xcodeproj") ? ["project.pbxproj"] : [
@@ -14639,17 +14253,17 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
14639
14253
  "AppDelegate.swift",
14640
14254
  "AppDelegate.mm",
14641
14255
  "AppDelegate.m",
14642
- ...import_node_fs22.default.readdirSync(import_node_path22.default.join(iosRoot, entry.name)).filter((name2) => name2.endsWith(".entitlements"))
14256
+ ...import_node_fs19.default.readdirSync(import_node_path18.default.join(iosRoot, entry.name)).filter((name2) => name2.endsWith(".entitlements"))
14643
14257
  ];
14644
14258
  for (const name2 of names) {
14645
14259
  const relative3 = `${prefix2}${entry.name}/${name2}`;
14646
- const file = import_node_path22.default.join(projectRoot, relative3);
14647
- if (import_node_fs22.default.existsSync(file)) files[relative3] = import_node_fs22.default.readFileSync(file, "utf8");
14260
+ const file = import_node_path18.default.join(projectRoot, relative3);
14261
+ if (import_node_fs19.default.existsSync(file)) files[relative3] = import_node_fs19.default.readFileSync(file, "utf8");
14648
14262
  }
14649
14263
  } else if (/AppDelegate\.(?:swift|mm|m)$|\.entitlements$/.test(entry.name)) {
14650
14264
  const relative3 = `${prefix2}${entry.name}`;
14651
- const file = import_node_path22.default.join(projectRoot, relative3);
14652
- if (import_node_fs22.default.existsSync(file)) files[relative3] = import_node_fs22.default.readFileSync(file, "utf8");
14265
+ const file = import_node_path18.default.join(projectRoot, relative3);
14266
+ if (import_node_fs19.default.existsSync(file)) files[relative3] = import_node_fs19.default.readFileSync(file, "utf8");
14653
14267
  }
14654
14268
  }
14655
14269
  const identity = extractNativeAppIdentityFromFiles(
@@ -14666,41 +14280,41 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
14666
14280
  function readAndroidNativeAppIdentity(projectRoot, androidMergedManifest) {
14667
14281
  const files = {};
14668
14282
  if (androidMergedManifest) {
14669
- const file = import_node_path22.default.resolve(projectRoot, androidMergedManifest);
14670
- if (!import_node_fs22.default.existsSync(file)) return null;
14671
- files[androidMergedManifest] = import_node_fs22.default.readFileSync(file, "utf8");
14283
+ const file = import_node_path18.default.resolve(projectRoot, androidMergedManifest);
14284
+ if (!import_node_fs19.default.existsSync(file)) return null;
14285
+ files[androidMergedManifest] = import_node_fs19.default.readFileSync(file, "utf8");
14672
14286
  } else {
14673
- const androidRoot = import_node_path22.default.join(projectRoot, "android");
14674
- if (!import_node_fs22.default.existsSync(androidRoot)) return null;
14287
+ const androidRoot = import_node_path18.default.join(projectRoot, "android");
14288
+ if (!import_node_fs19.default.existsSync(androidRoot)) return null;
14675
14289
  const collect = (directory) => {
14676
- for (const entry of import_node_fs22.default.readdirSync(directory, { withFileTypes: true })) {
14677
- const file = import_node_path22.default.join(directory, entry.name);
14290
+ for (const entry of import_node_fs19.default.readdirSync(directory, { withFileTypes: true })) {
14291
+ const file = import_node_path18.default.join(directory, entry.name);
14678
14292
  if (entry.isDirectory()) collect(file);
14679
14293
  else if (entry.isFile() && entry.name === "AndroidManifest.xml")
14680
- files[import_node_path22.default.relative(projectRoot, file).split(import_node_path22.default.sep).join("/")] = import_node_fs22.default.readFileSync(file, "utf8");
14294
+ files[import_node_path18.default.relative(projectRoot, file).split(import_node_path18.default.sep).join("/")] = import_node_fs19.default.readFileSync(file, "utf8");
14681
14295
  }
14682
14296
  };
14683
- for (const module2 of import_node_fs22.default.readdirSync(androidRoot, { withFileTypes: true })) {
14297
+ for (const module2 of import_node_fs19.default.readdirSync(androidRoot, { withFileTypes: true })) {
14684
14298
  if (!module2.isDirectory()) continue;
14685
- const outputs = import_node_path22.default.join(
14299
+ const outputs = import_node_path18.default.join(
14686
14300
  androidRoot,
14687
14301
  module2.name,
14688
14302
  "build/intermediates/merged_manifests"
14689
14303
  );
14690
- if (import_node_fs22.default.existsSync(outputs)) collect(outputs);
14304
+ if (import_node_fs19.default.existsSync(outputs)) collect(outputs);
14691
14305
  }
14692
14306
  }
14693
14307
  for (const manifest of Object.keys(files)) {
14694
14308
  const resourceDirectory = androidMergedResourceValuesDirectory(manifest);
14695
14309
  if (!resourceDirectory) continue;
14696
- const absolute = import_node_path22.default.resolve(projectRoot, resourceDirectory);
14697
- if (!import_node_fs22.default.existsSync(absolute)) continue;
14698
- for (const entry of import_node_fs22.default.readdirSync(absolute, { withFileTypes: true })) {
14310
+ const absolute = import_node_path18.default.resolve(projectRoot, resourceDirectory);
14311
+ if (!import_node_fs19.default.existsSync(absolute)) continue;
14312
+ for (const entry of import_node_fs19.default.readdirSync(absolute, { withFileTypes: true })) {
14699
14313
  if (!entry.isDirectory() || !/^values(?:-|$)/.test(entry.name)) continue;
14700
- for (const resource of import_node_fs22.default.readdirSync(import_node_path22.default.join(absolute, entry.name))) {
14314
+ for (const resource of import_node_fs19.default.readdirSync(import_node_path18.default.join(absolute, entry.name))) {
14701
14315
  if (!resource.endsWith(".xml")) continue;
14702
14316
  const file = `${resourceDirectory}/${entry.name}/${resource}`;
14703
- files[file] = import_node_fs22.default.readFileSync(import_node_path22.default.resolve(projectRoot, file), "utf8");
14317
+ files[file] = import_node_fs19.default.readFileSync(import_node_path18.default.resolve(projectRoot, file), "utf8");
14704
14318
  }
14705
14319
  }
14706
14320
  }
@@ -14717,7 +14331,7 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
14717
14331
  const app = readIosAppTarget(projectRoot, iosTarget, environment);
14718
14332
  if (!app) return null;
14719
14333
  const identity = readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist);
14720
- const projectManifestPath = import_node_path22.default.join(projectRoot, "package.json");
14334
+ const projectManifestPath = import_node_path18.default.join(projectRoot, "package.json");
14721
14335
  const projectRequire = (0, import_node_module3.createRequire)(projectManifestPath);
14722
14336
  let reanimatedManifestPath;
14723
14337
  try {
@@ -14731,22 +14345,22 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
14731
14345
  throw error;
14732
14346
  }
14733
14347
  const installedManifest = JSON.parse(
14734
- import_node_fs22.default.readFileSync(reanimatedManifestPath, "utf8")
14348
+ import_node_fs19.default.readFileSync(reanimatedManifestPath, "utf8")
14735
14349
  );
14736
14350
  const installedVersion = isRecord(installedManifest) ? nonEmptyString2(installedManifest.version) : void 0;
14737
14351
  if (!installedVersion) throw new Error("Reanimated package version is malformed");
14738
14352
  if (Number.parseInt(installedVersion, 10) < 4) return identity;
14739
14353
  const defaults = JSON.parse(
14740
- import_node_fs22.default.readFileSync(
14741
- import_node_path22.default.join(
14742
- import_node_path22.default.dirname(reanimatedManifestPath),
14354
+ import_node_fs19.default.readFileSync(
14355
+ import_node_path18.default.join(
14356
+ import_node_path18.default.dirname(reanimatedManifestPath),
14743
14357
  "src/featureFlags/staticFlags.json"
14744
14358
  ),
14745
14359
  "utf8"
14746
14360
  )
14747
14361
  );
14748
14362
  if (!isRecord(defaults)) throw new Error("Reanimated static flags are malformed");
14749
- const manifest = JSON.parse(import_node_fs22.default.readFileSync(projectManifestPath, "utf8"));
14363
+ const manifest = JSON.parse(import_node_fs19.default.readFileSync(projectManifestPath, "utf8"));
14750
14364
  const reanimated = isRecord(manifest) ? manifest.reanimated : void 0;
14751
14365
  const overrides = isRecord(reanimated) ? reanimated.staticFeatureFlags : void 0;
14752
14366
  if (overrides !== void 0 && !isRecord(overrides)) {
@@ -14779,14 +14393,10 @@ function readIosAppTarget(projectRoot, iosTarget, environment) {
14779
14393
  }
14780
14394
 
14781
14395
  // src/nitroContract.ts
14782
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14783
14396
  init_bundle_global_footer();
14784
14397
  init_is_record();
14785
14398
  init_swiftContract();
14786
14399
 
14787
- // src/package-tree-digest.ts
14788
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14789
-
14790
14400
  // src/expo-native-prebuilt.ts
14791
14401
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
14792
14402
 
@@ -14794,15 +14404,10 @@ var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
14794
14404
  init_is_record();
14795
14405
 
14796
14406
  // src/installed-package-versions.ts
14797
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14798
14407
  var import_fs2 = __toESM(require("fs"), 1);
14799
14408
  var import_path2 = __toESM(require("path"), 1);
14800
14409
 
14801
- // ../peach-compat/src/generated/native-package-names.ts
14802
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14803
-
14804
14410
  // ../peach-compat/src/generated/light-native-package-names.ts
14805
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
14806
14411
  var LIGHT_NATIVE_PACKAGE_NAMES = [
14807
14412
  "@100mslive/react-native-hms",
14808
14413
  "@account-kit/react-native-signer",
@@ -16589,7 +16194,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
16589
16194
  ];
16590
16195
 
16591
16196
  // ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
16592
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
16593
16197
  init_version_range();
16594
16198
  var LAZY_STUB_PATTERNS = [
16595
16199
  "@10play/tentap-editor",
@@ -16766,11 +16370,9 @@ var LAZY_STUB_PATTERNS = [
16766
16370
  ];
16767
16371
 
16768
16372
  // ../peach-globals/src/guest-modules/stub-manifest.ts
16769
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
16770
16373
  init_version_range();
16771
16374
 
16772
16375
  // ../peach-globals/src/guest-modules/wrapper-real-packages.ts
16773
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
16774
16376
  var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
16775
16377
  expoUiConfirmationDialog: {
16776
16378
  specifier: "@peach-internal/expo-ui-confirmation-dialog",
@@ -17626,9 +17228,8 @@ var COMPAT_STUBS = {
17626
17228
  };
17627
17229
 
17628
17230
  // src/installed-native-build-options.ts
17629
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17630
- var import_node_fs23 = __toESM(require("node:fs"), 1);
17631
- var import_node_path23 = __toESM(require("node:path"), 1);
17231
+ var import_node_fs20 = __toESM(require("node:fs"), 1);
17232
+ var import_node_path19 = __toESM(require("node:path"), 1);
17632
17233
  init_version_range();
17633
17234
  var RIVE_PACKAGE = "@rive-app/react-native";
17634
17235
  var RIVE_05 = [">=0.5.0 <0.6.0"];
@@ -17637,10 +17238,10 @@ function missing(error) {
17637
17238
  }
17638
17239
  function answerSync(step) {
17639
17240
  try {
17640
- if (step.type === "realpath") return import_node_fs23.default.realpathSync(step.path);
17641
- if (step.type === "read") return import_node_fs23.default.readFileSync(step.path, "utf8");
17642
- if (step.type === "isDirectory") return import_node_fs23.default.statSync(step.path).isDirectory();
17643
- return import_node_fs23.default.readdirSync(step.path, { withFileTypes: true }).map((entry) => ({
17241
+ if (step.type === "realpath") return import_node_fs20.default.realpathSync(step.path);
17242
+ if (step.type === "read") return import_node_fs20.default.readFileSync(step.path, "utf8");
17243
+ if (step.type === "isDirectory") return import_node_fs20.default.statSync(step.path).isDirectory();
17244
+ return import_node_fs20.default.readdirSync(step.path, { withFileTypes: true }).map((entry) => ({
17644
17245
  name: entry.name,
17645
17246
  directory: entry.isDirectory(),
17646
17247
  symbolicLink: entry.isSymbolicLink()
@@ -17652,11 +17253,11 @@ function answerSync(step) {
17652
17253
  }
17653
17254
  async function answerAsync(step) {
17654
17255
  try {
17655
- if (step.type === "realpath") return await import_node_fs23.default.promises.realpath(step.path);
17656
- if (step.type === "read") return await import_node_fs23.default.promises.readFile(step.path, "utf8");
17256
+ if (step.type === "realpath") return await import_node_fs20.default.promises.realpath(step.path);
17257
+ if (step.type === "read") return await import_node_fs20.default.promises.readFile(step.path, "utf8");
17657
17258
  if (step.type === "isDirectory")
17658
- return (await import_node_fs23.default.promises.stat(step.path)).isDirectory();
17659
- return (await import_node_fs23.default.promises.readdir(step.path, { withFileTypes: true })).map(
17259
+ return (await import_node_fs20.default.promises.stat(step.path)).isDirectory();
17260
+ return (await import_node_fs20.default.promises.readdir(step.path, { withFileTypes: true })).map(
17660
17261
  (entry) => ({
17661
17262
  name: entry.name,
17662
17263
  directory: entry.isDirectory(),
@@ -17689,7 +17290,7 @@ function* rubyFiles(directory, seen, iosRoot = false) {
17689
17290
  const files = [];
17690
17291
  for (const entry of entries.sort((a, b) => a.name.localeCompare(b.name))) {
17691
17292
  if (iosRoot && (entry.name === "Pods" || entry.name === "build")) continue;
17692
- const target = import_node_path23.default.join(directory, entry.name);
17293
+ const target = import_node_path19.default.join(directory, entry.name);
17693
17294
  let isDirectory2 = entry.directory;
17694
17295
  if (entry.symbolicLink)
17695
17296
  isDirectory2 = (yield { type: "isDirectory", path: target }) === true;
@@ -17702,7 +17303,7 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
17702
17303
  let sensorOptions = {};
17703
17304
  const sensors = versions["expo-sensors"];
17704
17305
  if (sensors && resolveCompatVersionRange([">=58.0.4 <59.0.0"], sensors).status === "matched") {
17705
- const file = import_node_path23.default.join(projectRoot, "ios", "Podfile.properties.json");
17306
+ const file = import_node_path19.default.join(projectRoot, "ios", "Podfile.properties.json");
17706
17307
  const source = yield { type: "read", path: file };
17707
17308
  if (source !== null && typeof source !== "string")
17708
17309
  throw new Error(`cannot inspect ${file}`);
@@ -17718,8 +17319,8 @@ function* nativeBuildOptionsWalk(projectRoot, versions, environment) {
17718
17319
  if (!needsRiveOptions(versions)) return sensorOptions;
17719
17320
  if (environment.USE_RIVE_LEGACY === "1" || environment.USE_RIVE_LEGACY === "true")
17720
17321
  return { ...sensorOptions, [RIVE_PACKAGE]: { USE_RIVE_LEGACY: true } };
17721
- const ios = import_node_path23.default.join(projectRoot, "ios");
17722
- const podfile = import_node_path23.default.join(ios, "Podfile");
17322
+ const ios = import_node_path19.default.join(projectRoot, "ios");
17323
+ const podfile = import_node_path19.default.join(ios, "Podfile");
17723
17324
  const files = [podfile, ...yield* rubyFiles(ios, /* @__PURE__ */ new Set(), true)];
17724
17325
  let value = false;
17725
17326
  let assigned = false;
@@ -17756,7 +17357,6 @@ async function readInstalledNativeBuildOptionsAsync(projectRoot, versions, envir
17756
17357
  }
17757
17358
 
17758
17359
  // src/stub-pattern-matcher.ts
17759
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17760
17360
  function extractPackageFromPath(modulePath) {
17761
17361
  let nodeModulesIndex = modulePath.lastIndexOf("/node_modules/");
17762
17362
  let prefixLength = "/node_modules/".length;
@@ -17978,25 +17578,19 @@ async function readInstalledNativePackageVersionsAsync(projectRoot) {
17978
17578
  return versions;
17979
17579
  }
17980
17580
 
17981
- // src/metro-project-root.ts
17982
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17983
-
17984
17581
  // scripts/dev-server-scanner.ts
17985
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17986
17582
  var import_child_process = require("child_process");
17987
17583
  var import_promises3 = require("fs/promises");
17988
- var import_node_fs24 = require("node:fs");
17584
+ var import_node_fs21 = require("node:fs");
17989
17585
  var import_node_os6 = require("node:os");
17990
- var import_node_path24 = require("node:path");
17586
+ var import_node_path20 = require("node:path");
17991
17587
  init_backend_origin();
17992
17588
  init_config();
17993
17589
 
17994
17590
  // src/dev-bundle-resolution.ts
17995
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
17996
17591
  init_backend_origin();
17997
17592
 
17998
17593
  // src/expo-manifest-body.ts
17999
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18000
17594
  function parseExpoManifestBody(body) {
18001
17595
  const opening = /^(--[^\r\n]+)\r?\n/.exec(body);
18002
17596
  if (!opening) return JSON.parse(body);
@@ -18009,7 +17603,6 @@ function parseExpoManifestBody(body) {
18009
17603
  }
18010
17604
 
18011
17605
  // src/native-dev-bundle-url.ts
18012
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18013
17606
  init_backend_origin();
18014
17607
 
18015
17608
  // src/dev-bundle-resolution.ts
@@ -18110,25 +17703,12 @@ async function metroRequestFailure(request, url, response) {
18110
17703
  );
18111
17704
  }
18112
17705
 
18113
- // src/kotlinDiscoveryContract.ts
18114
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18115
-
18116
- // src/oneWidgetContract.ts
18117
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18118
-
18119
17706
  // src/settings-bundle.ts
18120
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18121
17707
  init_is_record();
18122
17708
 
18123
- // src/swiftDiscoveryContract.ts
18124
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18125
-
18126
- // scripts/optional-demo-registry.ts
18127
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18128
-
18129
17709
  // scripts/dev-server-scanner.ts
18130
- var LISTENER_LOCK_PATH = (0, import_node_path24.join)((0, import_node_os6.tmpdir)(), "peach-listener-scan.lock");
18131
- var LISTENER_RESULT_PATH = (0, import_node_path24.join)((0, import_node_os6.tmpdir)(), "peach-listener-scan.result");
17710
+ var LISTENER_LOCK_PATH = (0, import_node_path20.join)((0, import_node_os6.tmpdir)(), "peach-listener-scan.lock");
17711
+ var LISTENER_RESULT_PATH = (0, import_node_path20.join)((0, import_node_os6.tmpdir)(), "peach-listener-scan.result");
18132
17712
  var LISTENER_LOCK_STALE_MS = 25e3;
18133
17713
  var LISTENER_LOCK_WAIT_MS = 8e3;
18134
17714
  function sleep2(ms) {
@@ -18146,8 +17726,8 @@ function pidIsAlive(pid) {
18146
17726
  }
18147
17727
  function readLockOwner() {
18148
17728
  try {
18149
- const raw = (0, import_node_fs24.readFileSync)(LISTENER_LOCK_PATH, "utf8");
18150
- const mtimeMs = (0, import_node_fs24.statSync)(LISTENER_LOCK_PATH).mtimeMs;
17729
+ const raw = (0, import_node_fs21.readFileSync)(LISTENER_LOCK_PATH, "utf8");
17730
+ const mtimeMs = (0, import_node_fs21.statSync)(LISTENER_LOCK_PATH).mtimeMs;
18151
17731
  const pid = Number(raw.split("-")[0]);
18152
17732
  return { raw, pid: Number.isInteger(pid) ? pid : -1, mtimeMs };
18153
17733
  } catch {
@@ -18160,15 +17740,15 @@ function lockIsAbandoned(owner) {
18160
17740
  }
18161
17741
  function clearLock(raw) {
18162
17742
  try {
18163
- if ((0, import_node_fs24.readFileSync)(LISTENER_LOCK_PATH, "utf8") !== raw) return;
18164
- (0, import_node_fs24.unlinkSync)(LISTENER_LOCK_PATH);
17743
+ if ((0, import_node_fs21.readFileSync)(LISTENER_LOCK_PATH, "utf8") !== raw) return;
17744
+ (0, import_node_fs21.unlinkSync)(LISTENER_LOCK_PATH);
18165
17745
  } catch {
18166
17746
  }
18167
17747
  }
18168
17748
  function readResult() {
18169
17749
  try {
18170
17750
  const parsed = JSON.parse(
18171
- (0, import_node_fs24.readFileSync)(LISTENER_RESULT_PATH, "utf8")
17751
+ (0, import_node_fs21.readFileSync)(LISTENER_RESULT_PATH, "utf8")
18172
17752
  );
18173
17753
  if (!parsed || typeof parsed.token !== "string" || typeof parsed.key !== "string")
18174
17754
  return null;
@@ -18179,8 +17759,8 @@ function readResult() {
18179
17759
  }
18180
17760
  function publishResult(payload) {
18181
17761
  const tmp = `${LISTENER_RESULT_PATH}.${process.pid}.tmp`;
18182
- (0, import_node_fs24.writeFileSync)(tmp, JSON.stringify(payload));
18183
- (0, import_node_fs24.renameSync)(tmp, LISTENER_RESULT_PATH);
17762
+ (0, import_node_fs21.writeFileSync)(tmp, JSON.stringify(payload));
17763
+ (0, import_node_fs21.renameSync)(tmp, LISTENER_RESULT_PATH);
18184
17764
  }
18185
17765
  function throwPublished(payload) {
18186
17766
  throw Object.assign(new Error(payload.message || "listener scan failed"), {
@@ -18223,7 +17803,7 @@ async function withListenerLock(key, body) {
18223
17803
  for (; ; ) {
18224
17804
  let fd = null;
18225
17805
  try {
18226
- fd = (0, import_node_fs24.openSync)(LISTENER_LOCK_PATH, "wx");
17806
+ fd = (0, import_node_fs21.openSync)(LISTENER_LOCK_PATH, "wx");
18227
17807
  } catch (error) {
18228
17808
  const code = error instanceof Error && "code" in error ? error.code : "";
18229
17809
  if (code !== "EEXIST") throw error;
@@ -18232,7 +17812,7 @@ async function withListenerLock(key, body) {
18232
17812
  if (owner) clearLock(owner.raw);
18233
17813
  else {
18234
17814
  try {
18235
- (0, import_node_fs24.unlinkSync)(LISTENER_LOCK_PATH);
17815
+ (0, import_node_fs21.unlinkSync)(LISTENER_LOCK_PATH);
18236
17816
  } catch {
18237
17817
  }
18238
17818
  }
@@ -18248,7 +17828,7 @@ async function withListenerLock(key, body) {
18248
17828
  }
18249
17829
  if (fd === null) continue;
18250
17830
  try {
18251
- (0, import_node_fs24.writeSync)(fd, token);
17831
+ (0, import_node_fs21.writeSync)(fd, token);
18252
17832
  try {
18253
17833
  const value = await body();
18254
17834
  publishResult({ token, key, ok: true, value });
@@ -18265,7 +17845,7 @@ async function withListenerLock(key, body) {
18265
17845
  }
18266
17846
  } finally {
18267
17847
  try {
18268
- (0, import_node_fs24.closeSync)(fd);
17848
+ (0, import_node_fs21.closeSync)(fd);
18269
17849
  } catch {
18270
17850
  }
18271
17851
  clearLock(token);
@@ -18626,7 +18206,6 @@ async function readDevServerPackageVersions(bundleUrl) {
18626
18206
  }
18627
18207
 
18628
18208
  // src/host/fetch-proxy-overrides.ts
18629
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18630
18209
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
18631
18210
  var FETCH_PROXY_FAILURE_PARAM = "peachFailure";
18632
18211
  var FETCH_PROXY_FAILURE_HEADER = "x-peach-upstream-failure";
@@ -18749,11 +18328,9 @@ function nodeRequestHeaderEntries(headers) {
18749
18328
  }
18750
18329
 
18751
18330
  // src/host/hostname-resolver.ts
18752
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18753
18331
  var import_promises4 = require("node:dns/promises");
18754
18332
 
18755
18333
  // src/dns-over-https.ts
18756
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18757
18334
  function parseIpLiteral(text2) {
18758
18335
  if (text2.includes(":")) return parseIpv6(text2);
18759
18336
  const parts = text2.split(".");
@@ -18791,8 +18368,7 @@ function parseIpv6(text2) {
18791
18368
  }
18792
18369
 
18793
18370
  // src/host/network-policy.ts
18794
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18795
- var import_node_path25 = require("node:path");
18371
+ var import_node_path21 = require("node:path");
18796
18372
  var import_node_url = require("node:url");
18797
18373
  var NETWORK_POLICY_TIMEOUT_MS = 1e4;
18798
18374
  var NetworkPolicyDeniedError = class extends Error {
@@ -18845,7 +18421,7 @@ function createNetworkAuthorizer(policy) {
18845
18421
  };
18846
18422
  }
18847
18423
  async function loadNetworkPolicy(file) {
18848
- if (!(0, import_node_path25.isAbsolute)(file)) {
18424
+ if (!(0, import_node_path21.isAbsolute)(file)) {
18849
18425
  throw new Error(`PEACH_NETWORK_POLICY must be an absolute path: ${file}`);
18850
18426
  }
18851
18427
  const loaded3 = await import(
@@ -18904,7 +18480,6 @@ async function handleHostnameResolutionRequest(req, res) {
18904
18480
  }
18905
18481
 
18906
18482
  // src/host/loopback-ports.ts
18907
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18908
18483
  init_backend_origin();
18909
18484
  var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
18910
18485
  for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
@@ -18932,7 +18507,6 @@ function projectLoopbackUrl(value) {
18932
18507
  }
18933
18508
 
18934
18509
  // src/host/rolldown-bundle-forward.ts
18935
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
18936
18510
  var import_stream = require("stream");
18937
18511
  var import_promises5 = require("stream/promises");
18938
18512
  init_cli_runtime();
@@ -19401,7 +18975,6 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
19401
18975
  init_replacement_module_handler();
19402
18976
 
19403
18977
  // src/metro-production-bundle.ts
19404
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19405
18978
  init_bundle_global_footer();
19406
18979
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
19407
18980
  var RNX_METRO_MODULE_IDENTITY_VERSION = 2;
@@ -19444,7 +19017,6 @@ ${RNXSIM_METRO_SOURCE_MAP_COMMENT}${detached.sourceMappingUrl}`;
19444
19017
  }
19445
19018
 
19446
19019
  // src/native-firebase-metadata.ts
19447
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19448
19020
  init_bundle_global_footer();
19449
19021
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
19450
19022
  var MODULE_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -19525,7 +19097,6 @@ init_runtime_assets();
19525
19097
  init_runtime_packs();
19526
19098
 
19527
19099
  // src/runtimePlatformContract.ts
19528
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
19529
19100
  var IOS_ADAPTER = Object.freeze({
19530
19101
  id: "ios",
19531
19102
  displayName: "iOS",
@@ -19659,7 +19230,7 @@ function withPeach(config, options = {}) {
19659
19230
  const configuredBundleUrl = "/index.bundle?platform=ios&dev=true&hot=true&minify=false";
19660
19231
  const cfgServer = config.server;
19661
19232
  const port = resolveMetroPort(cfgServer);
19662
- const metroServerId = (0, import_node_crypto8.randomUUID)();
19233
+ const metroServerId = (0, import_node_crypto7.randomUUID)();
19663
19234
  const bundleUrl = tagRnxBundleForPlugin(
19664
19235
  configuredBundleUrl,
19665
19236
  `http://localhost:${port}`,