@angular/compiler-cli 14.2.0-next.1 → 14.2.0-rc.0

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 (64) hide show
  1. package/bundles/{chunk-IJA2BQQH.js → chunk-3GWIAJ6N.js} +28 -14
  2. package/bundles/chunk-3GWIAJ6N.js.map +6 -0
  3. package/bundles/{chunk-S4JINNFN.js → chunk-4NRCP3Y6.js} +7 -7
  4. package/bundles/{chunk-S4JINNFN.js.map → chunk-4NRCP3Y6.js.map} +0 -0
  5. package/bundles/{chunk-I34YWN6W.js → chunk-4OBZ37XJ.js} +115 -110
  6. package/bundles/chunk-4OBZ37XJ.js.map +6 -0
  7. package/bundles/{chunk-Z57D3OKU.js → chunk-56O2PTWU.js} +7 -7
  8. package/bundles/{chunk-Z57D3OKU.js.map → chunk-56O2PTWU.js.map} +0 -0
  9. package/bundles/{chunk-HZ5F54TQ.js → chunk-5D4YK7IY.js} +5 -5
  10. package/bundles/{chunk-HZ5F54TQ.js.map → chunk-5D4YK7IY.js.map} +0 -0
  11. package/bundles/{chunk-4SINIALN.js → chunk-5FZBUSFV.js} +3 -3
  12. package/bundles/{chunk-4SINIALN.js.map → chunk-5FZBUSFV.js.map} +0 -0
  13. package/bundles/{chunk-TXUURHQE.js → chunk-B7JAY2ME.js} +40 -40
  14. package/bundles/{chunk-TXUURHQE.js.map → chunk-B7JAY2ME.js.map} +0 -0
  15. package/bundles/chunk-CLRZAXXE.js +89 -0
  16. package/bundles/chunk-CLRZAXXE.js.map +6 -0
  17. package/bundles/{chunk-GQHLKW4T.js → chunk-DEPZI7L5.js} +31 -31
  18. package/bundles/{chunk-GQHLKW4T.js.map → chunk-DEPZI7L5.js.map} +0 -0
  19. package/bundles/{chunk-WJ34B4FT.js → chunk-F25ME2LE.js} +75 -71
  20. package/bundles/chunk-F25ME2LE.js.map +6 -0
  21. package/bundles/{chunk-SJL5HBUW.js → chunk-HMWNYAAE.js} +2 -2
  22. package/bundles/{chunk-SJL5HBUW.js.map → chunk-HMWNYAAE.js.map} +0 -0
  23. package/bundles/{chunk-N2MCMY3J.js → chunk-ICPLY7FO.js} +4 -4
  24. package/bundles/{chunk-N2MCMY3J.js.map → chunk-ICPLY7FO.js.map} +0 -0
  25. package/bundles/{chunk-ZSQCUET7.js → chunk-KL7KPCG5.js} +116 -95
  26. package/bundles/chunk-KL7KPCG5.js.map +6 -0
  27. package/bundles/{chunk-AMYIDAXN.js → chunk-NJ2FQOJT.js} +17 -12
  28. package/bundles/chunk-NJ2FQOJT.js.map +6 -0
  29. package/bundles/{chunk-CTEVZGOM.js → chunk-RCXOJZDO.js} +5 -5
  30. package/bundles/{chunk-CTEVZGOM.js.map → chunk-RCXOJZDO.js.map} +0 -0
  31. package/bundles/{chunk-AHYRDQYO.js → chunk-XR6BVLNN.js} +26 -26
  32. package/bundles/{chunk-AHYRDQYO.js.map → chunk-XR6BVLNN.js.map} +1 -1
  33. package/bundles/index.js +13 -12
  34. package/bundles/index.js.map +1 -1
  35. package/bundles/linker/babel/index.js +13 -12
  36. package/bundles/linker/babel/index.js.map +1 -1
  37. package/bundles/linker/index.js +5 -4
  38. package/bundles/ngcc/index.js +13 -12
  39. package/bundles/ngcc/index.js.map +1 -1
  40. package/bundles/ngcc/main-ngcc.js +14 -13
  41. package/bundles/ngcc/main-ngcc.js.map +1 -1
  42. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -13
  43. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  44. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  45. package/bundles/private/bazel.js +1 -1
  46. package/bundles/private/localize.js +3 -3
  47. package/bundles/private/migrations.js +6 -5
  48. package/bundles/private/migrations.js.map +1 -1
  49. package/bundles/private/tooling.js +3 -2
  50. package/bundles/src/bin/ng_xi18n.js +11 -10
  51. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  52. package/bundles/src/bin/ngc.js +9 -8
  53. package/bundles/src/bin/ngc.js.map +1 -1
  54. package/bundles_metadata.json +1 -1
  55. package/ngcc/src/packages/build_marker.d.ts +1 -1
  56. package/package.json +3 -3
  57. package/src/ngtsc/ts_compatibility/index.d.ts +9 -0
  58. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +127 -0
  59. package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -7
  60. package/bundles/chunk-AMYIDAXN.js.map +0 -6
  61. package/bundles/chunk-I34YWN6W.js.map +0 -6
  62. package/bundles/chunk-IJA2BQQH.js.map +0 -6
  63. package/bundles/chunk-WJ34B4FT.js.map +0 -6
  64. package/bundles/chunk-ZSQCUET7.js.map +0 -6
