@angular/core 18.2.9 → 18.2.11

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.
@@ -5753,7 +5753,7 @@ var ShadowCss = class {
5753
5753
  });
5754
5754
  }
5755
5755
  _convertColonHostContext(cssText) {
5756
- return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
5756
+ return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
5757
5757
  var _a2;
5758
5758
  const contextSelectorGroups = [[]];
5759
5759
  let match;
@@ -5768,7 +5768,7 @@ var ShadowCss = class {
5768
5768
  }
5769
5769
  selectorText = match[2];
5770
5770
  }
5771
- return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
5771
+ return contextSelectorGroups.map((contextSelectors) => combineHostContextSelectors(contextSelectors, selectorText)).join(", ");
5772
5772
  });
5773
5773
  }
5774
5774
  _convertShadowDOMSelectors(cssText) {
@@ -5779,12 +5779,7 @@ var ShadowCss = class {
5779
5779
  let selector = rule.selector;
5780
5780
  let content = rule.content;
5781
5781
  if (rule.selector[0] !== "@") {
5782
- selector = this._scopeSelector({
5783
- selector,
5784
- scopeSelector,
5785
- hostSelector,
5786
- isParentSelector: true
5787
- });
5782
+ selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector);
5788
5783
  } else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
5789
5784
  content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
5790
5785
  } else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
@@ -5799,18 +5794,12 @@ var ShadowCss = class {
5799
5794
  return new CssRule(selector, rule.content);
5800
5795
  });
5801
5796
  }
5802
- _scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
5803
- const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
5804
- return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
5797
+ _scopeSelector(selector, scopeSelector, hostSelector) {
5798
+ return selector.split(/ ?, ?/).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
5805
5799
  const [shallowPart, ...otherParts] = deepParts;
5806
5800
  const applyScope = (shallowPart2) => {
5807
5801
  if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
5808
- return this._applySelectorScope({
5809
- selector: shallowPart2,
5810
- scopeSelector,
5811
- hostSelector,
5812
- isParentSelector
5813
- });
5802
+ return this._applySelectorScope(shallowPart2, scopeSelector, hostSelector);
5814
5803
  } else {
5815
5804
  return shallowPart2;
5816
5805
  }
@@ -5832,15 +5821,15 @@ var ShadowCss = class {
5832
5821
  _polyfillHostRe.lastIndex = 0;
5833
5822
  if (_polyfillHostRe.test(selector)) {
5834
5823
  const replaceBy = `[${hostSelector}]`;
5835
- return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
5836
- return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
5824
+ return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector2) => {
5825
+ return selector2.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
5837
5826
  return before + replaceBy + colon + after;
5838
5827
  });
5839
5828
  }).replace(_polyfillHostRe, replaceBy + " ");
5840
5829
  }
5841
5830
  return scopeSelector + " " + selector;
5842
5831
  }
5843
- _applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
5832
+ _applySelectorScope(selector, scopeSelector, hostSelector) {
5844
5833
  var _a2;
5845
5834
  const isRe = /\[is=([^\]]*)\]/g;
5846
5835
  scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
@@ -5852,10 +5841,6 @@ var ShadowCss = class {
5852
5841
  }
5853
5842
  if (p.includes(_polyfillHostNoCombinator)) {
5854
5843
  scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
5855
- if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p)) {
5856
- const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
5857
- scopedP = before + attrName + colon + after;
5858
- }
5859
5844
  } else {
5860
5845
  const t = p.replace(_polyfillHostRe, "");
5861
5846
  if (t.length > 0) {
@@ -5867,52 +5852,29 @@ var ShadowCss = class {
5867
5852
  }
5868
5853
  return scopedP;
5869
5854
  };
5870
- const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
5871
- let scopedPart = "";
5872
- const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
5873
- if (cssPrefixWithPseudoSelectorFunctionMatch) {
5874
- const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
5875
- const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
5876
- if (selectorToScope.includes(_polyfillHostNoCombinator)) {
5877
- this._shouldScopeIndicator = true;
5878
- }
5879
- const scopedInnerPart = this._scopeSelector({
5880
- selector: selectorToScope,
5881
- scopeSelector,
5882
- hostSelector
5883
- });
5884
- scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
5885
- } else {
5886
- this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
5887
- scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
5888
- }
5889
- return scopedPart;
5890
- };
5891
- if (isParentSelector) {
5892
- this._safeSelector = new SafeSelector(selector);
5893
- selector = this._safeSelector.content();
5894
- }
5855
+ const safeContent = new SafeSelector(selector);
5856
+ selector = safeContent.content();
5895
5857
  let scopedSelector = "";
