@angular/core 18.0.0-next.3 → 18.0.0-next.5

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 (76) hide show
  1. package/esm2022/rxjs-interop/src/take_until_destroyed.mjs +2 -2
  2. package/esm2022/rxjs-interop/src/to_observable.mjs +1 -1
  3. package/esm2022/rxjs-interop/src/to_signal.mjs +2 -2
  4. package/esm2022/src/application/application_ref.mjs +4 -2
  5. package/esm2022/src/application/application_tokens.mjs +1 -1
  6. package/esm2022/src/change_detection/change_detector_ref.mjs +3 -3
  7. package/esm2022/src/change_detection/scheduling/flags.mjs +10 -0
  8. package/esm2022/src/change_detection/scheduling/ng_zone_scheduling.mjs +28 -33
  9. package/esm2022/src/change_detection/scheduling/zoneless_scheduling.mjs +1 -1
  10. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +57 -9
  11. package/esm2022/src/core.mjs +2 -1
  12. package/esm2022/src/core_private_export.mjs +1 -3
  13. package/esm2022/src/core_render3_private_export.mjs +1 -2
  14. package/esm2022/src/debug/debug_node.mjs +5 -5
  15. package/esm2022/src/di/contextual.mjs +3 -3
  16. package/esm2022/src/di/injectable.mjs +1 -1
  17. package/esm2022/src/di/injector.mjs +4 -4
  18. package/esm2022/src/di/injector_compatibility.mjs +3 -3
  19. package/esm2022/src/di/interface/provider.mjs +1 -1
  20. package/esm2022/src/di/metadata.mjs +1 -1
  21. package/esm2022/src/di/provider_collection.mjs +2 -2
  22. package/esm2022/src/event_emitter.mjs +1 -1
  23. package/esm2022/src/hydration/api.mjs +2 -3
  24. package/esm2022/src/i18n/locale_data_api.mjs +4 -4
  25. package/esm2022/src/i18n/tokens.mjs +6 -6
  26. package/esm2022/src/interface/lifecycle_hooks.mjs +1 -1
  27. package/esm2022/src/linker/compiler.mjs +1 -7
  28. package/esm2022/src/linker/ng_module_factory.mjs +2 -3
  29. package/esm2022/src/linker/template_ref.mjs +1 -2
  30. package/esm2022/src/metadata/directives.mjs +1 -62
  31. package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
  32. package/esm2022/src/metadata/ng_module.mjs +1 -1
  33. package/esm2022/src/platform/platform_ref.mjs +3 -3
  34. package/esm2022/src/render3/component.mjs +3 -4
  35. package/esm2022/src/render3/component_ref.mjs +1 -1
  36. package/esm2022/src/render3/definition.mjs +2 -2
  37. package/esm2022/src/render3/instructions/change_detection.mjs +3 -6
  38. package/esm2022/src/render3/instructions/control_flow.mjs +6 -6
  39. package/esm2022/src/render3/jit/environment.mjs +1 -3
  40. package/esm2022/src/render3/ng_module_ref.mjs +1 -4
  41. package/esm2022/src/render3/node_manipulation.mjs +19 -15
  42. package/esm2022/src/render3/reactivity/effect.mjs +1 -1
  43. package/esm2022/src/render3/view_ref.mjs +14 -4
  44. package/esm2022/src/testability/testability.mjs +2 -30
  45. package/esm2022/src/util/callback_scheduler.mjs +3 -3
  46. package/esm2022/src/version.mjs +1 -1
  47. package/esm2022/testing/src/component_fixture.mjs +7 -12
  48. package/esm2022/testing/src/logger.mjs +3 -3
  49. package/esm2022/testing/src/test_bed_common.mjs +1 -6
  50. package/esm2022/testing/src/testing.mjs +1 -2
  51. package/event-dispatch-contract.min.js +1 -0
  52. package/fesm2022/core.mjs +155 -201
  53. package/fesm2022/core.mjs.map +1 -1
  54. package/fesm2022/primitives/signals.mjs +2 -2
  55. package/fesm2022/rxjs-interop.mjs +4 -4
  56. package/fesm2022/rxjs-interop.mjs.map +1 -1
  57. package/fesm2022/testing.mjs +35 -45
  58. package/fesm2022/testing.mjs.map +1 -1
  59. package/index.d.ts +215 -206
  60. package/package.json +4 -1
  61. package/primitives/signals/index.d.ts +2 -2
  62. package/rxjs-interop/index.d.ts +5 -5
  63. package/schematics/migrations/block-template-entities/bundle.js +188 -249
  64. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  65. package/schematics/migrations/compiler-options/bundle.js +13 -13
  66. package/schematics/migrations/compiler-options/bundle.js.map +1 -1
  67. package/schematics/migrations/invalid-two-way-bindings/bundle.js +194 -255
  68. package/schematics/migrations/invalid-two-way-bindings/bundle.js.map +3 -3
  69. package/schematics/migrations/transfer-state/bundle.js +13 -13
  70. package/schematics/migrations/transfer-state/bundle.js.map +1 -1
  71. package/schematics/ng-generate/control-flow-migration/bundle.js +197 -259
  72. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  73. package/schematics/ng-generate/standalone-migration/bundle.js +517 -556
  74. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  75. package/testing/index.d.ts +2 -8
  76. package/esm2022/testing/src/private_export.mjs +0 -9
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
66
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
67
67
  var invalid_two_way_bindings_exports = {};