@@ -30,11 +30,11 @@ import {
30
30
  aliasTransformFactory,
31
31
  declarationTransformFactory,
32
32
  ivyTransformFactory
33
- } from "./chunk-ZSQCUET7.js";
33
+ } from "./chunk-KL7KPCG5.js";
34
34
  import {
35
35
  TypeScriptReflectionHost,
36
36
  isNamedClassDeclaration
37
- } from "./chunk-AMYIDAXN.js";
37
+ } from "./chunk-NJ2FQOJT.js";
38
38
  import {
39
39
  AbsoluteModuleStrategy,
40
40
  AliasStrategy,
@@ -73,7 +73,13 @@ import {
73
73
  toUnredirectedSourceFile,
74
74
  translateExpression,
75
75
  translateType
76
- } from "./chunk-AHYRDQYO.js";
76
+ } from "./chunk-XR6BVLNN.js";
77
+ import {
78
+ getDecorators,
79
+ getModifiers,
80
+ updateImportDeclaration,
81
+ updateTypeParameterDeclaration
82
+ } from "./chunk-CLRZAXXE.js";
77
83
  import {
78
84
  LogicalFileSystem,
79
85
  absoluteFrom,
@@ -84,16 +90,16 @@ import {
84
90
  getSourceFileOrError,
85
91
  join,
86
92
  resolve
87
- } from "./chunk-S4JINNFN.js";
93
+ } from "./chunk-4NRCP3Y6.js";
88
94
  import {
89
95
  ActivePerfRecorder,
90
96
  DelegatingPerfRecorder,
91
97
  PerfCheckpoint,
92
98
  PerfEvent,
93
99
  PerfPhase
94
- } from "./chunk-CTEVZGOM.js";
100
+ } from "./chunk-RCXOJZDO.js";
95
101
 
96
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
102
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
97
103
  var DEFAULT_ERROR_CODE = 100;
98
104
  var UNKNOWN_ERROR_CODE = 500;
99
105
  var SOURCE = "angular";
@@ -111,7 +117,7 @@ var EmitFlags;
111
117
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
112
118
  })(EmitFlags || (EmitFlags = {}));
113
119
 
114
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
120
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
115
121
  import ts from "typescript";
116
122
  var wrapHostForTest = null;
117
123
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -121,21 +127,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
121
127
  return tsHost;
122
128
  }
123
129
 
124
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
130
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
125
131
  var OptimizeFor;
126
132
  (function(OptimizeFor2) {
127
133
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
128
134
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
129
135
  })(OptimizeFor || (OptimizeFor = {}));
130
136
 
131
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
137
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
132
138
  var CompletionKind;
133
139
  (function(CompletionKind2) {
134
140
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
135
141
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
136
142
  })(CompletionKind || (CompletionKind = {}));
137
143
 
138
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
144
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
139
145
  var SymbolKind;
140
146
  (function(SymbolKind2) {
141
147
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -151,11 +157,11 @@ var SymbolKind;
151
157
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
152
158
  })(SymbolKind || (SymbolKind = {}));
153
159
 
154
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
160
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
155
161
  import { HtmlParser, MessageBundle } from "@angular/compiler";
156
162
  import ts34 from "typescript";
157
163
 
158
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
164
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
159
165
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
160
166
  import * as path from "path";
161
167
  function i18nGetExtension(formatName) {
@@ -206,10 +212,10 @@ function getPathNormalizer(basePath) {
206
212
  };
207
213
  }
208
214
 
209
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
215
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
210
216
  import ts2 from "typescript";
211
217
 