5896
5858
  let startIndex = 0;
5897
5859
  let res;
5898
- const sep = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
5860
+ const sep = /( |>|\+|~(?!=))\s*/g;
5899
5861
  const hasHost = selector.includes(_polyfillHostNoCombinator);
5900
- if (isParentSelector || this._shouldScopeIndicator) {
5901
- this._shouldScopeIndicator = !hasHost;
5902
- }
5862
+ let shouldScope = !hasHost;
5903
5863
  while ((res = sep.exec(selector)) !== null) {
5904
5864
  const separator = res[1];
5905
5865
  const part2 = selector.slice(startIndex, res.index);
5906
5866
  if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
5907
5867
  continue;
5908
5868
  }
5909
- const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
5869
+ shouldScope = shouldScope || part2.includes(_polyfillHostNoCombinator);
5870
+ const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
5910
5871
  scopedSelector += `${scopedPart} ${separator} `;
5911
5872
  startIndex = sep.lastIndex;
5912
5873
  }
5913
5874
  const part = selector.substring(startIndex);
5914
- scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
5915
- return this._safeSelector.restore(scopedSelector);
5875
+ shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
5876
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
5877
+ return safeContent.restore(scopedSelector);
5916
5878
  }
5917
5879
  _insertPolyfillHostInCssText(selector) {
5918
5880
  return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
@@ -5951,8 +5913,6 @@ var SafeSelector = class {
5951
5913
  });
5952
5914
  }
5953
5915
  };
5954
- var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
5955
- var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
5956
5916
  var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
5957
5917
  var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
5958
5918
  var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
@@ -5960,12 +5920,10 @@ var _polyfillHost = "-shadowcsshost";
5960
5920
  var _polyfillHostContext = "-shadowcsscontext";
5961
5921
  var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
5962
5922
  var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
5963
- var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
5923
+ var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
5964
5924
  var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
5965
5925
  var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
5966
- var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
5967
5926
  var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
5968
- var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
5969
5927
  var _shadowDOMSelectorsRe = [
5970
5928
  /::shadow/g,
5971
5929
  /::content/g,
@@ -6100,7 +6058,7 @@ function unescapeInStrings(input) {
6100
6058
  function unescapeQuotes(str, isQuoted) {
6101
6059
  return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
6102
6060
  }
6103
- function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
6061
+ function combineHostContextSelectors(contextSelectors, otherSelectors) {
6104
6062
  const hostMarker = _polyfillHostNoCombinator;
6105
6063
  _polyfillHostRe.lastIndex = 0;
6106
6064
  const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
@@ -6118,7 +6076,7 @@ function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPr
6118
6076
  combined[i] = contextSelector + previousSelectors;
6119
6077
  }
6120
6078
  }
6121
- return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
6079
+ return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
6122
6080
  }
6123
6081
  function repeatGroups(groups, multiples) {
6124
6082
  const length = groups.length;
@@ -23357,7 +23315,7 @@ function publishFacade(global) {
23357
23315
  }
23358
23316
 
23359
23317
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
23360
- var VERSION2 = new Version("18.2.9");
23318
+ var VERSION2 = new Version("18.2.11");
23361
23319
 
23362
23320
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
23363
23321
  var _VisitorMode;
@@ -8640,7 +8640,7 @@ var ShadowCss = class {
8640
8640
  });
8641
8641
  }