68
68
  __export(invalid_two_way_bindings_exports, {
69
69
  default: () => invalid_two_way_bindings_default
@@ -72,7 +72,7 @@ module.exports = __toCommonJS(invalid_two_way_bindings_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
  var import_path3 = require("path");
74
74
 
75
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
75
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs
76
76
  var import_core = require("@angular-devkit/core");
77
77
  function getProjectTsConfigPaths(tree) {
78
78
  return __async(this, null, function* () {
@@ -152,11 +152,11 @@ function getWorkspace(tree) {
152
152
  });
153
153
  }
154
154
 
155
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
155
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
156
156
  var import_path = require("path");
157
157
  var import_typescript2 = __toESM(require("typescript"), 1);
158
158
 
159
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
159
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
160
160
  var path = __toESM(require("path"), 1);
161
161
  var import_typescript = __toESM(require("typescript"), 1);
162
162
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -173,7 +173,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
173
173
  return import_typescript.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
174
174
  }
175
175
 
176
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
176
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
177
177
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
178
178
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
179
179
  return import_typescript2.default.createProgram(rootNames, options, host);
@@ -206,7 +206,7 @@ function canMigrateFile(basePath, sourceFile, program) {
206
206
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
207
207
  }
208
208
 
209
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
209
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/analysis.mjs
210
210
  var import_path2 = require("path");
211
211
  var import_typescript3 = __toESM(require("typescript"), 1);
212
212
  var AnalyzedFile = class {
@@ -263,7 +263,7 @@ function forEachClass(sourceFile, callback) {
263
263
  });
264
264
  }
265
265
 
266
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/selector.mjs
266
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
267
267
  var _SELECTOR_REGEXP = new RegExp(
268
268
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
269
269
  "g"
@@ -571,7 +571,7 @@ var SelectorContext = class {
571
571
  }
572
572
  };
573
573
 
574
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/core.mjs
574
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
575
575
  var ViewEncapsulation;
576
576
  (function(ViewEncapsulation2) {
577
577
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
@@ -639,7 +639,7 @@ function parseSelectorToR3Selector(selector) {
639
639
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
640
640
  }
641
641
 
642
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
642
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
643
643
  var textEncoder;
644
644
  function computeDigest(message) {
645
645
  return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
@@ -879,7 +879,7 @@ function wordAt(bytes, index, endian) {
879
879
  return word;
880
880
  }
881
881
 
882
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
882
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
883
883
  var TypeModifier;
884
884
  (function(TypeModifier2) {
885
885
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -1817,7 +1817,7 @@ function serializeTags(tags) {
1817
1817
  return out;
1818
1818
  }
1819
1819
 
1820
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1820
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1821
1821
  var CONSTANT_PREFIX = "_c";
1822
1822
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
1823
1823
  var KEY_CONTEXT = {};
@@ -2005,7 +2005,7 @@ function isLongStringLiteral(expr) {
2005
2005
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
2006
2006
  }
2007
2007
 
2008
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2008
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
2009
2009
  var CORE = "@angular/core";
2010
2010
  var _Identifiers = class {
2011
2011
  };
@@ -2631,12 +2631,6 @@ var Identifiers = _Identifiers;
2631
2631
  moduleName: CORE
2632
2632
  };
2633
2633
  })();
2634
- (() => {
2635
- _Identifiers.InputFlags = {
2636
- name: "\u0275\u0275InputFlags",
2637
- moduleName: CORE
2638
- };
2639
- })();
2640
2634
  (() => {
2641
2635
  _Identifiers.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: CORE };
2642
2636
  })();
@@ -2674,7 +2668,7 @@ var Identifiers = _Identifiers;
2674
2668
  _Identifiers.unwrapWritableSignal = { name: "\u0275unwrapWritableSignal", moduleName: CORE };
2675
2669
  })();
2676
2670
 
2677
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/util.mjs
2671
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2678
2672
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2679
2673
  function dashCaseToCamelCase(input) {
2680
2674
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2751,7 +2745,7 @@ var Version = class {
2751
2745
  };
2752
2746
  var _global = globalThis;
2753
2747
 
2754
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2748
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2755
2749
  var VERSION = 3;
2756
2750
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2757
2751
  var SourceMapGenerator = class {
@@ -2880,7 +2874,7 @@ function toBase64Digit(value) {
2880
2874
  return B64_DIGITS[value];
2881
2875
  }
2882
2876
 
2883
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2877
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2884
2878
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
2885
2879
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
2886
2880
  var _INDENT_WITH = " ";
@@ -3368,7 +3362,7 @@ function _createIndent(count) {
3368
3362
  return res;
3369
3363
  }
3370
3364
 
3371
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/util.mjs
3365
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3372
3366
  function typeWithParameters(type, numParams) {
3373
3367
  if (numParams === 0) {
3374
3368
  return expressionType(type);
@@ -3423,7 +3417,7 @@ function generateForwardRef(expr) {
3423
3417
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3424
3418
  }
3425
3419
 
3426
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3420
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3427
3421
  var R3FactoryDelegateType;
3428
3422
  (function(R3FactoryDelegateType2) {
3429
3423
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3568,7 +3562,7 @@ function getInjectFn(target) {
3568
3562
  }
3569
3563
  }
3570
3564
 
3571
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
3565
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
3572
3566
  var ParserError = class {
3573
3567
  constructor(message, input, errLocation, ctxLocation) {
3574
3568
  this.input = input;
@@ -4006,7 +4000,7 @@ var BoundElementProperty = class {
4006
4000
  }
4007
4001
  };
4008
4002
 
4009
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
4003
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
4010
4004
  var TagContentType;
4011
4005
  (function(TagContentType2) {
4012
4006
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -4043,7 +4037,7 @@ function mergeNsAndName(prefix, localName) {
4043
4037
  return prefix ? `:${prefix}:${localName}` : localName;
4044
4038
  }
4045
4039
 
4046
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4040
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
4047
4041
  var Comment = class {
4048
4042
  constructor(value, sourceSpan) {
4049
4043
  this.value = value;
@@ -4499,7 +4493,7 @@ function visitAll(visitor, nodes) {
4499
4493
  return result;
4500
4494
  }
4501
4495
 
4502
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4496
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
4503
4497
  var Message = class {
4504
4498
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
4505
4499
  this.nodes = nodes;
@@ -4637,7 +4631,7 @@ var LocalizeMessageStringVisitor = class {
4637
4631
  }
4638
4632
  };
4639
4633
 
4640
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4634
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4641
4635
  var _Visitor = class {
4642
4636
  visitTag(tag) {
4643
4637
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4665,12 +4659,12 @@ ${doctype.dtd}
4665
4659
  };
4666
4660
  var _visitor = new _Visitor();
4667
4661
 
4668
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4662
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4669
4663
  function toPublicName(internalName) {
4670
4664
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4671
4665
  }
4672
4666
 
4673
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4667
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4674
4668
  var I18N_ATTR = "i18n";
4675
4669
  var I18N_ATTR_PREFIX = "i18n-";
4676
4670
  var I18N_ICU_VAR_PREFIX = "VAR_";
@@ -4710,7 +4704,7 @@ function formatI18nPlaceholderName(name, useCamelCase = true) {
4710
4704
  return postfix ? `${raw}_${postfix}` : raw;
4711
4705
  }
4712
4706
 
4713
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4707
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4714
4708
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4715
4709
  var TEMPORARY_NAME = "_t";
4716
4710
  var CONTEXT_NAME = "ctx";
@@ -4753,16 +4747,15 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
4753
4747
  publicName = value.bindingPropertyName;
4754
4748
  const differentDeclaringName = publicName !== declaredName;
4755
4749
  const hasDecoratorInputTransform = value.transformFunction !== null;
4756
- let flags = null;
4750
+ let flags = InputFlags.None;
4757
4751
  if (value.isSignal) {
4758
- flags = bitwiseOrInputFlagsExpr(InputFlags.SignalBased, flags);
4752
+ flags |= InputFlags.SignalBased;
4759
4753
  }
4760
4754
  if (hasDecoratorInputTransform) {
4761
- flags = bitwiseOrInputFlagsExpr(InputFlags.HasDecoratorInputTransform, flags);
4755
+ flags |= InputFlags.HasDecoratorInputTransform;
4762
4756
  }
4763
- if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== null)) {
4764
- const flagsExpr = flags != null ? flags : importExpr(Identifiers.InputFlags).prop(InputFlags[InputFlags.None]);
4765
- const result = [flagsExpr, asLiteral(publicName)];
4757
+ if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== InputFlags.None)) {
4758
+ const result = [literal(flags), asLiteral(publicName)];
4766
4759
  if (differentDeclaringName || hasDecoratorInputTransform) {
4767
4760
  result.push(asLiteral(declaredName));
4768
4761
  if (hasDecoratorInputTransform) {
@@ -4781,15 +4774,6 @@ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
4781
4774
  };
4782
4775
  }));
4783
4776
  }
4784
- function getInputFlagExpr(flag) {
4785
- return importExpr(Identifiers.InputFlags).prop(InputFlags[flag]);
4786
- }
4787
- function bitwiseOrInputFlagsExpr(flag, expr) {
4788
- if (expr === null) {
4789
- return getInputFlagExpr(flag);
4790
- }
4791
- return getInputFlagExpr(flag).bitwiseOr(expr);
4792
- }
4793
4777
  var DefinitionMap = class {
4794
4778
  constructor() {
4795
4779
  this.values = [];
@@ -4847,7 +4831,7 @@ function getAttrsForDirectiveMatching(elOrTpl) {
4847
4831
  return attributesMap;
4848
4832
  }
4849
4833
 
4850
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4834
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4851
4835
  function compileInjectable(meta, resolveForwardRefs) {
4852
4836
  let result = null;
4853
4837
  const factoryMeta = {
@@ -4932,7 +4916,7 @@ function createFactoryFunction(type) {
4932
4916
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
4933
4917
  }
4934
4918
 
4935
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/assertions.mjs
4919
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4936
4920
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4937
4921
  /^\s*$/,
4938
4922
  /[<>]/,
@@ -4954,7 +4938,7 @@ function assertInterpolationSymbols(identifier, value) {
4954
4938
  }
4955
4939
  }
4956
4940
 
4957
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4941
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4958
4942
  var InterpolationConfig = class {
4959
4943
  static fromArray(markers) {
4960
4944
  if (!markers) {
@@ -4971,7 +4955,7 @@ var InterpolationConfig = class {
4971
4955
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4972
4956
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
4973
4957
 
4974
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/chars.mjs
4958
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4975
4959
  var $EOF = 0;
4976
4960
  var $BSPACE = 8;
4977
4961
  var $TAB = 9;
@@ -5053,7 +5037,7 @@ function isQuote(code) {
5053
5037
  return code === $SQ || code === $DQ || code === $BT;
5054
5038
  }
5055
5039
 
5056
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/parse_util.mjs
5040
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
5057
5041
  var ParseLocation = class {
5058
5042
  constructor(file, offset, line, col) {
5059
5043
  this.file = file;
@@ -5200,7 +5184,7 @@ function sanitizeIdentifier(name) {
5200
5184
  return name.replace(/\W/g, "_");
5201
5185
  }
5202
5186
 
5203
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5187
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
5204
5188
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
5205
5189
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5206
5190
  constructor() {
@@ -5293,7 +5277,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
5293
5277
  }
5294
5278
  };
5295
5279
 
5296
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5280
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
5297
5281
  var policy;
5298
5282
  function getPolicy() {
5299
5283
  if (policy === void 0) {
@@ -5331,7 +5315,7 @@ function newTrustedFunctionForJIT(...args) {
5331
5315
  return fn2.bind(_global);
5332
5316
  }
5333
5317
 
5334
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5318
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
5335
5319
  var JitEvaluator = class {
5336
5320
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
5337
5321
  const converter = new JitEmitterVisitor(refResolver);
@@ -5422,7 +5406,7 @@ function isUseStrictStatement(statement) {
5422
5406
  return statement.isEquivalent(literal("use strict").toStmt());
5423
5407
  }
5424
5408
 
5425
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5409
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
5426
5410
  function compileInjector(meta) {
5427
5411
  const definitionMap = new DefinitionMap();
5428
5412
  if (meta.providers !== null) {
@@ -5439,7 +5423,7 @@ function createInjectorType(meta) {
5439
5423
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
5440
5424
  }
5441
5425
 
5442
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5426
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5443
5427
  var R3JitReflector = class {
5444
5428
  constructor(context) {
5445
5429
  this.context = context;
@@ -5455,7 +5439,7 @@ var R3JitReflector = class {
5455
5439
  }
5456
5440
  };
5457
5441
 
5458
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5442
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5459
5443
  var R3SelectorScopeMode;
5460
5444
  (function(R3SelectorScopeMode2) {
5461
5445
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5596,7 +5580,7 @@ function tupleOfTypes(types) {
5596
5580
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5597
5581
  }
5598
5582
 
5599
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5583
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5600
5584
  function compilePipeFromMetadata(metadata) {
5601
5585
  const definitionMapValues = [];
5602
5586
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5617,7 +5601,7 @@ function createPipeType(metadata) {
5617
5601
  ]));
5618
5602
  }
5619
5603
 
5620
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5604
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5621
5605
  var R3TemplateDependencyKind;
5622
5606
  (function(R3TemplateDependencyKind2) {
5623
5607
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5625,7 +5609,7 @@ var R3TemplateDependencyKind;
5625
5609
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5626
5610
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5627
5611
 
5628
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/shadow_css.mjs
5612
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
5629
5613
  var animationKeywords = /* @__PURE__ */ new Set([
5630
5614
  "inherit",
5631
5615
  "initial",
@@ -6097,7 +6081,7 @@ function repeatGroups(groups, multiples) {
6097
6081
  }
6098
6082
  }
6099
6083
 
6100
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
6084
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
6101
6085
  var OpKind;
6102
6086
  (function(OpKind2) {
6103
6087
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -6251,7 +6235,7 @@ var TemplateKind;
6251
6235
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
6252
6236
  })(TemplateKind || (TemplateKind = {}));
6253
6237
 
6254
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
6238
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
6255
6239
  var ConsumesSlot = Symbol("ConsumesSlot");
6256
6240
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
6257
6241
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -6279,7 +6263,7 @@ function hasUsesVarOffsetTrait(expr) {
6279
6263
  return expr[UsesVarOffset] === true;
6280
6264
  }
6281
6265
 
6282
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
6266
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
6283
6267
  function createStatementOp(statement) {
6284
6268
  return __spreadValues({
6285
6269
  kind: OpKind.Statement,
@@ -6301,7 +6285,7 @@ var NEW_OP = {
6301
6285
  next: null
6302
6286
  };
6303
6287
 
6304
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
6288
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
6305
6289
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
6306
6290
  return __spreadValues(__spreadValues(__spreadValues({
6307
6291
  kind: OpKind.InterpolateText,
@@ -6427,11 +6411,10 @@ function createAdvanceOp(delta, sourceSpan) {
6427
6411
  sourceSpan
6428
6412
  }, NEW_OP);
6429
6413
  }
6430
- function createConditionalOp(target, targetSlot, test, conditions, sourceSpan) {
6414
+ function createConditionalOp(target, test, conditions, sourceSpan) {
6431
6415
  return __spreadValues(__spreadValues(__spreadValues({
6432
6416
  kind: OpKind.Conditional,
6433
6417
  target,
6434
- targetSlot,
6435
6418
  test,
6436
6419
  conditions,
6437
6420
  processed: null,
@@ -6482,7 +6465,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
6482
6465
  }, NEW_OP);
6483
6466
  }
6484
6467
 
6485
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
6468
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
6486
6469
  var _a;
6487
6470
  var _b;
6488
6471
  var _c;
@@ -7344,7 +7327,7 @@ function isStringLiteral(expr) {
7344
7327
  return expr instanceof LiteralExpr && typeof expr.value === "string";
7345
7328
  }
7346
7329
 
7347
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7330
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
7348
7331
  var _OpList = class {
7349
7332
  constructor() {
7350
7333
  this.debugListId = _OpList.nextListId++;
@@ -7535,14 +7518,14 @@ var OpList = _OpList;
7535
7518
  _OpList.nextListId = 0;
7536
7519
  })();
7537
7520
 
7538
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
7521
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
7539
7522
  var SlotHandle = class {
7540
7523
  constructor() {
7541
7524
  this.slot = null;
7542
7525
  }
7543
7526
  };
7544
7527
 
7545
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7528
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
7546
7529
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
7547
7530
  OpKind.Element,
7548
7531
  OpKind.ElementStart,
@@ -7846,7 +7829,7 @@ function createI18nAttributesOp(xref, handle, target) {
7846
7829
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
7847
7830
  }
7848
7831
 
7849
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
7832
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
7850
7833
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
7851
7834
  return __spreadValues(__spreadValues({
7852
7835
  kind: OpKind.HostProperty,
@@ -7860,10 +7843,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
7860
7843
  }, TRAIT_CONSUMES_VARS), NEW_OP);
7861
7844
  }
7862
7845
 
7863
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
7846
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
7864
7847
  var CTX_REF = "CTX_REF_MARKER";
7865
7848
 
7866
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
7849
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
7867
7850
  var CompilationJobKind;
7868
7851
  (function(CompilationJobKind2) {
7869
7852
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -7971,7 +7954,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
7971
7954
  }
7972
7955
  };
7973
7956
 
7974
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
7957
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
7975
7958
  function deleteAnyCasts(job) {
7976
7959
  for (const unit of job.units) {
7977
7960
  for (const op of unit.ops()) {
@@ -7989,7 +7972,7 @@ function removeAnys(e) {
7989
7972
  return e;
7990
7973
  }
7991
7974
 
7992
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
7975
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
7993
7976
  function applyI18nExpressions(job) {
7994
7977
  const i18nContexts = /* @__PURE__ */ new Map();
7995
7978
  for (const unit of job.units) {
@@ -8032,7 +8015,7 @@ function needsApplication(i18nContexts, op) {
8032
8015
  return false;
8033
8016
  }
8034
8017
 
8035
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8018
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8036
8019
  function assignI18nSlotDependencies(job) {
8037
8020
  for (const unit of job.units) {
8038
8021
  let updateOp = unit.update.head;
@@ -8077,7 +8060,7 @@ function assignI18nSlotDependencies(job) {
8077
8060
  }
8078
8061
  }
8079
8062
 
8080
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8063
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8081
8064
  function createOpXrefMap(unit) {
8082
8065
  const map = /* @__PURE__ */ new Map();
8083
8066
  for (const op of unit.create) {
@@ -8092,7 +8075,7 @@ function createOpXrefMap(unit) {
8092
8075
  return map;
8093
8076
  }
8094
8077
 
8095
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8078
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8096
8079
  function extractAttributes(job) {
8097
8080
  for (const unit of job.units) {
8098
8081
  const elements = createOpXrefMap(unit);
@@ -8221,7 +8204,7 @@ function extractAttributeOp(unit, op, elements) {
8221
8204
  }
8222
8205
  }
8223
8206
 
8224
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
8207
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
8225
8208
  function lookupElement2(elements, xref) {
8226
8209
  const el = elements.get(xref);
8227
8210
  if (el === void 0) {
@@ -8278,7 +8261,7 @@ function specializeBindings(job) {
8278
8261
  }
8279
8262
  }
8280
8263
 
8281
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8264
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
8282
8265
  var CHAINABLE = /* @__PURE__ */ new Set([
8283
8266
  Identifiers.attribute,
8284
8267
  Identifiers.classProp,
@@ -8346,7 +8329,7 @@ function chainOperationsInList(opList) {
8346
8329
  }
8347
8330
  }
8348
8331
 
8349
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
8332
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
8350
8333
  function collapseSingletonInterpolations(job) {
8351
8334
  for (const unit of job.units) {
8352
8335
  for (const op of unit.update) {
@@ -8358,7 +8341,7 @@ function collapseSingletonInterpolations(job) {
8358
8341
  }
8359
8342
  }
8360
8343
 
8361
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
8344
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
8362
8345
  function generateConditionalExpressions(job) {
8363
8346
  for (const unit of job.units) {
8364
8347
  for (const op of unit.ops()) {
@@ -8395,7 +8378,7 @@ function generateConditionalExpressions(job) {
8395
8378
  }
8396
8379
  }
8397
8380
 
8398
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
8381
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
8399
8382
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
8400
8383
  ["&&", BinaryOperator.And],
8401
8384
  [">", BinaryOperator.Bigger],
@@ -8446,7 +8429,7 @@ function literalOrArrayLiteral(value) {
8446
8429
  return literal(value);
8447
8430
  }
8448
8431
 
8449
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8432
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
8450
8433
  function collectElementConsts(job) {
8451
8434
  const allElementAttributes = /* @__PURE__ */ new Map();
8452
8435
  for (const unit of job.units) {
@@ -8615,7 +8598,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
8615
8598
  return literalArr(attrArray);
8616
8599
  }
8617
8600
 
8618
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
8601
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
8619
8602
  function convertI18nBindings(job) {
8620
8603
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
8621
8604
  for (const unit of job.units) {
@@ -8656,7 +8639,7 @@ function convertI18nBindings(job) {
8656
8639
  }
8657
8640
  }
8658
8641
 
8659
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
8642
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_defer_deps_fns.mjs
8660
8643
  function resolveDeferDepsFns(job) {
8661
8644
  var _a2;
8662
8645
  for (const unit of job.units) {
@@ -8681,7 +8664,7 @@ function resolveDeferDepsFns(job) {
8681
8664
  }
8682
8665
  }
8683
8666
 
8684
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
8667
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
8685
8668
  function createI18nContexts(job) {
8686
8669
  const attrContextByMessage = /* @__PURE__ */ new Map();
8687
8670
  for (const unit of job.units) {
@@ -8759,7 +8742,7 @@ function createI18nContexts(job) {
8759
8742
  }
8760
8743
  }
8761
8744
 
8762
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
8745
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
8763
8746
  function deduplicateTextBindings(job) {
8764
8747
  const seen = /* @__PURE__ */ new Map();
8765
8748
  for (const unit of job.units) {
@@ -8781,7 +8764,7 @@ function deduplicateTextBindings(job) {
8781
8764
  }
8782
8765
  }
8783
8766
 
8784
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
8767
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
8785
8768
  function configureDeferInstructions(job) {
8786
8769
  for (const unit of job.units) {
8787
8770
  for (const op of unit.create) {
@@ -8798,7 +8781,7 @@ function configureDeferInstructions(job) {
8798
8781
  }
8799
8782
  }
8800
8783
 
8801
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
8784
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
8802
8785
  function resolveDeferTargetNames(job) {
8803
8786
  const scopes = /* @__PURE__ */ new Map();
8804
8787
  function getScopeForView2(view) {
@@ -8892,7 +8875,7 @@ var Scope = class {
8892
8875
  }
8893
8876
  };
8894
8877
 
8895
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8878
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
8896
8879
  var REPLACEMENTS = /* @__PURE__ */ new Map([
8897
8880
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
8898
8881
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -8919,7 +8902,7 @@ function collapseEmptyInstructions(job) {
8919
8902
  }
8920
8903
  }
8921
8904
 
8922
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
8905
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
8923
8906
  function expandSafeReads(job) {
8924
8907
  for (const unit of job.units) {
8925
8908
  for (const op of unit.ops()) {
@@ -9055,7 +9038,7 @@ function ternaryTransform(e) {
9055
9038
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9056
9039
  }
9057
9040
 
9058
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9041
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9059
9042
  var ESCAPE = "\uFFFD";
9060
9043
  var ELEMENT_MARKER = "#";
9061
9044
  var TEMPLATE_MARKER = "*";
@@ -9191,7 +9174,7 @@ function formatValue(value) {
9191
9174
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
9192
9175
  }
9193
9176
 
9194
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
9177
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
9195
9178
  function generateAdvance(job) {
9196
9179
  for (const unit of job.units) {
9197
9180
  const slotMap = /* @__PURE__ */ new Map();
@@ -9223,7 +9206,7 @@ function generateAdvance(job) {
9223
9206
  }
9224
9207
  }
9225
9208
 
9226
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
9209
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
9227
9210
  function generateProjectionDefs(job) {
9228
9211
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
9229
9212
  const selectors = [];
@@ -9247,7 +9230,7 @@ function generateProjectionDefs(job) {
9247
9230
  }
9248
9231
  }
9249
9232
 
9250
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9233
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
9251
9234
  function generateVariables(job) {
9252
9235
  recursivelyProcessView(job.root, null);
9253
9236
  }
@@ -9346,7 +9329,7 @@ function generateVariablesInScopeForView(view, scope) {
9346
9329
  return newOps;
9347
9330
  }
9348
9331
 
9349
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
9332
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
9350
9333
  function collectConstExpressions(job) {
9351
9334
  for (const unit of job.units) {
9352
9335
  for (const op of unit.ops()) {
@@ -9360,7 +9343,7 @@ function collectConstExpressions(job) {
9360
9343
  }
9361
9344
  }
9362
9345
 
9363
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9346
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
9364
9347
  var STYLE_DOT = "style.";
9365
9348
  var CLASS_DOT = "class.";
9366
9349
  var STYLE_BANG = "style!";
@@ -9418,7 +9401,7 @@ function parseProperty(name) {
9418
9401
  return { property: property2, suffix };
9419
9402
  }
9420
9403
 
9421
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/output/map_util.mjs
9404
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
9422
9405
  function mapLiteral(obj, quoted = false) {
9423
9406
  return literalMap(Object.keys(obj).map((key) => ({
9424
9407
  key,
@@ -9427,7 +9410,7 @@ function mapLiteral(obj, quoted = false) {
9427
9410
  })));
9428
9411
  }
9429
9412
 
9430
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
9413
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
9431
9414
  var IcuSerializerVisitor = class {
9432
9415
  visitText(text2) {
9433
9416
  return text2.value;
@@ -9461,7 +9444,7 @@ function serializeIcuNode(icu) {
9461
9444
  return icu.visit(serializer);
9462
9445
  }
9463
9446
 
9464
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9447
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
9465
9448
  var TokenType;
9466
9449
  (function(TokenType2) {
9467
9450
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -9822,7 +9805,7 @@ function parseIntAutoRadix(text2) {
9822
9805
  return result;
9823
9806
  }
9824
9807
 
9825
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
9808
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
9826
9809
  var SplitInterpolation = class {
9827
9810
  constructor(strings, expressions, offsets) {
9828
9811
  this.strings = strings;
@@ -10704,7 +10687,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
10704
10687
  return offsetMap;
10705
10688
  }
10706
10689
 
10707
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
10690
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
10708
10691
  var NodeWithI18n = class {
10709
10692
  constructor(sourceSpan, i18n2) {
10710
10693
  this.sourceSpan = sourceSpan;
@@ -10815,7 +10798,7 @@ function visitAll2(visitor, nodes, context = null) {
10815
10798
  return result;
10816
10799
  }
10817
10800
 
10818
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
10801
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
10819
10802
  var _SECURITY_SCHEMA;
10820
10803
  function SECURITY_SCHEMA() {
10821
10804
  if (!_SECURITY_SCHEMA) {
@@ -10873,11 +10856,11 @@ function isIframeSecuritySensitiveAttr(attrName) {
10873
10856
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
10874
10857
  }
10875
10858
 
10876
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
10859
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
10877
10860
  var ElementSchemaRegistry = class {
10878
10861
  };
10879
10862
 
10880
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
10863
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
10881
10864
  var BOOLEAN = "boolean";
10882
10865
  var NUMBER = "number";
10883
10866
  var STRING = "string";
@@ -11230,7 +11213,7 @@ function _isPixelDimensionStyle(prop) {
11230
11213
  }
11231
11214
  }
11232
11215
 
11233
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11216
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
11234
11217
  var HtmlTagDefinition = class {
11235
11218
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
11236
11219
  this.closedByChildren = {};
@@ -11348,7 +11331,7 @@ function getHtmlTagDefinition(tagName) {
11348
11331
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
11349
11332
  }
11350
11333
 
11351
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
11334
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
11352
11335
  var TAG_TO_PLACEHOLDER_NAMES = {
11353
11336
  "A": "LINK",
11354
11337
  "B": "BOLD_TEXT",
@@ -11470,7 +11453,7 @@ var PlaceholderRegistry = class {
11470
11453
  }
11471
11454
  };
11472
11455
 
11473
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
11456
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
11474
11457
  var _expParser = new Parser(new Lexer());
11475
11458
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
11476
11459
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -11649,14 +11632,14 @@ function extractPlaceholderName(input) {
11649
11632
  return input.split(_CUSTOM_PH_EXP)[2];
11650
11633
  }
11651
11634
 
11652
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
11635
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
11653
11636
  var I18nError = class extends ParseError {
11654
11637
  constructor(span, msg) {
11655
11638
  super(span, msg);
11656
11639
  }
11657
11640
  };
11658
11641
 
11659
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11642
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
11660
11643
  var NAMED_ENTITIES = {
11661
11644
  "AElig": "\xC6",
11662
11645
  "AMP": "&",
@@ -13787,7 +13770,7 @@ var NAMED_ENTITIES = {
13787
13770
  var NGSP_UNICODE = "\uE500";
13788
13771
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
13789
13772
 
13790
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13773
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
13791
13774
  var TokenError = class extends ParseError {
13792
13775
  constructor(errorMsg, tokenType, span) {
13793
13776
  super(span, errorMsg);
@@ -14708,7 +14691,7 @@ var CursorError = class {
14708
14691
  }
14709
14692
  };
14710
14693
 
14711
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14694
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
14712
14695
  var TreeError = class extends ParseError {
14713
14696
  static create(elementName, span, msg) {
14714
14697
  return new TreeError(elementName, span, msg);
@@ -15092,7 +15075,7 @@ function decodeEntity(match, entity) {
15092
15075
  return match;
15093
15076
  }
15094
15077
 
15095
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15078
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15096
15079
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
15097
15080
  "iframe|srcdoc",
15098
15081
  "*|innerhtml",
@@ -15107,7 +15090,7 @@ function isTrustedTypesSink(tagName, propName) {
15107
15090
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
15108
15091
  }
15109
15092
 
15110
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15093
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15111
15094
  var setI18nRefs = (htmlNode, i18nNode) => {
15112
15095
  if (htmlNode instanceof NodeWithI18n) {
15113
15096
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -15264,7 +15247,7 @@ function i18nMetaToJSDoc(meta) {
15264
15247
  return jsDocComment(tags);
15265
15248
  }
15266
15249
 
15267
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
15250
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
15268
15251
  var GOOG_GET_MSG = "goog.getMsg";
15269
15252
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
15270
15253
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -15315,7 +15298,7 @@ function serializeI18nMessageForGetMsg(message) {
15315
15298
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
15316
15299
  }
15317
15300
 
15318
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
15301
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
15319
15302
  function createLocalizeStatements(variable2, message, params) {
15320
15303
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
15321
15304
  const sourceSpan = getSourceSpan(message);
@@ -15404,7 +15387,7 @@ function createEmptyMessagePart(location) {
15404
15387
  return new LiteralPiece("", new ParseSourceSpan(location, location));
15405
15388
  }
15406
15389
 
15407
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
15390
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
15408
15391
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
15409
15392
  var TRANSLATION_VAR_PREFIX = "i18n_";
15410
15393
  var I18N_ICU_MAPPING_PREFIX = "I18N_EXP_";
@@ -15572,7 +15555,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
15572
15555
  return variable(name);
15573
15556
  }
15574
15557
 
15575
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
15558
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
15576
15559
  function convertI18nText(job) {
15577
15560
  var _a2, _b2, _c2;
15578
15561
  for (const unit of job.units) {
@@ -15642,7 +15625,7 @@ function convertI18nText(job) {
15642
15625
  }
15643
15626
  }
15644
15627
 
15645
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
15628
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
15646
15629
  function liftLocalRefs(job) {
15647
15630
  for (const unit of job.units) {
15648
15631
  for (const op of unit.create) {
@@ -15672,7 +15655,7 @@ function serializeLocalRefs(refs) {
15672
15655
  return literalArr(constRefs);
15673
15656
  }
15674
15657
 
15675
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
15658
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
15676
15659
  function emitNamespaceChanges(job) {
15677
15660
  for (const unit of job.units) {
15678
15661
  let activeNamespace = Namespace.HTML;
@@ -15688,7 +15671,7 @@ function emitNamespaceChanges(job) {
15688
15671
  }
15689
15672
  }
15690
15673
 
15691
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
15674
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
15692
15675
  function parse(value) {
15693
15676
  const styles = [];
15694
15677
  let i = 0;
@@ -15782,7 +15765,7 @@ function parseExtractedStyles(job) {
15782
15765
  }
15783
15766
  }
15784
15767
 
15785
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
15768
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
15786
15769
  function nameFunctionsAndVariables(job) {
15787
15770
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
15788
15771
  }
@@ -15923,7 +15906,7 @@ function stripImportant(name) {
15923
15906
  return name;
15924
15907
  }
15925
15908
 
15926
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
15909
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
15927
15910
  function mergeNextContextExpressions(job) {
15928
15911
  for (const unit of job.units) {
15929
15912
  for (const op of unit.create) {
@@ -15969,7 +15952,7 @@ function mergeNextContextsInOps(ops) {
15969
15952
  }
15970
15953
  }
15971
15954
 
15972
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
15955
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
15973
15956
  var CONTAINER_TAG = "ng-container";
15974
15957
  function generateNgContainerOps(job) {
15975
15958
  for (const unit of job.units) {
@@ -15986,7 +15969,7 @@ function generateNgContainerOps(job) {
15986
15969
  }
15987
15970
  }
15988
15971
 
15989
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
15972
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
15990
15973
  function lookupElement3(elements, xref) {
15991
15974
  const el = elements.get(xref);
15992
15975
  if (el === void 0) {
@@ -16016,7 +15999,7 @@ function disableBindings(job) {
16016
15999
  }
16017
16000
  }
16018
16001
 
16019
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16002
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16020
16003
  function generateNullishCoalesceExpressions(job) {
16021
16004
  for (const unit of job.units) {
16022
16005
  for (const op of unit.ops()) {
@@ -16032,7 +16015,7 @@ function generateNullishCoalesceExpressions(job) {
16032
16015
  }
16033
16016
  }
16034
16017
 
16035
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16018
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16036
16019
  function kindTest(kind) {
16037
16020
  return (op) => op.kind === kind;
16038
16021
  }
@@ -16122,7 +16105,7 @@ function keepLast(ops) {
16122
16105
  return ops.slice(ops.length - 1);
16123
16106
  }
16124
16107
 
16125
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16108
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16126
16109
  function removeContentSelectors(job) {
16127
16110
  for (const unit of job.units) {
16128
16111
  const elements = createOpXrefMap(unit);
@@ -16149,7 +16132,7 @@ function lookupInXrefMap(map, xref) {
16149
16132
  return el;
16150
16133
  }
16151
16134
 
16152
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16135
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16153
16136
  function createPipes(job) {
16154
16137
  for (const unit of job.units) {
16155
16138
  processPipeBindingsInView(unit);
@@ -16197,7 +16180,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
16197
16180
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
16198
16181
  }
16199
16182
 
16200
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16183
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16201
16184
  function createVariadicPipes(job) {
16202
16185
  for (const unit of job.units) {
16203
16186
  for (const op of unit.update) {
@@ -16214,7 +16197,7 @@ function createVariadicPipes(job) {
16214
16197
  }
16215
16198
  }
16216
16199
 
16217
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
16200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
16218
16201
  function propagateI18nBlocks(job) {
16219
16202
  propagateI18nBlocksToTemplates(job.root, 0);
16220
16203
  }
@@ -16268,7 +16251,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
16268
16251
  }
16269
16252
  }
16270
16253
 
16271
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
16254
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
16272
16255
  function extractPureFunctions(job) {
16273
16256
  for (const view of job.units) {
16274
16257
  for (const op of view.ops()) {
@@ -16310,7 +16293,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
16310
16293
  }
16311
16294
  };
16312
16295
 
16313
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
16296
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
16314
16297
  function generatePureLiteralStructures(job) {
16315
16298
  for (const unit of job.units) {
16316
16299
  for (const op of unit.update) {
@@ -16357,7 +16340,7 @@ function transformLiteralMap(expr) {
16357
16340
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
16358
16341
  }
16359
16342
 
16360
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
16343
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
16361
16344
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
16362
16345
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
16363
16346
  }
@@ -16653,19 +16636,7 @@ function pipeBindV(slot, varOffset, args) {
16653
16636
  ]);
16654
16637
  }
16655
16638
  function textInterpolate(strings, expressions, sourceSpan) {
16656
- if (strings.length < 1 || expressions.length !== strings.length - 1) {
16657
- throw new Error(`AssertionError: expected specific shape of args for strings/expressions in interpolation`);
16658
- }
16659
- const interpolationArgs = [];
16660
- if (expressions.length === 1 && strings[0] === "" && strings[1] === "") {
16661
- interpolationArgs.push(expressions[0]);
16662
- } else {
16663
- let idx;
16664
- for (idx = 0; idx < expressions.length; idx++) {
16665
- interpolationArgs.push(literal(strings[idx]), expressions[idx]);
16666
- }
16667
- interpolationArgs.push(literal(strings[idx]));
16668
- }
16639
+ const interpolationArgs = collateInterpolationArgs(strings, expressions);
16669
16640
  return callVariadicInstruction(TEXT_INTERPOLATE_CONFIG, [], interpolationArgs, [], sourceSpan);
16670
16641
  }
16671
16642
  function i18nExp(expr, sourceSpan) {
@@ -16742,8 +16713,8 @@ function call(instruction, args, sourceSpan) {
16742
16713
  const expr = importExpr(instruction).callFn(args, sourceSpan);
16743
16714
  return createStatementOp(new ExpressionStatement(expr, sourceSpan));
16744
16715
  }
16745
- function conditional(slot, condition, contextValue, sourceSpan) {
16746
- const args = [literal(slot), condition];
16716
+ function conditional(condition, contextValue, sourceSpan) {
16717
+ const args = [condition];
16747
16718
  if (contextValue !== null) {
16748
16719
  args.push(contextValue);
16749
16720
  }
@@ -16898,7 +16869,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
16898
16869
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
16899
16870
  }
16900
16871
 
16901
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
16872
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
16902
16873
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
16903
16874
  ["window", Identifiers.resolveWindow],
16904
16875
  ["document", Identifiers.resolveDocument],
@@ -17169,10 +17140,7 @@ function reifyUpdateOperations(_unit, ops) {
17169
17140
  if (op.processed === null) {
17170
17141
  throw new Error(`Conditional test was not set.`);
17171
17142
  }
17172
- if (op.targetSlot.slot === null) {
17173
- throw new Error(`Conditional slot was not set.`);
17174
- }
17175
- OpList.replace(op, conditional(op.targetSlot.slot, op.processed, op.contextValue, op.sourceSpan));
17143
+ OpList.replace(op, conditional(op.processed, op.contextValue, op.sourceSpan));
17176
17144
  break;
17177
17145
  case OpKind.Repeater:
17178
17146
  OpList.replace(op, repeater(op.collection, op.sourceSpan));
@@ -17257,7 +17225,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
17257
17225
  return fn(params, handlerStmts, void 0, void 0, name);
17258
17226
  }
17259
17227
 
17260
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
17228
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
17261
17229
  function removeEmptyBindings(job) {
17262
17230
  for (const unit of job.units) {
17263
17231
  for (const op of unit.update) {
@@ -17278,7 +17246,7 @@ function removeEmptyBindings(job) {
17278
17246
  }
17279
17247
  }
17280
17248
 
17281
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
17249
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
17282
17250
  function removeI18nContexts(job) {
17283
17251
  for (const unit of job.units) {
17284
17252
  for (const op of unit.create) {
@@ -17294,7 +17262,7 @@ function removeI18nContexts(job) {
17294
17262
  }
17295
17263
  }
17296
17264
 
17297
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
17265
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
17298
17266
  function removeUnusedI18nAttributesOps(job) {
17299
17267
  for (const unit of job.units) {
17300
17268
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -17316,7 +17284,7 @@ function removeUnusedI18nAttributesOps(job) {
17316
17284
  }
17317
17285
  }
17318
17286
 
17319
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
17287
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
17320
17288
  function resolveContexts(job) {
17321
17289
  for (const unit of job.units) {
17322
17290
  processLexicalScope(unit, unit.create);
@@ -17358,7 +17326,7 @@ function processLexicalScope(view, ops) {
17358
17326
  }
17359
17327
  }
17360
17328
 
17361
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
17329
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
17362
17330
  function resolveDollarEvent(job) {
17363
17331
  for (const unit of job.units) {
17364
17332
  transformDollarEvent(unit.create);
@@ -17381,7 +17349,7 @@ function transformDollarEvent(ops) {
17381
17349
  }
17382
17350
  }
17383
17351
 
17384
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
17352
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
17385
17353
  function resolveI18nElementPlaceholders(job) {
17386
17354
  const i18nContexts = /* @__PURE__ */ new Map();
17387
17355
  const elements = /* @__PURE__ */ new Map();
@@ -17560,7 +17528,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
17560
17528
  params.set(placeholder, values);
17561
17529
  }
17562
17530
 
17563
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
17531
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
17564
17532
  function resolveI18nExpressionPlaceholders(job) {
17565
17533
  var _a2;
17566
17534
  const subTemplateIndices = /* @__PURE__ */ new Map();
@@ -17613,7 +17581,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
17613
17581
  }
17614
17582
  }
17615
17583
 
17616
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
17584
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
17617
17585
  function resolveNames(job) {
17618
17586
  for (const unit of job.units) {
17619
17587
  processLexicalScope2(unit, unit.create, null);
@@ -17678,7 +17646,7 @@ function processLexicalScope2(unit, ops, savedView) {
17678
17646
  }
17679
17647
  }
17680
17648
 
17681
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
17649
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
17682
17650
  var sanitizerFns = /* @__PURE__ */ new Map([
17683
17651
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
17684
17652
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -17748,57 +17716,30 @@ function getOnlySecurityContext(securityContext) {
17748
17716
  return securityContext;
17749
17717
  }
17750
17718
 
17751
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
17719
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/transform_two_way_binding_set.mjs
17752
17720
  function transformTwoWayBindingSet(job) {
17753
17721
  for (const unit of job.units) {
17754
17722
  for (const op of unit.create) {
17755
17723
  if (op.kind === OpKind.TwoWayListener) {
17756
17724
  transformExpressionsInOp(op, (expr) => {
17757
- if (expr instanceof TwoWayBindingSetExpr) {
17758
- return wrapAction(expr.target, expr.value);
17725
+ if (!(expr instanceof TwoWayBindingSetExpr)) {
17726
+ return expr;
17759
17727
  }
17760
- return expr;
17728
+ const { target, value } = expr;
17729
+ if (target instanceof ReadPropExpr || target instanceof ReadKeyExpr) {
17730
+ return twoWayBindingSet(target, value).or(target.set(value));
17731
+ }
17732
+ if (target instanceof ReadVariableExpr) {
17733
+ return twoWayBindingSet(target, value);
17734
+ }
17735
+ throw new Error(`Unsupported expression in two-way action binding.`);
17761
17736
  }, VisitorContextFlag.InChildOperation);
17762
17737
  }
17763
17738
  }
17764
17739
  }
17765
17740
  }
17766
- function wrapSetOperation(target, value) {
17767
- if (target instanceof ReadVariableExpr) {
17768
- return twoWayBindingSet(target, value);
17769
- }
17770
- return twoWayBindingSet(target, value).or(target.set(value));
17771
- }
17772
- function isReadExpression(value) {
17773
- return value instanceof ReadPropExpr || value instanceof ReadKeyExpr || value instanceof ReadVariableExpr;
17774
- }
17775
- function wrapAction(target, value) {
17776
- if (isReadExpression(target)) {
17777
- return wrapSetOperation(target, value);
17778
- }
17779
- if (target instanceof BinaryOperatorExpr && isReadExpression(target.rhs)) {
17780
- return new BinaryOperatorExpr(target.operator, target.lhs, wrapSetOperation(target.rhs, value));
17781
- }
17782
- if (target instanceof ConditionalExpr && isReadExpression(target.falseCase)) {
17783
- return new ConditionalExpr(target.condition, target.trueCase, wrapSetOperation(target.falseCase, value));
17784
- }
17785
- if (target instanceof NotExpr) {
17786
- let expr = target.condition;
17787
- while (true) {
17788
- if (expr instanceof NotExpr) {
17789
- expr = expr.condition;
17790
- } else {
17791
- if (isReadExpression(expr)) {
17792
- return wrapSetOperation(expr, value);
17793
- }
17794
- break;
17795
- }
17796
- }
17797
- }
17798
- throw new Error(`Unsupported expression in two-way action binding.`);
17799
- }
17800
17741
 
17801
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
17742
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
17802
17743
  function saveAndRestoreView(job) {
17803
17744
  for (const unit of job.units) {
17804
17745
  unit.create.prepend([
@@ -17843,7 +17784,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
17843
17784
  }
17844
17785
  }
17845
17786
 
17846
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
17787
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
17847
17788
  function allocateSlots(job) {
17848
17789
  const slotMap = /* @__PURE__ */ new Map();
17849
17790
  for (const unit of job.units) {
@@ -17868,7 +17809,7 @@ function allocateSlots(job) {
17868
17809
  }
17869
17810
  }
17870
17811
 
17871
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
17812
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
17872
17813
  function specializeStyleBindings(job) {
17873
17814
  for (const unit of job.units) {
17874
17815
  for (const op of unit.update) {
@@ -17898,7 +17839,7 @@ function specializeStyleBindings(job) {
17898
17839
  }
17899
17840
  }
17900
17841
 
17901
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
17842
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
17902
17843
  function generateTemporaryVariables(job) {
17903
17844
  for (const unit of job.units) {
17904
17845
  unit.create.prepend(generateTemporaries(unit.create));
@@ -17956,7 +17897,7 @@ function assignName(names, expr) {
17956
17897
  expr.name = name;
17957
17898
  }
17958
17899
 
17959
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
17900
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
17960
17901
  function generateTrackFns(job) {
17961
17902
  for (const unit of job.units) {
17962
17903
  for (const op of unit.create) {
@@ -17989,7 +17930,7 @@ function generateTrackFns(job) {
17989
17930
  }
17990
17931
  }
17991
17932
 
17992
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
17933
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
17993
17934
  function optimizeTrackFns(job) {
17994
17935
  for (const unit of job.units) {
17995
17936
  for (const op of unit.create) {
@@ -18037,7 +17978,7 @@ function isTrackByFunctionCall(rootView, expr) {
18037
17978
  return true;
18038
17979
  }
18039
17980
 
18040
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
17981
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18041
17982
  function generateTrackVariables(job) {
18042
17983
  for (const unit of job.units) {
18043
17984
  for (const op of unit.create) {
@@ -18058,7 +17999,7 @@ function generateTrackVariables(job) {
18058
17999
  }
18059
18000
  }
18060
18001
 
18061
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18002
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18062
18003
  function countVariables(job) {
18063
18004
  for (const unit of job.units) {
18064
18005
  let varCount = 0;
@@ -18168,7 +18109,7 @@ function isSingletonInterpolation(expr) {
18168
18109
  return true;
18169
18110
  }
18170
18111
 
18171
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18112
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18172
18113
  function optimizeVariables(job) {
18173
18114
  for (const unit of job.units) {
18174
18115
  inlineAlwaysInlineVariables(unit.create);
@@ -18417,7 +18358,7 @@ function allowConservativeInlining(decl, target) {
18417
18358
  }
18418
18359
  }
18419
18360
 
18420
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
18361
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
18421
18362
  function wrapI18nIcus(job) {
18422
18363
  for (const unit of job.units) {
18423
18364
  let currentI18nOp = null;
@@ -18447,7 +18388,7 @@ function wrapI18nIcus(job) {
18447
18388
  }
18448
18389
  }
18449
18390
 
18450
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
18391
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
18451
18392
  var phases = [
18452
18393
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
18453
18394
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -18613,7 +18554,7 @@ function emitHostBindingFunction(job) {
18613
18554
  );
18614
18555
  }
18615
18556
 
18616
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
18557
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
18617
18558
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
18618
18559
  var domSchema = new DomElementSchemaRegistry();
18619
18560
  var NG_TEMPLATE_TAG_NAME = "ng-template";
@@ -18807,7 +18748,6 @@ function ingestBoundText(unit, text2, icuPlaceholder) {
18807
18748
  function ingestIfBlock(unit, ifBlock) {
18808
18749
  var _a2;
18809
18750
  let firstXref = null;
18810
- let firstSlotHandle = null;
18811
18751
  let conditions = [];
18812
18752
  for (let i = 0; i < ifBlock.branches.length; i++) {
18813
18753
  const ifCase = ifBlock.branches[i];
@@ -18827,15 +18767,13 @@ function ingestIfBlock(unit, ifBlock) {
18827
18767
  unit.create.push(templateOp);
18828
18768
  if (firstXref === null) {
18829
18769
  firstXref = cView.xref;
18830
- firstSlotHandle = templateOp.handle;
18831
18770
  }
18832
18771
  const caseExpr = ifCase.expression ? convertAst(ifCase.expression, unit.job, null) : null;
18833
18772
  const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle, ifCase.expressionAlias);
18834
18773
  conditions.push(conditionalCaseExpr);
18835
18774
  ingestNodes(cView, ifCase.children);
18836
18775
  }
18837
- const conditional2 = createConditionalOp(firstXref, firstSlotHandle, null, conditions, ifBlock.sourceSpan);
18838
- unit.update.push(conditional2);
18776
+ unit.update.push(createConditionalOp(firstXref, null, conditions, ifBlock.sourceSpan));
18839
18777
  }
18840
18778
  function ingestSwitchBlock(unit, switchBlock) {
18841
18779
  var _a2;
@@ -18843,7 +18781,6 @@ function ingestSwitchBlock(unit, switchBlock) {
18843
18781
  return;
18844
18782
  }
18845
18783
  let firstXref = null;
18846
- let firstSlotHandle = null;
18847
18784
  let conditions = [];
18848
18785
  for (const switchCase of switchBlock.cases) {
18849
18786
  const cView = unit.job.allocateView(unit.xref);
@@ -18859,15 +18796,13 @@ function ingestSwitchBlock(unit, switchBlock) {
18859
18796
  unit.create.push(templateOp);
18860
18797
  if (firstXref === null) {
18861
18798
  firstXref = cView.xref;
18862
- firstSlotHandle = templateOp.handle;
18863
18799
  }
18864
18800
  const caseExpr = switchCase.expression ? convertAst(switchCase.expression, unit.job, switchBlock.startSourceSpan) : null;
18865
18801
  const conditionalCaseExpr = new ConditionalCaseExpr(caseExpr, templateOp.xref, templateOp.handle);
18866
18802
  conditions.push(conditionalCaseExpr);
18867
18803
  ingestNodes(cView, switchCase.children);
18868
18804
  }
18869
- const conditional2 = createConditionalOp(firstXref, firstSlotHandle, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan);
18870
- unit.update.push(conditional2);
18805
+ unit.update.push(createConditionalOp(firstXref, convertAst(switchBlock.expression, unit.job, null), conditions, switchBlock.sourceSpan));
18871
18806
  }
18872
18807
  function ingestDeferView(unit, suffix, i18nMeta, children, sourceSpan) {
18873
18808
  if (i18nMeta !== void 0 && !(i18nMeta instanceof BlockPlaceholder)) {
@@ -19358,7 +19293,7 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
19358
19293
  return null;
19359
19294
  }
19360
19295
 
19361
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
19296
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/query_generation.mjs
19362
19297
  function renderFlagCheckIfStmt(flags, statements) {
19363
19298
  return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
19364
19299
  }
@@ -19478,7 +19413,7 @@ function createContentQueriesFunction(queries, constantPool, name) {
19478
19413
  ], INFERRED_TYPE, null, contentQueriesFnName);
19479
19414
  }
19480
19415
 
19481
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
19416
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
19482
19417
  var HtmlParser = class extends Parser2 {
19483
19418
  constructor() {
19484
19419
  super(getHtmlTagDefinition);
@@ -19488,7 +19423,7 @@ var HtmlParser = class extends Parser2 {
19488
19423
  }
19489
19424
  };
19490
19425
 
19491
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
19426
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
19492
19427
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
19493
19428
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
19494
19429
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -19554,7 +19489,7 @@ function visitAllWithSiblings(visitor, nodes) {
19554
19489
  return result;
19555
19490
  }
19556
19491
 
19557
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
19492
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
19558
19493
  var PROPERTY_PARTS_SEPARATOR = ".";
19559
19494
  var ATTRIBUTE_PREFIX = "attr";
19560
19495
  var CLASS_PREFIX = "class";
@@ -19562,11 +19497,12 @@ var STYLE_PREFIX = "style";
19562
19497
  var TEMPLATE_ATTR_PREFIX = "*";
19563
19498
  var ANIMATE_PROP_PREFIX = "animate-";
19564
19499
  var BindingParser = class {
19565
- constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
19500
+ constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
19566
19501
  this._exprParser = _exprParser;
19567
19502
  this._interpolationConfig = _interpolationConfig;
19568
19503
  this._schemaRegistry = _schemaRegistry;
19569
19504
  this.errors = errors;
19505
+ this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
19570
19506
  }
19571
19507
  get interpolationConfig() {
19572
19508
  return this._interpolationConfig;
@@ -19870,6 +19806,9 @@ var BindingParser = class {
19870
19806
  if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
19871
19807
  return true;
19872
19808
  }
19809
+ if (!this._allowInvalidAssignmentEvents) {
19810
+ return false;
19811
+ }
19873
19812
  if (ast instanceof Binary) {
19874
19813
  return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
19875
19814
  }
@@ -19895,7 +19834,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
19895
19834
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
19896
19835
  }
19897
19836
 
19898
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
19837
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
19899
19838
  function isStyleUrlResolvable(url) {
19900
19839
  if (url == null || url.length === 0 || url[0] == "/")
19901
19840
  return false;
@@ -19904,7 +19843,7 @@ function isStyleUrlResolvable(url) {
19904
19843
  }
19905
19844
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
19906
19845
 
19907
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
19846
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
19908
19847
  var NG_CONTENT_SELECT_ATTR = "select";
19909
19848
  var LINK_ELEMENT = "link";
19910
19849
  var LINK_STYLE_REL_ATTR = "rel";
@@ -19974,7 +19913,7 @@ function normalizeNgContentSelect(selectAttr) {
19974
19913
  return selectAttr;
19975
19914
  }
19976
19915
 
19977
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
19916
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
19978
19917
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
19979
19918
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
19980
19919
  var CONDITIONAL_ALIAS_PATTERN = /^(as\s)+(.*)/;
@@ -20290,7 +20229,7 @@ function stripOptionalParentheses(param, errors) {
20290
20229
  return expression.slice(start, end);
20291
20230
  }
20292
20231
 
20293
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20232
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
20294
20233
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
20295
20234
  var SEPARATOR_PATTERN = /^\s$/;
20296
20235
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -20554,7 +20493,7 @@ function parseDeferredTime(value) {
20554
20493
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
20555
20494
  }
20556
20495
 
20557
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
20496
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
20558
20497
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
20559
20498
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
20560
20499
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -20689,7 +20628,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
20689
20628
  return { triggers, prefetchTriggers };
20690
20629
  }
20691
20630
 
20692
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
20631
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
20693
20632
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
20694
20633
  var KW_BIND_IDX = 1;
20695
20634
  var KW_LET_IDX = 2;
@@ -21111,12 +21050,12 @@ function textContents(node) {
21111
21050
  }
21112
21051
  }
21113
21052
 
21114
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
21053
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
21115
21054
  var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
21116
21055
  function parseTemplate(template2, templateUrl, options = {}) {
21117
21056
  var _a2;
21118
- const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
21119
- const bindingParser = makeBindingParser(interpolationConfig);
21057
+ const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat, allowInvalidAssignmentEvents } = options;
21058
+ const bindingParser = makeBindingParser(interpolationConfig, allowInvalidAssignmentEvents);
21120
21059
  const htmlParser = new HtmlParser();
21121
21060
  const parseResult = htmlParser.parse(template2, templateUrl, __spreadProps(__spreadValues({
21122
21061
  leadingTriviaChars: LEADING_TRIVIA_CHARS
@@ -21181,11 +21120,11 @@ function parseTemplate(template2, templateUrl, options = {}) {
21181
21120
  return parsedTemplate;
21182
21121
  }
21183
21122
  var elementRegistry = new DomElementSchemaRegistry();
21184
- function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
21185
- return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
21123
+ function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, allowInvalidAssignmentEvents = false) {
21124
+ return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, [], allowInvalidAssignmentEvents);
21186
21125
  }
21187
21126
 
21188
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
21127
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
21189
21128
  var COMPONENT_VARIABLE = "%COMP%";
21190
21129
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
21191
21130
  var CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
@@ -21547,7 +21486,7 @@ function createHostDirectivesMappingArray(mapping) {
21547
21486
  return elements.length > 0 ? literalArr(elements) : null;
21548
21487
  }
21549
21488
 
21550
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
21489
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
21551
21490
  var R3TargetBinder = class {
21552
21491
  constructor(directiveMatcher) {
21553
21492
  this.directiveMatcher = directiveMatcher;
@@ -22180,11 +22119,11 @@ function extractScopedNodeEntities(rootScope) {
22180
22119
  return templateEntities;
22181
22120
  }
22182
22121
 
22183
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/resource_loader.mjs
22122
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
22184
22123
  var ResourceLoader = class {
22185
22124
  };
22186
22125
 
22187
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
22126
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
22188
22127
  var CompilerFacadeImpl = class {
22189
22128
  constructor(jitEvaluator = new JitEvaluator()) {
22190
22129
  this.jitEvaluator = jitEvaluator;
@@ -22745,17 +22684,17 @@ function publishFacade(global) {
22745
22684
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
22746
22685
  }
22747
22686
 
22748
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
22749
- var VERSION2 = new Version("18.0.0-next.3");
22687
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
22688
+ var VERSION2 = new Version("18.0.0-next.5");
22750
22689
 
22751
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22690
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
22752
22691
  var _VisitorMode;
22753
22692
  (function(_VisitorMode2) {
22754
22693
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
22755
22694
  _VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
22756
22695
  })(_VisitorMode || (_VisitorMode = {}));
22757
22696
 
22758
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22697
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
22759
22698
  var XmlTagDefinition = class {
22760
22699
  constructor() {
22761
22700
  this.closedByParent = false;
@@ -22777,7 +22716,7 @@ var XmlTagDefinition = class {
22777
22716
  };
22778
22717
  var _TAG_DEFINITION = new XmlTagDefinition();
22779
22718
 
22780
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
22719
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
22781
22720
  var FactoryTarget2;
22782
22721
  (function(FactoryTarget3) {
22783
22722
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -22787,10 +22726,10 @@ var FactoryTarget2;
22787
22726
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
22788
22727
  })(FactoryTarget2 || (FactoryTarget2 = {}));
22789
22728
 
22790
- // bazel-out/k8-fastbuild/bin/packages/compiler/src/compiler.mjs
22729
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
22791
22730
  publishFacade(_global);
22792
22731
 
22793
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
22732
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/migration.mjs
22794
22733
  var import_typescript4 = __toESM(require("typescript"), 1);
22795
22734
  function migrateTemplate(template2) {
22796
22735
  if (!template2.includes(")]=")) {
@@ -22798,7 +22737,7 @@ function migrateTemplate(template2) {
22798
22737
  }
22799
22738
  let rootNodes = null;
22800
22739
  try {
22801
- const parsed = parseTemplate(template2, "");
22740
+ const parsed = parseTemplate(template2, "", { allowInvalidAssignmentEvents: true });
22802
22741
  if (parsed.errors === null) {
22803
22742
  rootNodes = parsed.nodes;
22804
22743
  }
@@ -22837,9 +22776,9 @@ function migrateTwoWayEvent(value, binding, printer) {
22837
22776
  return null;
22838
22777
  }
22839
22778
  let migrated = null;
22840
- if (import_typescript4.default.isBinaryExpression(expression) && isReadExpression2(expression.right)) {
22779
+ if (import_typescript4.default.isBinaryExpression(expression) && isReadExpression(expression.right)) {
22841
22780
  migrated = import_typescript4.default.factory.updateBinaryExpression(expression, expression.left, expression.operatorToken, wrapInEventAssignment(expression.right));
22842
- } else if (import_typescript4.default.isConditionalExpression(expression) && isReadExpression2(expression.whenFalse)) {
22781
+ } else if (import_typescript4.default.isConditionalExpression(expression) && isReadExpression(expression.whenFalse)) {
22843
22782
  migrated = import_typescript4.default.factory.updateConditionalExpression(expression, expression.condition, expression.questionToken, expression.whenTrue, expression.colonToken, wrapInEventAssignment(expression.whenFalse));
22844
22783
  } else if (isPrefixNot(expression)) {
22845
22784
  let innerExpression = expression.operand;
@@ -22847,7 +22786,7 @@ function migrateTwoWayEvent(value, binding, printer) {
22847
22786
  if (isPrefixNot(innerExpression)) {
22848
22787
  innerExpression = innerExpression.operand;
22849
22788
  } else {
22850
- if (isReadExpression2(innerExpression)) {
22789
+ if (isReadExpression(innerExpression)) {
22851
22790
  migrated = wrapInEventAssignment(innerExpression);
22852
22791
  }
22853
22792
  break;
@@ -22863,7 +22802,7 @@ function migrateTwoWayEvent(value, binding, printer) {
22863
22802
  function wrapInEventAssignment(node) {
22864
22803
  return import_typescript4.default.factory.createBinaryExpression(node, import_typescript4.default.factory.createToken(import_typescript4.default.SyntaxKind.EqualsToken), import_typescript4.default.factory.createIdentifier("$event"));
22865
22804
  }
22866
- function isReadExpression2(node) {
22805
+ function isReadExpression(node) {
22867
22806
  return import_typescript4.default.isIdentifier(node) || import_typescript4.default.isPropertyAccessExpression(node) || import_typescript4.default.isElementAccessExpression(node);
22868
22807
  }
22869
22808
  function isPrefixNot(node) {
@@ -22915,7 +22854,7 @@ var InvalidTwoWayBindingCollector = class extends RecursiveVisitor {
22915
22854
  }
22916
22855
  };
22917
22856
 
22918
- // bazel-out/k8-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
22857
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/invalid-two-way-bindings/index.mjs
22919
22858
  function invalid_two_way_bindings_default() {
22920
22859
  return (tree) => __async(this, null, function* () {
22921
22860
  const { buildPaths, testPaths } = yield getProjectTsConfigPaths(tree);