@angular/core 17.1.0-next.5 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/esm2022/primitives/signals/index.mjs +2 -2
  2. package/esm2022/primitives/signals/src/signal.mjs +2 -10
  3. package/esm2022/src/application/application_ref.mjs +21 -5
  4. package/esm2022/src/authoring/input.mjs +12 -5
  5. package/esm2022/src/authoring/input_signal.mjs +28 -1
  6. package/esm2022/src/authoring/input_signal_node.mjs +22 -0
  7. package/esm2022/src/authoring.mjs +1 -4
  8. package/esm2022/src/change_detection/scheduling/zoneless_scheduling_impl.mjs +56 -0
  9. package/esm2022/src/compiler/compiler_facade_interface.mjs +1 -1
  10. package/esm2022/src/core.mjs +2 -2
  11. package/esm2022/src/core_private_export.mjs +2 -1
  12. package/esm2022/src/core_reactivity_export_internal.mjs +2 -2
  13. package/esm2022/src/core_render3_private_export.mjs +2 -2
  14. package/esm2022/src/defer/dom_triggers.mjs +1 -5
  15. package/esm2022/src/defer/interfaces.mjs +3 -2
  16. package/esm2022/src/di/inject_switch.mjs +2 -3
  17. package/esm2022/src/di/r3_injector.mjs +8 -6
  18. package/esm2022/src/errors.mjs +1 -1
  19. package/esm2022/src/hydration/utils.mjs +2 -2
  20. package/esm2022/src/hydration/views.mjs +2 -2
  21. package/esm2022/src/linker/view_container_ref.mjs +2 -2
  22. package/esm2022/src/metadata/directives.mjs +1 -1
  23. package/esm2022/src/render3/after_render_hooks.mjs +15 -33
  24. package/esm2022/src/render3/apply_value_input_field.mjs +16 -0
  25. package/esm2022/src/render3/collect_native_nodes.mjs +2 -3
  26. package/esm2022/src/render3/component_ref.mjs +13 -6
  27. package/esm2022/src/render3/debug/injector_profiler.mjs +1 -1
  28. package/esm2022/src/render3/definition.mjs +27 -68
  29. package/esm2022/src/render3/errors_di.mjs +4 -3
  30. package/esm2022/src/render3/features/host_directives_feature.mjs +2 -3
  31. package/esm2022/src/render3/features/inherit_definition_feature.mjs +31 -9
  32. package/esm2022/src/render3/features/input_transforms_feature.mjs +4 -5
  33. package/esm2022/src/render3/features/ng_onchanges_feature.mjs +4 -3
  34. package/esm2022/src/render3/index.mjs +2 -3
  35. package/esm2022/src/render3/instructions/advance.mjs +2 -2
  36. package/esm2022/src/render3/instructions/all.mjs +3 -2
  37. package/esm2022/src/render3/instructions/change_detection.mjs +1 -6
  38. package/esm2022/src/render3/instructions/listener.mjs +1 -1
  39. package/esm2022/src/render3/instructions/mark_view_dirty.mjs +2 -2
  40. package/esm2022/src/render3/instructions/queries.mjs +98 -0
  41. package/esm2022/src/render3/instructions/shared.mjs +61 -58
  42. package/esm2022/src/render3/instructions/write_to_directive_input.mjs +43 -0
  43. package/esm2022/src/render3/interfaces/container.mjs +1 -6
  44. package/esm2022/src/render3/interfaces/definition.mjs +8 -2
  45. package/esm2022/src/render3/interfaces/node.mjs +1 -1
  46. package/esm2022/src/render3/interfaces/view.mjs +1 -1
  47. package/esm2022/src/render3/jit/environment.mjs +3 -1
  48. package/esm2022/src/render3/node_manipulation.mjs +8 -8
  49. package/esm2022/src/render3/query.mjs +11 -98
  50. package/esm2022/src/render3/reactivity/effect.mjs +22 -42
  51. package/esm2022/src/render3/reactivity/signal.mjs +1 -1
  52. package/esm2022/src/render3/styling/style_binding_list.mjs +4 -4
  53. package/esm2022/src/render3/util/discovery_utils.mjs +37 -5
  54. package/esm2022/src/render3/util/global_utils.mjs +28 -28
  55. package/esm2022/src/render3/util/injector_discovery_utils.mjs +1 -1
  56. package/esm2022/src/render3/util/injector_utils.mjs +6 -5
  57. package/esm2022/src/render3/util/view_traversal_utils.mjs +3 -12
  58. package/esm2022/src/render3/util/view_utils.mjs +19 -15
  59. package/esm2022/src/testability/testability.mjs +3 -15
  60. package/esm2022/src/util/empty.mjs +1 -1
  61. package/esm2022/src/version.mjs +1 -1
  62. package/esm2022/testing/src/component_fixture.mjs +65 -61
  63. package/esm2022/testing/src/logger.mjs +3 -3
  64. package/esm2022/testing/src/test_bed.mjs +7 -6
  65. package/fesm2022/core.mjs +10537 -10438
  66. package/fesm2022/core.mjs.map +1 -1
  67. package/fesm2022/primitives/signals.mjs +2 -10
  68. package/fesm2022/primitives/signals.mjs.map +1 -1
  69. package/fesm2022/rxjs-interop.mjs +1 -1
  70. package/fesm2022/testing.mjs +70 -65
  71. package/fesm2022/testing.mjs.map +1 -1
  72. package/index.d.ts +644 -262
  73. package/package.json +1 -1
  74. package/primitives/signals/index.d.ts +3 -4
  75. package/rxjs-interop/index.d.ts +1 -1
  76. package/schematics/migrations/block-template-entities/bundle.js +320 -281
  77. package/schematics/migrations/block-template-entities/bundle.js.map +4 -4
  78. package/schematics/migrations/compiler-options/bundle.js +13 -13
  79. package/schematics/migrations/transfer-state/bundle.js +13 -13
  80. package/schematics/ng-generate/control-flow-migration/bundle.js +330 -291
  81. package/schematics/ng-generate/control-flow-migration/bundle.js.map +4 -4
  82. package/schematics/ng-generate/standalone-migration/bundle.js +1296 -947
  83. package/schematics/ng-generate/standalone-migration/bundle.js.map +4 -4
  84. package/testing/index.d.ts +6 -2
@@ -63,7 +63,7 @@ var __async = (__this, __arguments, generator) => {
63
63
  });
64
64
  };
65
65
 
66
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
66
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
67
67
  var control_flow_migration_exports = {};