212
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
218
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
213
219
  function toNumbers(value) {
214
220
  const suffixIndex = value.lastIndexOf("-");
215
221
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -244,9 +250,9 @@ function compareVersions(v1, v2) {
244
250
  return compareNumbers(toNumbers(v1), toNumbers(v2));
245
251
  }
246
252
 
247
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
253
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
248
254
  var MIN_TS_VERSION = "4.6.2";
249
- var MAX_TS_VERSION = "4.8.0";
255
+ var MAX_TS_VERSION = "4.9.0";
250
256
  var tsVersion = ts2.version;
251
257
  function checkVersion(version, minVersion, maxVersion) {
252
258
  if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
@@ -257,10 +263,10 @@ function verifySupportedTypeScriptVersion() {
257
263
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
258
264
  }
259
265
 
260
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
266
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
261
267
  import ts32 from "typescript";
262
268
 
263
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
269
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
264
270
  var CycleAnalyzer = class {
265
271
  constructor(importGraph) {
266
272
  this.importGraph = importGraph;
@@ -331,7 +337,7 @@ var Cycle = class {
331
337
  }
332
338
  };
333
339
 
334
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
340
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
335
341
  import ts3 from "typescript";
336
342
  var ImportGraph = class {
337
343
  constructor(checker, perf) {
@@ -423,7 +429,7 @@ var Found = class {
423
429
  }
424
430
  };
425
431
 
426
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
432
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
427
433
  import ts4 from "typescript";
428
434
  var FlatIndexGenerator = class {
429
435
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -448,7 +454,7 @@ export * from '${relativeEntryPoint}';
448
454
  }
449
455
  };
450
456
 
451
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
457
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
452
458
  function findFlatIndexEntryPoint(rootFiles) {
453
459
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
454
460
  let resolvedEntryPoint = null;
@@ -464,7 +470,7 @@ function findFlatIndexEntryPoint(rootFiles) {
464
470
  return resolvedEntryPoint;
465
471
  }
466
472
 
467
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
473
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
468
474
  import ts5 from "typescript";
469
475
  function checkForPrivateExports(entryPoint, checker, refGraph) {
470
476
  const diagnostics = [];
@@ -544,7 +550,7 @@ function getDescriptorOfDeclaration(decl) {
544
550
  }
545
551
  }
546
552
 
547
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
553
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
548
554
  var ReferenceGraph = class {
549
555
  constructor() {
550
556
  this.references = /* @__PURE__ */ new Map();
@@ -598,7 +604,7 @@ var ReferenceGraph = class {
598
604
  }
599
605
  };
600
606
 
601
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
607
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
602
608
  var NgOriginalFile = Symbol("NgOriginalFile");
603
609
  var UpdateMode;
604
610
  (function(UpdateMode2) {
@@ -606,13 +612,13 @@ var UpdateMode;
606
612
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
607
613
  })(UpdateMode || (UpdateMode = {}));
608
614
 
609
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
615
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
610
616
  import ts9 from "typescript";
611
617
 
612
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
618
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
613
619
  import ts6 from "typescript";
614
620
 
615
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
621
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
616
622
  var NgExtension = Symbol("NgExtension");
617
623
  function isExtended(sf) {
618
624
  return sf[NgExtension] !== void 0;
@@ -672,7 +678,7 @@ function retagTsFile(sf) {
672
678
  }
673
679
  }
674
680
 
675
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
681
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
676
682
  var TS_EXTENSIONS = /\.tsx?$/i;
677
683
  function makeShimFileName(fileName, suffix) {
678
684
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -687,7 +693,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
687
693
  return moduleName;
688
694
  }
689
695
 
690
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
696
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
691
697
  var ShimAdapter = class {
692
698
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
693
699
  this.delegate = delegate;
@@ -784,7 +790,7 @@ var ShimAdapter = class {
784
790
  }
785
791
  };
786
792
 
787
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
793
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
788
794
  import ts7 from "typescript";
789
795
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
790
796
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -798,7 +804,7 @@ var FactoryGenerator = class {
798
804
  generateShimForFile(sf, genFilePath) {
799
805
  const absoluteSfPath = absoluteFromSourceFile(sf);
800
806
  const relativePathToSource = "./" + basename(sf.fileName).replace(TS_DTS_SUFFIX, "");
801
- const symbolNames = sf.statements.filter(ts7.isClassDeclaration).filter((decl) => isExported(decl) && decl.decorators !== void 0 && decl.name !== void 0).map((decl) => decl.name.text);
807
+ const symbolNames = sf.statements.filter(ts7.isClassDeclaration).filter((decl) => isExported(decl) && getDecorators(decl) !== void 0 && decl.name !== void 0).map((decl) => decl.name.text);
802
808
  let sourceText = "";
803
809
  const leadingComment = getFileoverviewComment(sf);
804
810
  if (leadingComment !== null) {
@@ -832,7 +838,8 @@ var FactoryGenerator = class {
832
838
  }
833
839
  };
834
840
  function isExported(decl) {
835
- return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts7.SyntaxKind.ExportKeyword);
841
+ const modifiers = getModifiers(decl);
842
+ return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts7.SyntaxKind.ExportKeyword);
836
843
  }
837
844
  function generatedFactoryTransform(factoryMap, importRewriter) {
838
845
  return (context) => {
@@ -853,7 +860,7 @@ function transformFactorySourceFile(factoryMap, context, importRewriter, file) {
853
860
  if (ts7.isImportDeclaration(stmt) && ts7.isStringLiteral(stmt.moduleSpecifier) && stmt.moduleSpecifier.text === "@angular/core") {
854
861
  const rewrittenModuleSpecifier = importRewriter.rewriteSpecifier("@angular/core", sourceFilePath);
855
862
  if (rewrittenModuleSpecifier !== stmt.moduleSpecifier.text) {
856
- transformedStatements.push(ts7.factory.updateImportDeclaration(stmt, stmt.decorators, stmt.modifiers, stmt.importClause, ts7.factory.createStringLiteral(rewrittenModuleSpecifier), void 0));
863
+ transformedStatements.push(updateImportDeclaration(stmt, getModifiers(stmt), stmt.importClause, ts7.factory.createStringLiteral(rewrittenModuleSpecifier), void 0));
857
864
  if (stmt.importClause !== void 0 && stmt.importClause.namedBindings !== void 0 && ts7.isNamespaceImport(stmt.importClause.namedBindings)) {
858
865
  coreImportIdentifiers.add(stmt.importClause.namedBindings.name.text);
859
866
  }
@@ -928,10 +935,10 @@ function wrapInNoSideEffects(expr) {
928
935
  ]);
929
936
  }
930
937
  function updateInitializers(stmt, update) {
931
- return ts7.factory.updateVariableStatement(stmt, stmt.modifiers, ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
938
+ return ts7.factory.updateVariableStatement(stmt, getModifiers(stmt), ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.factory.updateVariableDeclaration(decl, decl.name, decl.exclamationToken, decl.type, update(decl.initializer)))));
932
939
  }
933
940
 
934
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
941
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
935
942
  var ShimReferenceTagger = class {
936
943
  constructor(shimExtensions) {
937
944
  this.tagged = /* @__PURE__ */ new Set();
@@ -965,7 +972,7 @@ var ShimReferenceTagger = class {
965
972
  }
966
973
  };
967
974
 
968
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
975
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
969
976
  import ts8 from "typescript";
970
977
  var SummaryGenerator = class {
971
978
  constructor() {
@@ -976,7 +983,7 @@ var SummaryGenerator = class {
976
983
  const symbolNames = [];
977
984
  for (const stmt of sf.statements) {
978
985
  if (ts8.isClassDeclaration(stmt)) {
979
- if (!isExported2(stmt) || stmt.decorators === void 0 || stmt.name === void 0) {
986
+ if (!isExported2(stmt) || stmt.name === void 0 || getDecorators(stmt) === void 0) {
980
987
  continue;
981
988
  }
982
989
  symbolNames.push(stmt.name.text);
@@ -1002,10 +1009,11 @@ var SummaryGenerator = class {
1002
1009
  }
1003
1010
  };
1004
1011
  function isExported2(decl) {
1005
- return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword);
1012
+ const modifiers = getModifiers(decl);
1013
+ return modifiers !== void 0 && modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword) || false;
1006
1014
  }
1007
1015
 
1008
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1016
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1009
1017
  var DelegatingCompilerHost = class {
1010
1018
  constructor(delegate) {
1011
1019
  this.delegate = delegate;
@@ -1115,7 +1123,7 @@ var TsCreateProgramDriver = class {
1115
1123
  }
1116
1124
  };
1117
1125
 
1118
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1126
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1119
1127
  var FileDependencyGraph = class {
1120
1128
  constructor() {
1121
1129
  this.nodes = /* @__PURE__ */ new Map();
@@ -1182,7 +1190,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1182
1190
  return false;
1183
1191
  }
1184
1192
 
1185
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1193
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1186
1194
  var IncrementalStateKind;
1187
1195
  (function(IncrementalStateKind2) {
1188
1196
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1190,7 +1198,7 @@ var IncrementalStateKind;
1190
1198
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1191
1199
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1192
1200
 
1193
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1201
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1194
1202
  var PhaseKind;
1195
1203
  (function(PhaseKind2) {
1196
1204
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1391,7 +1399,7 @@ function toOriginalSourceFile(sf) {
1391
1399
  }
1392
1400
  }
1393
1401
 
1394
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1402
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1395
1403
  var TrackedIncrementalBuildStrategy = class {
1396
1404
  constructor() {
1397
1405
  this.state = null;
@@ -1427,7 +1435,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1427
1435
  };
1428
1436
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1429
1437
 
1430
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1438
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1431
1439
  var IdentifierKind;
1432
1440
  (function(IdentifierKind2) {
1433
1441
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1445,7 +1453,7 @@ var AbsoluteSourceSpan = class {
1445
1453
  }
1446
1454
  };
1447
1455
 
1448
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1456
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1449
1457
  var IndexingContext = class {
1450
1458
  constructor() {
1451
1459
  this.components = /* @__PURE__ */ new Set();
@@ -1455,10 +1463,10 @@ var IndexingContext = class {
1455
1463
  }
1456
1464
  };
1457
1465
 
1458
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1466
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1459
1467
  import { ParseSourceFile } from "@angular/compiler";
1460
1468
 
1461
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1469
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1462
1470
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1463
1471
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1464
1472
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1695,7 +1703,7 @@ function getTemplateIdentifiers(boundTemplate) {
1695
1703
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1696
1704
  }
1697
1705
 
1698
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1706
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1699
1707
  function generateAnalysis(context) {
1700
1708
  const analysis = /* @__PURE__ */ new Map();
1701
1709
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1731,7 +1739,7 @@ function generateAnalysis(context) {
1731
1739
  return analysis;
1732
1740
  }
1733
1741
 
1734
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1742
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1735
1743
  import ts10 from "typescript";
1736
1744
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1737
1745
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1877,7 +1885,7 @@ function createLookupResolutionHost(adapter) {
1877
1885
  };
1878
1886
  }
1879
1887
 
1880
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1888
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1881
1889
  var StandaloneComponentScopeReader = class {
1882
1890
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1883
1891
  this.metaReader = metaReader;
@@ -1955,10 +1963,10 @@ var StandaloneComponentScopeReader = class {
1955
1963
  }
1956
1964
  };
1957
1965
 
1958
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1966
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1959
1967
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
1960
1968
 
1961
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1969
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1962
1970
  import ts11 from "typescript";
1963
1971
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1964
1972
  if (mapping.type === "direct") {
@@ -2031,7 +2039,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
2031
2039
  }
2032
2040
  }
2033
2041
 
2034
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2042
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2035
2043
  var TEMPLATE_ID = Symbol("ngTemplateId");
2036
2044
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2037
2045
  function getTemplateId(clazz) {
@@ -2048,11 +2056,11 @@ function allocateTemplateId(sf) {
2048
2056
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2049
2057
  }
2050
2058
 
2051
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2059
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2052
2060
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2053
2061
  import ts13 from "typescript";
2054
2062
 
2055
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2063
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2056
2064
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2057
2065
  import ts12 from "typescript";
2058
2066
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2172,7 +2180,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2172
2180
  }) || false;
2173
2181
  }
2174
2182
 
2175
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2183
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2176
2184
  var CompletionEngine = class {
2177
2185
  constructor(tcb, data, tcbPath, tcbIsShim) {
2178
2186
  this.tcb = tcb;
@@ -2329,10 +2337,10 @@ var CompletionEngine = class {
2329
2337
  }
2330
2338
  };
2331
2339
 
2332
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2340
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2333
2341
  import ts27 from "typescript";
2334
2342
 
2335
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2343
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2336
2344
  import { DomElementSchemaRegistry } from "@angular/compiler";
2337
2345
  import ts14 from "typescript";
2338
2346
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2385,13 +2393,12 @@ var RegistryDomSchemaChecker = class {
2385
2393
  }
2386
2394
  };
2387
2395
 
2388
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2396
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2389
2397
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2390
2398
  import ts20 from "typescript";
2391
2399
 
2392
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2400
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2393
2401
  import ts15 from "typescript";
2394
- var PARSED_TS_VERSION = parseFloat(ts15.versionMajorMinor);
2395
2402
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2396
2403
  ts15.SyntaxKind.ParenthesizedExpression,
2397
2404
  ts15.SyntaxKind.Identifier,
@@ -2433,23 +2440,20 @@ function tsCallMethod(receiver, methodName, args = []) {
2433
2440
  const methodAccess = ts15.factory.createPropertyAccessExpression(receiver, methodName);
2434
2441
  return ts15.factory.createCallExpression(methodAccess, void 0, args);
2435
2442
  }
2436
- function tsUpdateTypeParameterDeclaration(node, name, constraint, defaultType) {
2437
- return PARSED_TS_VERSION < 4.7 ? ts15.factory.updateTypeParameterDeclaration(node, name, constraint, defaultType) : ts15.factory.updateTypeParameterDeclaration(node, [], name, constraint, defaultType);
2438
- }
2439
2443
  function isAccessExpression(node) {
2440
2444
  return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
2441
2445
  }
2442
2446
 
2443
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2447
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2444
2448
  import ts19 from "typescript";
2445
2449
 
2446
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2450
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2447
2451
  import ts18 from "typescript";
2448
2452
 
2449
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2453
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2450
2454
  import ts17 from "typescript";
2451
2455
 
2452
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2456
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2453
2457
  import ts16 from "typescript";
2454
2458
  var INELIGIBLE = {};
2455
2459
  function canEmitType(type, canEmit) {
@@ -2511,7 +2515,7 @@ var TypeEmitter = class {
2511
2515
  }
2512
2516
  };
2513
2517
 
2514
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2518
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2515
2519
  var TypeParameterEmitter = class {
2516
2520
  constructor(typeParameters, reflector) {
2517
2521
  this.typeParameters = typeParameters;
@@ -2548,7 +2552,7 @@ var TypeParameterEmitter = class {
2548
2552
  return this.typeParameters.map((typeParam) => {
2549
2553
  const constraint = typeParam.constraint !== void 0 ? emitter.emitType(typeParam.constraint) : void 0;
2550
2554
  const defaultType = typeParam.default !== void 0 ? emitter.emitType(typeParam.default) : void 0;
2551
- return tsUpdateTypeParameterDeclaration(typeParam, typeParam.name, constraint, defaultType);
2555
+ return updateTypeParameterDeclaration(typeParam, typeParam.modifiers, typeParam.name, constraint, defaultType);
2552
2556
  });
2553
2557
  }
2554
2558
  resolveTypeReference(type) {
@@ -2588,7 +2592,7 @@ var TypeParameterEmitter = class {
2588
2592
  }
2589
2593
  };
2590
2594
 
2591
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2595
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2592
2596
  var TcbInliningRequirement;
2593
2597
  (function(TcbInliningRequirement2) {
2594
2598
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2668,7 +2672,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2668
2672
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2669
2673
  }
2670
2674
 
2671
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2675
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2672
2676
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2673
2677
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2674
2678
  const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2732,14 +2736,14 @@ function typeParametersWithDefaultTypes(params) {
2732
2736
  }
2733
2737
  return params.map((param) => {
2734
2738
  if (param.default === void 0) {
2735
- return tsUpdateTypeParameterDeclaration(param, param.name, param.constraint, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.AnyKeyword));
2739
+ return updateTypeParameterDeclaration(param, param.modifiers, param.name, param.constraint, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.AnyKeyword));
2736
2740
  } else {
2737
2741
  return param;
2738
2742
  }
2739
2743
  });
2740
2744
  }
2741
2745
 
2742
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2746
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2743
2747
  var Environment = class {
2744
2748
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2745
2749
  this.config = config;
@@ -2831,7 +2835,7 @@ var Environment = class {
2831
2835
  }
2832
2836
  };
2833
2837
 
2834
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2838
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2835
2839
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2836
2840
  import ts21 from "typescript";
2837
2841
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -2964,7 +2968,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
2964
2968
  };
2965
2969
  }
2966
2970
 
2967
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2971
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2968
2972
  import ts22 from "typescript";
2969
2973
  var TypeCheckShimGenerator = class {
2970
2974
  constructor() {
@@ -2982,11 +2986,11 @@ var TypeCheckShimGenerator = class {
2982
2986
  }
2983
2987
  };
2984
2988
 
2985
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2989
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2986
2990
  import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, 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";
2987
2991
  import ts25 from "typescript";
2988
2992
 
2989
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2993
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2990
2994
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
2991
2995
  import ts23 from "typescript";
2992
2996
  function wrapForDiagnostics(expr) {
@@ -3032,7 +3036,7 @@ function translateDiagnostic(diagnostic, resolver) {
3032
3036
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3033
3037
  }
3034
3038
 
3035
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3039
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3036
3040
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3037
3041
  import ts24 from "typescript";
3038
3042
  var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
@@ -3362,7 +3366,7 @@ var VeSafeLhsInferenceBugDetector = class {
3362
3366
  };
3363
3367
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3364
3368
 
3365
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3369
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3366
3370
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3367
3371
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3368
3372
  constructor(templateId, boundTarget, oob) {
@@ -3386,7 +3390,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3386
3390
  }
3387
3391
  };
3388
3392
 
3389
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3393
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3390
3394
  var TcbGenericContextBehavior;
3391
3395
  (function(TcbGenericContextBehavior2) {
3392
3396
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4437,7 +4441,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4437
4441
  }
4438
4442
  };
4439
4443
 
4440
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4444
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4441
4445
  import ts26 from "typescript";
4442
4446
  var TypeCheckFile = class extends Environment {
4443
4447
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4473,7 +4477,7 @@ var TypeCheckFile = class extends Environment {
4473
4477
  }
4474
4478
  };
4475
4479
 
4476
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4480
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4477
4481
  var InliningMode;
4478
4482
  (function(InliningMode2) {
4479
4483
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4711,10 +4715,10 @@ function splitStringAtPoints(str, points) {
4711
4715
  return splits;
4712
4716
  }
4713
4717
 
4714
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4718
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4715
4719
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4716
4720
 
4717
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4721
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4718
4722
  var LF_CHAR = 10;
4719
4723
  var CR_CHAR = 13;
4720
4724
  var LINE_SEP_CHAR = 8232;
@@ -4755,7 +4759,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4755
4759
  return low - 1;
4756
4760
  }
4757
4761
 
4758
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4762
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4759
4763
  var TemplateSource = class {
4760
4764
  constructor(mapping, file) {
4761
4765
  this.mapping = mapping;
@@ -4806,7 +4810,7 @@ var TemplateSourceManager = class {
4806
4810
  }
4807
4811
  };
4808
4812
 
4809
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4813
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4810
4814
  import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, 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";
4811
4815
  import ts28 from "typescript";
4812
4816
  var SymbolBuilder = class {
@@ -5251,7 +5255,7 @@ function sourceSpanEqual(a, b) {
5251
5255
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5252
5256
  }
5253
5257
 
5254
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5258
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5255
5259
  var REGISTRY2 = new DomElementSchemaRegistry2();
5256
5260
  var TemplateTypeCheckerImpl = class {
5257
5261
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -5788,10 +5792,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
5788
5792
  }
5789
5793
  };
5790
5794
 
5791
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5795
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5792
5796
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
5793
5797
 
5794
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5798
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5795
5799
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
5796
5800
  var TemplateCheckWithVisitor = class {
5797
5801
  run(ctx, component, template) {
@@ -5868,7 +5872,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
5868
5872
  }
5869
5873
  };
5870
5874
 
5871
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5875
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5872
5876
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
5873
5877
  constructor() {
5874
5878
  super(...arguments);
@@ -5893,7 +5897,7 @@ var factory = {
5893
5897
  create: () => new InvalidBananaInBoxCheck()
5894
5898
  };
5895
5899
 
5896
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
5900
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
5897
5901
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
5898
5902
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
5899
5903
  ["ngIf", "NgIf"],
@@ -5938,7 +5942,7 @@ var factory2 = {
5938
5942
  }
5939
5943
  };
5940
5944
 
5941
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
5945
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
5942
5946
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
5943
5947
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
5944
5948
  constructor() {
@@ -5971,7 +5975,7 @@ var factory3 = {
5971
5975
  create: () => new MissingNgForOfLetCheck()
5972
5976
  };
5973
5977
 
5974
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
5978
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
5975
5979
  import { Binary } from "@angular/compiler";
5976
5980
  import ts29 from "typescript";
5977
5981
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6016,7 +6020,7 @@ var factory4 = {
6016
6020
  }
6017
6021
  };
6018
6022
 
6019
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6023
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6020
6024
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
6021
6025
  import ts30 from "typescript";
6022
6026
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6062,7 +6066,7 @@ var factory5 = {
6062
6066
  }
6063
6067
  };
6064
6068
 
6065
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6069
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6066
6070
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
6067
6071
  var STYLE_SUFFIXES = ["px", "%", "em"];
6068
6072
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -6086,7 +6090,7 @@ var factory6 = {
6086
6090
  create: () => new SuffixNotSupportedCheck()
6087
6091
  };
6088
6092
 
6089
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6093
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6090
6094
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
6091
6095
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
6092
6096
  constructor() {
@@ -6125,10 +6129,10 @@ var factory7 = {
6125
6129
  create: () => new TextAttributeNotBindingSpec()
6126
6130
  };
6127
6131
 
6128
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6132
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6129
6133
  import ts31 from "typescript";
6130
6134
 
6131
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6135
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6132
6136
  var DiagnosticCategoryLabel;
6133
6137
  (function(DiagnosticCategoryLabel2) {
6134
6138
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -6136,7 +6140,7 @@ var DiagnosticCategoryLabel;
6136
6140
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
6137
6141
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
6138
6142
 
6139
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6143
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6140
6144
  var ExtendedTemplateCheckerImpl = class {
6141
6145
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
6142
6146
  var _a, _b, _c, _d, _e;
@@ -6189,7 +6193,7 @@ function assertNever(value) {
6189
6193
  ${value}`);
6190
6194
  }
6191
6195
 
6192
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6196
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6193
6197
  var ALL_DIAGNOSTIC_FACTORIES = [
6194
6198
  factory,
6195
6199
  factory4,
@@ -6200,7 +6204,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
6200
6204
  factory6
6201
6205
  ];
6202
6206
 
6203
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6207
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6204
6208
  var CompilationTicketKind;
6205
6209
  (function(CompilationTicketKind2) {
6206
6210
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -6747,7 +6751,8 @@ function isAngularCorePackage(program) {
6747
6751
  if (!ts32.isVariableStatement(stmt)) {
6748
6752
  return false;
6749
6753
  }
6750
- if (stmt.modifiers === void 0 || !stmt.modifiers.some((mod) => mod.kind === ts32.SyntaxKind.ExportKeyword)) {
6754
+ const modifiers = getModifiers(stmt);
6755
+ if (modifiers === void 0 || !modifiers.some((mod) => mod.kind === ts32.SyntaxKind.ExportKeyword)) {
6751
6756
  return false;
6752
6757
  }
6753
6758
  return stmt.declarationList.declarations.some((decl) => {
@@ -6898,7 +6903,7 @@ function versionMapFromProgram(program, driver) {
6898
6903
  return versions;
6899
6904
  }
6900
6905
 
6901
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6906
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6902
6907
  import ts33 from "typescript";
6903
6908
  var DelegatingCompilerHost2 = class {
6904
6909
  constructor(delegate) {
@@ -7042,7 +7047,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
7042
7047
  }
7043
7048
  };
7044
7049
 
7045
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7050
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7046
7051
  var NgtscProgram = class {
7047
7052
  constructor(rootNames, options, delegateHost, oldProgram) {
7048
7053
  this.options = options;
@@ -7251,15 +7256,15 @@ function mergeEmitResults(emitResults) {
7251
7256
  return { diagnostics, emitSkipped, emittedFiles };
7252
7257
  }
7253
7258
 
7254
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7259
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7255
7260
  function createProgram({ rootNames, options, host, oldProgram }) {
7256
7261
  return new NgtscProgram(rootNames, options, host, oldProgram);
7257
7262
  }
7258
7263
 
7259
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7264
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7260
7265
  import ts36 from "typescript";
7261
7266
 
7262
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7267
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7263
7268
  import ts35 from "typescript";
7264
7269
  var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
7265
7270
  function createMessageDiagnostic(messageText) {
@@ -7274,7 +7279,7 @@ function createMessageDiagnostic(messageText) {
7274
7279
  };
7275
7280
  }
7276
7281
 
7277
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7282
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7278
7283
  var defaultFormatHost = {
7279
7284
  getCurrentDirectory: () => ts36.sys.getCurrentDirectory(),
7280
7285
  getCanonicalFileName: (fileName) => fileName,
@@ -7489,4 +7494,4 @@ export {
7489
7494
  * found in the LICENSE file at https://angular.io/license
7490
7495
  */
7491
7496
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7492
- //# sourceMappingURL=chunk-I34YWN6W.js.map
7497
+ //# sourceMappingURL=chunk-4OBZ37XJ.js.map