@angular/compiler-cli 18.1.0-next.0 → 18.1.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 (57) hide show
  1. package/bundles/chunk-4HWDU6FJ.js +4610 -0
  2. package/bundles/chunk-4HWDU6FJ.js.map +6 -0
  3. package/bundles/{chunk-EU3OILAK.js → chunk-54G5EVKM.js} +7 -7
  4. package/bundles/{chunk-5ZVL2ETT.js → chunk-CK5W7X4H.js} +13 -13
  5. package/bundles/{chunk-IJ3MFF2U.js → chunk-CWU65S2B.js} +6558 -296
  6. package/bundles/chunk-CWU65S2B.js.map +6 -0
  7. package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
  8. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  9. package/bundles/{chunk-KZJWSJUK.js → chunk-MLEQATX2.js} +5 -5
  10. package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
  11. package/bundles/{chunk-COIAXMXY.js → chunk-YPERM5UE.js} +46 -43
  12. package/bundles/chunk-YPERM5UE.js.map +6 -0
  13. package/bundles/{chunk-PRZ3KEOO.js → chunk-Z34L7JZH.js} +31 -31
  14. package/bundles/index.js +15 -16
  15. package/bundles/index.js.map +1 -1
  16. package/bundles/linker/babel/index.js +12 -12
  17. package/bundles/linker/index.js +4 -4
  18. package/bundles/ngcc/index.js +1 -1
  19. package/bundles/private/bazel.js +1 -1
  20. package/bundles/private/localize.js +3 -3
  21. package/bundles/private/migrations.js +6 -8
  22. package/bundles/private/tooling.js +5 -5
  23. package/bundles/src/bin/ng_xi18n.js +9 -10
  24. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  25. package/bundles/src/bin/ngc.js +7 -8
  26. package/bundles/src/bin/ngc.js.map +1 -1
  27. package/bundles_metadata.json +1 -1
  28. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  29. package/package.json +3 -3
  30. package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
  31. package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
  32. package/src/ngtsc/core/src/compiler.d.ts +1 -0
  33. package/src/ngtsc/diagnostics/src/error_code.d.ts +6 -0
  34. package/src/ngtsc/indexer/src/api.d.ts +8 -3
  35. package/src/ngtsc/typecheck/api/checker.d.ts +2 -2
  36. package/src/ngtsc/typecheck/api/completion.d.ts +15 -4
  37. package/src/ngtsc/typecheck/api/symbols.d.ts +28 -3
  38. package/src/ngtsc/typecheck/index.d.ts +1 -1
  39. package/src/ngtsc/typecheck/src/checker.d.ts +2 -2
  40. package/src/ngtsc/typecheck/src/context.d.ts +1 -1
  41. package/src/ngtsc/typecheck/src/oob.d.ts +16 -1
  42. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +4 -3
  43. package/src/ngtsc/typecheck/src/ts_util.d.ts +1 -1
  44. package/src/ngtsc/typecheck/src/type_check_block.d.ts +13 -2
  45. package/bundles/chunk-6AZ42I2O.js +0 -62
  46. package/bundles/chunk-6AZ42I2O.js.map +0 -6
  47. package/bundles/chunk-A2WCUOS3.js +0 -10679
  48. package/bundles/chunk-A2WCUOS3.js.map +0 -6
  49. package/bundles/chunk-COIAXMXY.js.map +0 -6
  50. package/bundles/chunk-IJ3MFF2U.js.map +0 -6
  51. /package/bundles/{chunk-EU3OILAK.js.map → chunk-54G5EVKM.js.map} +0 -0
  52. /package/bundles/{chunk-5ZVL2ETT.js.map → chunk-CK5W7X4H.js.map} +0 -0
  53. /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
  54. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  55. /package/bundles/{chunk-KZJWSJUK.js.map → chunk-MLEQATX2.js.map} +0 -0
  56. /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
  57. /package/bundles/{chunk-PRZ3KEOO.js.map → chunk-Z34L7JZH.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
7
7
  var PerfPhase;
8
8
  (function(PerfPhase2) {
9
9
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -71,7 +71,7 @@ var PerfCheckpoint;
71
71
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
72
72
  })(PerfCheckpoint || (PerfCheckpoint = {}));
73
73
 
74
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
75
75
  var NoopPerfRecorder = class {
76
76
  eventCount() {
77
77
  }
@@ -88,7 +88,7 @@ var NoopPerfRecorder = class {
88
88
  };
89
89
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
90
90
 
91
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
91
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
92
92
  function mark() {
93
93
  return process.hrtime();
94
94
  }
@@ -97,7 +97,7 @@ function timeSinceInMicros(mark2) {
97
97
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
98
98
  }
99
99
 
100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
100
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
101
101
  var ActivePerfRecorder = class {
102
102
  static zeroedToNow() {
103
103
  return new ActivePerfRecorder(mark());
@@ -205,4 +205,4 @@ export {
205
205
  * Use of this source code is governed by an MIT-style license that can be
206
206
  * found in the LICENSE file at https://angular.io/license
207
207
  */
208
- //# sourceMappingURL=chunk-AQFTVE7F.js.map
208
+ //# sourceMappingURL=chunk-JZQHA4E7.js.map
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
7
7
  var LogLevel;
8
8
  (function(LogLevel2) {
9
9
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -12,7 +12,7 @@ var LogLevel;
12
12
  LogLevel2[LogLevel2["error"] = 3] = "error";
13
13
  })(LogLevel || (LogLevel = {}));
14
14
 
15
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
15
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
16
16
  var RESET = "\x1B[0m";
17
17
  var RED = "\x1B[31m";
18
18
  var YELLOW = "\x1B[33m";
@@ -53,4 +53,4 @@ export {
53
53
  * Use of this source code is governed by an MIT-style license that can be
54
54
  * found in the LICENSE file at https://angular.io/license
55
55
  */
56
- //# sourceMappingURL=chunk-SBDNBITT.js.map
56
+ //# sourceMappingURL=chunk-LYJKWJUC.js.map
@@ -12,13 +12,13 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-A2WCUOS3.js";
15
+ } from "./chunk-4HWDU6FJ.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
18
  import ts2 from "typescript";
19
19
  import yargs from "yargs";
20
20
 
21
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
21
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
22
22
  import * as chokidar from "chokidar";
23
23
  import * as path from "path";
24
24
  import ts from "typescript";
@@ -242,7 +242,7 @@ function performWatchCompilation(host) {
242
242
  }
243
243
  }
244
244
 
245
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
245
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
246
246
  function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
247
247
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
248
248
  if (configErrors.length) {
@@ -363,4 +363,4 @@ export {
363
363
  * Use of this source code is governed by an MIT-style license that can be
364
364
  * found in the LICENSE file at https://angular.io/license
365
365
  */
366
- //# sourceMappingURL=chunk-KZJWSJUK.js.map
366
+ //# sourceMappingURL=chunk-MLEQATX2.js.map
@@ -3,11 +3,11 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
7
7
  import { decode, encode } from "@jridgewell/sourcemap-codec";
8
8
  import mapHelpers from "convert-source-map";
9
9
 
10
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
11
11
  function compareSegments(a, b) {
12
12
  return a.position - b.position;
13
13
  }
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
27
27
  return { line, column, position, next: void 0 };
28
28
  }
29
29
 
30
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
30
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
31
31
  function removeSourceMapComments(contents) {
32
32
  return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
33
33
  }
@@ -278,10 +278,10 @@ var Cache = class {
278
278
  }
279
279
  };
280
280
 
281
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
282
282
  import mapHelpers2 from "convert-source-map";
283
283
 
284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
284
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
285
285
  var ContentOrigin;
286
286
  (function(ContentOrigin2) {
287
287
  ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
@@ -289,7 +289,7 @@ var ContentOrigin;
289
289
  ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
290
290
  })(ContentOrigin || (ContentOrigin = {}));
291
291
 
292
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
293
293
  var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
294
294
  var SourceFileLoader = class {
295
295
  constructor(fs, logger, schemeMap) {
@@ -419,4 +419,4 @@ export {
419
419
  * Use of this source code is governed by an MIT-style license that can be
420
420
  * found in the LICENSE file at https://angular.io/license
421
421
  */
422
- //# sourceMappingURL=chunk-WR7TUJ7M.js.map
422
+ //# sourceMappingURL=chunk-QYV344EV.js.map
@@ -12,12 +12,12 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-EU3OILAK.js";
15
+ } from "./chunk-54G5EVKM.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
18
18
  import ts from "typescript";
19
19
 
20
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
21
21
  var ErrorCode;
22
22
  (function(ErrorCode2) {
23
23
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -88,6 +88,9 @@ var ErrorCode;
88
88
  ErrorCode2[ErrorCode2["DEFERRED_PIPE_USED_EAGERLY"] = 8012] = "DEFERRED_PIPE_USED_EAGERLY";
89
89
  ErrorCode2[ErrorCode2["DEFERRED_DIRECTIVE_USED_EAGERLY"] = 8013] = "DEFERRED_DIRECTIVE_USED_EAGERLY";
90
90
  ErrorCode2[ErrorCode2["DEFERRED_DEPENDENCY_IMPORTED_EAGERLY"] = 8014] = "DEFERRED_DEPENDENCY_IMPORTED_EAGERLY";
91
+ ErrorCode2[ErrorCode2["ILLEGAL_LET_WRITE"] = 8015] = "ILLEGAL_LET_WRITE";
92
+ ErrorCode2[ErrorCode2["LET_USED_BEFORE_DEFINITION"] = 8016] = "LET_USED_BEFORE_DEFINITION";
93
+ ErrorCode2[ErrorCode2["DUPLICATE_LET_DECLARATION"] = 8017] = "DUPLICATE_LET_DECLARATION";
91
94
  ErrorCode2[ErrorCode2["INVALID_BANANA_IN_BOX"] = 8101] = "INVALID_BANANA_IN_BOX";
92
95
  ErrorCode2[ErrorCode2["NULLISH_COALESCING_NOT_NULLABLE"] = 8102] = "NULLISH_COALESCING_NOT_NULLABLE";
93
96
  ErrorCode2[ErrorCode2["MISSING_CONTROL_FLOW_DIRECTIVE"] = 8103] = "MISSING_CONTROL_FLOW_DIRECTIVE";
@@ -107,7 +110,7 @@ var ErrorCode;
107
110
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
108
111
  })(ErrorCode || (ErrorCode = {}));
109
112
 
110
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
111
114
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
112
115
  function replaceTsWithNgInErrors(errors) {
113
116
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -116,7 +119,7 @@ function ngErrorCode(code) {
116
119
  return parseInt("-99" + code);
117
120
  }
118
121
 
119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
122
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
120
123
  var FatalDiagnosticError = class extends Error {
121
124
  constructor(code, node, diagnosticMessage, relatedInformation) {
122
125
  super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
@@ -180,7 +183,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
180
183
  return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
181
184
  }
182
185
 
183
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
186
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
184
187
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
185
188
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
186
189
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -192,10 +195,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
192
195
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
193
196
  ]);
194
197
 
195
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
198
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
196
199
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
197
200
 
198
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
199
202
  var ExtendedTemplateDiagnosticName;
200
203
  (function(ExtendedTemplateDiagnosticName2) {
201
204
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -210,10 +213,10 @@ var ExtendedTemplateDiagnosticName;
210
213
  ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
211
214
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
212
215
 
213
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
216
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
214
217
  import ts5 from "typescript";
215
218
 
216
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
217
220
  import ts2 from "typescript";
218
221
  function isDecoratorIdentifier(exp) {
219
222
  return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
@@ -236,7 +239,7 @@ var ClassMemberAccessLevel;
236
239
  })(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
237
240
  var AmbientImport = {};
238
241
 
239
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
240
243
  import ts3 from "typescript";
241
244
  function typeToValue(typeNode, checker, isLocalCompilation) {
242
245
  var _a, _b;
@@ -420,7 +423,7 @@ function extractModuleName(node) {
420
423
  return node.moduleSpecifier.text;
421
424
  }
422
425
 
423
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
426
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
424
427
  import ts4 from "typescript";
425
428
  function isNamedClassDeclaration(node) {
426
429
  return ts4.isClassDeclaration(node) && isIdentifier(node.name);
@@ -444,7 +447,7 @@ function classMemberAccessLevelToString(level) {
444
447
  }
445
448
  }
446
449
 
447
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
450
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
448
451
  var TypeScriptReflectionHost = class {
449
452
  constructor(checker, isLocalCompilation = false) {
450
453
  this.checker = checker;
@@ -932,7 +935,7 @@ function getExportedName(decl, originalId) {
932
935
  }
933
936
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
934
937
 
935
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
938
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
936
939
  import ts6 from "typescript";
937
940
  var TS = /\.tsx?$/i;
938
941
  var D_TS = /\.d\.ts$/i;
@@ -1033,7 +1036,7 @@ function toUnredirectedSourceFile(sf) {
1033
1036
  return redirectInfo.unredirected;
1034
1037
  }
1035
1038
 
1036
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1037
1040
  var Reference = class {
1038
1041
  constructor(node, bestGuessOwningModule = null) {
1039
1042
  this.node = node;
@@ -1102,14 +1105,14 @@ var Reference = class {
1102
1105
  }
1103
1106
  };
1104
1107
 
1105
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1108
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1106
1109
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1107
1110
 
1108
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1111
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1109
1112
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
1110
1113
  import ts7 from "typescript";
1111
1114
 
1112
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1115
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1113
1116
  function findExportedNameOfNode(target, file, reflector) {
1114
1117
  const exports = reflector.getExportsOfModule(file);
1115
1118
  if (exports === null) {
@@ -1129,7 +1132,7 @@ function findExportedNameOfNode(target, file, reflector) {
1129
1132
  return foundExportName;
1130
1133
  }
1131
1134
 
1132
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1135
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1133
1136
  var ImportFlags;
1134
1137
  (function(ImportFlags2) {
1135
1138
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -1360,7 +1363,7 @@ var UnifiedModulesStrategy = class {
1360
1363
  }
1361
1364
  };
1362
1365
 
1363
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1366
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1364
1367
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
1365
1368
  var UnifiedModulesAliasingHost = class {
1366
1369
  constructor(unifiedModulesHost) {
@@ -1427,7 +1430,7 @@ var AliasStrategy = class {
1427
1430
  }
1428
1431
  };
1429
1432
 
1430
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1433
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1431
1434
  function relativePathBetween(from, to) {
1432
1435
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
1433
1436
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -1436,7 +1439,7 @@ function normalizeSeparators(path) {
1436
1439
  return path.replace(/\\/g, "/");
1437
1440
  }
1438
1441
 
1439
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1442
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1440
1443
  var NoopImportRewriter = class {
1441
1444
  rewriteSymbol(symbol, specifier) {
1442
1445
  return symbol;
@@ -1489,7 +1492,7 @@ function validateAndRewriteCoreSymbol(name) {
1489
1492
  return CORE_SUPPORTED_SYMBOLS.get(name);
1490
1493
  }
1491
1494
 
1492
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1495
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1493
1496
  import ts8 from "typescript";
1494
1497
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
1495
1498
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -1524,7 +1527,7 @@ function throwIncompatibleTransformationContextError() {
1524
1527
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
1525
1528
  }
1526
1529
 
1527
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1530
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1528
1531
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
1529
1532
  function attachDefaultImportDeclaration(expr, importDecl) {
1530
1533
  expr[DefaultImportDeclaration] = importDecl;
@@ -1565,7 +1568,7 @@ var DefaultImportTracker = class {
1565
1568
  }
1566
1569
  };
1567
1570
 
1568
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1571
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1569
1572
  import ts9 from "typescript";
1570
1573
  var AssumeEager = "AssumeEager";
1571
1574
  var DeferredSymbolTracker = class {
@@ -1686,7 +1689,7 @@ var DeferredSymbolTracker = class {
1686
1689
  }
1687
1690
  };
1688
1691
 
1689
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1692
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1690
1693
  import ts10 from "typescript";
1691
1694
  var ImportedSymbolsTracker = class {
1692
1695
  constructor() {
@@ -1756,7 +1759,7 @@ var ImportedSymbolsTracker = class {
1756
1759
  }
1757
1760
  };
1758
1761
 
1759
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1762
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1760
1763
  import ts11 from "typescript";
1761
1764
  var LocalCompilationExtraImportsTracker = class {
1762
1765
  constructor(typeChecker) {
@@ -1807,7 +1810,7 @@ function removeQuotations(s) {
1807
1810
  return s.substring(1, s.length - 1).trim();
1808
1811
  }
1809
1812
 
1810
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1813
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1811
1814
  var ModuleResolver = class {
1812
1815
  constructor(program, compilerOptions, host, moduleResolutionCache) {
1813
1816
  this.program = program;
@@ -1824,10 +1827,10 @@ var ModuleResolver = class {
1824
1827
  }
1825
1828
  };
1826
1829
 
1827
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1830
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1828
1831
  import ts16 from "typescript";
1829
1832
 
1830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1833
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1831
1834
  import ts12 from "typescript";
1832
1835
  function createGenerateUniqueIdentifierHelper() {
1833
1836
  const generatedIdentifiers = /* @__PURE__ */ new Set();
@@ -1851,7 +1854,7 @@ function createGenerateUniqueIdentifierHelper() {
1851
1854
  };
1852
1855
  }
1853
1856
 
1854
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1857
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1855
1858
  import ts13 from "typescript";
1856
1859
  function createTsTransformForImportManager(manager, extraStatementsForFiles) {
1857
1860
  return (ctx) => {
@@ -1912,7 +1915,7 @@ function isImportStatement(stmt) {
1912
1915
  return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
1913
1916
  }
1914
1917
 
1915
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1918
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1916
1919
  import ts14 from "typescript";
1917
1920
  function attemptToReuseGeneratedImports(tracker, request) {
1918
1921
  const requestHash = hashImportRequest(request);
@@ -1939,7 +1942,7 @@ function hashImportRequest(req) {
1939
1942
  return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
1940
1943
  }
1941
1944
 
1942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1945
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1943
1946
  import ts15 from "typescript";
1944
1947
  function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
1945
1948
  let candidateImportToBeUpdated = null;
@@ -1992,7 +1995,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
1992
1995
  return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
1993
1996
  }
1994
1997
 
1995
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1998
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1996
1999
  var presetImportManagerForceNamespaceImports = {
1997
2000
  disableOriginalSourceFileReuse: true,
1998
2001
  forceGenerateNamespacesForNewImports: true
@@ -2142,7 +2145,7 @@ function createImportReference(asTypeReference, ref) {
2142
2145
  }
2143
2146
  }
2144
2147
 
2145
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2148
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2146
2149
  var Context = class {
2147
2150
  constructor(isStatement) {
2148
2151
  this.isStatement = isStatement;
@@ -2155,7 +2158,7 @@ var Context = class {
2155
2158
  }
2156
2159
  };
2157
2160
 
2158
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2161
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2159
2162
  import * as o from "@angular/compiler";
2160
2163
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
2161
2164
  [o.UnaryOperator.Minus, "-"],
@@ -2401,7 +2404,7 @@ function createRange(span) {
2401
2404
  };
2402
2405
  }
2403
2406
 
2404
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2407
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2405
2408
  import ts17 from "typescript";
2406
2409
  var INELIGIBLE = {};
2407
2410
  function canEmitType(type, canEmit) {
@@ -2476,11 +2479,11 @@ var TypeEmitter = class {
2476
2479
  }
2477
2480
  };
2478
2481
 
2479
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2482
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2480
2483
  import * as o2 from "@angular/compiler";
2481
2484
  import ts19 from "typescript";
2482
2485
 
2483
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2486
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2484
2487
  import ts18 from "typescript";
2485
2488
  function tsNumericExpression(value) {
2486
2489
  if (value < 0) {
@@ -2490,7 +2493,7 @@ function tsNumericExpression(value) {
2490
2493
  return ts18.factory.createNumericLiteral(value);
2491
2494
  }
2492
2495
 
2493
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2496
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2494
2497
  function translateType(type, contextFile, reflector, refEmitter, imports) {
2495
2498
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
2496
2499
  }
@@ -2707,7 +2710,7 @@ var TypeTranslatorVisitor = class {
2707
2710
  }
2708
2711
  };
2709
2712
 
2710
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2713
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2711
2714
  import ts20 from "typescript";
2712
2715
  var PureAnnotation;
2713
2716
  (function(PureAnnotation2) {
@@ -2910,7 +2913,7 @@ function attachComments(statement, leadingComments) {
2910
2913
  }
2911
2914
  }
2912
2915
 
2913
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
2916
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
2914
2917
  function translateExpression(contextFile, expression, imports, options = {}) {
2915
2918
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
2916
2919
  }
@@ -3007,4 +3010,4 @@ export {
3007
3010
  * Use of this source code is governed by an MIT-style license that can be
3008
3011
  * found in the LICENSE file at https://angular.io/license
3009
3012
  */
3010
- //# sourceMappingURL=chunk-COIAXMXY.js.map
3013
+ //# sourceMappingURL=chunk-YPERM5UE.js.map