68
68
  __export(control_flow_migration_exports, {
69
69
  default: () => control_flow_migration_default
@@ -72,22 +72,22 @@ module.exports = __toCommonJS(control_flow_migration_exports);
72
72
  var import_schematics = require("@angular-devkit/schematics");
73
73
  var import_path3 = require("path");
74
74
 
75
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
75
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
76
76
  var import_typescript2 = __toESM(require("typescript"), 1);
77
77
 
78
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
78
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/import_manager.mjs
79
79
  var import_typescript = __toESM(require("typescript"), 1);
80
80
 
81
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
81
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/change_tracker.mjs
82
82
  function normalizePath(path2) {
83
83
  return path2.replace(/\\/g, "/");
84
84
  }
85
85
 
86
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
86
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
87
87
  var import_path = require("path");
88
88
  var import_typescript4 = __toESM(require("typescript"), 1);
89
89
 
90
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
90
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs
91
91
  var path = __toESM(require("path"), 1);
92
92
  var import_typescript3 = __toESM(require("typescript"), 1);
93
93
  function parseTsconfigFile(tsconfigPath, basePath) {
@@ -104,7 +104,7 @@ function parseTsconfigFile(tsconfigPath, basePath) {
104
104
  return import_typescript3.default.parseJsonConfigFileContent(config, parseConfigHost, basePath, {});
105
105
  }
106
106
 
107
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
107
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs
108
108
  function createMigrationProgram(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles) {
109
109
  const { rootNames, options, host } = createProgramOptions(tree, tsconfigPath, basePath, fakeFileRead, additionalFiles);
110
110
  return import_typescript4.default.createProgram(rootNames, options, host);
@@ -137,7 +137,7 @@ function canMigrateFile(basePath, sourceFile, program) {
137
137
  return !(0, import_path.relative)(basePath, sourceFile.fileName).startsWith("..");
138
138
  }
139
139
 
140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/selector.mjs
140
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/selector.mjs
141
141
  var _SELECTOR_REGEXP = new RegExp(
142
142
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
143
143
  "g"
@@ -445,7 +445,7 @@ var SelectorContext = class {
445
445
  }
446
446
  };
447
447
 
448
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/core.mjs
448
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/core.mjs
449
449
  var ViewEncapsulation;
450
450
  (function(ViewEncapsulation2) {
451
451
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
@@ -457,6 +457,12 @@ var ChangeDetectionStrategy;
457
457
  ChangeDetectionStrategy2[ChangeDetectionStrategy2["OnPush"] = 0] = "OnPush";
458
458
  ChangeDetectionStrategy2[ChangeDetectionStrategy2["Default"] = 1] = "Default";
459
459
  })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
460
+ var InputFlags;
461
+ (function(InputFlags2) {
462
+ InputFlags2[InputFlags2["None"] = 0] = "None";
463
+ InputFlags2[InputFlags2["SignalBased"] = 1] = "SignalBased";
464
+ InputFlags2[InputFlags2["HasDecoratorInputTransform"] = 2] = "HasDecoratorInputTransform";
465
+ })(InputFlags || (InputFlags = {}));
460
466
  var CUSTOM_ELEMENTS_SCHEMA = {
461
467
  name: "custom-elements"
462
468
  };
@@ -507,7 +513,7 @@ function parseSelectorToR3Selector(selector) {
507
513
  return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
508
514
  }
509
515
 
510
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
516
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/digest.mjs
511
517
  var textEncoder;
512
518
  function computeDigest(message) {
513
519
  return sha1(serializeNodes(message.nodes).join("") + `[${message.meaning}]`);
@@ -747,7 +753,7 @@ function wordAt(bytes, index, endian) {
747
753
  return word;
748
754
  }
749
755
 
750
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
756
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_ast.mjs
751
757
  var TypeModifier;
752
758
  (function(TypeModifier2) {
753
759
  TypeModifier2[TypeModifier2["None"] = 0] = "None";
@@ -817,12 +823,13 @@ var BinaryOperator;
817
823
  BinaryOperator2[BinaryOperator2["Modulo"] = 8] = "Modulo";
818
824
  BinaryOperator2[BinaryOperator2["And"] = 9] = "And";
819
825
  BinaryOperator2[BinaryOperator2["Or"] = 10] = "Or";
820
- BinaryOperator2[BinaryOperator2["BitwiseAnd"] = 11] = "BitwiseAnd";
821
- BinaryOperator2[BinaryOperator2["Lower"] = 12] = "Lower";
822
- BinaryOperator2[BinaryOperator2["LowerEquals"] = 13] = "LowerEquals";
823
- BinaryOperator2[BinaryOperator2["Bigger"] = 14] = "Bigger";
824
- BinaryOperator2[BinaryOperator2["BiggerEquals"] = 15] = "BiggerEquals";
825
- BinaryOperator2[BinaryOperator2["NullishCoalesce"] = 16] = "NullishCoalesce";
826
+ BinaryOperator2[BinaryOperator2["BitwiseOr"] = 11] = "BitwiseOr";
827
+ BinaryOperator2[BinaryOperator2["BitwiseAnd"] = 12] = "BitwiseAnd";
828
+ BinaryOperator2[BinaryOperator2["Lower"] = 13] = "Lower";
829
+ BinaryOperator2[BinaryOperator2["LowerEquals"] = 14] = "LowerEquals";
830
+ BinaryOperator2[BinaryOperator2["Bigger"] = 15] = "Bigger";
831
+ BinaryOperator2[BinaryOperator2["BiggerEquals"] = 16] = "BiggerEquals";
832
+ BinaryOperator2[BinaryOperator2["NullishCoalesce"] = 17] = "NullishCoalesce";
826
833
  })(BinaryOperator || (BinaryOperator = {}));
827
834
  function nullSafeIsEquivalent(base, other) {
828
835
  if (base == null || other == null) {
@@ -895,6 +902,9 @@ var Expression = class {
895
902
  and(rhs, sourceSpan) {
896
903
  return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan);
897
904
  }
905
+ bitwiseOr(rhs, sourceSpan, parens = true) {
906
+ return new BinaryOperatorExpr(BinaryOperator.BitwiseOr, this, rhs, null, sourceSpan, parens);
907
+ }
898
908
  bitwiseAnd(rhs, sourceSpan, parens = true) {
899
909
  return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens);
900
910
  }
@@ -1702,7 +1712,7 @@ function serializeTags(tags) {
1702
1712
  return out;
1703
1713
  }
1704
1714
 
1705
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1715
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/constant_pool.mjs
1706
1716
  var CONSTANT_PREFIX = "_c";
1707
1717
  var UNKNOWN_VALUE_KEY = variable("<unknown>");
1708
1718
  var KEY_CONTEXT = {};
@@ -1885,7 +1895,7 @@ function isLongStringLiteral(expr) {
1885
1895
  return expr instanceof LiteralExpr && typeof expr.value === "string" && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
1886
1896
  }
1887
1897
 
1888
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1898
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_identifiers.mjs
1889
1899
  var CORE = "@angular/core";
1890
1900
  var _Identifiers = class {
1891
1901
  };
@@ -2490,6 +2500,12 @@ var Identifiers = _Identifiers;
2490
2500
  moduleName: CORE
2491
2501
  };
2492
2502
  })();
2503
+ (() => {
2504
+ _Identifiers.InputFlags = {
2505
+ name: "\u0275\u0275InputFlags",
2506
+ moduleName: CORE
2507
+ };
2508
+ })();
2493
2509
  (() => {
2494
2510
  _Identifiers.sanitizeHtml = { name: "\u0275\u0275sanitizeHtml", moduleName: CORE };
2495
2511
  })();
@@ -2524,7 +2540,7 @@ var Identifiers = _Identifiers;
2524
2540
  _Identifiers.UnwrapDirectiveSignalInputs = { name: "\u0275UnwrapDirectiveSignalInputs", moduleName: CORE };
2525
2541
  })();
2526
2542
 
2527
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/util.mjs
2543
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/util.mjs
2528
2544
  var DASH_CASE_REGEXP = /-+([a-z0-9])/g;
2529
2545
  function dashCaseToCamelCase(input) {
2530
2546
  return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
@@ -2612,7 +2628,7 @@ function partitionArray(arr, conditionFn) {
2612
2628
  return [truthy, falsy];
2613
2629
  }
2614
2630
 
2615
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2631
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/source_map.mjs
2616
2632
  var VERSION = 3;
2617
2633
  var JS_B64_PREFIX = "# sourceMappingURL=data:application/json;base64,";
2618
2634
  var SourceMapGenerator = class {
@@ -2741,7 +2757,7 @@ function toBase64Digit(value) {
2741
2757
  return B64_DIGITS[value];
2742
2758
  }
2743
2759
 
2744
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2760
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_emitter.mjs
2745
2761
  var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
2746
2762
  var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
2747
2763
  var _INDENT_WITH = " ";
@@ -3089,6 +3105,9 @@ var AbstractEmitterVisitor = class {
3089
3105
  case BinaryOperator.And:
3090
3106
  opStr = "&&";
3091
3107
  break;
3108
+ case BinaryOperator.BitwiseOr:
3109
+ opStr = "|";
3110
+ break;
3092
3111
  case BinaryOperator.BitwiseAnd:
3093
3112
  opStr = "&";
3094
3113
  break;
@@ -3226,7 +3245,7 @@ function _createIndent(count) {
3226
3245
  return res;
3227
3246
  }
3228
3247
 
3229
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/util.mjs
3248
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/util.mjs
3230
3249
  function typeWithParameters(type, numParams) {
3231
3250
  if (numParams === 0) {
3232
3251
  return expressionType(type);
@@ -3291,7 +3310,7 @@ function generateForwardRef(expr) {
3291
3310
  return importExpr(Identifiers.forwardRef).callFn([arrowFn([], expr)]);
3292
3311
  }
3293
3312
 
3294
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3313
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_factory.mjs
3295
3314
  var R3FactoryDelegateType;
3296
3315
  (function(R3FactoryDelegateType2) {
3297
3316
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
@@ -3436,7 +3455,7 @@ function getInjectFn(target) {
3436
3455
  }
3437
3456
  }
3438
3457
 
3439
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3458
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/tags.mjs
3440
3459
  var TagContentType;
3441
3460
  (function(TagContentType2) {
3442
3461
  TagContentType2[TagContentType2["RAW_TEXT"] = 0] = "RAW_TEXT";
@@ -3473,7 +3492,7 @@ function mergeNsAndName(prefix, localName) {
3473
3492
  return prefix ? `:${prefix}:${localName}` : localName;
3474
3493
  }
3475
3494
 
3476
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3495
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_ast.mjs
3477
3496
  var Comment = class {
3478
3497
  constructor(value, sourceSpan) {
3479
3498
  this.value = value;
@@ -3854,7 +3873,7 @@ function visitAll(visitor, nodes) {
3854
3873
  return result;
3855
3874
  }
3856
3875
 
3857
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3876
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_ast.mjs
3858
3877
  var Message = class {
3859
3878
  constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
3860
3879
  this.nodes = nodes;
@@ -3992,7 +4011,7 @@ var LocalizeMessageStringVisitor = class {
3992
4011
  }
3993
4012
  };
3994
4013
 
3995
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
4014
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xml_helper.mjs
3996
4015
  var _Visitor = class {
3997
4016
  visitTag(tag) {
3998
4017
  const strAttrs = this._serializeAttributes(tag.attrs);
@@ -4020,12 +4039,12 @@ ${doctype.dtd}
4020
4039
  };
4021
4040
  var _visitor = new _Visitor();
4022
4041
 
4023
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4042
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/xmb.mjs
4024
4043
  function toPublicName(internalName) {
4025
4044
  return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, "_");
4026
4045
  }
4027
4046
 
4028
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4047
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/util.mjs
4029
4048
  var CLOSURE_TRANSLATION_VAR_PREFIX = "MSG_";
4030
4049
  var TRANSLATION_VAR_PREFIX = "i18n_";
4031
4050
  var I18N_ATTR = "i18n";
@@ -4127,7 +4146,7 @@ function declareI18nVariable(variable2) {
4127
4146
  return new DeclareVarStmt(variable2.name, void 0, INFERRED_TYPE, void 0, variable2.sourceSpan);
4128
4147
  }
4129
4148
 
4130
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4149
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/util.mjs
4131
4150
  var UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
4132
4151
  var TEMPORARY_NAME = "_t";
4133
4152
  var CONTEXT_NAME = "ctx";
@@ -4215,7 +4234,7 @@ function asLiteral(value) {
4215
4234
  }
4216
4235
  return literal(value, INFERRED_TYPE);
4217
4236
  }
4218
- function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
4237
+ function conditionallyCreateDirectiveBindingLiteral(map, forInputs) {
4219
4238
  const keys = Object.getOwnPropertyNames(map);
4220
4239
  if (keys.length === 0) {
4221
4240
  return null;
@@ -4235,12 +4254,25 @@ function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
4235
4254
  minifiedName = key;
4236
4255
  declaredName = value.classPropertyName;
4237
4256
  publicName = value.bindingPropertyName;
4238
- if (keepDeclared && (publicName !== declaredName || value.transformFunction != null)) {
4239
- const expressionKeys = [asLiteral(publicName), asLiteral(declaredName)];
4240
- if (value.transformFunction != null) {
4241
- expressionKeys.push(value.transformFunction);
4257
+ const differentDeclaringName = publicName !== declaredName;
4258
+ const hasDecoratorInputTransform = value.transformFunction !== null;
4259
+ let flags = null;
4260
+ if (value.isSignal) {
4261
+ flags = bitwiseOrInputFlagsExpr(InputFlags.SignalBased, flags);
4262
+ }
4263
+ if (hasDecoratorInputTransform) {
4264
+ flags = bitwiseOrInputFlagsExpr(InputFlags.HasDecoratorInputTransform, flags);
4265
+ }
4266
+ if (forInputs && (differentDeclaringName || hasDecoratorInputTransform || flags !== null)) {
4267
+ const flagsExpr = flags != null ? flags : importExpr(Identifiers.InputFlags).prop(InputFlags[InputFlags.None]);
4268
+ const result = [flagsExpr, asLiteral(publicName)];
4269
+ if (differentDeclaringName || hasDecoratorInputTransform) {
4270
+ result.push(asLiteral(declaredName));
4271
+ if (hasDecoratorInputTransform) {
4272
+ result.push(value.transformFunction);
4273
+ }
4242
4274
  }
4243
- expressionValue = literalArr(expressionKeys);
4275
+ expressionValue = literalArr(result);
4244
4276
  } else {
4245
4277
  expressionValue = asLiteral(publicName);
4246
4278
  }
@@ -4252,6 +4284,15 @@ function conditionallyCreateDirectiveBindingLiteral(map, keepDeclared) {
4252
4284
  };
4253
4285
  }));
4254
4286
  }
4287
+ function getInputFlagExpr(flag) {
4288
+ return importExpr(Identifiers.InputFlags).prop(InputFlags[flag]);
4289
+ }
4290
+ function bitwiseOrInputFlagsExpr(flag, expr) {
4291
+ if (expr === null) {
4292
+ return getInputFlagExpr(flag);
4293
+ }
4294
+ return getInputFlagExpr(flag).bitwiseOr(expr);
4295
+ }
4255
4296
  function trimTrailingNulls(parameters) {
4256
4297
  while (isNull(parameters[parameters.length - 1])) {
4257
4298
  parameters.pop();
@@ -4367,7 +4408,7 @@ function getInstructionStatements(instructions) {
4367
4408
  return statements;
4368
4409
  }
4369
4410
 
4370
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4411
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/injectable_compiler_2.mjs
4371
4412
  function compileInjectable(meta, resolveForwardRefs) {
4372
4413
  let result = null;
4373
4414
  const factoryMeta = {
@@ -4452,7 +4493,7 @@ function createFactoryFunction(type) {
4452
4493
  return arrowFn([new FnParam("t", DYNAMIC_TYPE)], type.prop("\u0275fac").callFn([variable("t")]));
4453
4494
  }
4454
4495
 
4455
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/assertions.mjs
4496
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/assertions.mjs
4456
4497
  var UNUSABLE_INTERPOLATION_REGEXPS = [
4457
4498
  /^\s*$/,
4458
4499
  /[<>]/,
@@ -4474,7 +4515,7 @@ function assertInterpolationSymbols(identifier, value) {
4474
4515
  }
4475
4516
  }
4476
4517
 
4477
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4518
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/defaults.mjs
4478
4519
  var InterpolationConfig = class {
4479
4520
  static fromArray(markers) {
4480
4521
  if (!markers) {
@@ -4491,7 +4532,7 @@ var InterpolationConfig = class {
4491
4532
  var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig("{{", "}}");
4492
4533
  var DEFAULT_CONTAINER_BLOCKS = /* @__PURE__ */ new Set(["switch"]);
4493
4534
 
4494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/chars.mjs
4535
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/chars.mjs
4495
4536
  var $EOF = 0;
4496
4537
  var $BSPACE = 8;
4497
4538
  var $TAB = 9;
@@ -4573,7 +4614,7 @@ function isQuote(code) {
4573
4614
  return code === $SQ || code === $DQ || code === $BT;
4574
4615
  }
4575
4616
 
4576
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/parse_util.mjs
4617
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/parse_util.mjs
4577
4618
  var ParseLocation = class {
4578
4619
  constructor(file, offset, line, col) {
4579
4620
  this.file = file;
@@ -4720,7 +4761,7 @@ function sanitizeIdentifier(name) {
4720
4761
  return name.replace(/\W/g, "_");
4721
4762
  }
4722
4763
 
4723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4764
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/abstract_js_emitter.mjs
4724
4765
  var makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
4725
4766
  var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4726
4767
  constructor() {
@@ -4813,7 +4854,7 @@ var AbstractJsEmitterVisitor = class extends AbstractEmitterVisitor {
4813
4854
  }
4814
4855
  };
4815
4856
 
4816
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4857
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit_trusted_types.mjs
4817
4858
  var policy;
4818
4859
  function getPolicy() {
4819
4860
  if (policy === void 0) {
@@ -4851,7 +4892,7 @@ function newTrustedFunctionForJIT(...args) {
4851
4892
  return fn2.bind(_global);
4852
4893
  }
4853
4894
 
4854
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4895
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/output_jit.mjs
4855
4896
  var JitEvaluator = class {
4856
4897
  evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
4857
4898
  const converter = new JitEmitterVisitor(refResolver);
@@ -4942,7 +4983,7 @@ function isUseStrictStatement(statement) {
4942
4983
  return statement.isEquivalent(literal("use strict").toStmt());
4943
4984
  }
4944
4985
 
4945
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
4986
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_injector_compiler.mjs
4946
4987
  function compileInjector(meta) {
4947
4988
  const definitionMap = new DefinitionMap();
4948
4989
  if (meta.providers !== null) {
@@ -4959,7 +5000,7 @@ function createInjectorType(meta) {
4959
5000
  return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
4960
5001
  }
4961
5002
 
4962
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
5003
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_jit.mjs
4963
5004
  var R3JitReflector = class {
4964
5005
  constructor(context) {
4965
5006
  this.context = context;
@@ -4975,7 +5016,7 @@ var R3JitReflector = class {
4975
5016
  }
4976
5017
  };
4977
5018
 
4978
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
5019
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_module_compiler.mjs
4979
5020
  var R3SelectorScopeMode;
4980
5021
  (function(R3SelectorScopeMode2) {
4981
5022
  R3SelectorScopeMode2[R3SelectorScopeMode2["Inline"] = 0] = "Inline";
@@ -5116,7 +5157,7 @@ function tupleOfTypes(types) {
5116
5157
  return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
5117
5158
  }
5118
5159
 
5119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5160
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_pipe_compiler.mjs
5120
5161
  function compilePipeFromMetadata(metadata) {
5121
5162
  const definitionMapValues = [];
5122
5163
  definitionMapValues.push({ key: "name", value: literal(metadata.pipeName), quoted: false });
@@ -5137,7 +5178,7 @@ function createPipeType(metadata) {
5137
5178
  ]));
5138
5179
  }
5139
5180
 
5140
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5181
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/api.mjs
5141
5182
  var R3TemplateDependencyKind;
5142
5183
  (function(R3TemplateDependencyKind2) {
5143
5184
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
@@ -5145,7 +5186,7 @@ var R3TemplateDependencyKind;
5145
5186
  R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
5146
5187
  })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
5147
5188
 
5148
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5189
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/ast.mjs
5149
5190
  var ParserError = class {
5150
5191
  constructor(message, input, errLocation, ctxLocation) {
5151
5192
  this.input = input;
@@ -5811,7 +5852,7 @@ var BoundElementProperty = class {
5811
5852
  }
5812
5853
  };
5813
5854
 
5814
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5855
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler_util/expression_converter.mjs
5815
5856
  var _EventHandlerVars = class {
5816
5857
  };
5817
5858
  var EventHandlerVars = _EventHandlerVars;
@@ -6452,7 +6493,7 @@ var BuiltinFunctionCall = class extends Call {
6452
6493
  }
6453
6494
  };
6454
6495
 
6455
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6496
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_security_schema.mjs
6456
6497
  var _SECURITY_SCHEMA;
6457
6498
  function SECURITY_SCHEMA() {
6458
6499
  if (!_SECURITY_SCHEMA) {
@@ -6510,7 +6551,7 @@ function isIframeSecuritySensitiveAttr(attrName) {
6510
6551
  return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
6511
6552
  }
6512
6553
 
6513
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6554
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/shadow_css.mjs
6514
6555
  var animationKeywords = /* @__PURE__ */ new Set([
6515
6556
  "inherit",
6516
6557
  "initial",
@@ -6981,7 +7022,7 @@ function repeatGroups(groups, multiples) {
6981
7022
  }
6982
7023
  }
6983
7024
 
6984
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
7025
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/enums.mjs
6985
7026
  var OpKind;
6986
7027
  (function(OpKind2) {
6987
7028
  OpKind2[OpKind2["ListEnd"] = 0] = "ListEnd";
@@ -7127,13 +7168,6 @@ var DeferTriggerKind;
7127
7168
  DeferTriggerKind2[DeferTriggerKind2["Interaction"] = 4] = "Interaction";
7128
7169
  DeferTriggerKind2[DeferTriggerKind2["Viewport"] = 5] = "Viewport";
7129
7170
  })(DeferTriggerKind || (DeferTriggerKind = {}));
7130
- var DerivedRepeaterVarIdentity;
7131
- (function(DerivedRepeaterVarIdentity2) {
7132
- DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["First"] = 0] = "First";
7133
- DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Last"] = 1] = "Last";
7134
- DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Even"] = 2] = "Even";
7135
- DerivedRepeaterVarIdentity2[DerivedRepeaterVarIdentity2["Odd"] = 3] = "Odd";
7136
- })(DerivedRepeaterVarIdentity || (DerivedRepeaterVarIdentity = {}));
7137
7171
  var I18nContextKind;
7138
7172
  (function(I18nContextKind2) {
7139
7173
  I18nContextKind2[I18nContextKind2["RootI18n"] = 0] = "RootI18n";
@@ -7147,7 +7181,7 @@ var TemplateKind;
7147
7181
  TemplateKind2[TemplateKind2["Block"] = 2] = "Block";
7148
7182
  })(TemplateKind || (TemplateKind = {}));
7149
7183
 
7150
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7184
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/traits.mjs
7151
7185
  var ConsumesSlot = Symbol("ConsumesSlot");
7152
7186
  var DependsOnSlotContext = Symbol("DependsOnSlotContext");
7153
7187
  var ConsumesVarsTrait = Symbol("ConsumesVars");
@@ -7179,7 +7213,7 @@ function hasUsesVarOffsetTrait(expr) {
7179
7213
  return expr[UsesVarOffset] === true;
7180
7214
  }
7181
7215
 
7182
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7216
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/shared.mjs
7183
7217
  function createStatementOp(statement) {
7184
7218
  return __spreadValues({
7185
7219
  kind: OpKind.Statement,
@@ -7201,7 +7235,7 @@ var NEW_OP = {
7201
7235
  next: null
7202
7236
  };
7203
7237
 
7204
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7238
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/update.mjs
7205
7239
  function createInterpolateTextOp(xref, interpolation, sourceSpan) {
7206
7240
  return __spreadValues(__spreadValues(__spreadValues({
7207
7241
  kind: OpKind.InterpolateText,
@@ -7288,10 +7322,11 @@ function createClassMapOp(xref, expression, sourceSpan) {
7288
7322
  sourceSpan
7289
7323
  }, TRAIT_DEPENDS_ON_SLOT_CONTEXT), TRAIT_CONSUMES_VARS), NEW_OP);
7290
7324
  }
7291
- function createAttributeOp(target, name, expression, securityContext, isTextAttribute, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
7325
+ function createAttributeOp(target, namespace, name, expression, securityContext, isTextAttribute, isStructuralTemplateAttribute, templateKind, i18nMessage, sourceSpan) {
7292
7326
  return __spreadValues(__spreadValues(__spreadValues({
7293
7327
  kind: OpKind.Attribute,
7294
7328
  target,
7329
+ namespace,
7295
7330
  name,
7296
7331
  expression,
7297
7332
  securityContext,
@@ -7366,7 +7401,7 @@ function createI18nApplyOp(owner, handle, sourceSpan) {
7366
7401
  }, NEW_OP);
7367
7402
  }
7368
7403
 
7369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7404
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/expression.mjs
7370
7405
  var _a;
7371
7406
  var _b;
7372
7407
  var _c;
@@ -7946,27 +7981,6 @@ var ConditionalCaseExpr = class extends ExpressionBase {
7946
7981
  }
7947
7982
  }
7948
7983
  };
7949
- var DerivedRepeaterVarExpr = class extends ExpressionBase {
7950
- constructor(xref, identity) {
7951
- super();
7952
- this.xref = xref;
7953
- this.identity = identity;
7954
- this.kind = ExpressionKind.DerivedRepeaterVar;
7955
- }
7956
- transformInternalExpressions(transform2, flags) {
7957
- }
7958
- visitExpression(visitor, context) {
7959
- }
7960
- isEquivalent(e) {
7961
- return e instanceof DerivedRepeaterVarExpr && e.identity === this.identity && e.xref === this.xref;
7962
- }
7963
- isConstant() {
7964
- return false;
7965
- }
7966
- clone() {
7967
- return new DerivedRepeaterVarExpr(this.xref, this.identity);
7968
- }
7969
- };
7970
7984
  var ConstCollectedExpr = class extends ExpressionBase {
7971
7985
  constructor(expr) {
7972
7986
  super();
@@ -8219,7 +8233,7 @@ function isStringLiteral(expr) {
8219
8233
  return expr instanceof LiteralExpr && typeof expr.value === "string";
8220
8234
  }
8221
8235
 
8222
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8236
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/operations.mjs
8223
8237
  var _OpList = class {
8224
8238
  constructor() {
8225
8239
  this.debugListId = _OpList.nextListId++;
@@ -8410,14 +8424,14 @@ var OpList = _OpList;
8410
8424
  _OpList.nextListId = 0;
8411
8425
  })();
8412
8426
 
8413
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8427
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/handle.mjs
8414
8428
  var SlotHandle = class {
8415
8429
  constructor() {
8416
8430
  this.slot = null;
8417
8431
  }
8418
8432
  };
8419
8433
 
8420
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8434
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/create.mjs
8421
8435
  var elementContainerOpKinds = /* @__PURE__ */ new Set([
8422
8436
  OpKind.Element,
8423
8437
  OpKind.ElementStart,
@@ -8572,11 +8586,12 @@ function createProjectionOp(xref, selector, i18nPlaceholder, sourceSpan) {
8572
8586
  sourceSpan
8573
8587
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
8574
8588
  }
8575
- function createExtractedAttributeOp(target, bindingKind, name, expression, i18nContext, i18nMessage, securityContext) {
8589
+ function createExtractedAttributeOp(target, bindingKind, namespace, name, expression, i18nContext, i18nMessage, securityContext) {
8576
8590
  return __spreadValues({
8577
8591
  kind: OpKind.ExtractedAttribute,
8578
8592
  target,
8579
8593
  bindingKind,
8594
+ namespace,
8580
8595
  name,
8581
8596
  expression,
8582
8597
  i18nContext,
@@ -8703,7 +8718,7 @@ function createI18nAttributesOp(xref, handle, target) {
8703
8718
  }, NEW_OP), TRAIT_CONSUMES_SLOT);
8704
8719
  }
8705
8720
 
8706
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8721
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/ops/host.mjs
8707
8722
  function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext, securityContext, sourceSpan) {
8708
8723
  return __spreadValues(__spreadValues({
8709
8724
  kind: OpKind.HostProperty,
@@ -8717,10 +8732,10 @@ function createHostPropertyOp(name, expression, isAnimationTrigger, i18nContext,
8717
8732
  }, TRAIT_CONSUMES_VARS), NEW_OP);
8718
8733
  }
8719
8734
 
8720
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8735
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/ir/src/variable.mjs
8721
8736
  var CTX_REF = "CTX_REF_MARKER";
8722
8737
 
8723
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8738
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/compilation.mjs
8724
8739
  var CompilationJobKind;
8725
8740
  (function(CompilationJobKind2) {
8726
8741
  CompilationJobKind2[CompilationJobKind2["Tmpl"] = 0] = "Tmpl";
@@ -8827,7 +8842,7 @@ var HostBindingCompilationUnit = class extends CompilationUnit {
8827
8842
  }
8828
8843
  };
8829
8844
 
8830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8845
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/any_cast.mjs
8831
8846
  function deleteAnyCasts(job) {
8832
8847
  for (const unit of job.units) {
8833
8848
  for (const op of unit.ops()) {
@@ -8845,7 +8860,7 @@ function removeAnys(e) {
8845
8860
  return e;
8846
8861
  }
8847
8862
 
8848
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8863
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/apply_i18n_expressions.mjs
8849
8864
  function applyI18nExpressions(job) {
8850
8865
  const i18nContexts = /* @__PURE__ */ new Map();
8851
8866
  for (const unit of job.units) {
@@ -8888,7 +8903,7 @@ function needsApplication(i18nContexts, op) {
8888
8903
  return false;
8889
8904
  }
8890
8905
 
8891
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8906
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/assign_i18n_slot_dependencies.mjs
8892
8907
  function assignI18nSlotDependencies(job) {
8893
8908
  for (const unit of job.units) {
8894
8909
  let updateOp = unit.update.head;
@@ -8933,7 +8948,7 @@ function assignI18nSlotDependencies(job) {
8933
8948
  }
8934
8949
  }
8935
8950
 
8936
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8951
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/util/elements.mjs
8937
8952
  function createOpXrefMap(unit) {
8938
8953
  const map = /* @__PURE__ */ new Map();
8939
8954
  for (const op of unit.create) {
@@ -8948,7 +8963,7 @@ function createOpXrefMap(unit) {
8948
8963
  return map;
8949
8964
  }
8950
8965
 
8951
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8966
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/attribute_extraction.mjs
8952
8967
  function extractAttributes(job) {
8953
8968
  for (const unit of job.units) {
8954
8969
  const elements = createOpXrefMap(unit);
@@ -8971,6 +8986,7 @@ function extractAttributes(job) {
8971
8986
  createExtractedAttributeOp(
8972
8987
  op.target,
8973
8988
  bindingKind,
8989
+ null,
8974
8990
  op.name,
8975
8991
  null,
8976
8992
  null,
@@ -8987,6 +9003,7 @@ function extractAttributes(job) {
8987
9003
  OpList.insertBefore(createExtractedAttributeOp(
8988
9004
  op.target,
8989
9005
  BindingKind.Property,
9006
+ null,
8990
9007
  op.name,
8991
9008
  null,
8992
9009
  null,
@@ -9000,6 +9017,7 @@ function extractAttributes(job) {
9000
9017
  const extractedAttributeOp = createExtractedAttributeOp(
9001
9018
  op.target,
9002
9019
  BindingKind.Property,
9020
+ null,
9003
9021
  op.name,
9004
9022
  null,
9005
9023
  null,
@@ -9036,7 +9054,7 @@ function extractAttributeOp(unit, op, elements) {
9036
9054
  extractable && (extractable = op.isTextAttribute);
9037
9055
  }
9038
9056
  if (extractable) {
9039
- const extractedAttributeOp = createExtractedAttributeOp(op.target, op.isStructuralTemplateAttribute ? BindingKind.Template : BindingKind.Attribute, op.name, op.expression, op.i18nContext, op.i18nMessage, op.securityContext);
9057
+ const extractedAttributeOp = createExtractedAttributeOp(op.target, op.isStructuralTemplateAttribute ? BindingKind.Template : BindingKind.Attribute, op.namespace, op.name, op.expression, op.i18nContext, op.i18nMessage, op.securityContext);
9040
9058
  if (unit.job.kind === CompilationJobKind.Host) {
9041
9059
  unit.create.push(extractedAttributeOp);
9042
9060
  } else {
@@ -9047,7 +9065,7 @@ function extractAttributeOp(unit, op, elements) {
9047
9065
  }
9048
9066
  }
9049
9067
 
9050
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9068
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/binding_specialization.mjs
9051
9069
  function lookupElement2(elements, xref) {
9052
9070
  const el = elements.get(xref);
9053
9071
  if (el === void 0) {
@@ -9077,7 +9095,8 @@ function specializeBindings(job) {
9077
9095
  const target = lookupElement2(elements, op.target);
9078
9096
  target.nonBindable = true;
9079
9097
  } else {
9080
- OpList.replace(op, createAttributeOp(op.target, op.name, op.expression, op.securityContext, op.isTextAttribute, op.isStructuralTemplateAttribute, op.templateKind, op.i18nMessage, op.sourceSpan));
9098
+ const [namespace, name] = splitNsName(op.name);
9099
+ OpList.replace(op, createAttributeOp(op.target, namespace, name, op.expression, op.securityContext, op.isTextAttribute, op.isStructuralTemplateAttribute, op.templateKind, op.i18nMessage, op.sourceSpan));
9081
9100
  }
9082
9101
  break;
9083
9102
  case BindingKind.Property:
@@ -9097,7 +9116,7 @@ function specializeBindings(job) {
9097
9116
  }
9098
9117
  }
9099
9118
 
9100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9119
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/chaining.mjs
9101
9120
  var CHAINABLE = /* @__PURE__ */ new Set([
9102
9121
  Identifiers.attribute,
9103
9122
  Identifiers.classProp,
@@ -9163,7 +9182,7 @@ function chainOperationsInList(opList) {
9163
9182
  }
9164
9183
  }
9165
9184
 
9166
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9185
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/collapse_singleton_interpolations.mjs
9167
9186
  function collapseSingletonInterpolations(job) {
9168
9187
  for (const unit of job.units) {
9169
9188
  for (const op of unit.update) {
@@ -9175,7 +9194,7 @@ function collapseSingletonInterpolations(job) {
9175
9194
  }
9176
9195
  }
9177
9196
 
9178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9197
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/conditionals.mjs
9179
9198
  function generateConditionalExpressions(job) {
9180
9199
  for (const unit of job.units) {
9181
9200
  for (const op of unit.ops()) {
@@ -9212,11 +9231,12 @@ function generateConditionalExpressions(job) {
9212
9231
  }
9213
9232
  }
9214
9233
 
9215
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9234
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/conversion.mjs
9216
9235
  var BINARY_OPERATORS = /* @__PURE__ */ new Map([
9217
9236
  ["&&", BinaryOperator.And],
9218
9237
  [">", BinaryOperator.Bigger],
9219
9238
  [">=", BinaryOperator.BiggerEquals],
9239
+ ["|", BinaryOperator.BitwiseOr],
9220
9240
  ["&", BinaryOperator.BitwiseAnd],
9221
9241
  ["/", BinaryOperator.Divide],
9222
9242
  ["==", BinaryOperator.Equals],
@@ -9262,7 +9282,7 @@ function literalOrArrayLiteral(value) {
9262
9282
  return literal(value);
9263
9283
  }
9264
9284
 
9265
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9285
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/const_collection.mjs
9266
9286
  function collectElementConsts(job) {
9267
9287
  const allElementAttributes = /* @__PURE__ */ new Map();
9268
9288
  for (const unit of job.units) {
@@ -9270,7 +9290,7 @@ function collectElementConsts(job) {
9270
9290
  if (op.kind === OpKind.ExtractedAttribute) {
9271
9291
  const attributes = allElementAttributes.get(op.target) || new ElementAttributes(job.compatibility);
9272
9292
  allElementAttributes.set(op.target, attributes);
9273
- attributes.add(op.bindingKind, op.name, op.expression, op.trustedValueFn);
9293
+ attributes.add(op.bindingKind, op.name, op.expression, op.namespace, op.trustedValueFn);
9274
9294
  OpList.remove(op);
9275
9295
  }
9276
9296
  }
@@ -9358,7 +9378,7 @@ var ElementAttributes = class {
9358
9378
  nameToValue.add(name);
9359
9379
  return false;
9360
9380
  }
9361
- add(kind, name, value, trustedValueFn) {
9381
+ add(kind, name, value, namespace, trustedValueFn) {
9362
9382
  var _a2;
9363
9383
  const allowDuplicates = this.compatibility === CompatibilityMode.TemplateDefinitionBuilder && (kind === BindingKind.Attribute || kind === BindingKind.ClassName || kind === BindingKind.StyleProperty);
9364
9384
  if (!allowDuplicates && this.isKnown(kind, name, value)) {
@@ -9371,7 +9391,7 @@ var ElementAttributes = class {
9371
9391
  this.projectAs = value.value.toString();
9372
9392
  }
9373
9393
  const array = this.arrayFor(kind);
9374
- array.push(...getAttributeNameLiterals(name));
9394
+ array.push(...getAttributeNameLiterals(namespace, name));
9375
9395
  if (kind === BindingKind.Attribute || kind === BindingKind.StyleProperty) {
9376
9396
  if (value === null) {
9377
9397
  throw Error("Attribute, i18n attribute, & style element attributes must have a value");
@@ -9393,15 +9413,10 @@ var ElementAttributes = class {
9393
9413
  return this.byKind.get(kind);
9394
9414
  }
9395
9415
  };
9396
- function getAttributeNameLiterals(name) {
9397
- const [attributeNamespace, attributeName] = splitNsName(name, false);
9398
- const nameLiteral = literal(attributeName);
9399
- if (attributeNamespace) {
9400
- return [
9401
- literal(0),
9402
- literal(attributeNamespace),
9403
- nameLiteral
9404
- ];
9416
+ function getAttributeNameLiterals(namespace, name) {
9417
+ const nameLiteral = literal(name);
9418
+ if (namespace) {
9419
+ return [literal(0), literal(namespace), nameLiteral];
9405
9420
  }
9406
9421
  return [nameLiteral];
9407
9422
  }
@@ -9429,7 +9444,7 @@ function serializeAttributes({ attributes, bindings, classes, i18n: i18n2, proje
9429
9444
  return literalArr(attrArray);
9430
9445
  }
9431
9446
 
9432
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9447
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/convert_i18n_bindings.mjs
9433
9448
  function convertI18nBindings(job) {
9434
9449
  const i18nAttributesByElem = /* @__PURE__ */ new Map();
9435
9450
  for (const unit of job.units) {
@@ -9470,7 +9485,7 @@ function convertI18nBindings(job) {
9470
9485
  }
9471
9486
  }
9472
9487
 
9473
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9488
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_defer_deps_fns.mjs
9474
9489
  function createDeferDepsFns(job) {
9475
9490
  for (const unit of job.units) {
9476
9491
  for (const op of unit.create) {
@@ -9502,7 +9517,7 @@ function createDeferDepsFns(job) {
9502
9517
  }
9503
9518
  }
9504
9519
 
9505
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9520
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/create_i18n_contexts.mjs
9506
9521
  function createI18nContexts(job) {
9507
9522
  const attrContextByMessage = /* @__PURE__ */ new Map();
9508
9523
  for (const unit of job.units) {
@@ -9580,7 +9595,7 @@ function createI18nContexts(job) {
9580
9595
  }
9581
9596
  }
9582
9597
 
9583
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9598
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/deduplicate_text_bindings.mjs
9584
9599
  function deduplicateTextBindings(job) {
9585
9600
  const seen = /* @__PURE__ */ new Map();
9586
9601
  for (const unit of job.units) {
@@ -9602,7 +9617,7 @@ function deduplicateTextBindings(job) {
9602
9617
  }
9603
9618
  }
9604
9619
 
9605
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9620
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_configs.mjs
9606
9621
  function configureDeferInstructions(job) {
9607
9622
  for (const unit of job.units) {
9608
9623
  for (const op of unit.create) {
@@ -9619,7 +9634,7 @@ function configureDeferInstructions(job) {
9619
9634
  }
9620
9635
  }
9621
9636
 
9622
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9637
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/defer_resolve_targets.mjs
9623
9638
  function resolveDeferTargetNames(job) {
9624
9639
  const scopes = /* @__PURE__ */ new Map();
9625
9640
  function getScopeForView2(view) {
@@ -9713,7 +9728,7 @@ var Scope = class {
9713
9728
  }
9714
9729
  };
9715
9730
 
9716
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9731
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/empty_elements.mjs
9717
9732
  var REPLACEMENTS = /* @__PURE__ */ new Map([
9718
9733
  [OpKind.ElementEnd, [OpKind.ElementStart, OpKind.Element]],
9719
9734
  [OpKind.ContainerEnd, [OpKind.ContainerStart, OpKind.Container]],
@@ -9740,7 +9755,7 @@ function collapseEmptyInstructions(job) {
9740
9755
  }
9741
9756
  }
9742
9757
 
9743
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9758
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/expand_safe_reads.mjs
9744
9759
  function expandSafeReads(job) {
9745
9760
  for (const unit of job.units) {
9746
9761
  for (const op of unit.ops()) {
@@ -9876,7 +9891,7 @@ function ternaryTransform(e) {
9876
9891
  return new ConditionalExpr(new BinaryOperatorExpr(BinaryOperator.Equals, e.guard, NULL_EXPR), NULL_EXPR, e.expr);
9877
9892
  }
9878
9893
 
9879
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9894
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/extract_i18n_messages.mjs
9880
9895
  var ESCAPE = "\uFFFD";
9881
9896
  var ELEMENT_MARKER = "#";
9882
9897
  var TEMPLATE_MARKER = "*";
@@ -10012,7 +10027,7 @@ function formatValue(value) {
10012
10027
  return `${ESCAPE}${closeMarker}${tagMarker}${value.value}${context}${ESCAPE}`;
10013
10028
  }
10014
10029
 
10015
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10030
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_advance.mjs
10016
10031
  function generateAdvance(job) {
10017
10032
  for (const unit of job.units) {
10018
10033
  const slotMap = /* @__PURE__ */ new Map();
@@ -10044,7 +10059,7 @@ function generateAdvance(job) {
10044
10059
  }
10045
10060
  }
10046
10061
 
10047
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10062
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_projection_def.mjs
10048
10063
  function generateProjectionDefs(job) {
10049
10064
  const share = job.compatibility === CompatibilityMode.TemplateDefinitionBuilder;
10050
10065
  const selectors = [];
@@ -10068,7 +10083,7 @@ function generateProjectionDefs(job) {
10068
10083
  }
10069
10084
  }
10070
10085
 
10071
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10086
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/generate_variables.mjs
10072
10087
  function generateVariables(job) {
10073
10088
  recursivelyProcessView(job.root, null);
10074
10089
  }
@@ -10161,7 +10176,7 @@ function generateVariablesInScopeForView(view, scope) {
10161
10176
  return newOps;
10162
10177
  }
10163
10178
 
10164
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10179
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/has_const_expression_collection.mjs
10165
10180
  function collectConstExpressions(job) {
10166
10181
  for (const unit of job.units) {
10167
10182
  for (const op of unit.ops()) {
@@ -10175,7 +10190,7 @@ function collectConstExpressions(job) {
10175
10190
  }
10176
10191
  }
10177
10192
 
10178
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10193
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/host_style_property_parsing.mjs
10179
10194
  var STYLE_DOT = "style.";
10180
10195
  var CLASS_DOT = "class.";
10181
10196
  var STYLE_BANG = "style!";
@@ -10192,7 +10207,7 @@ function parseHostStyleProperties(job) {
10192
10207
  if (op.name.startsWith(STYLE_DOT)) {
10193
10208
  op.bindingKind = BindingKind.StyleProperty;
10194
10209
  op.name = op.name.substring(STYLE_DOT.length);
10195
- if (isCssCustomProperty(op.name)) {
10210
+ if (!isCssCustomProperty(op.name)) {
10196
10211
  op.name = hyphenate(op.name);
10197
10212
  }
10198
10213
  const { property: property2, suffix } = parseProperty(op.name);
@@ -10233,7 +10248,7 @@ function parseProperty(name) {
10233
10248
  return { property: property2, suffix };
10234
10249
  }
10235
10250
 
10236
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10251
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/output/map_util.mjs
10237
10252
  function mapLiteral(obj, quoted = false) {
10238
10253
  return literalMap(Object.keys(obj).map((key) => ({
10239
10254
  key,
@@ -10242,7 +10257,7 @@ function mapLiteral(obj, quoted = false) {
10242
10257
  })));
10243
10258
  }
10244
10259
 
10245
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10260
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/icu_serializer.mjs
10246
10261
  var IcuSerializerVisitor = class {
10247
10262
  visitText(text2) {
10248
10263
  return text2.value;
@@ -10276,7 +10291,7 @@ function serializeIcuNode(icu) {
10276
10291
  return icu.visit(serializer);
10277
10292
  }
10278
10293
 
10279
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10294
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/lexer.mjs
10280
10295
  var TokenType;
10281
10296
  (function(TokenType2) {
10282
10297
  TokenType2[TokenType2["Character"] = 0] = "Character";
@@ -10637,7 +10652,7 @@ function parseIntAutoRadix(text2) {
10637
10652
  return result;
10638
10653
  }
10639
10654
 
10640
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10655
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/expression_parser/parser.mjs
10641
10656
  var SplitInterpolation = class {
10642
10657
  constructor(strings, expressions, offsets) {
10643
10658
  this.strings = strings;
@@ -11531,7 +11546,7 @@ function getIndexMapForOriginalTemplate(interpolatedTokens) {
11531
11546
  return offsetMap;
11532
11547
  }
11533
11548
 
11534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11549
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/ast.mjs
11535
11550
  var NodeWithI18n = class {
11536
11551
  constructor(sourceSpan, i18n2) {
11537
11552
  this.sourceSpan = sourceSpan;
@@ -11683,11 +11698,11 @@ var RecursiveVisitor = class {
11683
11698
  }
11684
11699
  };
11685
11700
 
11686
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11701
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/element_schema_registry.mjs
11687
11702
  var ElementSchemaRegistry = class {
11688
11703
  };
11689
11704
 
11690
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11705
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/dom_element_schema_registry.mjs
11691
11706
  var BOOLEAN = "boolean";
11692
11707
  var NUMBER = "number";
11693
11708
  var STRING = "string";
@@ -12040,7 +12055,7 @@ function _isPixelDimensionStyle(prop) {
12040
12055
  }
12041
12056
  }
12042
12057
 
12043
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12058
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_tags.mjs
12044
12059
  var HtmlTagDefinition = class {
12045
12060
  constructor({ closedByChildren, implicitNamespacePrefix, contentType = TagContentType.PARSABLE_DATA, closedByParent = false, isVoid = false, ignoreFirstLf = false, preventNamespaceInheritance = false, canSelfClose = false } = {}) {
12046
12061
  this.closedByChildren = {};
@@ -12158,7 +12173,7 @@ function getHtmlTagDefinition(tagName) {
12158
12173
  return (_b2 = (_a2 = TAG_DEFINITIONS[tagName]) != null ? _a2 : TAG_DEFINITIONS[tagName.toLowerCase()]) != null ? _b2 : DEFAULT_TAG_DEFINITION;
12159
12174
  }
12160
12175
 
12161
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12176
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/serializers/placeholder.mjs
12162
12177
  var TAG_TO_PLACEHOLDER_NAMES = {
12163
12178
  "A": "LINK",
12164
12179
  "B": "BOLD_TEXT",
@@ -12280,7 +12295,7 @@ var PlaceholderRegistry = class {
12280
12295
  }
12281
12296
  };
12282
12297
 
12283
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12298
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/i18n_parser.mjs
12284
12299
  var _expParser = new Parser(new Lexer());
12285
12300
  function createI18nMessageFactory(interpolationConfig, containerBlocks) {
12286
12301
  const visitor = new _I18nVisitor(_expParser, interpolationConfig, containerBlocks);
@@ -12459,14 +12474,14 @@ function extractPlaceholderName(input) {
12459
12474
  return input.split(_CUSTOM_PH_EXP)[2];
12460
12475
  }
12461
12476
 
12462
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12477
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/parse_util.mjs
12463
12478
  var I18nError = class extends ParseError {
12464
12479
  constructor(span, msg) {
12465
12480
  super(span, msg);
12466
12481
  }
12467
12482
  };
12468
12483
 
12469
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12484
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/entities.mjs
12470
12485
  var NAMED_ENTITIES = {
12471
12486
  "AElig": "\xC6",
12472
12487
  "AMP": "&",
@@ -14597,7 +14612,7 @@ var NAMED_ENTITIES = {
14597
14612
  var NGSP_UNICODE = "\uE500";
14598
14613
  NAMED_ENTITIES["ngsp"] = NGSP_UNICODE;
14599
14614
 
14600
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14615
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/lexer.mjs
14601
14616
  var TokenError = class extends ParseError {
14602
14617
  constructor(errorMsg, tokenType, span) {
14603
14618
  super(span, errorMsg);
@@ -15518,7 +15533,7 @@ var CursorError = class {
15518
15533
  }
15519
15534
  };
15520
15535
 
15521
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15536
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/parser.mjs
15522
15537
  var TreeError = class extends ParseError {
15523
15538
  static create(elementName, span, msg) {
15524
15539
  return new TreeError(elementName, span, msg);
@@ -15902,7 +15917,7 @@ function decodeEntity(match, entity) {
15902
15917
  return match;
15903
15918
  }
15904
15919
 
15905
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15920
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/schema/trusted_types_sinks.mjs
15906
15921
  var TRUSTED_TYPES_SINKS = /* @__PURE__ */ new Set([
15907
15922
  "iframe|srcdoc",
15908
15923
  "*|innerhtml",
@@ -15917,7 +15932,7 @@ function isTrustedTypesSink(tagName, propName) {
15917
15932
  return TRUSTED_TYPES_SINKS.has(tagName + "|" + propName) || TRUSTED_TYPES_SINKS.has("*|" + propName);
15918
15933
  }
15919
15934
 
15920
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15935
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/meta.mjs
15921
15936
  var setI18nRefs = (htmlNode, i18nNode) => {
15922
15937
  if (htmlNode instanceof NodeWithI18n) {
15923
15938
  if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
@@ -16074,7 +16089,7 @@ function i18nMetaToJSDoc(meta) {
16074
16089
  return jsDocComment(tags);
16075
16090
  }
16076
16091
 
16077
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16092
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/get_msg_utils.mjs
16078
16093
  var GOOG_GET_MSG = "goog.getMsg";
16079
16094
  function createGoogleGetMsgStatements(variable2, message, closureVar, placeholderValues) {
16080
16095
  const messageString = serializeI18nMessageForGetMsg(message);
@@ -16125,7 +16140,7 @@ function serializeI18nMessageForGetMsg(message) {
16125
16140
  return message.nodes.map((node) => node.visit(serializerVisitor2, null)).join("");
16126
16141
  }
16127
16142
 
16128
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16143
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/localize_utils.mjs
16129
16144
  function createLocalizeStatements(variable2, message, params) {
16130
16145
  const { messageParts, placeHolders } = serializeI18nMessageForLocalize(message);
16131
16146
  const sourceSpan = getSourceSpan(message);
@@ -16214,7 +16229,7 @@ function createEmptyMessagePart(location) {
16214
16229
  return new LiteralPiece("", new ParseSourceSpan(location, location));
16215
16230
  }
16216
16231
 
16217
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16232
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_const_collection.mjs
16218
16233
  var NG_I18N_CLOSURE_MODE = "ngI18nClosureMode";
16219
16234
  var TRANSLATION_VAR_PREFIX2 = "i18n_";
16220
16235
  var I18N_ICU_MAPPING_PREFIX2 = "I18N_EXP_";
@@ -16375,7 +16390,7 @@ function i18nGenerateClosureVar(pool, messageId, fileBasedI18nSuffix, useExterna
16375
16390
  return variable(name);
16376
16391
  }
16377
16392
 
16378
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16393
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/i18n_text_extraction.mjs
16379
16394
  function convertI18nText(job) {
16380
16395
  var _a2, _b2, _c2;
16381
16396
  for (const unit of job.units) {
@@ -16445,7 +16460,7 @@ function convertI18nText(job) {
16445
16460
  }
16446
16461
  }
16447
16462
 
16448
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16463
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/local_refs.mjs
16449
16464
  function liftLocalRefs(job) {
16450
16465
  for (const unit of job.units) {
16451
16466
  for (const op of unit.create) {
@@ -16475,7 +16490,7 @@ function serializeLocalRefs(refs) {
16475
16490
  return literalArr(constRefs);
16476
16491
  }
16477
16492
 
16478
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16493
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/namespace.mjs
16479
16494
  function emitNamespaceChanges(job) {
16480
16495
  for (const unit of job.units) {
16481
16496
  let activeNamespace = Namespace.HTML;
@@ -16491,7 +16506,7 @@ function emitNamespaceChanges(job) {
16491
16506
  }
16492
16507
  }
16493
16508
 
16494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16509
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/style_parser.mjs
16495
16510
  function parse(value) {
16496
16511
  const styles = [];
16497
16512
  let i = 0;
@@ -16552,7 +16567,7 @@ function hyphenate2(value) {
16552
16567
  }).toLowerCase();
16553
16568
  }
16554
16569
 
16555
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16570
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/naming.mjs
16556
16571
  function nameFunctionsAndVariables(job) {
16557
16572
  addNamesToView(job.root, job.componentName, { index: 0 }, job.compatibility === CompatibilityMode.TemplateDefinitionBuilder);
16558
16573
  }
@@ -16672,7 +16687,7 @@ function stripImportant(name) {
16672
16687
  return name;
16673
16688
  }
16674
16689
 
16675
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16690
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/next_context_merging.mjs
16676
16691
  function mergeNextContextExpressions(job) {
16677
16692
  for (const unit of job.units) {
16678
16693
  for (const op of unit.create) {
@@ -16718,7 +16733,7 @@ function mergeNextContextsInOps(ops) {
16718
16733
  }
16719
16734
  }
16720
16735
 
16721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16736
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ng_container.mjs
16722
16737
  var CONTAINER_TAG = "ng-container";
16723
16738
  function generateNgContainerOps(job) {
16724
16739
  for (const unit of job.units) {
@@ -16735,7 +16750,7 @@ function generateNgContainerOps(job) {
16735
16750
  }
16736
16751
  }
16737
16752
 
16738
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16753
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nonbindable.mjs
16739
16754
  function lookupElement3(elements, xref) {
16740
16755
  const el = elements.get(xref);
16741
16756
  if (el === void 0) {
@@ -16765,7 +16780,7 @@ function disableBindings(job) {
16765
16780
  }
16766
16781
  }
16767
16782
 
16768
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16783
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/nullish_coalescing.mjs
16769
16784
  function generateNullishCoalesceExpressions(job) {
16770
16785
  for (const unit of job.units) {
16771
16786
  for (const op of unit.ops()) {
@@ -16781,7 +16796,7 @@ function generateNullishCoalesceExpressions(job) {
16781
16796
  }
16782
16797
  }
16783
16798
 
16784
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/ordering.mjs
16785
16800
  function kindTest(kind) {
16786
16801
  return (op) => op.kind === kind;
16787
16802
  }
@@ -16863,7 +16878,7 @@ function keepLast(ops) {
16863
16878
  return ops.slice(ops.length - 1);
16864
16879
  }
16865
16880
 
16866
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16881
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/parse_extracted_styles.mjs
16867
16882
  function parseExtractedStyles(job) {
16868
16883
  const elements = /* @__PURE__ */ new Map();
16869
16884
  for (const unit of job.units) {
@@ -16883,13 +16898,13 @@ function parseExtractedStyles(job) {
16883
16898
  if (op.name === "style") {
16884
16899
  const parsedStyles = parse(op.expression.value);
16885
16900
  for (let i = 0; i < parsedStyles.length - 1; i += 2) {
16886
- OpList.insertBefore(createExtractedAttributeOp(op.target, BindingKind.StyleProperty, parsedStyles[i], literal(parsedStyles[i + 1]), null, null, SecurityContext.STYLE), op);
16901
+ OpList.insertBefore(createExtractedAttributeOp(op.target, BindingKind.StyleProperty, null, parsedStyles[i], literal(parsedStyles[i + 1]), null, null, SecurityContext.STYLE), op);
16887
16902
  }
16888
16903
  OpList.remove(op);
16889
16904
  } else if (op.name === "class") {
16890
16905
  const parsedClasses = op.expression.value.trim().split(/\s+/g);
16891
16906
  for (const parsedClass of parsedClasses) {
16892
- OpList.insertBefore(createExtractedAttributeOp(op.target, BindingKind.ClassName, parsedClass, null, null, null, SecurityContext.NONE), op);
16907
+ OpList.insertBefore(createExtractedAttributeOp(op.target, BindingKind.ClassName, null, parsedClass, null, null, null, SecurityContext.NONE), op);
16893
16908
  }
16894
16909
  OpList.remove(op);
16895
16910
  }
@@ -16898,7 +16913,7 @@ function parseExtractedStyles(job) {
16898
16913
  }
16899
16914
  }
16900
16915
 
16901
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16916
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/phase_remove_content_selectors.mjs
16902
16917
  function removeContentSelectors(job) {
16903
16918
  for (const unit of job.units) {
16904
16919
  const elements = createOpXrefMap(unit);
@@ -16925,7 +16940,7 @@ function lookupInXrefMap(map, xref) {
16925
16940
  return el;
16926
16941
  }
16927
16942
 
16928
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16943
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_creation.mjs
16929
16944
  function createPipes(job) {
16930
16945
  for (const unit of job.units) {
16931
16946
  processPipeBindingsInView(unit);
@@ -16973,7 +16988,7 @@ function addPipeToCreationBlock(unit, afterTargetXref, binding) {
16973
16988
  throw new Error(`AssertionError: unable to find insertion point for pipe ${binding.name}`);
16974
16989
  }
16975
16990
 
16976
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16991
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pipe_variadic.mjs
16977
16992
  function createVariadicPipes(job) {
16978
16993
  for (const unit of job.units) {
16979
16994
  for (const op of unit.update) {
@@ -16990,7 +17005,7 @@ function createVariadicPipes(job) {
16990
17005
  }
16991
17006
  }
16992
17007
 
16993
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
17008
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/propagate_i18n_blocks.mjs
16994
17009
  function propagateI18nBlocks(job) {
16995
17010
  propagateI18nBlocksToTemplates(job.root, 0);
16996
17011
  }
@@ -17044,7 +17059,7 @@ function wrapTemplateWithI18n(unit, parentI18n) {
17044
17059
  }
17045
17060
  }
17046
17061
 
17047
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17062
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_function_extraction.mjs
17048
17063
  function extractPureFunctions(job) {
17049
17064
  for (const view of job.units) {
17050
17065
  for (const op of view.ops()) {
@@ -17086,7 +17101,7 @@ var PureFunctionConstant = class extends GenericKeyFn {
17086
17101
  }
17087
17102
  };
17088
17103
 
17089
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17104
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/pure_literal_structures.mjs
17090
17105
  function generatePureLiteralStructures(job) {
17091
17106
  for (const unit of job.units) {
17092
17107
  for (const op of unit.update) {
@@ -17133,7 +17148,7 @@ function transformLiteralMap(expr) {
17133
17148
  return new PureFunctionExpr(literalMap(derivedEntries), nonConstantArgs);
17134
17149
  }
17135
17150
 
17136
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17151
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/instruction.mjs
17137
17152
  function element(slot, tag, constIndex, localRefIndex, sourceSpan) {
17138
17153
  return elementOrContainerBase(Identifiers.element, slot, tag, constIndex, localRefIndex, sourceSpan);
17139
17154
  }
@@ -17215,9 +17230,7 @@ function namespaceMath() {
17215
17230
  return call(Identifiers.namespaceMathML, [], null);
17216
17231
  }
17217
17232
  function advance(delta, sourceSpan) {
17218
- return call(Identifiers.advance, [
17219
- literal(delta)
17220
- ], sourceSpan);
17233
+ return call(Identifiers.advance, delta > 1 ? [literal(delta)] : [], sourceSpan);
17221
17234
  }
17222
17235
  function reference(slot) {
17223
17236
  return importExpr(Identifiers.reference).callFn([
@@ -17361,10 +17374,13 @@ function property(name, expression, sanitizer, sourceSpan) {
17361
17374
  }
17362
17375
  return call(Identifiers.property, args, sourceSpan);
17363
17376
  }
17364
- function attribute(name, expression, sanitizer) {
17377
+ function attribute(name, expression, sanitizer, namespace) {
17365
17378
  const args = [literal(name), expression];
17366
- if (sanitizer !== null) {
17367
- args.push(sanitizer);
17379
+ if (sanitizer !== null || namespace !== null) {
17380
+ args.push(sanitizer != null ? sanitizer : literal(null));
17381
+ }
17382
+ if (namespace !== null) {
17383
+ args.push(literal(namespace));
17368
17384
  }
17369
17385
  return call(Identifiers.attribute, args, null);
17370
17386
  }
@@ -17654,7 +17670,7 @@ function callVariadicInstruction(config, baseArgs, interpolationArgs, extraArgs,
17654
17670
  return createStatementOp(callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan).toStmt());
17655
17671
  }
17656
17672
 
17657
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17673
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/reify.mjs
17658
17674
  var GLOBAL_TARGET_RESOLVERS = /* @__PURE__ */ new Map([
17659
17675
  ["window", Identifiers.resolveWindow],
17660
17676
  ["document", Identifiers.resolveDocument],
@@ -17877,7 +17893,7 @@ function reifyUpdateOperations(_unit, ops) {
17877
17893
  if (op.expression instanceof Interpolation2) {
17878
17894
  OpList.replace(op, attributeInterpolate(op.name, op.expression.strings, op.expression.expressions, op.sanitizer, op.sourceSpan));
17879
17895
  } else {
17880
- OpList.replace(op, attribute(op.name, op.expression, op.sanitizer));
17896
+ OpList.replace(op, attribute(op.name, op.expression, op.sanitizer, op.namespace));
17881
17897
  }
17882
17898
  break;
17883
17899
  case OpKind.HostProperty:
@@ -17987,7 +18003,7 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
17987
18003
  return fn(params, handlerStmts, void 0, void 0, name);
17988
18004
  }
17989
18005
 
17990
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
18006
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_empty_bindings.mjs
17991
18007
  function removeEmptyBindings(job) {
17992
18008
  for (const unit of job.units) {
17993
18009
  for (const op of unit.update) {
@@ -18008,7 +18024,7 @@ function removeEmptyBindings(job) {
18008
18024
  }
18009
18025
  }
18010
18026
 
18011
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18027
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_i18n_contexts.mjs
18012
18028
  function removeI18nContexts(job) {
18013
18029
  for (const unit of job.units) {
18014
18030
  for (const op of unit.create) {
@@ -18024,7 +18040,7 @@ function removeI18nContexts(job) {
18024
18040
  }
18025
18041
  }
18026
18042
 
18027
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18043
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/remove_unused_i18n_attrs.mjs
18028
18044
  function removeUnusedI18nAttributesOps(job) {
18029
18045
  for (const unit of job.units) {
18030
18046
  const ownersWithI18nExpressions = /* @__PURE__ */ new Set();
@@ -18046,39 +18062,7 @@ function removeUnusedI18nAttributesOps(job) {
18046
18062
  }
18047
18063
  }
18048
18064
 
18049
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/repeater_derived_vars.mjs
18050
- function generateRepeaterDerivedVars(job) {
18051
- const repeaters = /* @__PURE__ */ new Map();
18052
- for (const unit of job.units) {
18053
- for (const op of unit.ops()) {
18054
- if (op.kind === OpKind.RepeaterCreate) {
18055
- repeaters.set(op.xref, op);
18056
- }
18057
- }
18058
- }
18059
- for (const unit of job.units) {
18060
- for (const op of unit.ops()) {
18061
- transformExpressionsInOp(op, (expr) => {
18062
- if (!(expr instanceof DerivedRepeaterVarExpr)) {
18063
- return expr;
18064
- }
18065
- const repeaterOp = repeaters.get(expr.xref);
18066
- switch (expr.identity) {
18067
- case DerivedRepeaterVarIdentity.First:
18068
- return new BinaryOperatorExpr(BinaryOperator.Identical, new LexicalReadExpr(repeaterOp.varNames.$index), literal(0));
18069
- case DerivedRepeaterVarIdentity.Last:
18070
- return new BinaryOperatorExpr(BinaryOperator.Identical, new LexicalReadExpr(repeaterOp.varNames.$index), new BinaryOperatorExpr(BinaryOperator.Minus, new LexicalReadExpr(repeaterOp.varNames.$count), literal(1)));
18071
- case DerivedRepeaterVarIdentity.Even:
18072
- return new BinaryOperatorExpr(BinaryOperator.Identical, new BinaryOperatorExpr(BinaryOperator.Modulo, new LexicalReadExpr(repeaterOp.varNames.$index), literal(2)), literal(0));
18073
- case DerivedRepeaterVarIdentity.Odd:
18074
- return new BinaryOperatorExpr(BinaryOperator.NotIdentical, new BinaryOperatorExpr(BinaryOperator.Modulo, new LexicalReadExpr(repeaterOp.varNames.$index), literal(2)), literal(0));
18075
- }
18076
- }, VisitorContextFlag.None);
18077
- }
18078
- }
18079
- }
18080
-
18081
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18065
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_contexts.mjs
18082
18066
  function resolveContexts(job) {
18083
18067
  for (const unit of job.units) {
18084
18068
  processLexicalScope(unit, unit.create);
@@ -18119,7 +18103,7 @@ function processLexicalScope(view, ops) {
18119
18103
  }
18120
18104
  }
18121
18105
 
18122
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18106
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_dollar_event.mjs
18123
18107
  function resolveDollarEvent(job) {
18124
18108
  for (const unit of job.units) {
18125
18109
  transformDollarEvent(unit, unit.create);
@@ -18140,7 +18124,7 @@ function transformDollarEvent(unit, ops) {
18140
18124
  }
18141
18125
  }
18142
18126
 
18143
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18127
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_element_placeholders.mjs
18144
18128
  function resolveI18nElementPlaceholders(job) {
18145
18129
  const i18nContexts = /* @__PURE__ */ new Map();
18146
18130
  const elements = /* @__PURE__ */ new Map();
@@ -18319,7 +18303,7 @@ function addParam(params, placeholder, value, subTemplateIndex, flags) {
18319
18303
  params.set(placeholder, values);
18320
18304
  }
18321
18305
 
18322
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18306
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_i18n_expression_placeholders.mjs
18323
18307
  function resolveI18nExpressionPlaceholders(job) {
18324
18308
  var _a2;
18325
18309
  const subTemplateIndicies = /* @__PURE__ */ new Map();
@@ -18372,7 +18356,7 @@ function updatePlaceholder(op, value, i18nContexts, icuPlaceholders) {
18372
18356
  }
18373
18357
  }
18374
18358
 
18375
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18359
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_names.mjs
18376
18360
  function resolveNames(job) {
18377
18361
  for (const unit of job.units) {
18378
18362
  processLexicalScope2(unit, unit.create, null);
@@ -18436,7 +18420,7 @@ function processLexicalScope2(unit, ops, savedView) {
18436
18420
  }
18437
18421
  }
18438
18422
 
18439
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18423
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/resolve_sanitizers.mjs
18440
18424
  var sanitizerFns = /* @__PURE__ */ new Map([
18441
18425
  [SecurityContext.HTML, Identifiers.sanitizeHtml],
18442
18426
  [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl],
@@ -18506,7 +18490,7 @@ function getOnlySecurityContext(securityContext) {
18506
18490
  return securityContext;
18507
18491
  }
18508
18492
 
18509
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18493
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/save_restore_view.mjs
18510
18494
  function saveAndRestoreView(job) {
18511
18495
  for (const unit of job.units) {
18512
18496
  unit.create.prepend([
@@ -18551,7 +18535,7 @@ function addSaveRestoreViewOperationToListener(unit, op) {
18551
18535
  }
18552
18536
  }
18553
18537
 
18554
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18538
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/slot_allocation.mjs
18555
18539
  function allocateSlots(job) {
18556
18540
  const slotMap = /* @__PURE__ */ new Map();
18557
18541
  for (const unit of job.units) {
@@ -18576,7 +18560,7 @@ function allocateSlots(job) {
18576
18560
  }
18577
18561
  }
18578
18562
 
18579
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18563
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/style_binding_specialization.mjs
18580
18564
  function specializeStyleBindings(job) {
18581
18565
  for (const unit of job.units) {
18582
18566
  for (const op of unit.update) {
@@ -18606,7 +18590,7 @@ function specializeStyleBindings(job) {
18606
18590
  }
18607
18591
  }
18608
18592
 
18609
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18593
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/temporary_variables.mjs
18610
18594
  function generateTemporaryVariables(job) {
18611
18595
  for (const unit of job.units) {
18612
18596
  unit.create.prepend(generateTemporaries(unit.create));
@@ -18664,7 +18648,7 @@ function assignName(names, expr) {
18664
18648
  expr.name = name;
18665
18649
  }
18666
18650
 
18667
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18651
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_generation.mjs
18668
18652
  function generateTrackFns(job) {
18669
18653
  for (const unit of job.units) {
18670
18654
  for (const op of unit.create) {
@@ -18697,7 +18681,7 @@ function generateTrackFns(job) {
18697
18681
  }
18698
18682
  }
18699
18683
 
18700
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18684
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_fn_optimization.mjs
18701
18685
  function optimizeTrackFns(job) {
18702
18686
  for (const unit of job.units) {
18703
18687
  for (const op of unit.create) {
@@ -18744,7 +18728,7 @@ function isTrackByFunctionCall(rootView, expr) {
18744
18728
  return true;
18745
18729
  }
18746
18730
 
18747
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18731
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/track_variables.mjs
18748
18732
  function generateTrackVariables(job) {
18749
18733
  for (const unit of job.units) {
18750
18734
  for (const op of unit.create) {
@@ -18765,7 +18749,7 @@ function generateTrackVariables(job) {
18765
18749
  }
18766
18750
  }
18767
18751
 
18768
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18752
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/var_counting.mjs
18769
18753
  function countVariables(job) {
18770
18754
  for (const unit of job.units) {
18771
18755
  let varCount = 0;
@@ -18873,7 +18857,7 @@ function isSingletonInterpolation(expr) {
18873
18857
  return true;
18874
18858
  }
18875
18859
 
18876
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18860
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/variable_optimization.mjs
18877
18861
  function optimizeVariables(job) {
18878
18862
  for (const unit of job.units) {
18879
18863
  inlineAlwaysInlineVariables(unit.create);
@@ -19123,7 +19107,7 @@ function allowConservativeInlining(decl, target) {
19123
19107
  }
19124
19108
  }
19125
19109
 
19126
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19110
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/phases/wrap_icus.mjs
19127
19111
  function wrapI18nIcus(job) {
19128
19112
  for (const unit of job.units) {
19129
19113
  let currentI18nOp = null;
@@ -19153,7 +19137,7 @@ function wrapI18nIcus(job) {
19153
19137
  }
19154
19138
  }
19155
19139
 
19156
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19140
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/emit.mjs
19157
19141
  var phases = [
19158
19142
  { kind: CompilationJobKind.Tmpl, fn: removeContentSelectors },
19159
19143
  { kind: CompilationJobKind.Host, fn: parseHostStyleProperties },
@@ -19184,7 +19168,6 @@ var phases = [
19184
19168
  { kind: CompilationJobKind.Tmpl, fn: saveAndRestoreView },
19185
19169
  { kind: CompilationJobKind.Both, fn: deleteAnyCasts },
19186
19170
  { kind: CompilationJobKind.Both, fn: resolveDollarEvent },
19187
- { kind: CompilationJobKind.Tmpl, fn: generateRepeaterDerivedVars },
19188
19171
  { kind: CompilationJobKind.Tmpl, fn: generateTrackVariables },
19189
19172
  { kind: CompilationJobKind.Both, fn: resolveNames },
19190
19173
  { kind: CompilationJobKind.Tmpl, fn: resolveDeferTargetNames },
@@ -19319,7 +19302,7 @@ function emitHostBindingFunction(job) {
19319
19302
  );
19320
19303
  }
19321
19304
 
19322
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19305
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/src/ingest.mjs
19323
19306
  var compatibilityMode = CompatibilityMode.TemplateDefinitionBuilder;
19324
19307
  var domSchema = new DomElementSchemaRegistry();
19325
19308
  var NG_TEMPLATE_TAG_NAME = "ng-template";
@@ -19535,6 +19518,9 @@ function ingestIfBlock(unit, ifBlock) {
19535
19518
  }
19536
19519
  function ingestSwitchBlock(unit, switchBlock) {
19537
19520
  var _a2;
19521
+ if (switchBlock.cases.length === 0) {
19522
+ return;
19523
+ }
19538
19524
  let firstXref = null;
19539
19525
  let firstSlotHandle = null;
19540
19526
  let conditions = [];
@@ -19679,21 +19665,37 @@ function ingestIcu(unit, icu) {
19679
19665
  function ingestForBlock(unit, forBlock) {
19680
19666
  var _a2, _b2, _c2;
19681
19667
  const repeaterView = unit.job.allocateView(unit.xref);
19682
- const createRepeaterAlias = (ident, repeaterVar) => {
19683
- repeaterView.aliases.add({
19684
- kind: SemanticVariableKind.Alias,
19685
- name: null,
19686
- identifier: ident,
19687
- expression: new DerivedRepeaterVarExpr(repeaterView.xref, repeaterVar)
19688
- });
19689
- };
19690
19668
  repeaterView.contextVariables.set(forBlock.item.name, forBlock.item.value);
19691
19669
  repeaterView.contextVariables.set(forBlock.contextVariables.$index.name, forBlock.contextVariables.$index.value);
19692
19670
  repeaterView.contextVariables.set(forBlock.contextVariables.$count.name, forBlock.contextVariables.$count.value);
19693
- createRepeaterAlias(forBlock.contextVariables.$first.name, DerivedRepeaterVarIdentity.First);
19694
- createRepeaterAlias(forBlock.contextVariables.$last.name, DerivedRepeaterVarIdentity.Last);
19695
- createRepeaterAlias(forBlock.contextVariables.$even.name, DerivedRepeaterVarIdentity.Even);
19696
- createRepeaterAlias(forBlock.contextVariables.$odd.name, DerivedRepeaterVarIdentity.Odd);
19671
+ const indexName = `\u0275${forBlock.contextVariables.$index.name}_${repeaterView.xref}`;
19672
+ const countName = `\u0275${forBlock.contextVariables.$count.name}_${repeaterView.xref}`;
19673
+ repeaterView.contextVariables.set(indexName, forBlock.contextVariables.$index.value);
19674
+ repeaterView.contextVariables.set(countName, forBlock.contextVariables.$count.value);
19675
+ repeaterView.aliases.add({
19676
+ kind: SemanticVariableKind.Alias,
19677
+ name: null,
19678
+ identifier: forBlock.contextVariables.$first.name,
19679
+ expression: new LexicalReadExpr(indexName).identical(literal(0))
19680
+ });
19681
+ repeaterView.aliases.add({
19682
+ kind: SemanticVariableKind.Alias,
19683
+ name: null,
19684
+ identifier: forBlock.contextVariables.$last.name,
19685
+ expression: new LexicalReadExpr(indexName).identical(new LexicalReadExpr(countName).minus(literal(1)))
19686
+ });
19687
+ repeaterView.aliases.add({
19688
+ kind: SemanticVariableKind.Alias,
19689
+ name: null,
19690
+ identifier: forBlock.contextVariables.$even.name,
19691
+ expression: new LexicalReadExpr(indexName).modulo(literal(2)).identical(literal(0))
19692
+ });
19693
+ repeaterView.aliases.add({
19694
+ kind: SemanticVariableKind.Alias,
19695
+ name: null,
19696
+ identifier: forBlock.contextVariables.$odd.name,
19697
+ expression: new LexicalReadExpr(indexName).modulo(literal(2)).notIdentical(literal(0))
19698
+ });
19697
19699
  const sourceSpan = convertSourceSpan(forBlock.trackBy.span, forBlock.sourceSpan);
19698
19700
  const track = convertAst(forBlock.trackBy, unit.job, sourceSpan);
19699
19701
  ingestNodes(repeaterView, forBlock.children);
@@ -19895,7 +19897,7 @@ function ingestTemplateBindings(unit, op, template2, templateKind) {
19895
19897
  }
19896
19898
  if (templateKind === TemplateKind.Structural && output.type !== 1) {
19897
19899
  const securityContext = domSchema.securityContext(NG_TEMPLATE_TAG_NAME, output.name, false);
19898
- unit.create.push(createExtractedAttributeOp(op.xref, BindingKind.Property, output.name, null, null, null, securityContext));
19900
+ unit.create.push(createExtractedAttributeOp(op.xref, BindingKind.Property, null, output.name, null, null, null, securityContext));
19899
19901
  }
19900
19902
  }
19901
19903
  if (bindings.some((b) => b == null ? void 0 : b.i18nMessage) !== null) {
@@ -19906,7 +19908,7 @@ function createTemplateBinding(view, xref, type, name, value, unit, securityCont
19906
19908
  const isTextBinding = typeof value === "string";
19907
19909
  if (templateKind === TemplateKind.Structural) {
19908
19910
  if (!isStructuralTemplateAttribute && (type === 0 || type === 2 || type === 3)) {
19909
- return createExtractedAttributeOp(xref, BindingKind.Property, name, null, null, i18nMessage, securityContext);
19911
+ return createExtractedAttributeOp(xref, BindingKind.Property, null, name, null, null, i18nMessage, securityContext);
19910
19912
  }
19911
19913
  if (!isTextBinding && (type === 1 || type === 4)) {
19912
19914
  return null;
@@ -19983,10 +19985,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
19983
19985
  return null;
19984
19986
  }
19985
19987
 
19986
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
19988
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template/pipeline/switch/index.mjs
19987
19989
  var USE_TEMPLATE_PIPELINE = false;
19988
19990
 
19989
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
19991
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/styling_builder.mjs
19990
19992
  var IMPORTANT_FLAG = "!important";
19991
19993
  var MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
19992
19994
  var StylingBuilder = class {
@@ -20319,7 +20321,7 @@ function isEmptyExpression(ast) {
20319
20321
  return ast instanceof EmptyExpr;
20320
20322
  }
20321
20323
 
20322
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20324
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_parser.mjs
20323
20325
  var HtmlParser = class extends Parser2 {
20324
20326
  constructor() {
20325
20327
  super(getHtmlTagDefinition);
@@ -20329,7 +20331,7 @@ var HtmlParser = class extends Parser2 {
20329
20331
  }
20330
20332
  };
20331
20333
 
20332
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20334
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/html_whitespaces.mjs
20333
20335
  var PRESERVE_WS_ATTR_NAME = "ngPreserveWhitespaces";
20334
20336
  var SKIP_WS_TRIM_TAGS = /* @__PURE__ */ new Set(["pre", "template", "textarea", "script", "style"]);
20335
20337
  var WS_CHARS = " \f\n\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF";
@@ -20395,7 +20397,7 @@ function visitAllWithSiblings(visitor, nodes) {
20395
20397
  return result;
20396
20398
  }
20397
20399
 
20398
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20400
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/binding_parser.mjs
20399
20401
  var PROPERTY_PARTS_SEPARATOR = ".";
20400
20402
  var ATTRIBUTE_PREFIX = "attr";
20401
20403
  var CLASS_PREFIX = "class";
@@ -20715,7 +20717,7 @@ function moveParseSourceSpan(sourceSpan, absoluteSpan) {
20715
20717
  return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
20716
20718
  }
20717
20719
 
20718
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20720
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/style_url_resolver.mjs
20719
20721
  function isStyleUrlResolvable(url) {
20720
20722
  if (url == null || url.length === 0 || url[0] == "/")
20721
20723
  return false;
@@ -20724,7 +20726,7 @@ function isStyleUrlResolvable(url) {
20724
20726
  }
20725
20727
  var URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
20726
20728
 
20727
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20729
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/template_parser/template_preparser.mjs
20728
20730
  var NG_CONTENT_SELECT_ATTR = "select";
20729
20731
  var LINK_ELEMENT = "link";
20730
20732
  var LINK_STYLE_REL_ATTR = "rel";
@@ -20794,7 +20796,7 @@ function normalizeNgContentSelect(selectAttr) {
20794
20796
  return selectAttr;
20795
20797
  }
20796
20798
 
20797
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20799
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_control_flow.mjs
20798
20800
  var FOR_LOOP_EXPRESSION_PATTERN = /^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/;
20799
20801
  var FOR_LOOP_TRACK_PATTERN = /^track\s+([\S\s]*)/;
20800
20802
  var CONDITIONAL_ALIAS_PATTERN = /^as\s+(.*)/;
@@ -21085,7 +21087,7 @@ function stripOptionalParentheses(param, errors) {
21085
21087
  return expression.slice(start, end);
21086
21088
  }
21087
21089
 
21088
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21090
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_triggers.mjs
21089
21091
  var TIME_PATTERN = /^\d+\.?\d*(ms|s)?$/;
21090
21092
  var SEPARATOR_PATTERN = /^\s$/;
21091
21093
  var COMMA_DELIMITED_SYNTAX = /* @__PURE__ */ new Map([
@@ -21349,7 +21351,7 @@ function parseDeferredTime(value) {
21349
21351
  return parseFloat(time) * (units === "s" ? 1e3 : 1);
21350
21352
  }
21351
21353
 
21352
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21354
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_deferred_blocks.mjs
21353
21355
  var PREFETCH_WHEN_PATTERN = /^prefetch\s+when\s/;
21354
21356
  var PREFETCH_ON_PATTERN = /^prefetch\s+on\s/;
21355
21357
  var MINIMUM_PARAMETER_PATTERN = /^minimum\s/;
@@ -21484,7 +21486,7 @@ function parsePrimaryTriggers(params, bindingParser, errors, placeholder) {
21484
21486
  return { triggers, prefetchTriggers };
21485
21487
  }
21486
21488
 
21487
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21489
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/r3_template_transform.mjs
21488
21490
  var BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/;
21489
21491
  var KW_BIND_IDX = 1;
21490
21492
  var KW_LET_IDX = 2;
@@ -21915,7 +21917,7 @@ function textContents(node) {
21915
21917
  }
21916
21918
  }
21917
21919
 
21918
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21920
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/i18n/context.mjs
21919
21921
  var TagType;
21920
21922
  (function(TagType2) {
21921
21923
  TagType2[TagType2["ELEMENT"] = 0] = "ELEMENT";
@@ -22060,7 +22062,7 @@ function serializePlaceholderValue(value) {
22060
22062
  }
22061
22063
  }
22062
22064
 
22063
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22065
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/template.mjs
22064
22066
  var NG_CONTENT_SELECT_ATTR2 = "select";
22065
22067
  var NG_PROJECT_AS_ATTR_NAME = "ngProjectAs";
22066
22068
  var EVENT_BINDING_SCOPE_GLOBALS = /* @__PURE__ */ new Set(["$event"]);
@@ -22134,7 +22136,7 @@ var TemplateData = class {
22134
22136
  }
22135
22137
  };
22136
22138
  var TemplateDefinitionBuilder = class {
22137
- constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, deferBlocks, elementLocations, _constants = createComponentDefConsts()) {
22139
+ constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, deferBlocks, elementLocations, allDeferrableDepsFn, _constants = createComponentDefConsts()) {
22138
22140
  this.constantPool = constantPool;
22139
22141
  this.level = level;
22140
22142
  this.contextName = contextName;
@@ -22145,6 +22147,7 @@ var TemplateDefinitionBuilder = class {
22145
22147
  this.i18nUseExternalIds = i18nUseExternalIds;
22146
22148
  this.deferBlocks = deferBlocks;
22147
22149
  this.elementLocations = elementLocations;
22150
+ this.allDeferrableDepsFn = allDeferrableDepsFn;
22148
22151
  this._constants = _constants;
22149
22152
  this._dataIndex = 0;
22150
22153
  this._bindingContext = 0;
@@ -22620,7 +22623,7 @@ var TemplateDefinitionBuilder = class {
22620
22623
  }
22621
22624
  const contextName = `${this.contextName}${contextNameSuffix}_${index}`;
22622
22625
  const name = `${contextName}_Template`;
22623
- const visitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, index, name, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this.deferBlocks, this.elementLocations, this._constants);
22626
+ const visitor = new TemplateDefinitionBuilder(this.constantPool, this._bindingScope, this.level + 1, contextName, this.i18n, index, name, this._namespace, this.fileBasedI18nSuffix, this.i18nUseExternalIds, this.deferBlocks, this.elementLocations, this.allDeferrableDepsFn, this._constants);
22624
22627
  this._nestedTemplateFns.push(() => {
22625
22628
  const templateFunctionExpr = visitor.buildTemplateFunction(children, variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, i18nMeta, variableAliases);
22626
22629
  this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(name));
@@ -22765,6 +22768,9 @@ var TemplateDefinitionBuilder = class {
22765
22768
  this.updateInstructionWithAdvance(containerIndex, block.branches[0].sourceSpan, Identifiers.conditional, paramsCallback);
22766
22769
  }
22767
22770
  visitSwitchBlock(block) {
22771
+ if (block.cases.length === 0) {
22772
+ return;
22773
+ }
22768
22774
  const caseData = block.cases.map((currentCase) => {
22769
22775
  const index = this.createEmbeddedTemplateFn(null, currentCase.children, "_Case", currentCase.sourceSpan, void 0, void 0, void 0, currentCase.i18n);
22770
22776
  const expression = currentCase.expression === null ? null : currentCase.expression.visit(this._valueConverter);
@@ -22789,6 +22795,7 @@ var TemplateDefinitionBuilder = class {
22789
22795
  });
22790
22796
  }
22791
22797
  visitDeferredBlock(deferred) {
22798
+ var _a2;
22792
22799
  const { loading, placeholder, error: error2, triggers, prefetchTriggers } = deferred;
22793
22800
  const metadata = this.deferBlocks.get(deferred);
22794
22801
  if (!metadata) {
@@ -22805,7 +22812,7 @@ var TemplateDefinitionBuilder = class {
22805
22812
  this.creationInstruction(deferred.sourceSpan, Identifiers.defer, trimTrailingNulls([
22806
22813
  literal(deferredIndex),
22807
22814
  literal(primaryTemplateIndex),
22808
- this.createDeferredDepsFunction(depsFnName, metadata),
22815
+ (_a2 = this.allDeferrableDepsFn) != null ? _a2 : this.createDeferredDepsFunction(depsFnName, metadata),
22809
22816
  literal(loadingIndex),
22810
22817
  literal(placeholderIndex),
22811
22818
  literal(errorIndex),
@@ -23092,7 +23099,7 @@ var TemplateDefinitionBuilder = class {
23092
23099
  if (delta < 1) {
23093
23100
  throw new Error("advance instruction can only go forwards");
23094
23101
  }
23095
- this.instructionFn(this._updateCodeFns, span, Identifiers.advance, [literal(delta)]);
23102
+ this.instructionFn(this._updateCodeFns, span, Identifiers.advance, delta > 1 ? [literal(delta)] : []);
23096
23103
  this._currentIndex = nodeIndex;
23097
23104
  }
23098
23105
  }
@@ -23742,7 +23749,7 @@ function createClosureModeGuard2() {
23742
23749
  return typeofExpr(variable(NG_I18N_CLOSURE_MODE2)).notIdentical(literal("undefined", STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE2));
23743
23750
  }
23744
23751
 
23745
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23752
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/compiler.mjs
23746
23753
  var ATTR_REGEX = /attr\.([^\]]+)/;
23747
23754
  var COMPONENT_VARIABLE = "%COMP%";
23748
23755
  var HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
@@ -23819,6 +23826,17 @@ function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {
23819
23826
  const type = createDirectiveType(meta);
23820
23827
  return { expression, type, statements: [] };
23821
23828
  }
23829
+ function createDeferredDepsFunction(constantPool, name, deps) {
23830
+ const dependencyExp = [];
23831
+ for (const [symbolName, importPath] of deps) {
23832
+ const innerFn = arrowFn([new FnParam("m", DYNAMIC_TYPE)], variable("m").prop(symbolName));
23833
+ const importExpr2 = new DynamicImportExpr(importPath).prop("then").callFn([innerFn]);
23834
+ dependencyExp.push(importExpr2);
23835
+ }
23836
+ const depsFnExpr = arrowFn([], literalArr(dependencyExp));
23837
+ constantPool.statements.push(depsFnExpr.toDeclStmt(name, StmtModifier.Final));
23838
+ return variable(name);
23839
+ }
23822
23840
  function compileComponentFromMetadata(meta, constantPool, bindingParser) {
23823
23841
  const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
23824
23842
  addFeatures(definitionMap, meta);
@@ -23836,8 +23854,13 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
23836
23854
  const templateTypeName = meta.name;
23837
23855
  const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
23838
23856
  if (!USE_TEMPLATE_PIPELINE) {
23857
+ let allDeferrableDepsFn = null;
23858
+ if (meta.deferBlocks.size > 0 && meta.deferrableTypes.size > 0 && meta.deferBlockDepsEmitMode === 1) {
23859
+ const fnName = `${templateTypeName}_DeferFn`;
23860
+ allDeferrableDepsFn = createDeferredDepsFunction(constantPool, fnName, meta.deferrableTypes);
23861
+ }
23839
23862
  const template2 = meta.template;
23840
- const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map());
23863
+ const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds, meta.deferBlocks, /* @__PURE__ */ new Map(), allDeferrableDepsFn);
23841
23864
  const templateFunctionExpression = templateBuilder.buildTemplateFunction(template2.nodes, []);
23842
23865
  const ngContentSelectors = templateBuilder.getNgContentSelectors();
23843
23866
  if (ngContentSelectors) {
@@ -24357,7 +24380,7 @@ function createHostDirectivesMappingArray(mapping) {
24357
24380
  return elements.length > 0 ? literalArr(elements) : null;
24358
24381
  }
24359
24382
 
24360
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24383
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/view/t2_binder.mjs
24361
24384
  var R3TargetBinder = class {
24362
24385
  constructor(directiveMatcher) {
24363
24386
  this.directiveMatcher = directiveMatcher;
@@ -24370,7 +24393,7 @@ var R3TargetBinder = class {
24370
24393
  const scopedNodeEntities = extractScopedNodeEntities(scope);
24371
24394
  const { directives, eagerDirectives, bindings, references } = DirectiveBinder.apply(target.template, this.directiveMatcher);
24372
24395
  const { expressions, symbols, nestingLevel, usedPipes, eagerPipes, deferBlocks } = TemplateBinder.applyWithScope(target.template, scope);
24373
- return new R3BoundTarget(target, directives, eagerDirectives, bindings, references, expressions, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferBlocks);
24396
+ return new R3BoundTarget(target, directives, eagerDirectives, bindings, references, expressions, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferBlocks, scope);
24374
24397
  }
24375
24398
  };
24376
24399
  var Scope2 = class {
@@ -24378,6 +24401,7 @@ var Scope2 = class {
24378
24401
  this.parentScope = parentScope;
24379
24402
  this.rootNode = rootNode;
24380
24403
  this.namedEntities = /* @__PURE__ */ new Map();
24404
+ this.elementsInScope = /* @__PURE__ */ new Set();
24381
24405
  this.childScopes = /* @__PURE__ */ new Map();
24382
24406
  this.isDeferred = parentScope !== null && parentScope.isDeferred ? true : rootNode instanceof DeferredBlock;
24383
24407
  }
@@ -24411,6 +24435,7 @@ var Scope2 = class {
24411
24435
  visitElement(element2) {
24412
24436
  element2.references.forEach((node) => this.visitReference(node));
24413
24437
  element2.children.forEach((node) => node.visit(this));
24438
+ this.elementsInScope.add(element2);
24414
24439
  }
24415
24440
  visitTemplate(template2) {
24416
24441
  template2.references.forEach((node) => this.visitReference(node));
@@ -24820,7 +24845,7 @@ var TemplateBinder = class extends RecursiveAstVisitor {
24820
24845
  }
24821
24846
  };
24822
24847
  var R3BoundTarget = class {
24823
- constructor(target, directives, eagerDirectives, bindings, references, exprTargets, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferredBlocks) {
24848
+ constructor(target, directives, eagerDirectives, bindings, references, exprTargets, symbols, nestingLevel, scopedNodeEntities, usedPipes, eagerPipes, deferredBlocks, rootScope) {
24824
24849
  this.target = target;
24825
24850
  this.directives = directives;
24826
24851
  this.eagerDirectives = eagerDirectives;
@@ -24833,6 +24858,7 @@ var R3BoundTarget = class {
24833
24858
  this.usedPipes = usedPipes;
24834
24859
  this.eagerPipes = eagerPipes;
24835
24860
  this.deferredBlocks = deferredBlocks;
24861
+ this.rootScope = rootScope;
24836
24862
  }
24837
24863
  getEntitiesInScope(node) {
24838
24864
  var _a2;
@@ -24912,6 +24938,15 @@ var R3BoundTarget = class {
24912
24938
  }
24913
24939
  return null;
24914
24940
  }
24941
+ isDeferred(element2) {
24942
+ for (const deferBlock of this.deferredBlocks) {
24943
+ const scope = this.rootScope.childScopes.get(deferBlock);
24944
+ if (scope && scope.elementsInScope.has(element2)) {
24945
+ return true;
24946
+ }
24947
+ }
24948
+ return false;
24949
+ }
24915
24950
  findEntityInScope(rootNode, name) {
24916
24951
  const entities = this.getEntitiesInScope(rootNode);
24917
24952
  for (const entitity of entities) {
@@ -24962,11 +24997,11 @@ function extractScopedNodeEntities(rootScope) {
24962
24997
  return templateEntities;
24963
24998
  }
24964
24999
 
24965
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/resource_loader.mjs
25000
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/resource_loader.mjs
24966
25001
  var ResourceLoader = class {
24967
25002
  };
24968
25003
 
24969
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
25004
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/jit_compiler_facade.mjs
24970
25005
  var CompilerFacadeImpl = class {
24971
25006
  constructor(jitEvaluator = new JitEvaluator()) {
24972
25007
  this.jitEvaluator = jitEvaluator;
@@ -25089,7 +25124,9 @@ var CompilerFacadeImpl = class {
25089
25124
  declarations: facade.declarations.map(convertDeclarationFacadeToMetadata),
25090
25125
  declarationListEmitMode: 0,
25091
25126
  deferBlocks,
25127
+ deferrableTypes: /* @__PURE__ */ new Map(),
25092
25128
  deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
25129
+ deferBlockDepsEmitMode: 0,
25093
25130
  styles: [...facade.styles, ...template2.styles],
25094
25131
  encapsulation: facade.encapsulation,
25095
25132
  interpolation,
@@ -25182,7 +25219,7 @@ function convertDirectiveFacadeToMetadata(facade) {
25182
25219
  bindingPropertyName: ann.alias || field,
25183
25220
  classPropertyName: field,
25184
25221
  required: ann.required || false,
25185
- isSignal: false,
25222
+ isSignal: !!ann.isSignal,
25186
25223
  transformFunction: ann.transform != null ? new WrappedNodeExpr(ann.transform) : null
25187
25224
  };
25188
25225
  } else if (isOutput(ann)) {
@@ -25296,7 +25333,9 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
25296
25333
  viewProviders: decl.viewProviders !== void 0 ? new WrappedNodeExpr(decl.viewProviders) : null,
25297
25334
  animations: decl.animations !== void 0 ? new WrappedNodeExpr(decl.animations) : null,
25298
25335
  deferBlocks,
25336
+ deferrableTypes: /* @__PURE__ */ new Map(),
25299
25337
  deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
25338
+ deferBlockDepsEmitMode: 0,
25300
25339
  changeDetection: (_c2 = decl.changeDetection) != null ? _c2 : ChangeDetectionStrategy.Default,
25301
25340
  encapsulation: (_d2 = decl.encapsulation) != null ? _d2 : ViewEncapsulation.Emulated,
25302
25341
  interpolation,
@@ -25535,17 +25574,17 @@ function publishFacade(global) {
25535
25574
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
25536
25575
  }
25537
25576
 
25538
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/version.mjs
25539
- var VERSION2 = new Version("17.1.0-next.5");
25577
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/version.mjs
25578
+ var VERSION2 = new Version("17.1.0");
25540
25579
 
25541
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25580
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
25542
25581
  var _VisitorMode;
25543
25582
  (function(_VisitorMode2) {
25544
25583
  _VisitorMode2[_VisitorMode2["Extract"] = 0] = "Extract";
25545
25584
  _VisitorMode2[_VisitorMode2["Merge"] = 1] = "Merge";
25546
25585
  })(_VisitorMode || (_VisitorMode = {}));
25547
25586
 
25548
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25587
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/ml_parser/xml_tags.mjs
25549
25588
  var XmlTagDefinition = class {
25550
25589
  constructor() {
25551
25590
  this.closedByParent = false;
@@ -25567,7 +25606,7 @@ var XmlTagDefinition = class {
25567
25606
  };
25568
25607
  var _TAG_DEFINITION = new XmlTagDefinition();
25569
25608
 
25570
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25609
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/render3/partial/api.mjs
25571
25610
  var FactoryTarget2;
25572
25611
  (function(FactoryTarget3) {
25573
25612
  FactoryTarget3[FactoryTarget3["Directive"] = 0] = "Directive";
@@ -25577,10 +25616,10 @@ var FactoryTarget2;
25577
25616
  FactoryTarget3[FactoryTarget3["NgModule"] = 4] = "NgModule";
25578
25617
  })(FactoryTarget2 || (FactoryTarget2 = {}));
25579
25618
 
25580
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler/src/compiler.mjs
25619
+ // bazel-out/darwin-fastbuild/bin/packages/compiler/src/compiler.mjs
25581
25620
  publishFacade(_global);
25582
25621
 
25583
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
25622
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/identifier-lookup.mjs
25584
25623
  var import_typescript5 = __toESM(require("typescript"), 1);
25585
25624
  function lookupIdentifiersInSourceFile(sourceFile, names) {
25586
25625
  const results = /* @__PURE__ */ new Set();
@@ -25594,7 +25633,7 @@ function lookupIdentifiersInSourceFile(sourceFile, names) {
25594
25633
  return results;
25595
25634
  }
25596
25635
 
25597
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
25636
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/types.mjs
25598
25637
  var ngtemplate = "ng-template";
25599
25638
  var boundngifelse = "[ngIfElse]";
25600
25639
  var boundngifthenelse = "[ngIfThenElse]";
@@ -25927,7 +25966,7 @@ var TemplateCollector = class extends RecursiveVisitor {
25927
25966
  }
25928
25967
  };
25929
25968
 
25930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
25969
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/util.mjs
25931
25970
  var import_path2 = require("path");
25932
25971
  var import_typescript6 = __toESM(require("typescript"), 1);
25933
25972
  var startMarkerRegex = new RegExp(startMarker, "gm");
@@ -26296,7 +26335,7 @@ function getMainBlock(etm, tmpl, offset) {
26296
26335
  const { childStart: childStart2, childEnd: childEnd2 } = etm.getChildSpan(offset);
26297
26336
  middle2 = tmpl.slice(childStart2, childEnd2);
26298
26337
  } else {
26299
- middle2 = startMarker + endMarker;
26338
+ middle2 = "";
26300
26339
  }
26301
26340
  return { start: "", middle: middle2, end: "" };
26302
26341
  } else if (isI18nTemplate(etm, i18nAttr)) {
@@ -26427,7 +26466,7 @@ function forEachClass(sourceFile, callback) {
26427
26466
  });
26428
26467
  }
26429
26468
 
26430
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
26469
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/cases.mjs
26431
26470
  var boundcase = "[ngSwitchCase]";
26432
26471
  var switchcase = "*ngSwitchCase";
26433
26472
  var nakedcase = "ngSwitchCase";
@@ -26505,7 +26544,7 @@ function migrateNgSwitchDefault(etm, tmpl, offset) {
26505
26544
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26506
26545
  }
26507
26546
 
26508
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
26547
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/fors.mjs
26509
26548
  var ngfor = "*ngFor";
26510
26549
  var nakedngfor2 = "ngFor";
26511
26550
  var fors = [
@@ -26679,7 +26718,7 @@ function getNgForParts(expression) {
26679
26718
  return parts;
26680
26719
  }
26681
26720
 
26682
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
26721
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/ifs.mjs
26683
26722
  var ngif = "*ngIf";
26684
26723
  var boundngif = "[ngIf]";
26685
26724
  var nakedngif = "ngIf";
@@ -26832,7 +26871,7 @@ function buildIfThenBlock(etm, tmpl, condition, thenPlaceholder, offset) {
26832
26871
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26833
26872
  }
26834
26873
 
26835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
26874
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/switches.mjs
26836
26875
  var ngswitch = "[ngSwitch]";
26837
26876
  var switches = [
26838
26877
  ngswitch
@@ -26900,7 +26939,7 @@ function migrateNgSwitch(etm, tmpl, offset) {
26900
26939
  return { tmpl: updatedTmpl, offsets: { pre, post } };
26901
26940
  }
26902
26941
 
26903
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
26942
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/migration.mjs
26904
26943
  function migrateTemplate(template2, templateType, node, file, format = true, analyzedFiles) {
26905
26944
  let errors = [];
26906
26945
  let migrated = template2;
@@ -26951,7 +26990,7 @@ function migrateTemplate(template2, templateType, node, file, format = true, ana
26951
26990
  return { migrated, errors };
26952
26991
  }
26953
26992
 
26954
- // bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
26993
+ // bazel-out/darwin-fastbuild/bin/packages/core/schematics/ng-generate/control-flow-migration/index.mjs
26955
26994
  function control_flow_migration_default(options) {
26956
26995
  return (tree, context) => __async(this, null, function* () {
26957
26996
  const basePath = process.cwd();