@angular/compiler-cli 13.1.0-next.3 → 13.2.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/bundles/{chunk-JJMLEEKA.js → chunk-AUFNJGZ6.js} +6 -6
  2. package/bundles/{chunk-JJMLEEKA.js.map → chunk-AUFNJGZ6.js.map} +0 -0
  3. package/bundles/{chunk-QDWL7SZJ.js → chunk-BPCUCINV.js} +2 -2
  4. package/bundles/{chunk-QDWL7SZJ.js.map → chunk-BPCUCINV.js.map} +0 -0
  5. package/bundles/{chunk-UIKTHF6Z.js → chunk-DJRTTRF3.js} +40 -40
  6. package/bundles/{chunk-UIKTHF6Z.js.map → chunk-DJRTTRF3.js.map} +0 -0
  7. package/bundles/{chunk-IESRH26X.js → chunk-FXVUPJ6A.js} +57 -57
  8. package/bundles/{chunk-IESRH26X.js.map → chunk-FXVUPJ6A.js.map} +0 -0
  9. package/bundles/{chunk-GLCRIILX.js → chunk-J6CW3T62.js} +5 -5
  10. package/bundles/{chunk-GLCRIILX.js.map → chunk-J6CW3T62.js.map} +0 -0
  11. package/bundles/{chunk-SKBLJA43.js → chunk-JTYUTYS2.js} +3 -3
  12. package/bundles/{chunk-SKBLJA43.js.map → chunk-JTYUTYS2.js.map} +0 -0
  13. package/bundles/{chunk-7HBAJSZA.js → chunk-KWZNY2SK.js} +76 -83
  14. package/bundles/chunk-KWZNY2SK.js.map +6 -0
  15. package/bundles/{chunk-HDZS2JG2.js → chunk-O5ZEI3UY.js} +19 -19
  16. package/bundles/chunk-O5ZEI3UY.js.map +6 -0
  17. package/bundles/{chunk-MFCLQBFK.js → chunk-OOIW53QX.js} +31 -31
  18. package/bundles/{chunk-MFCLQBFK.js.map → chunk-OOIW53QX.js.map} +0 -0
  19. package/bundles/{chunk-COAETSNP.js → chunk-P5ZW5MI4.js} +105 -190
  20. package/bundles/chunk-P5ZW5MI4.js.map +6 -0
  21. package/bundles/{chunk-QL6ZC3U3.js → chunk-PF3ZPGF5.js} +7 -7
  22. package/bundles/{chunk-QL6ZC3U3.js.map → chunk-PF3ZPGF5.js.map} +0 -0
  23. package/bundles/{chunk-UMUIU7TE.js → chunk-QFB4WK55.js} +4 -4
  24. package/bundles/{chunk-UMUIU7TE.js.map → chunk-QFB4WK55.js.map} +0 -0
  25. package/bundles/{chunk-EP5JHXG2.js → chunk-TI3THPMZ.js} +7 -7
  26. package/bundles/{chunk-EP5JHXG2.js.map → chunk-TI3THPMZ.js.map} +0 -0
  27. package/bundles/{chunk-7HVF6UHR.js → chunk-W5CGOJQ4.js} +13 -7
  28. package/bundles/chunk-W5CGOJQ4.js.map +6 -0
  29. package/bundles/{chunk-4EDYFHXN.js → chunk-X46CEINM.js} +6 -6
  30. package/bundles/chunk-X46CEINM.js.map +6 -0
  31. package/bundles/index.js +12 -27
  32. package/bundles/index.js.map +2 -2
  33. package/bundles/linker/babel/index.js +12 -12
  34. package/bundles/linker/index.js +4 -4
  35. package/bundles/ngcc/index.js +12 -12
  36. package/bundles/ngcc/main-ngcc.js +13 -13
  37. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
  38. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  39. package/bundles/private/bazel.js +1 -1
  40. package/bundles/private/localize.js +3 -3
  41. package/bundles/private/migrations.js +5 -5
  42. package/bundles/private/tooling.js +2 -2
  43. package/bundles/src/bin/ng_xi18n.js +10 -10
  44. package/bundles/src/bin/ngc.js +8 -8
  45. package/bundles_metadata.json +1 -1
  46. package/index.d.ts +0 -2
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +2 -2
  49. package/src/main.d.ts +3 -3
  50. package/src/ngtsc/core/src/host.d.ts +1 -1
  51. package/src/ngtsc/program.d.ts +3 -6
  52. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
  53. package/src/ngtsc/util/src/typescript.d.ts +0 -5
  54. package/src/perform_compile.d.ts +5 -10
  55. package/src/perform_watch.d.ts +4 -4
  56. package/src/transformers/api.d.ts +3 -30
  57. package/src/transformers/util.d.ts +4 -6
  58. package/bundles/chunk-4EDYFHXN.js.map +0 -6
  59. package/bundles/chunk-7HBAJSZA.js.map +0 -6
  60. package/bundles/chunk-7HVF6UHR.js.map +0 -6
  61. package/bundles/chunk-COAETSNP.js.map +0 -6
  62. package/bundles/chunk-HDZS2JG2.js.map +0 -6
@@ -32,11 +32,11 @@ import {
32
32
  makeRelatedInformation,
33
33
  ngErrorCode,
34
34
  replaceTsWithNgInErrors
35
- } from "./chunk-IESRH26X.js";
35
+ } from "./chunk-FXVUPJ6A.js";
36
36
  import {
37
37
  TypeScriptReflectionHost,
38
38
  isNamedClassDeclaration
39
- } from "./chunk-4EDYFHXN.js";
39
+ } from "./chunk-X46CEINM.js";
40
40
  import {
41
41
  AbsoluteModuleStrategy,
42
42
  AliasStrategy,
@@ -68,7 +68,7 @@ import {
68
68
  toUnredirectedSourceFile,
69
69
  translateExpression,
70
70
  translateType
71
- } from "./chunk-HDZS2JG2.js";
71
+ } from "./chunk-O5ZEI3UY.js";
72
72
  import {
73
73
  LogicalFileSystem,
74
74
  absoluteFrom,
@@ -78,31 +78,27 @@ import {
78
78
  getFileSystem,
79
79
  getSourceFileOrError,
80
80
  join,
81
- relative,
82
81
  resolve
83
- } from "./chunk-EP5JHXG2.js";
82
+ } from "./chunk-TI3THPMZ.js";
84
83
  import {
85
84
  ActivePerfRecorder,
86
85
  DelegatingPerfRecorder,
87
86
  PerfCheckpoint,
88
87
  PerfEvent,
89
88
  PerfPhase
90
- } from "./chunk-GLCRIILX.js";
89
+ } from "./chunk-J6CW3T62.js";
91
90
  import {
92
91
  __spreadProps,
93
92
  __spreadValues
94
93
  } from "./chunk-XA5IZLLC.js";
95
94
 
96
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
95
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
97
96
  var DEFAULT_ERROR_CODE = 100;
98
97
  var UNKNOWN_ERROR_CODE = 500;
99
98
  var SOURCE = "angular";
100
99
  function isTsDiagnostic(diagnostic) {
101
100
  return diagnostic != null && diagnostic.source !== "angular";
102
101
  }
103
- function isNgDiagnostic(diagnostic) {
104
- return diagnostic != null && diagnostic.source === "angular";
105
- }
106
102
  var EmitFlags;
107
103
  (function(EmitFlags2) {
108
104
  EmitFlags2[EmitFlags2["DTS"] = 1] = "DTS";
@@ -114,7 +110,7 @@ var EmitFlags;
114
110
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
115
111
  })(EmitFlags || (EmitFlags = {}));
116
112
 
117
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
113
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
118
114
  import ts from "typescript";
119
115
  var wrapHostForTest = null;
120
116
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -124,21 +120,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
124
120
  return tsHost;
125
121
  }
126
122
 
127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
123
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
128
124
  var OptimizeFor;
129
125
  (function(OptimizeFor2) {
130
126
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
131
127
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
132
128
  })(OptimizeFor || (OptimizeFor = {}));
133
129
 
134
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
130
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
135
131
  var CompletionKind;
136
132
  (function(CompletionKind2) {
137
133
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
138
134
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
139
135
  })(CompletionKind || (CompletionKind = {}));
140
136
 
141
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
137
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
142
138
  var SymbolKind;
143
139
  (function(SymbolKind2) {
144
140
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -154,14 +150,14 @@ var SymbolKind;
154
150
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
155
151
  })(SymbolKind || (SymbolKind = {}));
156
152
 
157
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
153
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
158
154
  import { HtmlParser, MessageBundle } from "@angular/compiler";
159
155
  import ts35 from "typescript";
160
156
 
161
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
157
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
162
158
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
163
159
  import {
164
- relative as relative2,
160
+ relative,
165
161
  resolve as resolve2,
166
162
  sep
167
163
  } from "path";
@@ -208,15 +204,15 @@ function i18nSerialize(bundle, formatName, options) {
208
204
  }
209
205
  function getPathNormalizer(basePath) {
210
206
  return (sourcePath) => {
211
- sourcePath = basePath ? relative2(basePath, sourcePath) : sourcePath;
207
+ sourcePath = basePath ? relative(basePath, sourcePath) : sourcePath;
212
208
  return sourcePath.split(sep).join("/");
213
209
  };
214
210
  }
215
211
 
216
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
212
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
217
213
  import ts2 from "typescript";
218
214
 
219
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
215
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
220
216
  function toNumbers(value) {
221
217
  const suffixIndex = value.lastIndexOf("-");
222
218
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -251,7 +247,7 @@ function compareVersions(v1, v2) {
251
247
  return compareNumbers(toNumbers(v1), toNumbers(v2));
252
248
  }
253
249
 
254
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
250
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
255
251
  var MIN_TS_VERSION = "4.4.2";
256
252
  var MAX_TS_VERSION = "4.6.0";
257
253
  var tsVersion = ts2.version;
@@ -264,10 +260,10 @@ function verifySupportedTypeScriptVersion() {
264
260
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
265
261
  }
266
262
 
267
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
263
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
268
264
  import ts33 from "typescript";
269
265
 
270
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
266
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
271
267
  var CycleAnalyzer = class {
272
268
  constructor(importGraph) {
273
269
  this.importGraph = importGraph;
@@ -338,7 +334,7 @@ var Cycle = class {
338
334
  }
339
335
  };
340
336
 
341
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
337
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
342
338
  import ts3 from "typescript";
343
339
  var ImportGraph = class {
344
340
  constructor(checker, perf) {
@@ -430,7 +426,7 @@ var Found = class {
430
426
  }
431
427
  };
432
428
 
433
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
429
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
434
430
  import ts4 from "typescript";
435
431
  var FlatIndexGenerator = class {
436
432
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -455,7 +451,7 @@ export * from '${relativeEntryPoint}';
455
451
  }
456
452
  };
457
453
 
458
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
454
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
459
455
  function findFlatIndexEntryPoint(rootFiles) {
460
456
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
461
457
  let resolvedEntryPoint = null;
@@ -471,7 +467,7 @@ function findFlatIndexEntryPoint(rootFiles) {
471
467
  return resolvedEntryPoint;
472
468
  }
473
469
 
474
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
470
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
475
471
  import ts5 from "typescript";
476
472
  function checkForPrivateExports(entryPoint, checker, refGraph) {
477
473
  const diagnostics = [];
@@ -551,7 +547,7 @@ function getDescriptorOfDeclaration(decl) {
551
547
  }
552
548
  }
553
549
 
554
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
550
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
555
551
  var ReferenceGraph = class {
556
552
  constructor() {
557
553
  this.references = new Map();
@@ -605,7 +601,7 @@ var ReferenceGraph = class {
605
601
  }
606
602
  };
607
603
 
608
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
604
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
609
605
  var NgOriginalFile = Symbol("NgOriginalFile");
610
606
  var UpdateMode;
611
607
  (function(UpdateMode2) {
@@ -613,13 +609,13 @@ var UpdateMode;
613
609
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
614
610
  })(UpdateMode || (UpdateMode = {}));
615
611
 
616
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
612
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
617
613
  import ts9 from "typescript";
618
614
 
619
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
615
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
620
616
  import ts6 from "typescript";
621
617
 
622
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
618
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
623
619
  var NgExtension = Symbol("NgExtension");
624
620
  function isExtended(sf) {
625
621
  return sf[NgExtension] !== void 0;
@@ -679,7 +675,7 @@ function retagTsFile(sf) {
679
675
  }
680
676
  }
681
677
 
682
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
678
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
683
679
  var TS_EXTENSIONS = /\.tsx?$/i;
684
680
  function makeShimFileName(fileName, suffix) {
685
681
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -694,7 +690,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
694
690
  return moduleName;
695
691
  }
696
692
 
697
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
693
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
698
694
  var ShimAdapter = class {
699
695
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
700
696
  this.delegate = delegate;
@@ -791,7 +787,7 @@ var ShimAdapter = class {
791
787
  }
792
788
  };
793
789
 
794
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
790
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
795
791
  import ts7 from "typescript";
796
792
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
797
793
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -940,7 +936,7 @@ function updateInitializers(stmt, update) {
940
936
  return ts7.updateVariableStatement(stmt, stmt.modifiers, ts7.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
941
937
  }
942
938
 
943
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
939
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
944
940
  var ShimReferenceTagger = class {
945
941
  constructor(shimExtensions) {
946
942
  this.tagged = new Set();
@@ -974,7 +970,7 @@ var ShimReferenceTagger = class {
974
970
  }
975
971
  };
976
972
 
977
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
973
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
978
974
  import ts8 from "typescript";
979
975
  var SummaryGenerator = class {
980
976
  constructor() {
@@ -1014,7 +1010,7 @@ function isExported2(decl) {
1014
1010
  return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword);
1015
1011
  }
1016
1012
 
1017
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1013
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1018
1014
  var DelegatingCompilerHost = class {
1019
1015
  constructor(delegate) {
1020
1016
  this.delegate = delegate;
@@ -1124,7 +1120,7 @@ var TsCreateProgramDriver = class {
1124
1120
  }
1125
1121
  };
1126
1122
 
1127
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1123
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1128
1124
  var FileDependencyGraph = class {
1129
1125
  constructor() {
1130
1126
  this.nodes = new Map();
@@ -1191,7 +1187,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1191
1187
  return false;
1192
1188
  }
1193
1189
 
1194
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1190
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1195
1191
  var IncrementalStateKind;
1196
1192
  (function(IncrementalStateKind2) {
1197
1193
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1199,7 +1195,7 @@ var IncrementalStateKind;
1199
1195
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1200
1196
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1201
1197
 
1202
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1198
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1203
1199
  var PhaseKind;
1204
1200
  (function(PhaseKind2) {
1205
1201
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1400,7 +1396,7 @@ function toOriginalSourceFile(sf) {
1400
1396
  }
1401
1397
  }
1402
1398
 
1403
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1399
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1404
1400
  var TrackedIncrementalBuildStrategy = class {
1405
1401
  constructor() {
1406
1402
  this.state = null;
@@ -1436,7 +1432,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1436
1432
  };
1437
1433
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1438
1434
 
1439
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1435
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1440
1436
  var IdentifierKind;
1441
1437
  (function(IdentifierKind2) {
1442
1438
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1454,7 +1450,7 @@ var AbsoluteSourceSpan = class {
1454
1450
  }
1455
1451
  };
1456
1452
 
1457
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1453
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1458
1454
  var IndexingContext = class {
1459
1455
  constructor() {
1460
1456
  this.components = new Set();
@@ -1464,10 +1460,10 @@ var IndexingContext = class {
1464
1460
  }
1465
1461
  };
1466
1462
 
1467
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1463
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1468
1464
  import { ParseSourceFile } from "@angular/compiler";
1469
1465
 
1470
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1466
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1471
1467
  import { ASTWithSource, ImplicitReceiver, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1472
1468
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1473
1469
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1671,7 +1667,7 @@ function getTemplateIdentifiers(boundTemplate) {
1671
1667
  return visitor.identifiers;
1672
1668
  }
1673
1669
 
1674
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1670
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1675
1671
  function generateAnalysis(context) {
1676
1672
  const analysis = new Map();
1677
1673
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1705,7 +1701,7 @@ function generateAnalysis(context) {
1705
1701
  return analysis;
1706
1702
  }
1707
1703
 
1708
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1704
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1709
1705
  import ts10 from "typescript";
1710
1706
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1711
1707
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1851,7 +1847,7 @@ function createLookupResolutionHost(adapter) {
1851
1847
  };
1852
1848
  }
1853
1849
 
1854
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
1850
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
1855
1851
  var MetadataDtsModuleScopeResolver = class {
1856
1852
  constructor(dtsMetaReader, aliasingHost) {
1857
1853
  this.dtsMetaReader = dtsMetaReader;
@@ -1937,7 +1933,7 @@ var MetadataDtsModuleScopeResolver = class {
1937
1933
  }
1938
1934
  };
1939
1935
 
1940
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
1936
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
1941
1937
  import { ExternalExpr } from "@angular/compiler";
1942
1938
  import ts11 from "typescript";
1943
1939
  var LocalModuleScopeRegistry = class {
@@ -2245,7 +2241,7 @@ function reexportCollision(module, refA, refB) {
2245
2241
  ]);
2246
2242
  }
2247
2243
 
2248
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
2244
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
2249
2245
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
2250
2246
  import ts12 from "typescript";
2251
2247
  var TypeCheckScopeRegistry = class {
@@ -2306,10 +2302,10 @@ var TypeCheckScopeRegistry = class {
2306
2302
  }
2307
2303
  };
2308
2304
 
2309
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
2305
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
2310
2306
  import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
2311
2307
 
2312
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
2308
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
2313
2309
  import ts13 from "typescript";
2314
2310
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
2315
2311
  if (mapping.type === "direct") {
@@ -2382,7 +2378,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
2382
2378
  }
2383
2379
  }
2384
2380
 
2385
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2381
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2386
2382
  var TEMPLATE_ID = Symbol("ngTemplateId");
2387
2383
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2388
2384
  function getTemplateId(clazz) {
@@ -2399,11 +2395,11 @@ function allocateTemplateId(sf) {
2399
2395
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2400
2396
  }
2401
2397
 
2402
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2398
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2403
2399
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2404
2400
  import ts15 from "typescript";
2405
2401
 
2406
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2402
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2407
2403
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2408
2404
  import ts14 from "typescript";
2409
2405
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2523,7 +2519,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2523
2519
  }) || false;
2524
2520
  }
2525
2521
 
2526
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2522
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2527
2523
  var CompletionEngine = class {
2528
2524
  constructor(tcb, data, shimPath) {
2529
2525
  this.tcb = tcb;
@@ -2674,10 +2670,10 @@ var CompletionEngine = class {
2674
2670
  }
2675
2671
  };
2676
2672
 
2677
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2673
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2678
2674
  import ts29 from "typescript";
2679
2675
 
2680
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2676
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2681
2677
  import { DomElementSchemaRegistry } from "@angular/compiler";
2682
2678
  import ts16 from "typescript";
2683
2679
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2727,11 +2723,11 @@ var RegistryDomSchemaChecker = class {
2727
2723
  }
2728
2724
  };
2729
2725
 
2730
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2726
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2731
2727
  import { ExpressionType, ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2732
2728
  import ts22 from "typescript";
2733
2729
 
2734
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2730
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2735
2731
  import ts17 from "typescript";
2736
2732
  var SAFE_TO_CAST_WITHOUT_PARENS = new Set([
2737
2733
  ts17.SyntaxKind.ParenthesizedExpression,
@@ -2800,16 +2796,16 @@ function isAccessExpression(node) {
2800
2796
  return ts17.isPropertyAccessExpression(node) || ts17.isElementAccessExpression(node);
2801
2797
  }
2802
2798
 
2803
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2804
2800
  import ts21 from "typescript";
2805
2801
 
2806
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2802
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2807
2803
  import ts20 from "typescript";
2808
2804
 
2809
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2805
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2810
2806
  import ts19 from "typescript";
2811
2807
 
2812
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2808
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2813
2809
  import ts18 from "typescript";
2814
2810
  var INELIGIBLE = {};
2815
2811
  function canEmitType(type, resolver) {
@@ -2884,7 +2880,7 @@ var TypeEmitter = class {
2884
2880
  }
2885
2881
  };
2886
2882
 
2887
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2883
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2888
2884
  var TypeParameterEmitter = class {
2889
2885
  constructor(typeParameters, reflector) {
2890
2886
  this.typeParameters = typeParameters;
@@ -2947,7 +2943,7 @@ var TypeParameterEmitter = class {
2947
2943
  }
2948
2944
  };
2949
2945
 
2950
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2946
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2951
2947
  var TcbInliningRequirement;
2952
2948
  (function(TcbInliningRequirement2) {
2953
2949
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -3026,7 +3022,7 @@ function checkIfGenericTypeBoundsAreContextFree(node, reflector) {
3026
3022
  return new TypeParameterEmitter(node.typeParameters, reflector).canEmit();
3027
3023
  }
3028
3024
 
3029
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3025
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
3030
3026
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams, reflector) {
3031
3027
  if (requiresInlineTypeCtor(node, reflector)) {
3032
3028
  throw new Error(`${node.name.text} requires an inline type constructor`);
@@ -3100,7 +3096,7 @@ function typeParametersWithDefaultTypes(params) {
3100
3096
  });
3101
3097
  }
3102
3098
 
3103
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
3099
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
3104
3100
  var Environment = class {
3105
3101
  constructor(config, importManager, refEmitter, reflector, contextFile) {
3106
3102
  this.config = config;
@@ -3186,7 +3182,7 @@ var Environment = class {
3186
3182
  }
3187
3183
  };
3188
3184
 
3189
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
3185
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
3190
3186
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
3191
3187
  import ts23 from "typescript";
3192
3188
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -3318,7 +3314,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
3318
3314
  });
3319
3315
  }
3320
3316
 
3321
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3317
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
3322
3318
  import ts24 from "typescript";
3323
3319
  var TypeCheckShimGenerator = class {
3324
3320
  constructor() {
@@ -3336,11 +3332,11 @@ var TypeCheckShimGenerator = class {
3336
3332
  }
3337
3333
  };
3338
3334
 
3339
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3335
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3340
3336
  import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
3341
3337
  import ts27 from "typescript";
3342
3338
 
3343
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3339
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
3344
3340
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
3345
3341
  import ts25 from "typescript";
3346
3342
  function wrapForDiagnostics(expr) {
@@ -3386,7 +3382,7 @@ function translateDiagnostic(diagnostic, resolver) {
3386
3382
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3387
3383
  }
3388
3384
 
3389
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3385
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3390
3386
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3391
3387
  import ts26 from "typescript";
3392
3388
  var NULL_AS_ANY = ts26.createAsExpression(ts26.createNull(), ts26.createKeywordTypeNode(ts26.SyntaxKind.AnyKeyword));
@@ -3690,7 +3686,7 @@ var VeSafeLhsInferenceBugDetector = class {
3690
3686
  };
3691
3687
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3692
3688
 
3693
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3689
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3694
3690
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3695
3691
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3696
3692
  constructor(templateId, boundTarget, oob) {
@@ -3714,7 +3710,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3714
3710
  }
3715
3711
  };
3716
3712
 
3717
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3713
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3718
3714
  var TcbGenericContextBehavior;
3719
3715
  (function(TcbGenericContextBehavior2) {
3720
3716
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4764,7 +4760,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4764
4760
  }
4765
4761
  };
4766
4762
 
4767
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4763
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4768
4764
  import ts28 from "typescript";
4769
4765
  var TypeCheckFile = class extends Environment {
4770
4766
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4800,7 +4796,7 @@ var TypeCheckFile = class extends Environment {
4800
4796
  }
4801
4797
  };
4802
4798
 
4803
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4804
4800
  var InliningMode;
4805
4801
  (function(InliningMode2) {
4806
4802
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -5030,10 +5026,10 @@ function splitStringAtPoints(str, points) {
5030
5026
  return splits;
5031
5027
  }
5032
5028
 
5033
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5029
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5034
5030
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
5035
5031
 
5036
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
5032
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
5037
5033
  var LF_CHAR = 10;
5038
5034
  var CR_CHAR = 13;
5039
5035
  var LINE_SEP_CHAR = 8232;
@@ -5074,7 +5070,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
5074
5070
  return low - 1;
5075
5071
  }
5076
5072
 
5077
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5073
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
5078
5074
  var TemplateSource = class {
5079
5075
  constructor(mapping, file) {
5080
5076
  this.mapping = mapping;
@@ -5125,7 +5121,7 @@ var TemplateSourceManager = class {
5125
5121
  }
5126
5122
  };
5127
5123
 
5128
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5124
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
5129
5125
  import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite3, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
5130
5126
  import ts30 from "typescript";
5131
5127
  var SymbolBuilder = class {
@@ -5550,7 +5546,7 @@ function sourceSpanEqual(a, b) {
5550
5546
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5551
5547
  }
5552
5548
 
5553
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5549
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5554
5550
  var REGISTRY2 = new DomElementSchemaRegistry2();
5555
5551
  var TemplateTypeCheckerImpl = class {
5556
5552
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -6066,7 +6062,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
6066
6062
  }
6067
6063
  };
6068
6064
 
6069
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6065
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6070
6066
  var ExtendedTemplateCheckerImpl = class {
6071
6067
  constructor(templateTypeChecker, typeChecker, templateChecks) {
6072
6068
  this.templateChecks = templateChecks;
@@ -6085,11 +6081,11 @@ var ExtendedTemplateCheckerImpl = class {
6085
6081
  }
6086
6082
  };
6087
6083
 
6088
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6084
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6089
6085
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
6090
6086
  import ts31 from "typescript";
6091
6087
 
6092
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6088
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6093
6089
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
6094
6090
  var TemplateCheckWithVisitor = class {
6095
6091
  run(ctx, component, template) {
@@ -6166,7 +6162,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
6166
6162
  }
6167
6163
  };
6168
6164
 
6169
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6165
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6170
6166
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
6171
6167
  constructor() {
6172
6168
  super(...arguments);
@@ -6186,7 +6182,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
6186
6182
  }
6187
6183
  };
6188
6184
 
6189
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6185
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6190
6186
  import { Binary } from "@angular/compiler";
6191
6187
  import ts32 from "typescript";
6192
6188
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6214,7 +6210,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
6214
6210
  }
6215
6211
  };
6216
6212
 
6217
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6213
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6218
6214
  var CompilationTicketKind;
6219
6215
  (function(CompilationTicketKind2) {
6220
6216
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -6852,7 +6848,7 @@ function versionMapFromProgram(program, driver) {
6852
6848
  return versions;
6853
6849
  }
6854
6850
 
6855
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6851
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6856
6852
  import ts34 from "typescript";
6857
6853
  var DelegatingCompilerHost2 = class {
6858
6854
  constructor(delegate) {
@@ -6993,7 +6989,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
6993
6989
  }
6994
6990
  };
6995
6991
 
6996
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
6992
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
6997
6993
  var NgtscProgram = class {
6998
6994
  constructor(rootNames, options, delegateHost, oldProgram) {
6999
6995
  this.options = options;
@@ -7183,12 +7179,6 @@ var NgtscProgram = class {
7183
7179
  getIndexedComponents() {
7184
7180
  return this.compiler.getIndexedComponents();
7185
7181
  }
7186
- getLibrarySummaries() {
7187
- throw new Error("Method not implemented.");
7188
- }
7189
- getEmittedGeneratedFiles() {
7190
- throw new Error("Method not implemented.");
7191
- }
7192
7182
  getEmittedSourceFiles() {
7193
7183
  throw new Error("Method not implemented.");
7194
7184
  }
@@ -7206,21 +7196,16 @@ function mergeEmitResults(emitResults) {
7206
7196
  return { diagnostics, emitSkipped, emittedFiles };
7207
7197
  }
7208
7198
 
7209
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7210
- var VE_DISABLED_MESSAGE = `
7211
- This compilation is using the View Engine compiler which is no longer supported by the Angular team
7212
- and is being removed. Please upgrade to the Ivy compiler by switching to \`NgtscProgram\`. See
7213
- https://angular.io/guide/ivy for more information.
7214
- `.trim().split("\n").join(" ");
7199
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7215
7200
  function createProgram({ rootNames, options, host, oldProgram }) {
7216
- if (options.enableIvy !== false) {
7217
- return new NgtscProgram(rootNames, options, host, oldProgram);
7218
- } else {
7219
- throw new Error(VE_DISABLED_MESSAGE);
7220
- }
7201
+ return new NgtscProgram(rootNames, options, host, oldProgram);
7221
7202
  }
7222
7203
 
7223
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7204
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7205
+ import { isSyntaxError } from "@angular/compiler";
7206
+ import ts37 from "typescript";
7207
+
7208
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7224
7209
  import ts36 from "typescript";
7225
7210
  var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
7226
7211
  function createMessageDiagnostic(messageText) {
@@ -7234,88 +7219,16 @@ function createMessageDiagnostic(messageText) {
7234
7219
  source: SOURCE
7235
7220
  };
7236
7221
  }
7237
- function ngToTsDiagnostic(ng2) {
7238
- let file;
7239
- let start;
7240
- let length;
7241
- if (ng2.span) {
7242
- file = { fileName: ng2.span.start.file.url, text: ng2.span.start.file.content };
7243
- start = ng2.span.start.offset;
7244
- length = ng2.span.end.offset - start;
7245
- }
7246
- return {
7247
- file,
7248
- messageText: ng2.messageText,
7249
- category: ng2.category,
7250
- code: ng2.code,
7251
- start,
7252
- length
7253
- };
7254
- }
7255
7222
 
7256
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7257
- import { isSyntaxError } from "@angular/compiler";
7258
- import ts37 from "typescript";
7223
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7259
7224
  var defaultFormatHost = {
7260
7225
  getCurrentDirectory: () => ts37.sys.getCurrentDirectory(),
7261
7226
  getCanonicalFileName: (fileName) => fileName,
7262
7227
  getNewLine: () => ts37.sys.newLine
7263
7228
  };
7264
- function displayFileName(fileName, host) {
7265
- return relative(resolve(host.getCurrentDirectory()), resolve(host.getCanonicalFileName(fileName)));
7266
- }
7267
- function formatDiagnosticPosition(position, host = defaultFormatHost) {
7268
- return `${displayFileName(position.fileName, host)}(${position.line + 1},${position.column + 1})`;
7269
- }
7270
- function flattenDiagnosticMessageChain(chain, host = defaultFormatHost, indent = 0) {
7271
- const newLine = host.getNewLine();
7272
- let result = "";
7273
- if (indent) {
7274
- result += newLine;
7275
- for (let i = 0; i < indent; i++) {
7276
- result += " ";
7277
- }
7278
- }
7279
- result += chain.messageText;
7280
- const position = chain.position;
7281
- if (position && indent !== 0) {
7282
- result += ` at ${formatDiagnosticPosition(position, host)}`;
7283
- }
7284
- indent++;
7285
- if (chain.next) {
7286
- for (const kid of chain.next) {
7287
- result += flattenDiagnosticMessageChain(kid, host, indent);
7288
- }
7289
- }
7290
- return result;
7291
- }
7292
- function formatDiagnostic(diagnostic, host = defaultFormatHost) {
7293
- let result = "";
7294
- const newLine = host.getNewLine();
7295
- const span = diagnostic.span;
7296
- if (span) {
7297
- result += `${formatDiagnosticPosition({ fileName: span.start.file.url, line: span.start.line, column: span.start.col }, host)}: `;
7298
- } else if (diagnostic.position) {
7299
- result += `${formatDiagnosticPosition(diagnostic.position, host)}: `;
7300
- }
7301
- if (diagnostic.span && diagnostic.span.details) {
7302
- result += `${diagnostic.span.details}, ${diagnostic.messageText}${newLine}`;
7303
- } else if (diagnostic.chain) {
7304
- result += `${flattenDiagnosticMessageChain(diagnostic.chain, host)}.${newLine}`;
7305
- } else {
7306
- result += `${diagnostic.messageText}${newLine}`;
7307
- }
7308
- return result;
7309
- }
7310
7229
  function formatDiagnostics(diags, host = defaultFormatHost) {
7311
7230
  if (diags && diags.length) {
7312
- return diags.map((diagnostic) => {
7313
- if (isTsDiagnostic(diagnostic)) {
7314
- return replaceTsWithNgInErrors(ts37.formatDiagnosticsWithColorAndContext([diagnostic], host));
7315
- } else {
7316
- return formatDiagnostic(diagnostic, host);
7317
- }
7318
- }).join("");
7231
+ return diags.map((diagnostic) => replaceTsWithNgInErrors(ts37.formatDiagnosticsWithColorAndContext([diagnostic], host))).join("");
7319
7232
  } else {
7320
7233
  return "";
7321
7234
  }
@@ -7460,7 +7373,14 @@ function performCompilation({ rootNames, options, host, oldProgram, emitCallback
7460
7373
  program = void 0;
7461
7374
  code = UNKNOWN_ERROR_CODE;
7462
7375
  }
7463
- allDiagnostics.push({ category: ts37.DiagnosticCategory.Error, messageText: errMsg, code, source: SOURCE });
7376
+ allDiagnostics.push({
7377
+ category: ts37.DiagnosticCategory.Error,
7378
+ messageText: errMsg,
7379
+ code,
7380
+ file: void 0,
7381
+ start: void 0,
7382
+ length: void 0
7383
+ });
7464
7384
  return { diagnostics: allDiagnostics, program };
7465
7385
  }
7466
7386
  }
@@ -7489,7 +7409,6 @@ export {
7489
7409
  UNKNOWN_ERROR_CODE,
7490
7410
  SOURCE,
7491
7411
  isTsDiagnostic,
7492
- isNgDiagnostic,
7493
7412
  EmitFlags,
7494
7413
  createCompilerHost,
7495
7414
  CycleAnalyzer,
@@ -7509,10 +7428,6 @@ export {
7509
7428
  createProgram,
7510
7429
  GENERATED_FILES,
7511
7430
  createMessageDiagnostic,
7512
- ngToTsDiagnostic,
7513
- formatDiagnosticPosition,
7514
- flattenDiagnosticMessageChain,
7515
- formatDiagnostic,
7516
7431
  formatDiagnostics,
7517
7432
  calcProjectFileAndBasePath,
7518
7433
  readConfiguration,
@@ -7528,4 +7443,4 @@ export {
7528
7443
  * found in the LICENSE file at https://angular.io/license
7529
7444
  */
7530
7445
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7531
- //# sourceMappingURL=chunk-COAETSNP.js.map
7446
+ //# sourceMappingURL=chunk-P5ZW5MI4.js.map