8642
8642
  _convertColonHostContext(cssText) {
8643
- return cssText.replace(_cssColonHostContextReGlobal, (selectorText, pseudoPrefix) => {
8643
+ return cssText.replace(_cssColonHostContextReGlobal, (selectorText) => {
8644
8644
  var _a2;
8645
8645
  const contextSelectorGroups = [[]];
8646
8646
  let match;
@@ -8655,7 +8655,7 @@ var ShadowCss = class {
8655
8655
  }
8656
8656
  selectorText = match[2];
8657
8657
  }
8658
- return contextSelectorGroups.map((contextSelectors) => _combineHostContextSelectors(contextSelectors, selectorText, pseudoPrefix)).join(", ");
8658
+ return contextSelectorGroups.map((contextSelectors) => combineHostContextSelectors(contextSelectors, selectorText)).join(", ");
8659
8659
  });
8660
8660
  }
8661
8661
  _convertShadowDOMSelectors(cssText) {
@@ -8666,12 +8666,7 @@ var ShadowCss = class {
8666
8666
  let selector = rule.selector;
8667
8667
  let content = rule.content;
8668
8668
  if (rule.selector[0] !== "@") {
8669
- selector = this._scopeSelector({
8670
- selector,
8671
- scopeSelector,
8672
- hostSelector,
8673
- isParentSelector: true
8674
- });
8669
+ selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector);
8675
8670
  } else if (scopedAtRuleIdentifiers.some((atRule) => rule.selector.startsWith(atRule))) {
8676
8671
  content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
8677
8672
  } else if (rule.selector.startsWith("@font-face") || rule.selector.startsWith("@page")) {
@@ -8686,18 +8681,12 @@ var ShadowCss = class {
8686
8681
  return new CssRule(selector, rule.content);
8687
8682
  });
8688
8683
  }
8689
- _scopeSelector({ selector, scopeSelector, hostSelector, isParentSelector = false }) {
8690
- const selectorSplitRe = / ?,(?!(?:[^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\))) ?/;
8691
- return selector.split(selectorSplitRe).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
8684
+ _scopeSelector(selector, scopeSelector, hostSelector) {
8685
+ return selector.split(/ ?, ?/).map((part) => part.split(_shadowDeepSelectors)).map((deepParts) => {
8692
8686
  const [shallowPart, ...otherParts] = deepParts;
8693
8687
  const applyScope = (shallowPart2) => {
8694
8688
  if (this._selectorNeedsScoping(shallowPart2, scopeSelector)) {
8695
- return this._applySelectorScope({
8696
- selector: shallowPart2,
8697
- scopeSelector,
8698
- hostSelector,
8699
- isParentSelector
8700
- });
8689
+ return this._applySelectorScope(shallowPart2, scopeSelector, hostSelector);
8701
8690
  } else {
8702
8691
  return shallowPart2;
8703
8692
  }
@@ -8719,15 +8708,15 @@ var ShadowCss = class {
8719
8708
  _polyfillHostRe.lastIndex = 0;
8720
8709
  if (_polyfillHostRe.test(selector)) {
8721
8710
  const replaceBy = `[${hostSelector}]`;
8722
- return selector.replace(_polyfillHostNoCombinatorReGlobal, (_hnc, selector2) => {
8723
- return selector2.replace(/([^:\)]*)(:*)(.*)/, (_, before, colon, after) => {
8711
+ return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector2) => {
8712
+ return selector2.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
8724
8713
  return before + replaceBy + colon + after;
8725
8714
  });
8726
8715
  }).replace(_polyfillHostRe, replaceBy + " ");
8727
8716
  }
8728
8717
  return scopeSelector + " " + selector;
8729
8718
  }
8730
- _applySelectorScope({ selector, scopeSelector, hostSelector, isParentSelector }) {
8719
+ _applySelectorScope(selector, scopeSelector, hostSelector) {
8731
8720
  var _a2;
8732
8721
  const isRe = /\[is=([^\]]*)\]/g;
8733
8722
  scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
@@ -8739,10 +8728,6 @@ var ShadowCss = class {
8739
8728
  }
8740
8729
  if (p2.includes(_polyfillHostNoCombinator)) {
8741
8730
  scopedP = this._applySimpleSelectorScope(p2, scopeSelector, hostSelector);
8742
- if (_polyfillHostNoCombinatorWithinPseudoFunction.test(p2)) {
8743
- const [_, before, colon, after] = scopedP.match(/([^:]*)(:*)(.*)/);
8744
- scopedP = before + attrName + colon + after;
8745
- }
8746
8731
  } else {
8747
8732
  const t = p2.replace(_polyfillHostRe, "");
8748
8733
  if (t.length > 0) {
@@ -8754,52 +8739,29 @@ var ShadowCss = class {
8754
8739
  }
8755
8740
  return scopedP;
8756
8741
  };
8757
- const _pseudoFunctionAwareScopeSelectorPart = (selectorPart) => {
8758
- let scopedPart = "";
8759
- const cssPrefixWithPseudoSelectorFunctionMatch = selectorPart.match(_cssPrefixWithPseudoSelectorFunction);
8760
- if (cssPrefixWithPseudoSelectorFunctionMatch) {
8761
- const [cssPseudoSelectorFunction] = cssPrefixWithPseudoSelectorFunctionMatch;
8762
- const selectorToScope = selectorPart.slice(cssPseudoSelectorFunction.length, -1);
8763
- if (selectorToScope.includes(_polyfillHostNoCombinator)) {
8764
- this._shouldScopeIndicator = true;
8765
- }
8766
- const scopedInnerPart = this._scopeSelector({
8767
- selector: selectorToScope,
8768
- scopeSelector,
8769
- hostSelector
8770
- });
8771
- scopedPart = `${cssPseudoSelectorFunction}${scopedInnerPart})`;
8772
- } else {
8773
- this._shouldScopeIndicator = this._shouldScopeIndicator || selectorPart.includes(_polyfillHostNoCombinator);
8774
- scopedPart = this._shouldScopeIndicator ? _scopeSelectorPart(selectorPart) : selectorPart;
8775
- }
8776
- return scopedPart;
8777
- };
8778
- if (isParentSelector) {
8779
- this._safeSelector = new SafeSelector(selector);
8780
- selector = this._safeSelector.content();
8781
- }
8742
+ const safeContent = new SafeSelector(selector);
8743
+ selector = safeContent.content();
8782
8744
  let scopedSelector = "";
8783
8745
  let startIndex = 0;
8784
8746
  let res;
8785
- const sep2 = /( |>|\+|~(?!=))(?!([^)(]*(?:\([^)(]*(?:\([^)(]*(?:\([^)(]*\)[^)(]*)*\)[^)(]*)*\)[^)(]*)*\)))\s*/g;
8747
+ const sep2 = /( |>|\+|~(?!=))\s*/g;
8786
8748
  const hasHost = selector.includes(_polyfillHostNoCombinator);
8787
- if (isParentSelector || this._shouldScopeIndicator) {
8788
- this._shouldScopeIndicator = !hasHost;
8789
- }
8749
+ let shouldScope = !hasHost;
8790
8750
  while ((res = sep2.exec(selector)) !== null) {
8791
8751
  const separator = res[1];
8792
8752
  const part2 = selector.slice(startIndex, res.index);
8793
8753
  if (part2.match(/__esc-ph-(\d+)__/) && ((_a2 = selector[res.index + 1]) == null ? void 0 : _a2.match(/[a-fA-F\d]/))) {
8794
8754
  continue;
8795
8755
  }
8796
- const scopedPart = _pseudoFunctionAwareScopeSelectorPart(part2);
8756
+ shouldScope = shouldScope || part2.includes(_polyfillHostNoCombinator);
8757
+ const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
8797
8758
  scopedSelector += `${scopedPart} ${separator} `;
8798
8759
  startIndex = sep2.lastIndex;
8799
8760
  }
8800
8761
  const part = selector.substring(startIndex);
8801
- scopedSelector += _pseudoFunctionAwareScopeSelectorPart(part);
8802
- return this._safeSelector.restore(scopedSelector);
8762
+ shouldScope = shouldScope || part.includes(_polyfillHostNoCombinator);
8763
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
8764
+ return safeContent.restore(scopedSelector);
8803
8765
  }
8804
8766
  _insertPolyfillHostInCssText(selector) {
8805
8767
  return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
@@ -8838,8 +8800,6 @@ var SafeSelector = class {
8838
8800
  });
8839
8801
  }
8840
8802
  };
8841
- var _cssScopedPseudoFunctionPrefix = "(:(where|is)\\()?";
8842
- var _cssPrefixWithPseudoSelectorFunction = /^:(where|is)\(/i;
8843
8803
  var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
8844
8804
  var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
8845
8805
  var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
@@ -8847,12 +8807,10 @@ var _polyfillHost = "-shadowcsshost";
8847
8807
  var _polyfillHostContext = "-shadowcsscontext";
8848
8808
  var _parenSuffix = "(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
8849
8809
  var _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, "gim");
8850
- var _cssColonHostContextReGlobal = new RegExp(_cssScopedPseudoFunctionPrefix + "(" + _polyfillHostContext + _parenSuffix + ")", "gim");
8810
+ var _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, "gim");
8851
8811
  var _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, "im");
8852
8812
  var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
8853
- var _polyfillHostNoCombinatorWithinPseudoFunction = new RegExp(`:.*\\(.*${_polyfillHostNoCombinator}.*\\)`);
8854
8813
  var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
8855
- var _polyfillHostNoCombinatorReGlobal = new RegExp(_polyfillHostNoCombinatorRe, "g");
8856
8814
  var _shadowDOMSelectorsRe = [
8857
8815
  /::shadow/g,
8858
8816
  /::content/g,
@@ -8987,7 +8945,7 @@ function unescapeInStrings(input) {
8987
8945
  function unescapeQuotes(str, isQuoted) {
8988
8946
  return !isQuoted ? str : str.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g, "$1");
8989
8947
  }
8990
- function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPrefix = "") {
8948
+ function combineHostContextSelectors(contextSelectors, otherSelectors) {
8991
8949
  const hostMarker = _polyfillHostNoCombinator;
8992
8950
  _polyfillHostRe.lastIndex = 0;
8993
8951
  const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors);
@@ -9005,7 +8963,7 @@ function _combineHostContextSelectors(contextSelectors, otherSelectors, pseudoPr
9005
8963
  combined[i] = contextSelector + previousSelectors;
9006
8964
  }
9007
8965
  }
9008
- return combined.map((s) => otherSelectorsHasHost ? `${pseudoPrefix}${s}${otherSelectors}` : `${pseudoPrefix}${s}${hostMarker}${otherSelectors}, ${pseudoPrefix}${s} ${hostMarker}${otherSelectors}`).join(",");
8966
+ return combined.map((s) => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(",");
9009
8967
  }
9010
8968
  function repeatGroups(groups, multiples) {
9011
8969
  const length = groups.length;
@@ -26268,7 +26226,7 @@ function publishFacade(global) {
26268
26226
  }
26269
26227
 
26270
26228
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/version.mjs
26271
- var VERSION2 = new Version("18.2.9");
26229
+ var VERSION2 = new Version("18.2.11");
26272
26230
 
26273
26231
  // bazel-out/k8-fastbuild/bin/packages/compiler/src/i18n/extractor_merger.mjs
26274
26232
  var _I18N_ATTR = "i18n";
@@ -27385,7 +27343,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
27385
27343
  function compileDeclareClassMetadata(metadata) {
27386
27344
  const definitionMap = new DefinitionMap();
27387
27345
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
27388
- definitionMap.set("version", literal("18.2.9"));
27346
+ definitionMap.set("version", literal("18.2.11"));
27389
27347
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27390
27348
  definitionMap.set("type", metadata.type);
27391
27349
  definitionMap.set("decorators", metadata.decorators);
@@ -27404,7 +27362,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
27404
27362
  callbackReturnDefinitionMap.set("ctorParameters", (_a2 = metadata.ctorParameters) != null ? _a2 : literal(null));
27405
27363
  callbackReturnDefinitionMap.set("propDecorators", (_b2 = metadata.propDecorators) != null ? _b2 : literal(null));
27406
27364
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
27407
- definitionMap.set("version", literal("18.2.9"));
27365
+ definitionMap.set("version", literal("18.2.11"));
27408
27366
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27409
27367
  definitionMap.set("type", metadata.type);
27410
27368
  definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
@@ -27472,7 +27430,7 @@ function createDirectiveDefinitionMap(meta) {
27472
27430
  const definitionMap = new DefinitionMap();
27473
27431
  const minVersion = getMinimumVersionForPartialOutput(meta);
27474
27432
  definitionMap.set("minVersion", literal(minVersion));
27475
- definitionMap.set("version", literal("18.2.9"));
27433
+ definitionMap.set("version", literal("18.2.11"));
27476
27434
  definitionMap.set("type", meta.type.value);
27477
27435
  if (meta.isStandalone) {
27478
27436
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -27790,7 +27748,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION2 = "12.0.0";
27790
27748
  function compileDeclareFactoryFunction(meta) {
27791
27749
  const definitionMap = new DefinitionMap();
27792
27750
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION2));
27793
- definitionMap.set("version", literal("18.2.9"));
27751
+ definitionMap.set("version", literal("18.2.11"));
27794
27752
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27795
27753
  definitionMap.set("type", meta.type.value);
27796
27754
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -27813,7 +27771,7 @@ function compileDeclareInjectableFromMetadata(meta) {
27813
27771
  function createInjectableDefinitionMap(meta) {
27814
27772
  const definitionMap = new DefinitionMap();
27815
27773
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION3));
27816
- definitionMap.set("version", literal("18.2.9"));
27774
+ definitionMap.set("version", literal("18.2.11"));
27817
27775
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27818
27776
  definitionMap.set("type", meta.type.value);
27819
27777
  if (meta.providedIn !== void 0) {
@@ -27851,7 +27809,7 @@ function compileDeclareInjectorFromMetadata(meta) {
27851
27809
  function createInjectorDefinitionMap(meta) {
27852
27810
  const definitionMap = new DefinitionMap();
27853
27811
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION4));
27854
- definitionMap.set("version", literal("18.2.9"));
27812
+ definitionMap.set("version", literal("18.2.11"));
27855
27813
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27856
27814
  definitionMap.set("type", meta.type.value);
27857
27815
  definitionMap.set("providers", meta.providers);
@@ -27875,7 +27833,7 @@ function createNgModuleDefinitionMap(meta) {
27875
27833
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
27876
27834
  }
27877
27835
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION5));
27878
- definitionMap.set("version", literal("18.2.9"));
27836
+ definitionMap.set("version", literal("18.2.11"));
27879
27837
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27880
27838
  definitionMap.set("type", meta.type.value);
27881
27839
  if (meta.bootstrap.length > 0) {
@@ -27910,7 +27868,7 @@ function compileDeclarePipeFromMetadata(meta) {
27910
27868
  function createPipeDefinitionMap(meta) {
27911
27869
  const definitionMap = new DefinitionMap();
27912
27870
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION6));
27913
- definitionMap.set("version", literal("18.2.9"));
27871
+ definitionMap.set("version", literal("18.2.11"));
27914
27872
  definitionMap.set("ngImport", importExpr(Identifiers.core));
27915
27873
  definitionMap.set("type", meta.type.value);
27916
27874
  if (meta.isStandalone) {
@@ -27927,7 +27885,7 @@ function createPipeDefinitionMap(meta) {
27927
27885
  publishFacade(_global);
27928
27886
 
27929
27887
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
27930
- var VERSION3 = new Version("18.2.9");
27888
+ var VERSION3 = new Version("18.2.11");
27931
27889
 
27932
27890
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
27933
27891
  var import_typescript5 = __toESM(require("typescript"), 1);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v18.2.9
2
+ * @license Angular v18.2.11
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */