accessibility-insights-report 4.6.3 → 4.6.4

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 (2) hide show
  1. package/drop/index.js +1053 -1213
  2. package/package.json +1 -1
package/drop/index.js CHANGED
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  return to;
18
18
  };
19
19
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
24
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
25
  mod
22
26
  ));
@@ -435,6 +439,9 @@ TargetHelper.getTargetElement = (target, dom, targetIndex) => {
435
439
  return shadowHost.shadowRoot.querySelector(selectors[selectors.length - 1]);
436
440
  }
437
441
  };
442
+ // This returns undefined for undefined input for compatibility with non-strict-null-compatible
443
+ // usages that we haven't investigated yet. The "!selector" clause can/should be removed once
444
+ // #2869 is complete.
438
445
  TargetHelper.getTargetFromSelector = (selector) => {
439
446
  if (selector === "") {
440
447
  return [];
@@ -453,6 +460,8 @@ TargetHelper.getTargetFromSelector = (selector) => {
453
460
  });
454
461
  return shadowDomSelectors;
455
462
  };
463
+ // This returns undefined for undefined input for compatibility with non-strict-null-compatible
464
+ // usages that we haven't investigated yet. The ?s can/should be removed once #2869 is complete.
456
465
  TargetHelper.getSelectorFromTarget = (target) => {
457
466
  var _a;
458
467
  return (_a = target == null ? void 0 : target.map(
@@ -713,11 +722,7 @@ var import_utilities = require("@fluentui/utilities");
713
722
  var React2 = __toESM(require("react"));
714
723
  var NewTabLink = NamedFC("NewTabLink", ({ className, ...props }) => {
715
724
  const classNames3 = ["insights-link", className];
716
- return /* @__PURE__ */ React2.createElement(import_react2.Link, {
717
- className: (0, import_utilities.css)(...classNames3),
718
- ...props,
719
- target: "_blank"
720
- });
725
+ return /* @__PURE__ */ React2.createElement(import_react2.Link, { className: (0, import_utilities.css)(...classNames3), ...props, target: "_blank" });
721
726
  });
722
727
 
723
728
  // src/reports/components/new-tab-link-confirmation-dialog.tsx
@@ -726,14 +731,14 @@ var NewTabLinkWithConfirmationDialog = NamedFC(
726
731
  "NewTabLinkWithConfirmationDialog",
727
732
  (props) => {
728
733
  const id2 = (0, import_react3.getId)("new-tab-link-with-confirmation-dialog__");
729
- return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(NewTabLink, {
730
- ...props,
731
- id: id2
732
- }), /* @__PURE__ */ React3.createElement("script", {
733
- dangerouslySetInnerHTML: {
734
- __html: generateScriptToAddConfirmOnClickHandler(id2)
734
+ return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement(NewTabLink, { ...props, id: id2 }), /* @__PURE__ */ React3.createElement(
735
+ "script",
736
+ {
737
+ dangerouslySetInnerHTML: {
738
+ __html: generateScriptToAddConfirmOnClickHandler(id2)
739
+ }
735
740
  }
736
- }));
741
+ ));
737
742
  }
738
743
  );
739
744
  var addConfirmOnClickHandler = function(linkId, doc, confirmCallback) {
@@ -779,23 +784,10 @@ var ReportBody = class extends React4.Component {
779
784
  const getResultSections = () => {
780
785
  return resultSectionsOrder.map((sectionKey, i) => {
781
786
  const ResultsSection = sectionFactory[ResultSectionTypes[sectionKey]];
782
- return /* @__PURE__ */ React4.createElement(ResultsSection, {
783
- key: i,
784
- ...sectionProps
785
- });
787
+ return /* @__PURE__ */ React4.createElement(ResultsSection, { key: i, ...sectionProps });
786
788
  });
787
789
  };
788
- return /* @__PURE__ */ React4.createElement(BodySection2, null, /* @__PURE__ */ React4.createElement(HeaderSection2, {
789
- ...sectionProps
790
- }), /* @__PURE__ */ React4.createElement(ContentContainer2, null, /* @__PURE__ */ React4.createElement(TitleSection, null), /* @__PURE__ */ React4.createElement(DetailsSection2, {
791
- ...sectionProps
792
- }), /* @__PURE__ */ React4.createElement(SummarySection, {
793
- ...sectionProps
794
- }), /* @__PURE__ */ React4.createElement(ResultsContainer2, {
795
- ...sectionProps
796
- }, getResultSections())), /* @__PURE__ */ React4.createElement(FooterSection, null, /* @__PURE__ */ React4.createElement(FooterText, {
797
- ...sectionProps
798
- })));
790
+ return /* @__PURE__ */ React4.createElement(BodySection2, null, /* @__PURE__ */ React4.createElement(HeaderSection2, { ...sectionProps }), /* @__PURE__ */ React4.createElement(ContentContainer2, null, /* @__PURE__ */ React4.createElement(TitleSection, null), /* @__PURE__ */ React4.createElement(DetailsSection2, { ...sectionProps }), /* @__PURE__ */ React4.createElement(SummarySection, { ...sectionProps }), /* @__PURE__ */ React4.createElement(ResultsContainer2, { ...sectionProps }, getResultSections())), /* @__PURE__ */ React4.createElement(FooterSection, null, /* @__PURE__ */ React4.createElement(FooterText, { ...sectionProps })));
799
791
  }
800
792
  };
801
793
 
@@ -808,26 +800,26 @@ var ReportCollapsibleContainer = NamedFC(
808
800
  const { id: id2, header, headingLevel, content, containerClassName, buttonAriaLabel } = props;
809
801
  const contentId = `content-container-${id2}` + (props.testKey ? `-${props.testKey}` : "");
810
802
  const outerDivClassName = (0, import_utilities2.css)("collapsible-container", containerClassName, "collapsed");
811
- return /* @__PURE__ */ React5.createElement("div", {
812
- className: outerDivClassName
813
- }, /* @__PURE__ */ React5.createElement(HeadingElementForLevel, {
814
- headingLevel,
815
- className: "title-container"
816
- }, /* @__PURE__ */ React5.createElement("button", {
817
- className: "collapsible-control",
818
- "aria-expanded": "false",
819
- "aria-controls": contentId,
820
- "aria-label": buttonAriaLabel
821
- }, header)), /* @__PURE__ */ React5.createElement("div", {
822
- id: contentId,
823
- className: "collapsible-content",
824
- "aria-hidden": "true"
825
- }, content));
803
+ return /* @__PURE__ */ React5.createElement("div", { className: outerDivClassName }, /* @__PURE__ */ React5.createElement(
804
+ HeadingElementForLevel,
805
+ {
806
+ headingLevel,
807
+ className: "title-container"
808
+ },
809
+ /* @__PURE__ */ React5.createElement(
810
+ "button",
811
+ {
812
+ className: "collapsible-control",
813
+ "aria-expanded": "false",
814
+ "aria-controls": contentId,
815
+ "aria-label": buttonAriaLabel
816
+ },
817
+ header
818
+ )
819
+ ), /* @__PURE__ */ React5.createElement("div", { id: contentId, className: "collapsible-content", "aria-hidden": "true" }, content));
826
820
  }
827
821
  );
828
- var ReportCollapsibleContainerControl = (collapsibleControlProps) => /* @__PURE__ */ React5.createElement(ReportCollapsibleContainer, {
829
- ...collapsibleControlProps
830
- });
822
+ var ReportCollapsibleContainerControl = (collapsibleControlProps) => /* @__PURE__ */ React5.createElement(ReportCollapsibleContainer, { ...collapsibleControlProps });
831
823
 
832
824
  // src/reports/combined-report-html-generator.tsx
833
825
  var CombinedReportHtmlGenerator = class {
@@ -868,9 +860,7 @@ var CombinedReportHtmlGenerator = class {
868
860
  sectionFactory: this.sectionFactory,
869
861
  ...detailsProps
870
862
  };
871
- const bodyElement = /* @__PURE__ */ React6.createElement(ReportBody, {
872
- ...props
873
- });
863
+ const bodyElement = /* @__PURE__ */ React6.createElement(ReportBody, { ...props });
874
864
  const bodyMarkup = this.reactStaticRenderer.renderToStaticMarkup(bodyElement);
875
865
  return '<!DOCTYPE html><html lang="en">' + headMarkup + bodyMarkup + "</html>";
876
866
  }
@@ -907,138 +897,150 @@ var React34 = __toESM(require("react"));
907
897
 
908
898
  // src/common/icons/check-icon.tsx
909
899
  var React7 = __toESM(require("react"));
910
- var CheckIcon = NamedFC("CheckIcon", () => /* @__PURE__ */ React7.createElement("span", {
911
- className: "check-container"
912
- }, /* @__PURE__ */ React7.createElement("svg", {
913
- width: "16",
914
- height: "16",
915
- viewBox: "0 0 16 16",
916
- fill: "none",
917
- xmlns: "http://www.w3.org/2000/svg",
918
- role: "img",
919
- "aria-hidden": "true"
920
- }, /* @__PURE__ */ React7.createElement("circle", {
921
- cx: "8",
922
- cy: "8",
923
- r: "8",
924
- fill: "#228722"
925
- }), /* @__PURE__ */ React7.createElement("path", {
926
- fillRule: "evenodd",
927
- clipRule: "evenodd",
928
- d: "M6.05904 11.1417L6.0616 11.1442C6.10737 11.19 6.15668 11.23 6.20867 11.2643C6.57256 11.5046 7.06707 11.4646 7.38742 11.1442C7.38861 11.143 7.38982 11.1418 7.391 11.1406L11.9312 6.60041C12.2974 6.23427 12.2974 5.64071 11.9312 5.27457C11.5651 4.90848 10.9715 4.90848 10.6054 5.27457L6.72452 9.15545L5.60041 8.03134C5.2343 7.66524 4.64071 7.66524 4.27459 8.03134C3.90847 8.39747 3.90847 8.99104 4.27459 9.35718L6.05904 11.1417Z",
929
- fill: "var(--neutral-0)"
930
- }))));
931
- var CheckIconInverted = NamedFC("CheckIconInverted", () => /* @__PURE__ */ React7.createElement("span", {
932
- className: "check-container"
933
- }, /* @__PURE__ */ React7.createElement("svg", {
934
- width: "16",
935
- height: "16",
936
- viewBox: "0 0 16 16",
937
- fill: "none",
938
- xmlns: "http://www.w3.org/2000/svg",
939
- role: "img",
940
- "aria-hidden": "true"
941
- }, /* @__PURE__ */ React7.createElement("path", {
942
- fillRule: "evenodd",
943
- clipRule: "evenodd",
944
- d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM6.0616 11.1442L6.05904 11.1417L4.27459 9.35718C3.90847 8.99104 3.90847 8.39747 4.27459 8.03134C4.64071 7.66524 5.2343 7.66524 5.60041 8.03134L6.72452 9.15545L10.6054 5.27457C10.9715 4.90848 11.5651 4.90848 11.9312 5.27457C12.2974 5.64071 12.2974 6.23427 11.9312 6.60041L7.391 11.1406L7.38742 11.1442C7.06707 11.4646 6.57256 11.5046 6.20867 11.2643C6.15668 11.23 6.10737 11.19 6.0616 11.1442Z",
945
- fill: "white"
946
- }))));
900
+ var CheckIcon = NamedFC("CheckIcon", () => /* @__PURE__ */ React7.createElement("span", { className: "check-container" }, /* @__PURE__ */ React7.createElement(
901
+ "svg",
902
+ {
903
+ width: "16",
904
+ height: "16",
905
+ viewBox: "0 0 16 16",
906
+ fill: "none",
907
+ xmlns: "http://www.w3.org/2000/svg",
908
+ role: "img",
909
+ "aria-hidden": "true"
910
+ },
911
+ /* @__PURE__ */ React7.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#228722" }),
912
+ /* @__PURE__ */ React7.createElement(
913
+ "path",
914
+ {
915
+ fillRule: "evenodd",
916
+ clipRule: "evenodd",
917
+ d: "M6.05904 11.1417L6.0616 11.1442C6.10737 11.19 6.15668 11.23 6.20867 11.2643C6.57256 11.5046 7.06707 11.4646 7.38742 11.1442C7.38861 11.143 7.38982 11.1418 7.391 11.1406L11.9312 6.60041C12.2974 6.23427 12.2974 5.64071 11.9312 5.27457C11.5651 4.90848 10.9715 4.90848 10.6054 5.27457L6.72452 9.15545L5.60041 8.03134C5.2343 7.66524 4.64071 7.66524 4.27459 8.03134C3.90847 8.39747 3.90847 8.99104 4.27459 9.35718L6.05904 11.1417Z",
918
+ fill: "var(--neutral-0)"
919
+ }
920
+ )
921
+ )));
922
+ var CheckIconInverted = NamedFC("CheckIconInverted", () => /* @__PURE__ */ React7.createElement("span", { className: "check-container" }, /* @__PURE__ */ React7.createElement(
923
+ "svg",
924
+ {
925
+ width: "16",
926
+ height: "16",
927
+ viewBox: "0 0 16 16",
928
+ fill: "none",
929
+ xmlns: "http://www.w3.org/2000/svg",
930
+ role: "img",
931
+ "aria-hidden": "true"
932
+ },
933
+ /* @__PURE__ */ React7.createElement(
934
+ "path",
935
+ {
936
+ fillRule: "evenodd",
937
+ clipRule: "evenodd",
938
+ d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM6.0616 11.1442L6.05904 11.1417L4.27459 9.35718C3.90847 8.99104 3.90847 8.39747 4.27459 8.03134C4.64071 7.66524 5.2343 7.66524 5.60041 8.03134L6.72452 9.15545L10.6054 5.27457C10.9715 4.90848 11.5651 4.90848 11.9312 5.27457C12.2974 5.64071 12.2974 6.23427 11.9312 6.60041L7.391 11.1406L7.38742 11.1442C7.06707 11.4646 6.57256 11.5046 6.20867 11.2643C6.15668 11.23 6.10737 11.19 6.0616 11.1442Z",
939
+ fill: "white"
940
+ }
941
+ )
942
+ )));
947
943
 
948
944
  // src/common/icons/circle-icon.tsx
949
945
  var React8 = __toESM(require("react"));
950
- var CircleIcon = NamedFC("CircleIcon", () => /* @__PURE__ */ React8.createElement("span", {
951
- className: "check-container"
952
- }));
946
+ var CircleIcon = NamedFC("CircleIcon", () => /* @__PURE__ */ React8.createElement("span", { className: "check-container" }));
953
947
 
954
948
  // src/common/icons/cross-icon.tsx
955
949
  var React9 = __toESM(require("react"));
956
- var CrossIcon = NamedFC("CrossIcon", () => /* @__PURE__ */ React9.createElement("span", {
957
- className: "check-container"
958
- }, /* @__PURE__ */ React9.createElement("svg", {
959
- width: "16",
960
- height: "16",
961
- viewBox: "0 0 16 16",
962
- fill: "none",
963
- xmlns: "http://www.w3.org/2000/svg",
964
- role: "img",
965
- "aria-hidden": "true"
966
- }, /* @__PURE__ */ React9.createElement("circle", {
967
- cx: "8",
968
- cy: "8",
969
- r: "8",
970
- fill: "#E81123"
971
- }), /* @__PURE__ */ React9.createElement("path", {
972
- d: "M10.9837 6.27639C11.3352 5.92491 11.3352 5.35507 10.9837 5.00359C10.6322 4.65212 10.0624 4.65212 9.7109 5.00359L7.99722 6.71728L6.28375 5.00381C5.93227 4.65234 5.36242 4.65234 5.01095 5.00381C4.65948 5.35528 4.65948 5.92513 5.01095 6.2766L6.72443 7.99007L4.9837 9.7308C4.63222 10.0823 4.63222 10.6521 4.9837 11.0036C5.33517 11.3551 5.90502 11.3551 6.25649 11.0036L7.99722 9.26287L9.73816 11.0038C10.0896 11.3553 10.6595 11.3553 11.011 11.0038C11.3624 10.6523 11.3624 10.0825 11.011 9.73101L9.27001 7.99007L10.9837 6.27639Z",
973
- fill: "var(--neutral-0)"
974
- }))));
975
- var CrossIconInverted = NamedFC("CrossIconInverted", () => /* @__PURE__ */ React9.createElement("span", {
976
- className: "check-container"
977
- }, /* @__PURE__ */ React9.createElement("svg", {
978
- width: "16",
979
- height: "16",
980
- viewBox: "0 0 16 16",
981
- fill: "none",
982
- xmlns: "http://www.w3.org/2000/svg",
983
- role: "img",
984
- "aria-hidden": "true"
985
- }, /* @__PURE__ */ React9.createElement("path", {
986
- fillRule: "evenodd",
987
- clipRule: "evenodd",
988
- d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58173 12.4183 0 8 0C3.58172 0 0 3.58173 0 8C0 12.4183 3.58172 16 8 16ZM10.9947 4.99466C10.7018 4.70178 10.2269 4.70178 9.93401 4.99466L8 6.92868L6.06599 4.99466C5.77309 4.70178 5.29823 4.70178 5.00533 4.99466C4.71243 5.28757 4.71243 5.76242 5.00533 6.05533L6.93933 7.98932L4.99467 9.93399C4.70177 10.2269 4.70177 10.7018 4.99467 10.9947C5.28756 11.2876 5.76243 11.2876 6.05532 10.9947L8 9.04999L9.94467 10.9947C10.2376 11.2876 10.7124 11.2876 11.0053 10.9947C11.2982 10.7018 11.2982 10.2269 11.0053 9.93399L9.06066 7.98932L10.9947 6.05533C11.2876 5.76242 11.2876 5.28757 10.9947 4.99466Z",
989
- fill: "var(--neutral-0)"
990
- }))));
950
+ var CrossIcon = NamedFC("CrossIcon", () => /* @__PURE__ */ React9.createElement("span", { className: "check-container" }, /* @__PURE__ */ React9.createElement(
951
+ "svg",
952
+ {
953
+ width: "16",
954
+ height: "16",
955
+ viewBox: "0 0 16 16",
956
+ fill: "none",
957
+ xmlns: "http://www.w3.org/2000/svg",
958
+ role: "img",
959
+ "aria-hidden": "true"
960
+ },
961
+ /* @__PURE__ */ React9.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#E81123" }),
962
+ /* @__PURE__ */ React9.createElement(
963
+ "path",
964
+ {
965
+ d: "M10.9837 6.27639C11.3352 5.92491 11.3352 5.35507 10.9837 5.00359C10.6322 4.65212 10.0624 4.65212 9.7109 5.00359L7.99722 6.71728L6.28375 5.00381C5.93227 4.65234 5.36242 4.65234 5.01095 5.00381C4.65948 5.35528 4.65948 5.92513 5.01095 6.2766L6.72443 7.99007L4.9837 9.7308C4.63222 10.0823 4.63222 10.6521 4.9837 11.0036C5.33517 11.3551 5.90502 11.3551 6.25649 11.0036L7.99722 9.26287L9.73816 11.0038C10.0896 11.3553 10.6595 11.3553 11.011 11.0038C11.3624 10.6523 11.3624 10.0825 11.011 9.73101L9.27001 7.99007L10.9837 6.27639Z",
966
+ fill: "var(--neutral-0)"
967
+ }
968
+ )
969
+ )));
970
+ var CrossIconInverted = NamedFC("CrossIconInverted", () => /* @__PURE__ */ React9.createElement("span", { className: "check-container" }, /* @__PURE__ */ React9.createElement(
971
+ "svg",
972
+ {
973
+ width: "16",
974
+ height: "16",
975
+ viewBox: "0 0 16 16",
976
+ fill: "none",
977
+ xmlns: "http://www.w3.org/2000/svg",
978
+ role: "img",
979
+ "aria-hidden": "true"
980
+ },
981
+ /* @__PURE__ */ React9.createElement(
982
+ "path",
983
+ {
984
+ fillRule: "evenodd",
985
+ clipRule: "evenodd",
986
+ d: "M8 16C12.4183 16 16 12.4183 16 8C16 3.58173 12.4183 0 8 0C3.58172 0 0 3.58173 0 8C0 12.4183 3.58172 16 8 16ZM10.9947 4.99466C10.7018 4.70178 10.2269 4.70178 9.93401 4.99466L8 6.92868L6.06599 4.99466C5.77309 4.70178 5.29823 4.70178 5.00533 4.99466C4.71243 5.28757 4.71243 5.76242 5.00533 6.05533L6.93933 7.98932L4.99467 9.93399C4.70177 10.2269 4.70177 10.7018 4.99467 10.9947C5.28756 11.2876 5.76243 11.2876 6.05532 10.9947L8 9.04999L9.94467 10.9947C10.2376 11.2876 10.7124 11.2876 11.0053 10.9947C11.2982 10.7018 11.2982 10.2269 11.0053 9.93399L9.06066 7.98932L10.9947 6.05533C11.2876 5.76242 11.2876 5.28757 10.9947 4.99466Z",
987
+ fill: "var(--neutral-0)"
988
+ }
989
+ )
990
+ )));
991
991
 
992
992
  // src/common/icons/inapplicable-icon.tsx
993
993
  var React10 = __toESM(require("react"));
994
- var InapplicableIcon = NamedFC("InapplicableIcon", () => /* @__PURE__ */ React10.createElement("span", {
995
- className: "check-container"
996
- }, /* @__PURE__ */ React10.createElement("svg", {
997
- width: "16",
998
- height: "16",
999
- viewBox: "0 0 16 16",
1000
- fill: "none",
1001
- xmlns: "http://www.w3.org/2000/svg",
1002
- role: "img",
1003
- "aria-hidden": "true"
1004
- }, /* @__PURE__ */ React10.createElement("circle", {
1005
- cx: "8",
1006
- cy: "8",
1007
- r: "8",
1008
- fill: "#737373"
1009
- }), /* @__PURE__ */ React10.createElement("line", {
1010
- x1: "5.66064",
1011
- y1: "5.625",
1012
- x2: "10.2568",
1013
- y2: "10.2212",
1014
- stroke: "white",
1015
- strokeWidth: "1.5",
1016
- strokeLinecap: "round"
1017
- }))));
1018
- var InapplicableIconInverted = NamedFC("InapplicableIconInverted", () => /* @__PURE__ */ React10.createElement("span", {
1019
- className: "check-container"
1020
- }, /* @__PURE__ */ React10.createElement("svg", {
1021
- width: "16",
1022
- height: "16",
1023
- viewBox: "0 0 16 16",
1024
- fill: "none",
1025
- xmlns: "http://www.w3.org/2000/svg",
1026
- role: "img",
1027
- "aria-hidden": "true"
1028
- }, /* @__PURE__ */ React10.createElement("circle", {
1029
- cx: "8",
1030
- cy: "8",
1031
- r: "8",
1032
- fill: "white"
1033
- }), /* @__PURE__ */ React10.createElement("line", {
1034
- x1: "5.66064",
1035
- y1: "5.625",
1036
- x2: "10.2568",
1037
- y2: "10.2212",
1038
- stroke: "#737373",
1039
- strokeWidth: "1.5",
1040
- strokeLinecap: "round"
1041
- }))));
994
+ var InapplicableIcon = NamedFC("InapplicableIcon", () => /* @__PURE__ */ React10.createElement("span", { className: "check-container" }, /* @__PURE__ */ React10.createElement(
995
+ "svg",
996
+ {
997
+ width: "16",
998
+ height: "16",
999
+ viewBox: "0 0 16 16",
1000
+ fill: "none",
1001
+ xmlns: "http://www.w3.org/2000/svg",
1002
+ role: "img",
1003
+ "aria-hidden": "true"
1004
+ },
1005
+ /* @__PURE__ */ React10.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "#737373" }),
1006
+ /* @__PURE__ */ React10.createElement(
1007
+ "line",
1008
+ {
1009
+ x1: "5.66064",
1010
+ y1: "5.625",
1011
+ x2: "10.2568",
1012
+ y2: "10.2212",
1013
+ stroke: "white",
1014
+ strokeWidth: "1.5",
1015
+ strokeLinecap: "round"
1016
+ }
1017
+ )
1018
+ )));
1019
+ var InapplicableIconInverted = NamedFC("InapplicableIconInverted", () => /* @__PURE__ */ React10.createElement("span", { className: "check-container" }, /* @__PURE__ */ React10.createElement(
1020
+ "svg",
1021
+ {
1022
+ width: "16",
1023
+ height: "16",
1024
+ viewBox: "0 0 16 16",
1025
+ fill: "none",
1026
+ xmlns: "http://www.w3.org/2000/svg",
1027
+ role: "img",
1028
+ "aria-hidden": "true"
1029
+ },
1030
+ /* @__PURE__ */ React10.createElement("circle", { cx: "8", cy: "8", r: "8", fill: "white" }),
1031
+ /* @__PURE__ */ React10.createElement(
1032
+ "line",
1033
+ {
1034
+ x1: "5.66064",
1035
+ y1: "5.625",
1036
+ x2: "10.2568",
1037
+ y2: "10.2212",
1038
+ stroke: "#737373",
1039
+ strokeWidth: "1.5",
1040
+ strokeLinecap: "round"
1041
+ }
1042
+ )
1043
+ )));
1042
1044
 
1043
1045
  // src/reports/components/outcome-type.tsx
1044
1046
  var React11 = __toESM(require("react"));
@@ -1088,20 +1090,16 @@ var OutcomeChip = NamedFC("OutcomeChip", (props) => {
1088
1090
  const { outcomeType, count } = props;
1089
1091
  const { pastTense } = outcomeTypeSemantics[outcomeType];
1090
1092
  const text = `${count} ${pastTense}`;
1091
- return /* @__PURE__ */ React12.createElement("span", {
1092
- className: "outcome-chip outcome-chip-" + outcomeType,
1093
- title: text
1094
- }, /* @__PURE__ */ React12.createElement("span", {
1095
- className: "icon"
1096
- }, /* @__PURE__ */ React12.createElement(OutcomeIcon, {
1097
- outcomeType
1098
- })), /* @__PURE__ */ React12.createElement("span", {
1099
- "data-automation-id": failureCountAutomationId,
1100
- className: "count",
1101
- "aria-hidden": "true"
1102
- }, " ", count), /* @__PURE__ */ React12.createElement("span", {
1103
- className: "screen-reader-only"
1104
- }, text));
1093
+ return /* @__PURE__ */ React12.createElement("span", { className: "outcome-chip outcome-chip-" + outcomeType, title: text }, /* @__PURE__ */ React12.createElement("span", { className: "icon" }, /* @__PURE__ */ React12.createElement(OutcomeIcon, { outcomeType })), /* @__PURE__ */ React12.createElement(
1094
+ "span",
1095
+ {
1096
+ "data-automation-id": failureCountAutomationId,
1097
+ className: "count",
1098
+ "aria-hidden": "true"
1099
+ },
1100
+ " ",
1101
+ count
1102
+ ), /* @__PURE__ */ React12.createElement("span", { className: "screen-reader-only" }, text));
1105
1103
  });
1106
1104
 
1107
1105
  // src/reports/components/report-sections/minimal-rule-header.tsx
@@ -1114,26 +1112,11 @@ var MinimalRuleHeader = NamedFC("MinimalRuleHeader", (props) => {
1114
1112
  return null;
1115
1113
  }
1116
1114
  const count = outcomeCounter(rule.nodes);
1117
- return /* @__PURE__ */ React13.createElement("span", {
1118
- "aria-hidden": "true"
1119
- }, /* @__PURE__ */ React13.createElement(OutcomeChip, {
1120
- count,
1121
- outcomeType
1122
- }));
1115
+ return /* @__PURE__ */ React13.createElement("span", { "aria-hidden": "true" }, /* @__PURE__ */ React13.createElement(OutcomeChip, { count, outcomeType }));
1123
1116
  };
1124
- const renderRuleName = () => /* @__PURE__ */ React13.createElement("span", {
1125
- "data-automation-id": cardsRuleIdAutomationId,
1126
- className: "rule-details-id"
1127
- }, /* @__PURE__ */ React13.createElement("strong", null, rule.id));
1128
- const renderDescription = () => /* @__PURE__ */ React13.createElement("span", {
1129
- className: "rule-details-description"
1130
- }, rule.description);
1131
- return /* @__PURE__ */ React13.createElement("span", {
1132
- "data-automation-id": ruleDetailAutomationId,
1133
- className: "rule-detail"
1134
- }, /* @__PURE__ */ React13.createElement("span", {
1135
- className: minimal_rule_header_default.outcomeChipContainer
1136
- }, renderCountBadge()), /* @__PURE__ */ React13.createElement("span", null, renderRuleName(), ": ", renderDescription()));
1117
+ const renderRuleName = () => /* @__PURE__ */ React13.createElement("span", { "data-automation-id": cardsRuleIdAutomationId, className: "rule-details-id" }, /* @__PURE__ */ React13.createElement("strong", null, rule.id));
1118
+ const renderDescription = () => /* @__PURE__ */ React13.createElement("span", { className: "rule-details-description" }, rule.description);
1119
+ return /* @__PURE__ */ React13.createElement("span", { "data-automation-id": ruleDetailAutomationId, className: "rule-detail" }, /* @__PURE__ */ React13.createElement("span", { className: minimal_rule_header_default.outcomeChipContainer }, renderCountBadge()), /* @__PURE__ */ React13.createElement("span", null, renderRuleName(), ": ", renderDescription()));
1137
1120
  });
1138
1121
 
1139
1122
  // src/common/components/cards/rule-content.tsx
@@ -1158,14 +1141,7 @@ var SimpleCardRow = NamedFC(
1158
1141
  "SimpleCardRow",
1159
1142
  ({ label: givenLabel, content, rowKey, contentClassName }) => {
1160
1143
  const contentStyling = (0, import_utilities3.css)(instance_details_default.rowContent, contentClassName);
1161
- return /* @__PURE__ */ React14.createElement("tr", {
1162
- className: instance_details_default.row,
1163
- key: rowKey
1164
- }, /* @__PURE__ */ React14.createElement("th", {
1165
- className: instance_details_default.rowLabel
1166
- }, givenLabel), /* @__PURE__ */ React14.createElement("td", {
1167
- className: contentStyling
1168
- }, content));
1144
+ return /* @__PURE__ */ React14.createElement("tr", { className: instance_details_default.row, key: rowKey }, /* @__PURE__ */ React14.createElement("th", { className: instance_details_default.rowLabel }, givenLabel), /* @__PURE__ */ React14.createElement("td", { className: contentStyling }, content));
1169
1145
  }
1170
1146
  );
1171
1147
 
@@ -1175,12 +1151,15 @@ var GetLabelledStringPropertyCardRow = (label, contentClassName) => {
1175
1151
  if ((0, import_lodash4.isEmpty)(props.propertyData)) {
1176
1152
  return null;
1177
1153
  }
1178
- return /* @__PURE__ */ React15.createElement(SimpleCardRow, {
1179
- label,
1180
- content: props.propertyData,
1181
- rowKey: `${label}-${props.index}`,
1182
- contentClassName
1183
- });
1154
+ return /* @__PURE__ */ React15.createElement(
1155
+ SimpleCardRow,
1156
+ {
1157
+ label,
1158
+ content: props.propertyData,
1159
+ rowKey: `${label}-${props.index}`,
1160
+ contentClassName
1161
+ }
1162
+ );
1184
1163
  });
1185
1164
  };
1186
1165
 
@@ -1204,15 +1183,14 @@ var RelatedPathsCardRow = NamedFC(
1204
1183
  if ((0, import_lodash5.isEmpty)(propertyData)) {
1205
1184
  return null;
1206
1185
  }
1207
- return /* @__PURE__ */ React16.createElement(SimpleCardRow, {
1208
- label: `Related paths`,
1209
- content: /* @__PURE__ */ React16.createElement("ul", {
1210
- className: related_paths_card_row_default.pathList
1211
- }, propertyData.map((selector) => /* @__PURE__ */ React16.createElement("li", {
1212
- key: selector
1213
- }, selector))),
1214
- rowKey: `related-paths-row-${index}`
1215
- });
1186
+ return /* @__PURE__ */ React16.createElement(
1187
+ SimpleCardRow,
1188
+ {
1189
+ label: `Related paths`,
1190
+ content: /* @__PURE__ */ React16.createElement("ul", { className: related_paths_card_row_default.pathList }, propertyData.map((selector) => /* @__PURE__ */ React16.createElement("li", { key: selector }, selector))),
1191
+ rowKey: `related-paths-row-${index}`
1192
+ }
1193
+ );
1216
1194
  }
1217
1195
  );
1218
1196
 
@@ -1225,9 +1203,7 @@ function Term(props) {
1225
1203
  return /* @__PURE__ */ React17.createElement("strong", null, props.children);
1226
1204
  }
1227
1205
  function Code(props) {
1228
- return /* @__PURE__ */ React17.createElement("span", {
1229
- className: "insights-code"
1230
- }, props.children);
1206
+ return /* @__PURE__ */ React17.createElement("span", { className: "insights-code" }, props.children);
1231
1207
  }
1232
1208
 
1233
1209
  // src/common/components/cards/rich-resolution-content.tsx
@@ -1242,15 +1218,7 @@ var RichResolutionContent = NamedFC(
1242
1218
  ({ deps: { LinkComponent }, contentId, contentVariables }) => {
1243
1219
  switch (contentId) {
1244
1220
  case "android/ColorContrast": {
1245
- return /* @__PURE__ */ React18.createElement("div", {
1246
- className: rich_resolution_content_default.combinationLists
1247
- }, /* @__PURE__ */ React18.createElement("ul", {
1248
- className: rich_resolution_content_default.multiLineTextYesBullet
1249
- }, /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be invisible, it passes."), /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be visible, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1250
- href: "https://go.microsoft.com/fwlink/?linkid=2075365"
1251
- }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1252
- href: "https://developer.paciellogroup.com/resources/contrastanalyser/"
1253
- }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")));
1221
+ return /* @__PURE__ */ React18.createElement("div", { className: rich_resolution_content_default.combinationLists }, /* @__PURE__ */ React18.createElement("ul", { className: rich_resolution_content_default.multiLineTextYesBullet }, /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be invisible, it passes."), /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be visible, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://go.microsoft.com/fwlink/?linkid=2075365" }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.paciellogroup.com/resources/contrastanalyser/" }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")));
1254
1222
  }
1255
1223
  case "android/TouchSizeWcag": {
1256
1224
  const { logicalWidth, logicalHeight } = contentVariables;
@@ -1266,21 +1234,13 @@ var RichResolutionContent = NamedFC(
1266
1234
  return /* @__PURE__ */ React18.createElement("span", null, "The element's ", /* @__PURE__ */ React18.createElement(Code, null, "contentDescription"), " overrides the text value required by assistive technologies. Remove the element's", " ", /* @__PURE__ */ React18.createElement(Code, null, "contentDescription"), " attribute.");
1267
1235
  }
1268
1236
  case "android/atfa/ClassNameCheck": {
1269
- return /* @__PURE__ */ React18.createElement("span", null, /* @__PURE__ */ React18.createElement(LinkComponent, {
1270
- href: "https://developer.android.com/training/accessibility/testing.html#manual"
1271
- }, "Manually test"), " ", "the control to verify that users receive sufficient information to understand the object's function.");
1237
+ return /* @__PURE__ */ React18.createElement("span", null, /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.android.com/training/accessibility/testing.html#manual" }, "Manually test"), " ", "the control to verify that users receive sufficient information to understand the object's function.");
1272
1238
  }
1273
1239
  case "android/atfa/ClickableSpanCheck": {
1274
- return /* @__PURE__ */ React18.createElement("span", null, /* @__PURE__ */ React18.createElement(LinkComponent, {
1275
- href: "https://developer.android.com/training/accessibility/testing.html#manual"
1276
- }, "Manually test"), " ", "the item containing the link and verify that the hyperlinked text is announced and appears in the \u201CLinks\u201D section of Talkback\u2019s Context Menu.");
1240
+ return /* @__PURE__ */ React18.createElement("span", null, /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.android.com/training/accessibility/testing.html#manual" }, "Manually test"), " ", "the item containing the link and verify that the hyperlinked text is announced and appears in the \u201CLinks\u201D section of Talkback\u2019s Context Menu.");
1277
1241
  }
1278
1242
  case "android/atfa/DuplicateClickableBoundsCheck": {
1279
- return /* @__PURE__ */ React18.createElement("span", null, "Turn on", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1280
- href: "https://support.google.com/accessibility/android/answer/6301490"
1281
- }, "Switch Access for Android"), " ", "or use the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1282
- href: "https://accessibilityinsights.io/docs/en/android/getstarted/fastpass/#complete-the-manual-test-for-tab-stops"
1283
- }, "TabStops feature"), " ", "to navigate through the elements in the application. If an element appears to be focused more than once, there may be multiple interactive elements occupying the same screen location.");
1243
+ return /* @__PURE__ */ React18.createElement("span", null, "Turn on", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://support.google.com/accessibility/android/answer/6301490" }, "Switch Access for Android"), " ", "or use the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://accessibilityinsights.io/docs/en/android/getstarted/fastpass/#complete-the-manual-test-for-tab-stops" }, "TabStops feature"), " ", "to navigate through the elements in the application. If an element appears to be focused more than once, there may be multiple interactive elements occupying the same screen location.");
1284
1244
  }
1285
1245
  case "android/atfa/DuplicateSpeakableTextCheck": {
1286
1246
  return /* @__PURE__ */ React18.createElement("span", null, "If clickable ", /* @__PURE__ */ React18.createElement(Code, null, "View"), " objects have the ", /* @__PURE__ */ React18.createElement("i", null, "same"), " ", "speakable text and perform the ", /* @__PURE__ */ React18.createElement("i", null, "same"), " function, they pass.", /* @__PURE__ */ React18.createElement("br", null), "If clickable ", /* @__PURE__ */ React18.createElement(Code, null, "View"), " objects have the ", /* @__PURE__ */ React18.createElement("i", null, "same"), " ", "speakable text but perform ", /* @__PURE__ */ React18.createElement("i", null, "different"), " functions, they fail.");
@@ -1295,40 +1255,16 @@ var RichResolutionContent = NamedFC(
1295
1255
  return /* @__PURE__ */ React18.createElement("span", null, "Turn on Talkback. Swipe right to move accessibility focus forward through the elements on the screen, then swipe left to navigate backwards. Verify that focus moves through the elements in a logical, consistent order when navigating forwards or backwards.");
1296
1256
  }
1297
1257
  case "android/atfa/TextContrastCheck": {
1298
- return /* @__PURE__ */ React18.createElement("div", {
1299
- className: rich_resolution_content_default.combinationLists
1300
- }, /* @__PURE__ */ React18.createElement("ul", {
1301
- className: rich_resolution_content_default.multiLineTextYesBullet
1302
- }, /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be invisible, it passes."), /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be visible, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1303
- href: "https://go.microsoft.com/fwlink/?linkid=2075365"
1304
- }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1305
- href: "https://developer.paciellogroup.com/resources/contrastanalyser/"
1306
- }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")));
1258
+ return /* @__PURE__ */ React18.createElement("div", { className: rich_resolution_content_default.combinationLists }, /* @__PURE__ */ React18.createElement("ul", { className: rich_resolution_content_default.multiLineTextYesBullet }, /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be invisible, it passes."), /* @__PURE__ */ React18.createElement("li", null, "If the text is intended to be visible, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://go.microsoft.com/fwlink/?linkid=2075365" }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.paciellogroup.com/resources/contrastanalyser/" }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")));
1307
1259
  }
1308
1260
  case "android/atfa/ImageContrastCheck": {
1309
- return /* @__PURE__ */ React18.createElement("span", null, "Use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1310
- href: "https://go.microsoft.com/fwlink/?linkid=2075365"
1311
- }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1312
- href: "https://developer.paciellogroup.com/resources/contrastanalyser/"
1313
- }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that the", " ", /* @__PURE__ */ React18.createElement(Code, null, "ImageView"), " has sufficient contrast compared to the background. If the background is an image or gradient, test an area where the contrast appears to be the lowest.");
1261
+ return /* @__PURE__ */ React18.createElement("span", null, "Use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://go.microsoft.com/fwlink/?linkid=2075365" }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.paciellogroup.com/resources/contrastanalyser/" }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that the", " ", /* @__PURE__ */ React18.createElement(Code, null, "ImageView"), " has sufficient contrast compared to the background. If the background is an image or gradient, test an area where the contrast appears to be the lowest.");
1314
1262
  }
1315
1263
  case "web/aria-input-field-name": {
1316
- return /* @__PURE__ */ React18.createElement("div", null, "Inspect the element using the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1317
- href: "https://developers.google.com/web/updates/2018/01/devtools"
1318
- }, "Accessibility pane in the browser Developer Tools"), " ", "to verify that the field's accessible name is complete without its associated", " ", /* @__PURE__ */ React18.createElement("b", null, "<", "label", ">"), ".");
1264
+ return /* @__PURE__ */ React18.createElement("div", null, "Inspect the element using the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developers.google.com/web/updates/2018/01/devtools" }, "Accessibility pane in the browser Developer Tools"), " ", "to verify that the field's accessible name is complete without its associated", " ", /* @__PURE__ */ React18.createElement("b", null, "<", "label", ">"), ".");
1319
1265
  }
1320
1266
  case "web/color-contrast": {
1321
- return /* @__PURE__ */ React18.createElement("div", {
1322
- className: rich_resolution_content_default.combinationLists
1323
- }, /* @__PURE__ */ React18.createElement("ul", {
1324
- className: rich_resolution_content_default.multiLineTextYesBullet
1325
- }, /* @__PURE__ */ React18.createElement("li", null, "If the instance is an icon or other non-text content, ignore it. This rule applies only to text."), /* @__PURE__ */ React18.createElement("li", null, "If the instance is text, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1326
- href: "https://go.microsoft.com/fwlink/?linkid=2075365"
1327
- }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, {
1328
- href: "https://developer.paciellogroup.com/resources/contrastanalyser/"
1329
- }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")), /* @__PURE__ */ React18.createElement("ul", {
1330
- className: rich_resolution_content_default.multiLineTextNoBullet
1331
- }, /* @__PURE__ */ React18.createElement("li", null, "For detailed test instructions, see", " ", /* @__PURE__ */ React18.createElement(Term, null, "Assessment ", ">", " Adaptable content ", ">", " Contrast"), ".")));
1267
+ return /* @__PURE__ */ React18.createElement("div", { className: rich_resolution_content_default.combinationLists }, /* @__PURE__ */ React18.createElement("ul", { className: rich_resolution_content_default.multiLineTextYesBullet }, /* @__PURE__ */ React18.createElement("li", null, "If the instance is an icon or other non-text content, ignore it. This rule applies only to text."), /* @__PURE__ */ React18.createElement("li", null, "If the instance is text, use", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://go.microsoft.com/fwlink/?linkid=2075365" }, "Accessibility Insights for Windows"), " ", "(or the", " ", /* @__PURE__ */ React18.createElement(LinkComponent, { href: "https://developer.paciellogroup.com/resources/contrastanalyser/" }, "Colour Contrast Analyser"), " ", "if you're testing on a Mac) to manually verify that it has sufficient contrast compared to the background. If the background is an image or gradient, test an area where contrast appears to be lowest.")), /* @__PURE__ */ React18.createElement("ul", { className: rich_resolution_content_default.multiLineTextNoBullet }, /* @__PURE__ */ React18.createElement("li", null, "For detailed test instructions, see", " ", /* @__PURE__ */ React18.createElement(Term, null, "Assessment ", ">", " Adaptable content ", ">", " Contrast"), ".")));
1332
1268
  }
1333
1269
  case "web/th-has-data-cells": {
1334
1270
  return /* @__PURE__ */ React18.createElement("div", null, "Examine the header cell in the context of the table to verify that it has no data cells.");
@@ -1355,14 +1291,14 @@ var RichResolutionContent = NamedFC(
1355
1291
  var RichResolutionCardRow = NamedFC(
1356
1292
  "RichResolutionCardRow",
1357
1293
  ({ deps, index, propertyData }) => {
1358
- return /* @__PURE__ */ React19.createElement(SimpleCardRow, {
1359
- label: `How to ${propertyData.labelType}`,
1360
- content: /* @__PURE__ */ React19.createElement(RichResolutionContent, {
1361
- deps,
1362
- ...propertyData
1363
- }),
1364
- rowKey: `rich-resolution-row-${index}`
1365
- });
1294
+ return /* @__PURE__ */ React19.createElement(
1295
+ SimpleCardRow,
1296
+ {
1297
+ label: `How to ${propertyData.labelType}`,
1298
+ content: /* @__PURE__ */ React19.createElement(RichResolutionContent, { deps, ...propertyData }),
1299
+ rowKey: `rich-resolution-row-${index}`
1300
+ }
1301
+ );
1366
1302
  }
1367
1303
  );
1368
1304
 
@@ -1379,15 +1315,16 @@ var urls_card_row_default = { "urlsRowContent": "urls-row-content--JDdRx", "urls
1379
1315
  var UrlsCardRow = NamedFC("UrlsCardRow", ({ deps, ...props }) => {
1380
1316
  const urlInfos = props.propertyData.urlInfos;
1381
1317
  const renderUrlContent = () => {
1382
- return /* @__PURE__ */ React20.createElement("ul", {
1383
- className: urls_card_row_default.urlsRowContent
1384
- }, urlInfos.map((urlInfo, index) => getUrlListItem(urlInfo, index, deps)));
1318
+ return /* @__PURE__ */ React20.createElement("ul", { className: urls_card_row_default.urlsRowContent }, urlInfos.map((urlInfo, index) => getUrlListItem(urlInfo, index, deps)));
1385
1319
  };
1386
- return /* @__PURE__ */ React20.createElement(SimpleCardRow, {
1387
- label: "URL",
1388
- content: renderUrlContent(),
1389
- rowKey: `urls-row-${props.index}`
1390
- });
1320
+ return /* @__PURE__ */ React20.createElement(
1321
+ SimpleCardRow,
1322
+ {
1323
+ label: "URL",
1324
+ content: renderUrlContent(),
1325
+ rowKey: `urls-row-${props.index}`
1326
+ }
1327
+ );
1391
1328
  });
1392
1329
  var isNewViolation = (urlInfo) => {
1393
1330
  return urlInfo.baselineStatus === "new";
@@ -1395,22 +1332,9 @@ var isNewViolation = (urlInfo) => {
1395
1332
  function getUrlListItem(urlInfo, index, deps) {
1396
1333
  const key = `urls-${index}`;
1397
1334
  if (isNewViolation(urlInfo)) {
1398
- return /* @__PURE__ */ React20.createElement("li", {
1399
- key
1400
- }, /* @__PURE__ */ React20.createElement(deps.LinkComponent, {
1401
- "aria-label": `NEW. ${urlInfo.url}`,
1402
- href: urlInfo.url
1403
- }, urlInfo.url), /* @__PURE__ */ React20.createElement("span", {
1404
- key: "new",
1405
- "aria-hidden": "true",
1406
- className: urls_card_row_default.urlsRowContentNewFailure
1407
- }, " NEW!"));
1408
- }
1409
- return /* @__PURE__ */ React20.createElement("li", {
1410
- key
1411
- }, /* @__PURE__ */ React20.createElement(deps.LinkComponent, {
1412
- href: urlInfo.url
1413
- }, urlInfo.url));
1335
+ return /* @__PURE__ */ React20.createElement("li", { key }, /* @__PURE__ */ React20.createElement(deps.LinkComponent, { "aria-label": `NEW. ${urlInfo.url}`, href: urlInfo.url }, urlInfo.url), /* @__PURE__ */ React20.createElement("span", { key: "new", "aria-hidden": "true", className: urls_card_row_default.urlsRowContentNewFailure }, " NEW!"));
1336
+ }
1337
+ return /* @__PURE__ */ React20.createElement("li", { key }, /* @__PURE__ */ React20.createElement(deps.LinkComponent, { href: urlInfo.url }, urlInfo.url));
1414
1338
  }
1415
1339
 
1416
1340
  // src/common/components/cards/how-to-fix-card-row.tsx
@@ -1442,9 +1366,7 @@ var FixInstructionPanel = NamedFC(
1442
1366
  };
1443
1367
  const renderInstructions = (checkType) => {
1444
1368
  const instructionList = props.checks.map((check, checkIndex) => {
1445
- return /* @__PURE__ */ React21.createElement("li", {
1446
- key: `instruction-${CheckType[checkType]}-${checkIndex + 1}`
1447
- }, fixInstructionProcessor.process(check.message, props.deps.recommendColor));
1369
+ return /* @__PURE__ */ React21.createElement("li", { key: `instruction-${CheckType[checkType]}-${checkIndex + 1}` }, fixInstructionProcessor.process(check.message, props.deps.recommendColor));
1448
1370
  });
1449
1371
  return instructionList;
1450
1372
  };
@@ -1465,19 +1387,23 @@ var HowToFixWebCardRow = NamedFC(
1465
1387
  ({ deps, ...props }) => {
1466
1388
  const { any: anyOf, all, none } = props.propertyData;
1467
1389
  const renderFixInstructionsContent = () => {
1468
- return /* @__PURE__ */ React22.createElement("div", {
1469
- className: how_to_fix_card_row_default.howToFixContent
1470
- }, /* @__PURE__ */ React22.createElement(FixInstructionPanel, {
1471
- deps,
1472
- checkType: 0 /* All */,
1473
- checks: all.concat(none).map(turnStringToMessageObject),
1474
- renderTitleElement: renderFixInstructionsTitleElement
1475
- }), /* @__PURE__ */ React22.createElement(FixInstructionPanel, {
1476
- deps,
1477
- checkType: 1 /* Any */,
1478
- checks: anyOf.map(turnStringToMessageObject),
1479
- renderTitleElement: renderFixInstructionsTitleElement
1480
- }));
1390
+ return /* @__PURE__ */ React22.createElement("div", { className: how_to_fix_card_row_default.howToFixContent }, /* @__PURE__ */ React22.createElement(
1391
+ FixInstructionPanel,
1392
+ {
1393
+ deps,
1394
+ checkType: 0 /* All */,
1395
+ checks: all.concat(none).map(turnStringToMessageObject),
1396
+ renderTitleElement: renderFixInstructionsTitleElement
1397
+ }
1398
+ ), /* @__PURE__ */ React22.createElement(
1399
+ FixInstructionPanel,
1400
+ {
1401
+ deps,
1402
+ checkType: 1 /* Any */,
1403
+ checks: anyOf.map(turnStringToMessageObject),
1404
+ renderTitleElement: renderFixInstructionsTitleElement
1405
+ }
1406
+ ));
1481
1407
  };
1482
1408
  const turnStringToMessageObject = (s) => {
1483
1409
  return { message: s };
@@ -1485,11 +1411,14 @@ var HowToFixWebCardRow = NamedFC(
1485
1411
  const renderFixInstructionsTitleElement = (titleText) => {
1486
1412
  return /* @__PURE__ */ React22.createElement("div", null, titleText);
1487
1413
  };
1488
- return /* @__PURE__ */ React22.createElement(SimpleCardRow, {
1489
- label: "How to fix",
1490
- content: renderFixInstructionsContent(),
1491
- rowKey: `how-to-fix-row-${props.index}`
1492
- });
1414
+ return /* @__PURE__ */ React22.createElement(
1415
+ SimpleCardRow,
1416
+ {
1417
+ label: "How to fix",
1418
+ content: renderFixInstructionsContent(),
1419
+ rowKey: `how-to-fix-row-${props.index}`
1420
+ }
1421
+ );
1493
1422
  }
1494
1423
  );
1495
1424
 
@@ -1559,28 +1488,22 @@ var import_Styling = require("@fluentui/react/lib/Styling");
1559
1488
 
1560
1489
  // src/common/icons/more-actions-menu-icon.tsx
1561
1490
  var React23 = __toESM(require("react"));
1562
- var MoreActionsMenuIcon = NamedFC("MoreActionsMenuIcon", () => /* @__PURE__ */ React23.createElement("svg", {
1563
- width: "10",
1564
- height: "16",
1565
- viewBox: "0 0 10 16",
1566
- fill: "none",
1567
- stroke: "currentColor",
1568
- xmlns: "http://www.w3.org/2000/svg",
1569
- role: "img",
1570
- "aria-hidden": "true"
1571
- }, /* @__PURE__ */ React23.createElement("circle", {
1572
- cx: "5",
1573
- cy: "14",
1574
- r: "1.5"
1575
- }), /* @__PURE__ */ React23.createElement("circle", {
1576
- cx: "5",
1577
- cy: "8",
1578
- r: "1.5"
1579
- }), /* @__PURE__ */ React23.createElement("circle", {
1580
- cx: "5",
1581
- cy: "2",
1582
- r: "1.5"
1583
- })));
1491
+ var MoreActionsMenuIcon = NamedFC("MoreActionsMenuIcon", () => /* @__PURE__ */ React23.createElement(
1492
+ "svg",
1493
+ {
1494
+ width: "10",
1495
+ height: "16",
1496
+ viewBox: "0 0 10 16",
1497
+ fill: "none",
1498
+ stroke: "currentColor",
1499
+ xmlns: "http://www.w3.org/2000/svg",
1500
+ role: "img",
1501
+ "aria-hidden": "true"
1502
+ },
1503
+ /* @__PURE__ */ React23.createElement("circle", { cx: "5", cy: "14", r: "1.5" }),
1504
+ /* @__PURE__ */ React23.createElement("circle", { cx: "5", cy: "8", r: "1.5" }),
1505
+ /* @__PURE__ */ React23.createElement("circle", { cx: "5", cy: "2", r: "1.5" })
1506
+ ));
1584
1507
 
1585
1508
  // src/common/components/cards/card-footer-instance-action-buttons.tsx
1586
1509
  var React25 = __toESM(require("react"));
@@ -1611,12 +1534,7 @@ var _Toast = class extends React24.Component {
1611
1534
  }
1612
1535
  }
1613
1536
  render() {
1614
- return /* @__PURE__ */ React24.createElement("div", {
1615
- className: toast_default.toastContainer,
1616
- "aria-live": "polite"
1617
- }, this.state.toastVisible ? /* @__PURE__ */ React24.createElement("div", {
1618
- className: (0, import_utilities4.css)("ms-fadeIn100", toast_default.toastContent)
1619
- }, this.state.content) : null);
1537
+ return /* @__PURE__ */ React24.createElement("div", { className: toast_default.toastContainer, "aria-live": "polite" }, this.state.toastVisible ? /* @__PURE__ */ React24.createElement("div", { className: (0, import_utilities4.css)("ms-fadeIn100", toast_default.toastContent) }, this.state.content) : null);
1620
1538
  }
1621
1539
  };
1622
1540
  var Toast = _Toast;
@@ -1651,9 +1569,12 @@ var CardFooterInstanceActionButtons = class extends React25.Component {
1651
1569
  if (menuItems.length === 0) {
1652
1570
  return null;
1653
1571
  }
1654
- return /* @__PURE__ */ React25.createElement("div", {
1655
- onKeyDown: (event) => event.stopPropagation()
1656
- }, this.renderButtons(), this.renderCopyFailureDetailsToast());
1572
+ return (
1573
+ // The wrapper has to be a real element, not a <>, because we want the placeholder elements
1574
+ // the dialog/toast involve to be considered as part of the button for the purposes of layout
1575
+ // calculation in this component's parent.
1576
+ /* @__PURE__ */ React25.createElement("div", { onKeyDown: (event) => event.stopPropagation() }, this.renderButtons(), this.renderCopyFailureDetailsToast())
1577
+ );
1657
1578
  }
1658
1579
  renderButtons() {
1659
1580
  var _a;
@@ -1664,41 +1585,42 @@ var CardFooterInstanceActionButtons = class extends React25.Component {
1664
1585
  }
1665
1586
  }
1666
1587
  renderKebabButton() {
1667
- return /* @__PURE__ */ React25.createElement(import_react4.ActionButton, {
1668
- componentRef: (ref) => this.kebabButtonRef = ref,
1669
- ariaLabel: this.props.kebabMenuAriaLabel || "More actions",
1670
- menuIconProps: {
1671
- iconName: "MoreActionsMenuIcon",
1672
- className: card_footer_instance_action_buttons_default.kebabMenuIcon
1673
- },
1674
- menuProps: {
1675
- directionalHint: import_react4.DirectionalHint.bottomRightEdge,
1676
- shouldFocusOnMount: true,
1677
- items: this.getMenuItems()
1588
+ return /* @__PURE__ */ React25.createElement(
1589
+ import_react4.ActionButton,
1590
+ {
1591
+ componentRef: (ref) => this.kebabButtonRef = ref,
1592
+ ariaLabel: this.props.kebabMenuAriaLabel || "More actions",
1593
+ menuIconProps: {
1594
+ iconName: "MoreActionsMenuIcon",
1595
+ className: card_footer_instance_action_buttons_default.kebabMenuIcon
1596
+ },
1597
+ menuProps: {
1598
+ directionalHint: import_react4.DirectionalHint.bottomRightEdge,
1599
+ shouldFocusOnMount: true,
1600
+ items: this.getMenuItems()
1601
+ }
1678
1602
  }
1679
- });
1603
+ );
1680
1604
  }
1681
1605
  renderExpandedButtons() {
1682
1606
  const menuItems = this.getMenuItems();
1683
- return /* @__PURE__ */ React25.createElement(React25.Fragment, null, menuItems.map((props) => /* @__PURE__ */ React25.createElement("span", {
1684
- key: props.key
1685
- }, /* @__PURE__ */ React25.createElement(import_react4.ActionButton, {
1686
- onClick: props.onClick,
1687
- text: props.text,
1688
- iconProps: props.iconProps,
1689
- className: props.key,
1690
- componentRef: props.componentRef
1691
- }))));
1607
+ return /* @__PURE__ */ React25.createElement(React25.Fragment, null, menuItems.map((props) => /* @__PURE__ */ React25.createElement("span", { key: props.key }, /* @__PURE__ */ React25.createElement(
1608
+ import_react4.ActionButton,
1609
+ {
1610
+ onClick: props.onClick,
1611
+ text: props.text,
1612
+ iconProps: props.iconProps,
1613
+ className: props.key,
1614
+ componentRef: props.componentRef
1615
+ }
1616
+ ))));
1692
1617
  }
1693
1618
  renderCopyFailureDetailsToast() {
1694
1619
  const { cardInteractionSupport } = this.props.deps;
1695
1620
  if (!cardInteractionSupport.supportsCopyFailureDetails) {
1696
1621
  return null;
1697
1622
  }
1698
- return /* @__PURE__ */ React25.createElement(Toast, {
1699
- ref: this.toastRef,
1700
- deps: this.props.deps
1701
- });
1623
+ return /* @__PURE__ */ React25.createElement(Toast, { ref: this.toastRef, deps: this.props.deps });
1702
1624
  }
1703
1625
  getMenuItems() {
1704
1626
  return this.props.deps.cardFooterMenuItemsBuilder.getCardFooterMenuItems({
@@ -1712,42 +1634,63 @@ var CardFooterInstanceActionButtons = class extends React25.Component {
1712
1634
 
1713
1635
  // src/common/icons/highlight-status-icons.tsx
1714
1636
  var React26 = __toESM(require("react"));
1715
- var HighlightVisibleIcon = NamedFC("HighlightVisibleIcon", () => /* @__PURE__ */ React26.createElement("svg", {
1716
- width: "34",
1717
- height: "30",
1718
- viewBox: "0 0 34 30",
1719
- xmlns: "http://www.w3.org/2000/svg",
1720
- role: "img",
1721
- "aria-hidden": "true"
1722
- }, /* @__PURE__ */ React26.createElement("path", {
1723
- fillRule: "evenodd",
1724
- clipRule: "evenodd",
1725
- d: "M24.9247 15.2364C24.9252 15.2363 24.9228 15.2421 24.9161 15.2543C24.9209 15.2427 24.9242 15.2366 24.9247 15.2364ZM24.7382 15.5C24.6733 15.4225 24.5919 15.3323 24.4921 15.2312C24.1054 14.8394 23.5169 14.3566 22.767 13.8872C22.1349 13.4914 21.4077 13.1174 20.6127 12.8166C21.1701 13.5658 21.5 14.4944 21.5 15.5C21.5 16.5056 21.1701 17.4342 20.6127 18.1834C21.4077 17.8826 22.1349 17.5086 22.767 17.1128C23.5169 16.6434 24.1054 16.1606 24.4921 15.7688C24.5919 15.6677 24.6733 15.5775 24.7382 15.5ZM17 12.125H17C15.1361 12.125 13.6251 13.636 13.6251 15.5C13.6251 17.3639 15.1361 18.8749 17 18.8749C18.864 18.8749 20.375 17.3639 20.375 15.5C20.375 13.636 18.864 12.125 17 12.125ZM26 15.5C26 14.6562 21.9706 11 17 11C12.0294 11 8 14.6562 8 15.5C8 16.3438 12.0294 20 17 20C21.9706 20 26 16.3438 26 15.5ZM11.233 13.8872C11.8651 13.4914 12.5923 13.1174 13.3873 12.8165C12.8299 13.5658 12.5001 14.4944 12.5001 15.5C12.5001 16.5056 12.8299 17.4342 13.3874 18.1835C12.5924 17.8826 11.8652 17.5086 11.233 17.1128C10.4831 16.6434 9.8946 16.1606 9.50795 15.7688C9.40811 15.6677 9.32665 15.5775 9.26185 15.5C9.32665 15.4225 9.40811 15.3323 9.50795 15.2312C9.8946 14.8394 10.4831 14.3566 11.233 13.8872ZM9.07531 15.2364C9.07579 15.2366 9.07913 15.2427 9.08386 15.2543C9.07719 15.2421 9.07483 15.2363 9.07531 15.2364ZM9.07531 15.7636C9.07483 15.7637 9.07719 15.7579 9.08386 15.7457C9.07913 15.7573 9.07579 15.7634 9.07531 15.7636ZM24.9161 15.7457C24.9228 15.7579 24.9252 15.7637 24.9247 15.7636C24.9242 15.7634 24.9209 15.7573 24.9161 15.7457ZM17 16.625C17.6213 16.625 18.125 16.1213 18.125 15.5C18.125 14.8787 17.6213 14.375 17 14.375C16.3787 14.375 15.875 14.8787 15.875 15.5C15.875 16.1213 16.3787 16.625 17 16.625Z"
1726
- })));
1727
- var HighlightUnavailableIcon = NamedFC("HighlightUnavailableIcon", () => /* @__PURE__ */ React26.createElement("svg", {
1728
- width: "34",
1729
- height: "30",
1730
- viewBox: "0 0 34 30",
1731
- xmlns: "http://www.w3.org/2000/svg",
1732
- role: "img",
1733
- "aria-hidden": "true"
1734
- }, /* @__PURE__ */ React26.createElement("path", {
1735
- fillRule: "evenodd",
1736
- clipRule: "evenodd",
1737
- d: "M26.0875 10.3814C25.9321 10.1124 25.5881 10.0202 25.3191 10.1756L8.36661 19.9631C8.09757 20.1184 8.00539 20.4624 8.16072 20.7314C8.31605 21.0005 8.66007 21.0927 8.92911 20.9373L12.3384 18.969C13.6981 19.5691 15.2936 20 17 20C21.9706 20 26 16.3437 26 15.5C26 15.0546 24.8771 13.8254 23.0856 12.7641L25.8816 11.1498C26.1506 10.9945 26.2428 10.6505 26.0875 10.3814ZM21.9513 13.419L21.191 13.8579C21.3905 14.3666 21.5 14.9205 21.5 15.5C21.5 16.5056 21.1701 17.4342 20.6127 18.1834C21.4077 17.8826 22.1349 17.5086 22.767 17.1128C23.5169 16.6434 24.1054 16.1605 24.4921 15.7688C24.5919 15.6677 24.6733 15.5775 24.7382 15.5C24.6733 15.4225 24.5919 15.3323 24.4921 15.2312C24.1054 14.8394 23.5169 14.3566 22.767 13.8872C22.5102 13.7264 22.2376 13.5692 21.9513 13.419ZM20.2016 14.4292L18.1172 15.6326C18.0516 16.1914 17.5764 16.625 17 16.625C16.8423 16.625 16.6922 16.5925 16.556 16.534L14.4727 17.7368C15.091 18.4349 15.9941 18.8749 17 18.8749C18.864 18.8749 20.375 17.3639 20.375 15.5C20.375 15.1257 20.3141 14.7656 20.2016 14.4292ZM17 11C18.3092 11 19.5531 11.2536 20.6753 11.6427L18.866 12.6873C18.3315 12.332 17.6899 12.125 17 12.125C15.1361 12.125 13.6251 13.636 13.6251 15.5C13.6251 15.5703 13.6272 15.6402 13.6315 15.7095L12.5745 16.3197C12.5256 16.0539 12.5001 15.7799 12.5001 15.5C12.5001 14.4943 12.8299 13.5658 13.3873 12.8165C12.5923 13.1174 11.8651 13.4914 11.233 13.8872C10.4831 14.3566 9.8946 14.8394 9.50795 15.2312C9.40811 15.3323 9.32665 15.4224 9.26185 15.5C9.32665 15.5775 9.40811 15.6677 9.50795 15.7688C9.89194 16.1579 10.475 16.6368 11.2175 17.1031L10.1285 17.7319C8.80067 16.8111 8 15.8761 8 15.5C8 14.6562 12.0294 11 17 11ZM24.9247 15.2364C24.9252 15.2363 24.9228 15.2421 24.9161 15.2543C24.9209 15.2427 24.9242 15.2366 24.9247 15.2364ZM9.07531 15.2364C9.07579 15.2366 9.07913 15.2427 9.08386 15.2543C9.07719 15.2421 9.07483 15.2363 9.07531 15.2364ZM9.07531 15.7636C9.07483 15.7637 9.07719 15.7579 9.08386 15.7457C9.07913 15.7573 9.07579 15.7634 9.07531 15.7636ZM24.9161 15.7456C24.9228 15.7579 24.9252 15.7637 24.9247 15.7636C24.9242 15.7634 24.9209 15.7573 24.9161 15.7456Z"
1738
- })));
1739
- var HighlightHiddenIcon = NamedFC("HighlightHiddenIcon", () => /* @__PURE__ */ React26.createElement("svg", {
1740
- width: "34",
1741
- height: "30",
1742
- viewBox: "0 0 34 30",
1743
- xmlns: "http://www.w3.org/2000/svg",
1744
- role: "img",
1745
- "aria-hidden": "true"
1746
- }, /* @__PURE__ */ React26.createElement("path", {
1747
- fillRule: "evenodd",
1748
- clipRule: "evenodd",
1749
- d: "M9.08085 15C9.37419 15 9.61642 15.2189 9.65314 15.5022C9.66291 15.5202 9.68058 15.5492 9.70996 15.5894C9.78757 15.6956 9.91672 15.8391 10.1028 16.0101C10.4726 16.3502 11.0242 16.7595 11.7188 17.1541C13.1101 17.9445 15.0205 18.6451 17.1142 18.6451C19.2079 18.6451 21.1184 17.9445 22.5096 17.1541C23.2043 16.7595 23.7559 16.3502 24.1257 16.0101C24.3117 15.8391 24.4409 15.6956 24.5185 15.5894C24.5479 15.5492 24.5655 15.5202 24.5753 15.5022C24.612 15.2189 24.8542 15 25.1476 15C25.2415 15 25.3302 15.0224 25.4086 15.0622C25.4284 15.0708 25.4481 15.0805 25.4674 15.0913L28.8484 16.9905C29.1323 17.1499 29.2394 17.4999 29.0877 17.7723C28.9361 18.0447 28.583 18.1363 28.2992 17.9769L25.3938 16.3449C25.2642 16.5099 25.0983 16.6838 24.9069 16.8598C24.4637 17.2673 23.8388 17.7265 23.0797 18.1577C22.8753 18.2739 22.6601 18.3885 22.4351 18.5L24.1304 21.1648C24.2973 21.4271 24.2088 21.7809 23.9328 21.9549C23.6567 22.129 23.2976 22.0574 23.1307 21.7951L21.3406 18.9814C20.2653 19.3968 19.0358 19.7076 17.7186 19.7821V22.8381C17.7186 23.141 17.448 23.3865 17.1142 23.3865C16.7804 23.3865 16.5098 23.141 16.5098 22.8381L16.5098 19.7821C15.1926 19.7075 13.9631 19.3968 12.8878 18.9814L11.0976 21.7951C10.9307 22.0574 10.5717 22.129 10.2956 21.9549C10.0195 21.7809 9.93105 21.4271 10.0979 21.1648L11.7933 18.5C11.5683 18.3885 11.3531 18.2739 11.1487 18.1577C10.3896 17.7265 9.76474 17.2673 9.32154 16.8598C9.11716 16.6719 8.94198 16.4864 8.80883 16.3116L5.85741 17.9694C5.57358 18.1289 5.22055 18.0373 5.06888 17.7649C4.91722 17.4925 5.02436 17.1424 5.30818 16.983L8.68923 15.0838C8.78815 15.0283 8.89546 15.0032 8.99974 15.0057C9.02624 15.0019 9.05332 15 9.08085 15ZM9.64501 15.486C9.64391 15.4835 9.64348 15.4823 9.64355 15.4823C9.64361 15.4823 9.64416 15.4836 9.64501 15.486Z"
1750
- })));
1637
+ var HighlightVisibleIcon = NamedFC("HighlightVisibleIcon", () => /* @__PURE__ */ React26.createElement(
1638
+ "svg",
1639
+ {
1640
+ width: "34",
1641
+ height: "30",
1642
+ viewBox: "0 0 34 30",
1643
+ xmlns: "http://www.w3.org/2000/svg",
1644
+ role: "img",
1645
+ "aria-hidden": "true"
1646
+ },
1647
+ /* @__PURE__ */ React26.createElement(
1648
+ "path",
1649
+ {
1650
+ fillRule: "evenodd",
1651
+ clipRule: "evenodd",
1652
+ d: "M24.9247 15.2364C24.9252 15.2363 24.9228 15.2421 24.9161 15.2543C24.9209 15.2427 24.9242 15.2366 24.9247 15.2364ZM24.7382 15.5C24.6733 15.4225 24.5919 15.3323 24.4921 15.2312C24.1054 14.8394 23.5169 14.3566 22.767 13.8872C22.1349 13.4914 21.4077 13.1174 20.6127 12.8166C21.1701 13.5658 21.5 14.4944 21.5 15.5C21.5 16.5056 21.1701 17.4342 20.6127 18.1834C21.4077 17.8826 22.1349 17.5086 22.767 17.1128C23.5169 16.6434 24.1054 16.1606 24.4921 15.7688C24.5919 15.6677 24.6733 15.5775 24.7382 15.5ZM17 12.125H17C15.1361 12.125 13.6251 13.636 13.6251 15.5C13.6251 17.3639 15.1361 18.8749 17 18.8749C18.864 18.8749 20.375 17.3639 20.375 15.5C20.375 13.636 18.864 12.125 17 12.125ZM26 15.5C26 14.6562 21.9706 11 17 11C12.0294 11 8 14.6562 8 15.5C8 16.3438 12.0294 20 17 20C21.9706 20 26 16.3438 26 15.5ZM11.233 13.8872C11.8651 13.4914 12.5923 13.1174 13.3873 12.8165C12.8299 13.5658 12.5001 14.4944 12.5001 15.5C12.5001 16.5056 12.8299 17.4342 13.3874 18.1835C12.5924 17.8826 11.8652 17.5086 11.233 17.1128C10.4831 16.6434 9.8946 16.1606 9.50795 15.7688C9.40811 15.6677 9.32665 15.5775 9.26185 15.5C9.32665 15.4225 9.40811 15.3323 9.50795 15.2312C9.8946 14.8394 10.4831 14.3566 11.233 13.8872ZM9.07531 15.2364C9.07579 15.2366 9.07913 15.2427 9.08386 15.2543C9.07719 15.2421 9.07483 15.2363 9.07531 15.2364ZM9.07531 15.7636C9.07483 15.7637 9.07719 15.7579 9.08386 15.7457C9.07913 15.7573 9.07579 15.7634 9.07531 15.7636ZM24.9161 15.7457C24.9228 15.7579 24.9252 15.7637 24.9247 15.7636C24.9242 15.7634 24.9209 15.7573 24.9161 15.7457ZM17 16.625C17.6213 16.625 18.125 16.1213 18.125 15.5C18.125 14.8787 17.6213 14.375 17 14.375C16.3787 14.375 15.875 14.8787 15.875 15.5C15.875 16.1213 16.3787 16.625 17 16.625Z"
1653
+ }
1654
+ )
1655
+ ));
1656
+ var HighlightUnavailableIcon = NamedFC("HighlightUnavailableIcon", () => /* @__PURE__ */ React26.createElement(
1657
+ "svg",
1658
+ {
1659
+ width: "34",
1660
+ height: "30",
1661
+ viewBox: "0 0 34 30",
1662
+ xmlns: "http://www.w3.org/2000/svg",
1663
+ role: "img",
1664
+ "aria-hidden": "true"
1665
+ },
1666
+ /* @__PURE__ */ React26.createElement(
1667
+ "path",
1668
+ {
1669
+ fillRule: "evenodd",
1670
+ clipRule: "evenodd",
1671
+ d: "M26.0875 10.3814C25.9321 10.1124 25.5881 10.0202 25.3191 10.1756L8.36661 19.9631C8.09757 20.1184 8.00539 20.4624 8.16072 20.7314C8.31605 21.0005 8.66007 21.0927 8.92911 20.9373L12.3384 18.969C13.6981 19.5691 15.2936 20 17 20C21.9706 20 26 16.3437 26 15.5C26 15.0546 24.8771 13.8254 23.0856 12.7641L25.8816 11.1498C26.1506 10.9945 26.2428 10.6505 26.0875 10.3814ZM21.9513 13.419L21.191 13.8579C21.3905 14.3666 21.5 14.9205 21.5 15.5C21.5 16.5056 21.1701 17.4342 20.6127 18.1834C21.4077 17.8826 22.1349 17.5086 22.767 17.1128C23.5169 16.6434 24.1054 16.1605 24.4921 15.7688C24.5919 15.6677 24.6733 15.5775 24.7382 15.5C24.6733 15.4225 24.5919 15.3323 24.4921 15.2312C24.1054 14.8394 23.5169 14.3566 22.767 13.8872C22.5102 13.7264 22.2376 13.5692 21.9513 13.419ZM20.2016 14.4292L18.1172 15.6326C18.0516 16.1914 17.5764 16.625 17 16.625C16.8423 16.625 16.6922 16.5925 16.556 16.534L14.4727 17.7368C15.091 18.4349 15.9941 18.8749 17 18.8749C18.864 18.8749 20.375 17.3639 20.375 15.5C20.375 15.1257 20.3141 14.7656 20.2016 14.4292ZM17 11C18.3092 11 19.5531 11.2536 20.6753 11.6427L18.866 12.6873C18.3315 12.332 17.6899 12.125 17 12.125C15.1361 12.125 13.6251 13.636 13.6251 15.5C13.6251 15.5703 13.6272 15.6402 13.6315 15.7095L12.5745 16.3197C12.5256 16.0539 12.5001 15.7799 12.5001 15.5C12.5001 14.4943 12.8299 13.5658 13.3873 12.8165C12.5923 13.1174 11.8651 13.4914 11.233 13.8872C10.4831 14.3566 9.8946 14.8394 9.50795 15.2312C9.40811 15.3323 9.32665 15.4224 9.26185 15.5C9.32665 15.5775 9.40811 15.6677 9.50795 15.7688C9.89194 16.1579 10.475 16.6368 11.2175 17.1031L10.1285 17.7319C8.80067 16.8111 8 15.8761 8 15.5C8 14.6562 12.0294 11 17 11ZM24.9247 15.2364C24.9252 15.2363 24.9228 15.2421 24.9161 15.2543C24.9209 15.2427 24.9242 15.2366 24.9247 15.2364ZM9.07531 15.2364C9.07579 15.2366 9.07913 15.2427 9.08386 15.2543C9.07719 15.2421 9.07483 15.2363 9.07531 15.2364ZM9.07531 15.7636C9.07483 15.7637 9.07719 15.7579 9.08386 15.7457C9.07913 15.7573 9.07579 15.7634 9.07531 15.7636ZM24.9161 15.7456C24.9228 15.7579 24.9252 15.7637 24.9247 15.7636C24.9242 15.7634 24.9209 15.7573 24.9161 15.7456Z"
1672
+ }
1673
+ )
1674
+ ));
1675
+ var HighlightHiddenIcon = NamedFC("HighlightHiddenIcon", () => /* @__PURE__ */ React26.createElement(
1676
+ "svg",
1677
+ {
1678
+ width: "34",
1679
+ height: "30",
1680
+ viewBox: "0 0 34 30",
1681
+ xmlns: "http://www.w3.org/2000/svg",
1682
+ role: "img",
1683
+ "aria-hidden": "true"
1684
+ },
1685
+ /* @__PURE__ */ React26.createElement(
1686
+ "path",
1687
+ {
1688
+ fillRule: "evenodd",
1689
+ clipRule: "evenodd",
1690
+ d: "M9.08085 15C9.37419 15 9.61642 15.2189 9.65314 15.5022C9.66291 15.5202 9.68058 15.5492 9.70996 15.5894C9.78757 15.6956 9.91672 15.8391 10.1028 16.0101C10.4726 16.3502 11.0242 16.7595 11.7188 17.1541C13.1101 17.9445 15.0205 18.6451 17.1142 18.6451C19.2079 18.6451 21.1184 17.9445 22.5096 17.1541C23.2043 16.7595 23.7559 16.3502 24.1257 16.0101C24.3117 15.8391 24.4409 15.6956 24.5185 15.5894C24.5479 15.5492 24.5655 15.5202 24.5753 15.5022C24.612 15.2189 24.8542 15 25.1476 15C25.2415 15 25.3302 15.0224 25.4086 15.0622C25.4284 15.0708 25.4481 15.0805 25.4674 15.0913L28.8484 16.9905C29.1323 17.1499 29.2394 17.4999 29.0877 17.7723C28.9361 18.0447 28.583 18.1363 28.2992 17.9769L25.3938 16.3449C25.2642 16.5099 25.0983 16.6838 24.9069 16.8598C24.4637 17.2673 23.8388 17.7265 23.0797 18.1577C22.8753 18.2739 22.6601 18.3885 22.4351 18.5L24.1304 21.1648C24.2973 21.4271 24.2088 21.7809 23.9328 21.9549C23.6567 22.129 23.2976 22.0574 23.1307 21.7951L21.3406 18.9814C20.2653 19.3968 19.0358 19.7076 17.7186 19.7821V22.8381C17.7186 23.141 17.448 23.3865 17.1142 23.3865C16.7804 23.3865 16.5098 23.141 16.5098 22.8381L16.5098 19.7821C15.1926 19.7075 13.9631 19.3968 12.8878 18.9814L11.0976 21.7951C10.9307 22.0574 10.5717 22.129 10.2956 21.9549C10.0195 21.7809 9.93105 21.4271 10.0979 21.1648L11.7933 18.5C11.5683 18.3885 11.3531 18.2739 11.1487 18.1577C10.3896 17.7265 9.76474 17.2673 9.32154 16.8598C9.11716 16.6719 8.94198 16.4864 8.80883 16.3116L5.85741 17.9694C5.57358 18.1289 5.22055 18.0373 5.06888 17.7649C4.91722 17.4925 5.02436 17.1424 5.30818 16.983L8.68923 15.0838C8.78815 15.0283 8.89546 15.0032 8.99974 15.0057C9.02624 15.0019 9.05332 15 9.08085 15ZM9.64501 15.486C9.64391 15.4835 9.64348 15.4823 9.64355 15.4823C9.64361 15.4823 9.64416 15.4836 9.64501 15.486Z"
1691
+ }
1692
+ )
1693
+ ));
1751
1694
 
1752
1695
  // src/common/components/cards/instance-details-footer.tsx
1753
1696
  var React27 = __toESM(require("react"));
@@ -1772,13 +1715,16 @@ var InstanceDetailsFooter = NamedFC(
1772
1715
  }
1773
1716
  const issueDetailsData = deps.unifiedResultToIssueFilingDataConverter.convert(result, rule, targetAppInfo);
1774
1717
  const kebabMenuAriaLabel = `More Actions for failure instance ${result.identifiers.identifier} in rule ${rule.id}`;
1775
- return /* @__PURE__ */ React27.createElement(CardFooterInstanceActionButtons, {
1776
- deps,
1777
- userConfigurationStoreData,
1778
- issueDetailsData,
1779
- kebabMenuAriaLabel,
1780
- narrowModeStatus
1781
- });
1718
+ return /* @__PURE__ */ React27.createElement(
1719
+ CardFooterInstanceActionButtons,
1720
+ {
1721
+ deps,
1722
+ userConfigurationStoreData,
1723
+ issueDetailsData,
1724
+ kebabMenuAriaLabel,
1725
+ narrowModeStatus
1726
+ }
1727
+ );
1782
1728
  };
1783
1729
  const renderHighlightStatus = () => {
1784
1730
  if (!supportsHighlighting) {
@@ -1791,13 +1737,9 @@ var InstanceDetailsFooter = NamedFC(
1791
1737
  visible: /* @__PURE__ */ React27.createElement(HighlightVisibleIcon, null),
1792
1738
  hidden: /* @__PURE__ */ React27.createElement(HighlightHiddenIcon, null)
1793
1739
  }[highlightState];
1794
- return /* @__PURE__ */ React27.createElement("div", {
1795
- className: instance_details_footer_default.highlightStatus
1796
- }, icon, /* @__PURE__ */ React27.createElement(import_react5.Label, null, label));
1740
+ return /* @__PURE__ */ React27.createElement("div", { className: instance_details_footer_default.highlightStatus }, icon, /* @__PURE__ */ React27.createElement(import_react5.Label, null, label));
1797
1741
  };
1798
- return /* @__PURE__ */ React27.createElement("div", {
1799
- className: instance_details_footer_default.foot
1800
- }, renderHighlightStatus(), renderKebabMenu());
1742
+ return /* @__PURE__ */ React27.createElement("div", { className: instance_details_footer_default.foot }, renderHighlightStatus(), renderKebabMenu());
1801
1743
  }
1802
1744
  );
1803
1745
 
@@ -1840,30 +1782,35 @@ var InstanceDetails = NamedFC("InstanceDetails", (props) => {
1840
1782
  },
1841
1783
  tabIndex: -1
1842
1784
  } : {};
1843
- return /* @__PURE__ */ React28.createElement("div", {
1844
- "data-automation-id": instanceCardAutomationId,
1845
- className: instanceDetailsCardContainerStyling
1846
- }, /* @__PURE__ */ React28.createElement("div", {
1847
- className: instanceDetailsCardStyling,
1848
- ...cardHighlightingProperties
1849
- }, /* @__PURE__ */ React28.createElement("div", null, /* @__PURE__ */ React28.createElement("table", {
1850
- className: instance_details_default.reportInstanceTable
1851
- }, /* @__PURE__ */ React28.createElement("tbody", null, renderCardRowsForPropertyBag(result.identifiers, props), renderCardRowsForPropertyBag(result.descriptors, props), renderCardRowsForPropertyBag(result.resolution, props))), isHighlightSupported && cardSelectionMessageCreator !== void 0 && /* @__PURE__ */ React28.createElement("button", {
1852
- ref: hiddenButton,
1853
- onClick: toggleSelectHandler,
1854
- className: instance_details_default.hiddenHighlightButton,
1855
- "aria-label": `highlight ${result.identifiers && result.identifiers.identifier ? result.identifiers.identifier : ""}`,
1856
- "aria-pressed": result.isSelected,
1857
- onFocus: (_) => setCardFocus(true),
1858
- onBlur: (_) => setCardFocus(false)
1859
- }), /* @__PURE__ */ React28.createElement(InstanceDetailsFooter, {
1860
- deps,
1861
- result,
1862
- userConfigurationStoreData,
1863
- rule,
1864
- targetAppInfo,
1865
- narrowModeStatus
1866
- }))));
1785
+ return /* @__PURE__ */ React28.createElement(
1786
+ "div",
1787
+ {
1788
+ "data-automation-id": instanceCardAutomationId,
1789
+ className: instanceDetailsCardContainerStyling
1790
+ },
1791
+ /* @__PURE__ */ React28.createElement("div", { className: instanceDetailsCardStyling, ...cardHighlightingProperties }, /* @__PURE__ */ React28.createElement("div", null, /* @__PURE__ */ React28.createElement("table", { className: instance_details_default.reportInstanceTable }, /* @__PURE__ */ React28.createElement("tbody", null, renderCardRowsForPropertyBag(result.identifiers, props), renderCardRowsForPropertyBag(result.descriptors, props), renderCardRowsForPropertyBag(result.resolution, props))), isHighlightSupported && cardSelectionMessageCreator !== void 0 && /* @__PURE__ */ React28.createElement(
1792
+ "button",
1793
+ {
1794
+ ref: hiddenButton,
1795
+ onClick: toggleSelectHandler,
1796
+ className: instance_details_default.hiddenHighlightButton,
1797
+ "aria-label": `highlight ${result.identifiers && result.identifiers.identifier ? result.identifiers.identifier : ""}`,
1798
+ "aria-pressed": result.isSelected,
1799
+ onFocus: (_) => setCardFocus(true),
1800
+ onBlur: (_) => setCardFocus(false)
1801
+ }
1802
+ ), /* @__PURE__ */ React28.createElement(
1803
+ InstanceDetailsFooter,
1804
+ {
1805
+ deps,
1806
+ result,
1807
+ userConfigurationStoreData,
1808
+ rule,
1809
+ targetAppInfo,
1810
+ narrowModeStatus
1811
+ }
1812
+ )))
1813
+ );
1867
1814
  });
1868
1815
  var renderCardRowsForPropertyBag = (propertyBag, props) => {
1869
1816
  let propertyIndex = 0;
@@ -1874,12 +1821,15 @@ var renderCardRowsForPropertyBag = (propertyBag, props) => {
1874
1821
  const CardRow = propertyConfig.cardRow;
1875
1822
  ++propertyIndex;
1876
1823
  cardRows.push(
1877
- /* @__PURE__ */ React28.createElement(CardRow, {
1878
- deps: props.deps,
1879
- propertyData,
1880
- index: props.index,
1881
- key: `${propertyName}-${propertyIndex}`
1882
- })
1824
+ /* @__PURE__ */ React28.createElement(
1825
+ CardRow,
1826
+ {
1827
+ deps: props.deps,
1828
+ propertyData,
1829
+ index: props.index,
1830
+ key: `${propertyName}-${propertyIndex}`
1831
+ }
1832
+ )
1883
1833
  );
1884
1834
  }
1885
1835
  });
@@ -1909,23 +1859,28 @@ var InstanceDetailsGroup = NamedFC(
1909
1859
  url: rule.url,
1910
1860
  guidance: rule.guidance
1911
1861
  };
1912
- return /* @__PURE__ */ React29.createElement("ul", {
1913
- "data-automation-id": ruleContentAutomationId,
1914
- className: instance_details_group_default.instanceDetailsList,
1915
- "aria-label": "instances with additional information like path, snippet and how to fix"
1916
- }, nodes.map((node, index) => /* @__PURE__ */ React29.createElement("li", {
1917
- key: `instance-details-${index}`
1918
- }, /* @__PURE__ */ React29.createElement(InstanceDetails, {
1919
- ...{ index },
1920
- deps,
1921
- result: node,
1922
- getPropertyConfigById: getPropertyConfiguration,
1923
- userConfigurationStoreData,
1924
- rule: unifiedRule,
1925
- targetAppInfo,
1926
- cardSelectionMessageCreator,
1927
- narrowModeStatus
1928
- }))));
1862
+ return /* @__PURE__ */ React29.createElement(
1863
+ "ul",
1864
+ {
1865
+ "data-automation-id": ruleContentAutomationId,
1866
+ className: instance_details_group_default.instanceDetailsList,
1867
+ "aria-label": "instances with additional information like path, snippet and how to fix"
1868
+ },
1869
+ nodes.map((node, index) => /* @__PURE__ */ React29.createElement("li", { key: `instance-details-${index}` }, /* @__PURE__ */ React29.createElement(
1870
+ InstanceDetails,
1871
+ {
1872
+ ...{ index },
1873
+ deps,
1874
+ result: node,
1875
+ getPropertyConfigById: getPropertyConfiguration,
1876
+ userConfigurationStoreData,
1877
+ rule: unifiedRule,
1878
+ targetAppInfo,
1879
+ cardSelectionMessageCreator,
1880
+ narrowModeStatus
1881
+ }
1882
+ )))
1883
+ );
1929
1884
  }
1930
1885
  );
1931
1886
 
@@ -1950,17 +1905,10 @@ var GuidanceLinks = NamedFC("GuidanceLinks", (props) => {
1950
1905
  const addComma = index !== length - 1;
1951
1906
  const comma = addComma ? /* @__PURE__ */ React30.createElement("span", null, ",\xA0") : null;
1952
1907
  const LinkComponent = props.LinkComponent;
1953
- return /* @__PURE__ */ React30.createElement(React30.Fragment, {
1954
- key: `guidance-link-${index}`
1955
- }, /* @__PURE__ */ React30.createElement(LinkComponent, {
1956
- href: link2.href,
1957
- onClick: (event) => event.stopPropagation()
1958
- }, link2.text.toUpperCase()), comma);
1908
+ return /* @__PURE__ */ React30.createElement(React30.Fragment, { key: `guidance-link-${index}` }, /* @__PURE__ */ React30.createElement(LinkComponent, { href: link2.href, onClick: (event) => event.stopPropagation() }, link2.text.toUpperCase()), comma);
1959
1909
  };
1960
1910
  const spanClassName = classNameForDiv || "guidance-links";
1961
- return /* @__PURE__ */ React30.createElement("span", {
1962
- className: spanClassName
1963
- }, renderLinks());
1911
+ return /* @__PURE__ */ React30.createElement("span", { className: spanClassName }, renderLinks());
1964
1912
  });
1965
1913
 
1966
1914
  // src/common/components/guidance-tags.tsx
@@ -1976,13 +1924,9 @@ var GuidanceTags = NamedFC("GuidanceTags", (props) => {
1976
1924
  return null;
1977
1925
  }
1978
1926
  const tagElements = tags.map((tag, index) => {
1979
- return /* @__PURE__ */ React31.createElement("span", {
1980
- key: index
1981
- }, tag.displayText);
1927
+ return /* @__PURE__ */ React31.createElement("span", { key: index }, tag.displayText);
1982
1928
  });
1983
- return /* @__PURE__ */ React31.createElement("span", {
1984
- className: "guidance-tags"
1985
- }, tagElements);
1929
+ return /* @__PURE__ */ React31.createElement("span", { className: "guidance-tags" }, tagElements);
1986
1930
  });
1987
1931
 
1988
1932
  // src/common/components/cards/rule-resources.tsx
@@ -1997,45 +1941,25 @@ var RuleResources = NamedFC("RuleResources", ({ deps, rule }) => {
1997
1941
  if (rule.url == null && (0, import_lodash9.isEmpty)(rule.guidance)) {
1998
1942
  return null;
1999
1943
  }
2000
- const renderTitle = () => /* @__PURE__ */ React32.createElement("div", {
2001
- className: rule_resources_default.moreResourcesTitle
2002
- }, "Resources for this rule");
1944
+ const renderTitle = () => /* @__PURE__ */ React32.createElement("div", { className: rule_resources_default.moreResourcesTitle }, "Resources for this rule");
2003
1945
  const renderRuleLink = () => {
2004
1946
  if (rule.url == null) {
2005
1947
  return null;
2006
1948
  }
2007
1949
  const ruleId = rule.id;
2008
1950
  const ruleUrl = rule.url;
2009
- return /* @__PURE__ */ React32.createElement("span", {
2010
- className: rule_resources_default.ruleDetailsId
2011
- }, /* @__PURE__ */ React32.createElement(deps.LinkComponent, {
2012
- href: ruleUrl
2013
- }, "More information about ", ruleId));
1951
+ return /* @__PURE__ */ React32.createElement("span", { className: rule_resources_default.ruleDetailsId }, /* @__PURE__ */ React32.createElement(deps.LinkComponent, { href: ruleUrl }, "More information about ", ruleId));
2014
1952
  };
2015
1953
  const renderGuidanceLinks = () => {
2016
- return /* @__PURE__ */ React32.createElement(GuidanceLinks, {
2017
- links: rule.guidance,
2018
- LinkComponent: deps.LinkComponent
2019
- });
1954
+ return /* @__PURE__ */ React32.createElement(GuidanceLinks, { links: rule.guidance, LinkComponent: deps.LinkComponent });
2020
1955
  };
2021
- const renderGuidanceTags = () => /* @__PURE__ */ React32.createElement(GuidanceTags, {
2022
- deps,
2023
- links: rule.guidance
2024
- });
2025
- return /* @__PURE__ */ React32.createElement("div", {
2026
- className: rule_resources_default.ruleMoreResources
2027
- }, renderTitle(), renderRuleLink(), /* @__PURE__ */ React32.createElement("span", {
2028
- className: rule_resources_default.ruleGuidance
2029
- }, renderGuidanceLinks(), renderGuidanceTags()));
1956
+ const renderGuidanceTags = () => /* @__PURE__ */ React32.createElement(GuidanceTags, { deps, links: rule.guidance });
1957
+ return /* @__PURE__ */ React32.createElement("div", { className: rule_resources_default.ruleMoreResources }, renderTitle(), renderRuleLink(), /* @__PURE__ */ React32.createElement("span", { className: rule_resources_default.ruleGuidance }, renderGuidanceLinks(), renderGuidanceTags()));
2030
1958
  });
2031
1959
 
2032
1960
  // src/common/components/cards/rule-content.tsx
2033
1961
  var RuleContent = NamedFC("RuleContent", (props) => {
2034
- return /* @__PURE__ */ React33.createElement(React33.Fragment, null, /* @__PURE__ */ React33.createElement(RuleResources, {
2035
- ...props
2036
- }), /* @__PURE__ */ React33.createElement(InstanceDetailsGroup, {
2037
- ...props
2038
- }));
1962
+ return /* @__PURE__ */ React33.createElement(React33.Fragment, null, /* @__PURE__ */ React33.createElement(RuleResources, { ...props }), /* @__PURE__ */ React33.createElement(InstanceDetailsGroup, { ...props }));
2039
1963
  });
2040
1964
 
2041
1965
  // src/common/components/cards/rules-with-instances.scss
@@ -2061,21 +1985,27 @@ var RulesWithInstances = NamedFC(
2061
1985
  return {
2062
1986
  id: rule.id,
2063
1987
  key: `summary-details-${idx + 1}`,
2064
- header: /* @__PURE__ */ React34.createElement(MinimalRuleHeader, {
2065
- key: rule.id,
2066
- rule,
2067
- outcomeType,
2068
- outcomeCounter
2069
- }),
2070
- content: /* @__PURE__ */ React34.createElement(RuleContent, {
2071
- key: `${rule.id}-rule-group`,
2072
- deps,
2073
- rule,
2074
- userConfigurationStoreData,
2075
- targetAppInfo,
2076
- cardSelectionMessageCreator,
2077
- narrowModeStatus
2078
- }),
1988
+ header: /* @__PURE__ */ React34.createElement(
1989
+ MinimalRuleHeader,
1990
+ {
1991
+ key: rule.id,
1992
+ rule,
1993
+ outcomeType,
1994
+ outcomeCounter
1995
+ }
1996
+ ),
1997
+ content: /* @__PURE__ */ React34.createElement(
1998
+ RuleContent,
1999
+ {
2000
+ key: `${rule.id}-rule-group`,
2001
+ deps,
2002
+ rule,
2003
+ userConfigurationStoreData,
2004
+ targetAppInfo,
2005
+ cardSelectionMessageCreator,
2006
+ narrowModeStatus
2007
+ }
2008
+ ),
2079
2009
  containerAutomationId: ruleGroupAutomationId,
2080
2010
  containerClassName: rules_with_instances_default.collapsibleRuleDetailsGroup,
2081
2011
  buttonAriaLabel,
@@ -2087,18 +2017,22 @@ var RulesWithInstances = NamedFC(
2087
2017
  isExpanded: rule.isExpanded
2088
2018
  };
2089
2019
  };
2090
- return /* @__PURE__ */ React34.createElement("div", {
2091
- className: rules_with_instances_default.ruleDetailsGroup,
2092
- "data-automation-id": ruleDetailsGroupAutomationId
2093
- }, rules.map((rule, idx) => {
2094
- const { pastTense } = outcomeTypeSemantics[outcomeType];
2095
- const count = outcomeCounter(rule.nodes);
2096
- const buttonAriaLabel = `${count} ${pastTense} ${rule.id} ${rule.description}`;
2097
- const CollapsibleComponent = deps.collapsibleControl(
2098
- getCollapsibleComponentProps(rule, idx, buttonAriaLabel)
2099
- );
2100
- return CollapsibleComponent;
2101
- }));
2020
+ return /* @__PURE__ */ React34.createElement(
2021
+ "div",
2022
+ {
2023
+ className: rules_with_instances_default.ruleDetailsGroup,
2024
+ "data-automation-id": ruleDetailsGroupAutomationId
2025
+ },
2026
+ rules.map((rule, idx) => {
2027
+ const { pastTense } = outcomeTypeSemantics[outcomeType];
2028
+ const count = outcomeCounter(rule.nodes);
2029
+ const buttonAriaLabel = `${count} ${pastTense} ${rule.id} ${rule.description}`;
2030
+ const CollapsibleComponent = deps.collapsibleControl(
2031
+ getCollapsibleComponentProps(rule, idx, buttonAriaLabel)
2032
+ );
2033
+ return CollapsibleComponent;
2034
+ })
2035
+ );
2102
2036
  }
2103
2037
  );
2104
2038
 
@@ -2121,21 +2055,27 @@ var ResultSectionContent = NamedFC(
2121
2055
  if (results.length === 0) {
2122
2056
  return null;
2123
2057
  }
2124
- return /* @__PURE__ */ React35.createElement(React35.Fragment, null, cardSelectionMessageCreator !== void 0 && /* @__PURE__ */ React35.createElement(deps.cardsVisualizationModifierButtons, {
2125
- ...props,
2126
- cardSelectionMessageCreator
2127
- }), /* @__PURE__ */ React35.createElement(RulesWithInstances, {
2128
- deps,
2129
- rules: results,
2130
- outcomeType,
2131
- fixInstructionProcessor,
2132
- userConfigurationStoreData,
2133
- targetAppInfo,
2134
- outcomeCounter,
2135
- headingLevel,
2136
- cardSelectionMessageCreator,
2137
- narrowModeStatus
2138
- }));
2058
+ return /* @__PURE__ */ React35.createElement(React35.Fragment, null, cardSelectionMessageCreator !== void 0 && /* @__PURE__ */ React35.createElement(
2059
+ deps.cardsVisualizationModifierButtons,
2060
+ {
2061
+ ...props,
2062
+ cardSelectionMessageCreator
2063
+ }
2064
+ ), /* @__PURE__ */ React35.createElement(
2065
+ RulesWithInstances,
2066
+ {
2067
+ deps,
2068
+ rules: results,
2069
+ outcomeType,
2070
+ fixInstructionProcessor,
2071
+ userConfigurationStoreData,
2072
+ targetAppInfo,
2073
+ outcomeCounter,
2074
+ headingLevel,
2075
+ cardSelectionMessageCreator,
2076
+ narrowModeStatus
2077
+ }
2078
+ ));
2139
2079
  }
2140
2080
  );
2141
2081
 
@@ -2154,23 +2094,8 @@ var ResultSectionTitle = NamedFC("ResultSectionTitle", (props) => {
2154
2094
  const singularMessageSubject = props.outcomeType === "review" ? "instance to review" : "failure";
2155
2095
  const pluralMessageSubject = props.outcomeType === "review" ? "instances to review" : "failures";
2156
2096
  const alertTerm = props.badgeCount !== 1 ? `${pluralMessageSubject} were` : `${singularMessageSubject} was`;
2157
- const alertingFailuresCount = /* @__PURE__ */ React36.createElement("span", {
2158
- role: "alert"
2159
- }, props.badgeCount, " ", alertTerm, " detected.");
2160
- return /* @__PURE__ */ React36.createElement("span", {
2161
- className: result_section_title_default.resultSectionTitle
2162
- }, /* @__PURE__ */ React36.createElement("span", {
2163
- className: "screen-reader-only"
2164
- }, props.title, " ", props.shouldAlertFailuresCount ? alertingFailuresCount : props.badgeCount), /* @__PURE__ */ React36.createElement("span", {
2165
- className: titleClassNames[props.titleSize],
2166
- "aria-hidden": "true"
2167
- }, props.title), /* @__PURE__ */ React36.createElement("span", {
2168
- className: result_section_title_default.outcomeChipContainer,
2169
- "aria-hidden": "true"
2170
- }, /* @__PURE__ */ React36.createElement(OutcomeChip, {
2171
- outcomeType: props.outcomeType,
2172
- count: props.badgeCount
2173
- })));
2097
+ const alertingFailuresCount = /* @__PURE__ */ React36.createElement("span", { role: "alert" }, props.badgeCount, " ", alertTerm, " detected.");
2098
+ return /* @__PURE__ */ React36.createElement("span", { className: result_section_title_default.resultSectionTitle }, /* @__PURE__ */ React36.createElement("span", { className: "screen-reader-only" }, props.title, " ", props.shouldAlertFailuresCount ? alertingFailuresCount : props.badgeCount), /* @__PURE__ */ React36.createElement("span", { className: titleClassNames[props.titleSize], "aria-hidden": "true" }, props.title), /* @__PURE__ */ React36.createElement("span", { className: result_section_title_default.outcomeChipContainer, "aria-hidden": "true" }, /* @__PURE__ */ React36.createElement(OutcomeChip, { outcomeType: props.outcomeType, count: props.badgeCount })));
2174
2099
  });
2175
2100
 
2176
2101
  // src/common/components/cards/result-section.scss
@@ -2180,18 +2105,21 @@ var result_section_default = { "resultSection": "result-section--HfO9s", "titleC
2180
2105
  var resultSectionAutomationId = "result-section";
2181
2106
  var ResultSection = NamedFC("ResultSection", (props) => {
2182
2107
  const { containerClassName, sectionHeadingLevel, deps } = props;
2183
- return /* @__PURE__ */ React37.createElement("div", {
2184
- className: (0, import_utilities5.css)(containerClassName, result_section_default.resultSection),
2185
- "data-automation-id": resultSectionAutomationId
2186
- }, /* @__PURE__ */ React37.createElement(HeadingElementForLevel, {
2187
- headingLevel: sectionHeadingLevel
2188
- }, /* @__PURE__ */ React37.createElement(ResultSectionTitle, {
2189
- ...props,
2190
- titleSize: "title"
2191
- })), /* @__PURE__ */ React37.createElement(ResultSectionContent, {
2192
- headingLevel: deps.getNextHeadingLevel(sectionHeadingLevel),
2193
- ...props
2194
- }));
2108
+ return /* @__PURE__ */ React37.createElement(
2109
+ "div",
2110
+ {
2111
+ className: (0, import_utilities5.css)(containerClassName, result_section_default.resultSection),
2112
+ "data-automation-id": resultSectionAutomationId
2113
+ },
2114
+ /* @__PURE__ */ React37.createElement(HeadingElementForLevel, { headingLevel: sectionHeadingLevel }, /* @__PURE__ */ React37.createElement(ResultSectionTitle, { ...props, titleSize: "title" })),
2115
+ /* @__PURE__ */ React37.createElement(
2116
+ ResultSectionContent,
2117
+ {
2118
+ headingLevel: deps.getNextHeadingLevel(sectionHeadingLevel),
2119
+ ...props
2120
+ }
2121
+ )
2122
+ );
2195
2123
  });
2196
2124
 
2197
2125
  // src/common/components/cards/failed-instances-section.tsx
@@ -2213,23 +2141,26 @@ var FailedInstancesSection = NamedFC(
2213
2141
  const count = cardsViewData.cards.fail.reduce((total, rule) => {
2214
2142
  return total + rule.nodes.length;
2215
2143
  }, 0);
2216
- return /* @__PURE__ */ React38.createElement(ResultSection, {
2217
- deps,
2218
- title: "Failed instances",
2219
- results: cardsViewData.cards.fail,
2220
- containerClassName: failed_instances_section_default.failedInstancesContainer,
2221
- outcomeType: "fail",
2222
- badgeCount: count,
2223
- userConfigurationStoreData,
2224
- targetAppInfo: scanMetadata.targetAppInfo,
2225
- shouldAlertFailuresCount,
2226
- visualHelperEnabled: cardsViewData.visualHelperEnabled,
2227
- allCardsCollapsed: cardsViewData.allCardsCollapsed,
2228
- outcomeCounter: OutcomeCounter.countByCards,
2229
- sectionHeadingLevel,
2230
- cardSelectionMessageCreator,
2231
- narrowModeStatus
2232
- });
2144
+ return /* @__PURE__ */ React38.createElement(
2145
+ ResultSection,
2146
+ {
2147
+ deps,
2148
+ title: "Failed instances",
2149
+ results: cardsViewData.cards.fail,
2150
+ containerClassName: failed_instances_section_default.failedInstancesContainer,
2151
+ outcomeType: "fail",
2152
+ badgeCount: count,
2153
+ userConfigurationStoreData,
2154
+ targetAppInfo: scanMetadata.targetAppInfo,
2155
+ shouldAlertFailuresCount,
2156
+ visualHelperEnabled: cardsViewData.visualHelperEnabled,
2157
+ allCardsCollapsed: cardsViewData.allCardsCollapsed,
2158
+ outcomeCounter: OutcomeCounter.countByCards,
2159
+ sectionHeadingLevel,
2160
+ cardSelectionMessageCreator,
2161
+ narrowModeStatus
2162
+ }
2163
+ );
2233
2164
  }
2234
2165
  );
2235
2166
 
@@ -2248,156 +2179,186 @@ var React41 = __toESM(require("react"));
2248
2179
 
2249
2180
  // src/icons/brand/white/brand-white.tsx
2250
2181
  var React39 = __toESM(require("react"));
2251
- var BrandWhite = NamedFC("BrandWhite", () => /* @__PURE__ */ React39.createElement("svg", {
2252
- role: "img",
2253
- "aria-hidden": "true",
2254
- className: "header-icon",
2255
- viewBox: "0 0 48 48",
2256
- fill: "none",
2257
- xmlns: "http://www.w3.org/2000/svg"
2258
- }, /* @__PURE__ */ React39.createElement("mask", {
2259
- id: "mask0",
2260
- maskUnits: "userSpaceOnUse",
2261
- x: "0",
2262
- y: "3",
2263
- width: "48",
2264
- height: "43",
2265
- style: { maskType: "alpha" }
2266
- }, /* @__PURE__ */ React39.createElement("path", {
2267
- d: "M43.8309 27.1383C49.3148 21.6544 49.3148 12.7633 43.8309 7.27934C38.347 1.79544 29.4558 1.79543 23.9719 7.27934C18.488 1.79544 9.59684 1.79544 4.11293 7.27934C-1.37098 12.7633 -1.37098 21.6544 4.11293 27.1383L21.986 45.0114C23.0828 46.1082 24.861 46.1082 25.9578 45.0114L43.8309 27.1383Z",
2268
- fill: "white"
2269
- })), /* @__PURE__ */ React39.createElement("g", {
2270
- mask: "url(#mask0)"
2271
- }, /* @__PURE__ */ React39.createElement("path", {
2272
- d: "M43.8309 27.1383C49.3148 21.6544 49.3148 12.7633 43.8309 7.27934C38.347 1.79544 29.4558 1.79543 23.9719 7.27934C18.488 1.79544 9.59684 1.79544 4.11293 7.27934C-1.37098 12.7633 -1.37098 21.6544 4.11293 27.1383L21.986 45.0114C23.0828 46.1082 24.861 46.1082 25.9578 45.0114L43.8309 27.1383Z",
2273
- fill: "white"
2274
- }), /* @__PURE__ */ React39.createElement("rect", {
2275
- x: "43.9494",
2276
- y: "7.24556",
2277
- width: "14.0948",
2278
- height: "42.2726",
2279
- transform: "rotate(45 43.9494 7.24556)",
2280
- fill: "#D6E9F7"
2281
- }), /* @__PURE__ */ React39.createElement("mask", {
2282
- id: "mask1",
2283
- maskUnits: "userSpaceOnUse",
2284
- x: "-6",
2285
- y: "-3",
2286
- width: "30",
2287
- height: "31",
2288
- style: { maskType: "alpha" }
2289
- }, /* @__PURE__ */ React39.createElement("path", {
2290
- d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2291
- fill: "#CFEBFF"
2292
- }), /* @__PURE__ */ React39.createElement("path", {
2293
- d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2294
- fill: "url(#paint0_linear)"
2295
- })), /* @__PURE__ */ React39.createElement("g", {
2296
- mask: "url(#mask1)"
2297
- }, /* @__PURE__ */ React39.createElement("path", {
2298
- d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2299
- fill: "white"
2300
- }), /* @__PURE__ */ React39.createElement("path", {
2301
- d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2302
- fill: "url(#paint1_linear)"
2303
- }), /* @__PURE__ */ React39.createElement("rect", {
2304
- x: "4.54834",
2305
- y: "6.88206",
2306
- width: "16.3577",
2307
- height: "42.2726",
2308
- transform: "rotate(-45 4.54834 6.88206)",
2309
- fill: "#D6E9F7"
2310
- }), /* @__PURE__ */ React39.createElement("rect", {
2311
- x: "4.54834",
2312
- y: "6.88206",
2313
- width: "16.3577",
2314
- height: "42.2726",
2315
- transform: "rotate(-45 4.54834 6.88206)",
2316
- fill: "url(#paint2_linear)"
2317
- })), /* @__PURE__ */ React39.createElement("g", {
2318
- filter: "url(#filter0_d)"
2319
- }, /* @__PURE__ */ React39.createElement("path", {
2320
- fillRule: "evenodd",
2321
- clipRule: "evenodd",
2322
- d: "M34.0764 27.3564C39.8071 27.3483 44.4461 22.6961 44.438 16.9655C44.4299 11.2349 39.7778 6.59585 34.0472 6.60393C28.3165 6.61201 23.6775 11.2642 23.6856 16.9948C23.6888 19.2829 24.4324 21.397 25.6895 23.1108L23.4287 25.3788C22.8852 25.395 22.3466 25.6109 21.9324 26.0265L17.1218 30.8526C16.4185 31.5582 16.4203 32.7005 17.126 33.4038L17.6952 33.9713C18.4009 34.6746 19.5431 34.6728 20.2465 33.9671L25.057 29.141C25.4715 28.7252 25.6857 28.1855 25.6998 27.6415L27.9603 25.3737C29.6766 26.6235 31.7907 27.3596 34.0764 27.3564ZM34.0368 23.2439C37.4964 23.2579 40.3122 20.4647 40.3262 17.0051C40.3401 13.5456 37.5469 10.7298 34.0874 10.7158C30.6279 10.7018 27.812 13.495 27.7981 16.9545C27.7841 20.4141 30.5773 23.2299 34.0368 23.2439Z",
2323
- fill: "#004880"
2324
- }))), /* @__PURE__ */ React39.createElement("defs", null, /* @__PURE__ */ React39.createElement("filter", {
2325
- id: "filter0_d",
2326
- x: "15.748",
2327
- y: "6.50654",
2328
- width: "29.5246",
2329
- height: "29.5269",
2330
- filterUnits: "userSpaceOnUse",
2331
- colorInterpolationFilters: "sRGB"
2332
- }, /* @__PURE__ */ React39.createElement("feFlood", {
2333
- floodOpacity: "0",
2334
- result: "BackgroundImageFix"
2335
- }), /* @__PURE__ */ React39.createElement("feColorMatrix", {
2336
- in: "SourceAlpha",
2337
- type: "matrix",
2338
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
2339
- }), /* @__PURE__ */ React39.createElement("feOffset", {
2340
- dy: "0.725705"
2341
- }), /* @__PURE__ */ React39.createElement("feGaussianBlur", {
2342
- stdDeviation: "0.40317"
2343
- }), /* @__PURE__ */ React39.createElement("feColorMatrix", {
2344
- type: "matrix",
2345
- values: "0 0 0 0 0.0447352 0 0 0 0 0.305769 0 0 0 0 0.492222 0 0 0 0.51 0"
2346
- }), /* @__PURE__ */ React39.createElement("feBlend", {
2347
- mode: "normal",
2348
- in2: "BackgroundImageFix",
2349
- result: "effect1_dropShadow"
2350
- }), /* @__PURE__ */ React39.createElement("feBlend", {
2351
- mode: "normal",
2352
- in: "SourceGraphic",
2353
- in2: "effect1_dropShadow",
2354
- result: "shape"
2355
- })), /* @__PURE__ */ React39.createElement("linearGradient", {
2356
- id: "paint0_linear",
2357
- x1: "14.3166",
2358
- y1: "16.8744",
2359
- x2: "5.92409",
2360
- y2: "8.23504",
2361
- gradientUnits: "userSpaceOnUse"
2362
- }, /* @__PURE__ */ React39.createElement("stop", {
2363
- offset: "0",
2364
- stopColor: "#073A5F",
2365
- stopOpacity: "0.3"
2366
- }), /* @__PURE__ */ React39.createElement("stop", {
2367
- offset: "1",
2368
- stopColor: "#CFEBFF",
2369
- stopOpacity: "0"
2370
- })), /* @__PURE__ */ React39.createElement("linearGradient", {
2371
- id: "paint1_linear",
2372
- x1: "14.3166",
2373
- y1: "16.8744",
2374
- x2: "5.92409",
2375
- y2: "8.23504",
2376
- gradientUnits: "userSpaceOnUse"
2377
- }, /* @__PURE__ */ React39.createElement("stop", {
2378
- offset: "0",
2379
- stopColor: "#165B8E",
2380
- stopOpacity: "0.29"
2381
- }), /* @__PURE__ */ React39.createElement("stop", {
2382
- offset: "1",
2383
- stopColor: "white",
2384
- stopOpacity: "0"
2385
- })), /* @__PURE__ */ React39.createElement("linearGradient", {
2386
- id: "paint2_linear",
2387
- x1: "11.3179",
2388
- y1: "20.1024",
2389
- x2: "11.0819",
2390
- y2: "11.1606",
2391
- gradientUnits: "userSpaceOnUse"
2392
- }, /* @__PURE__ */ React39.createElement("stop", {
2393
- offset: "0",
2394
- stopColor: "#165B8E",
2395
- stopOpacity: "0.29"
2396
- }), /* @__PURE__ */ React39.createElement("stop", {
2397
- offset: "1",
2398
- stopColor: "#D6E9F7",
2399
- stopOpacity: "0"
2400
- })))));
2182
+ var BrandWhite = NamedFC("BrandWhite", () => /* @__PURE__ */ React39.createElement(
2183
+ "svg",
2184
+ {
2185
+ role: "img",
2186
+ "aria-hidden": "true",
2187
+ className: "header-icon",
2188
+ viewBox: "0 0 48 48",
2189
+ fill: "none",
2190
+ xmlns: "http://www.w3.org/2000/svg"
2191
+ },
2192
+ /* @__PURE__ */ React39.createElement(
2193
+ "mask",
2194
+ {
2195
+ id: "mask0",
2196
+ maskUnits: "userSpaceOnUse",
2197
+ x: "0",
2198
+ y: "3",
2199
+ width: "48",
2200
+ height: "43",
2201
+ style: { maskType: "alpha" }
2202
+ },
2203
+ /* @__PURE__ */ React39.createElement(
2204
+ "path",
2205
+ {
2206
+ d: "M43.8309 27.1383C49.3148 21.6544 49.3148 12.7633 43.8309 7.27934C38.347 1.79544 29.4558 1.79543 23.9719 7.27934C18.488 1.79544 9.59684 1.79544 4.11293 7.27934C-1.37098 12.7633 -1.37098 21.6544 4.11293 27.1383L21.986 45.0114C23.0828 46.1082 24.861 46.1082 25.9578 45.0114L43.8309 27.1383Z",
2207
+ fill: "white"
2208
+ }
2209
+ )
2210
+ ),
2211
+ /* @__PURE__ */ React39.createElement("g", { mask: "url(#mask0)" }, /* @__PURE__ */ React39.createElement(
2212
+ "path",
2213
+ {
2214
+ d: "M43.8309 27.1383C49.3148 21.6544 49.3148 12.7633 43.8309 7.27934C38.347 1.79544 29.4558 1.79543 23.9719 7.27934C18.488 1.79544 9.59684 1.79544 4.11293 7.27934C-1.37098 12.7633 -1.37098 21.6544 4.11293 27.1383L21.986 45.0114C23.0828 46.1082 24.861 46.1082 25.9578 45.0114L43.8309 27.1383Z",
2215
+ fill: "white"
2216
+ }
2217
+ ), /* @__PURE__ */ React39.createElement(
2218
+ "rect",
2219
+ {
2220
+ x: "43.9494",
2221
+ y: "7.24556",
2222
+ width: "14.0948",
2223
+ height: "42.2726",
2224
+ transform: "rotate(45 43.9494 7.24556)",
2225
+ fill: "#D6E9F7"
2226
+ }
2227
+ ), /* @__PURE__ */ React39.createElement(
2228
+ "mask",
2229
+ {
2230
+ id: "mask1",
2231
+ maskUnits: "userSpaceOnUse",
2232
+ x: "-6",
2233
+ y: "-3",
2234
+ width: "30",
2235
+ height: "31",
2236
+ style: { maskType: "alpha" }
2237
+ },
2238
+ /* @__PURE__ */ React39.createElement(
2239
+ "path",
2240
+ {
2241
+ d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2242
+ fill: "#CFEBFF"
2243
+ }
2244
+ ),
2245
+ /* @__PURE__ */ React39.createElement(
2246
+ "path",
2247
+ {
2248
+ d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2249
+ fill: "url(#paint0_linear)"
2250
+ }
2251
+ )
2252
+ ), /* @__PURE__ */ React39.createElement("g", { mask: "url(#mask1)" }, /* @__PURE__ */ React39.createElement(
2253
+ "path",
2254
+ {
2255
+ d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2256
+ fill: "white"
2257
+ }
2258
+ ), /* @__PURE__ */ React39.createElement(
2259
+ "path",
2260
+ {
2261
+ d: "M23.9718 7.27863L4.11284 27.1376C-1.37106 21.6537 -1.37106 12.7625 4.11284 7.27863C9.59675 1.79472 18.4879 1.79472 23.9718 7.27863Z",
2262
+ fill: "url(#paint1_linear)"
2263
+ }
2264
+ ), /* @__PURE__ */ React39.createElement(
2265
+ "rect",
2266
+ {
2267
+ x: "4.54834",
2268
+ y: "6.88206",
2269
+ width: "16.3577",
2270
+ height: "42.2726",
2271
+ transform: "rotate(-45 4.54834 6.88206)",
2272
+ fill: "#D6E9F7"
2273
+ }
2274
+ ), /* @__PURE__ */ React39.createElement(
2275
+ "rect",
2276
+ {
2277
+ x: "4.54834",
2278
+ y: "6.88206",
2279
+ width: "16.3577",
2280
+ height: "42.2726",
2281
+ transform: "rotate(-45 4.54834 6.88206)",
2282
+ fill: "url(#paint2_linear)"
2283
+ }
2284
+ )), /* @__PURE__ */ React39.createElement("g", { filter: "url(#filter0_d)" }, /* @__PURE__ */ React39.createElement(
2285
+ "path",
2286
+ {
2287
+ fillRule: "evenodd",
2288
+ clipRule: "evenodd",
2289
+ d: "M34.0764 27.3564C39.8071 27.3483 44.4461 22.6961 44.438 16.9655C44.4299 11.2349 39.7778 6.59585 34.0472 6.60393C28.3165 6.61201 23.6775 11.2642 23.6856 16.9948C23.6888 19.2829 24.4324 21.397 25.6895 23.1108L23.4287 25.3788C22.8852 25.395 22.3466 25.6109 21.9324 26.0265L17.1218 30.8526C16.4185 31.5582 16.4203 32.7005 17.126 33.4038L17.6952 33.9713C18.4009 34.6746 19.5431 34.6728 20.2465 33.9671L25.057 29.141C25.4715 28.7252 25.6857 28.1855 25.6998 27.6415L27.9603 25.3737C29.6766 26.6235 31.7907 27.3596 34.0764 27.3564ZM34.0368 23.2439C37.4964 23.2579 40.3122 20.4647 40.3262 17.0051C40.3401 13.5456 37.5469 10.7298 34.0874 10.7158C30.6279 10.7018 27.812 13.495 27.7981 16.9545C27.7841 20.4141 30.5773 23.2299 34.0368 23.2439Z",
2290
+ fill: "#004880"
2291
+ }
2292
+ ))),
2293
+ /* @__PURE__ */ React39.createElement("defs", null, /* @__PURE__ */ React39.createElement(
2294
+ "filter",
2295
+ {
2296
+ id: "filter0_d",
2297
+ x: "15.748",
2298
+ y: "6.50654",
2299
+ width: "29.5246",
2300
+ height: "29.5269",
2301
+ filterUnits: "userSpaceOnUse",
2302
+ colorInterpolationFilters: "sRGB"
2303
+ },
2304
+ /* @__PURE__ */ React39.createElement("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }),
2305
+ /* @__PURE__ */ React39.createElement(
2306
+ "feColorMatrix",
2307
+ {
2308
+ in: "SourceAlpha",
2309
+ type: "matrix",
2310
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
2311
+ }
2312
+ ),
2313
+ /* @__PURE__ */ React39.createElement("feOffset", { dy: "0.725705" }),
2314
+ /* @__PURE__ */ React39.createElement("feGaussianBlur", { stdDeviation: "0.40317" }),
2315
+ /* @__PURE__ */ React39.createElement(
2316
+ "feColorMatrix",
2317
+ {
2318
+ type: "matrix",
2319
+ values: "0 0 0 0 0.0447352 0 0 0 0 0.305769 0 0 0 0 0.492222 0 0 0 0.51 0"
2320
+ }
2321
+ ),
2322
+ /* @__PURE__ */ React39.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow" }),
2323
+ /* @__PURE__ */ React39.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow", result: "shape" })
2324
+ ), /* @__PURE__ */ React39.createElement(
2325
+ "linearGradient",
2326
+ {
2327
+ id: "paint0_linear",
2328
+ x1: "14.3166",
2329
+ y1: "16.8744",
2330
+ x2: "5.92409",
2331
+ y2: "8.23504",
2332
+ gradientUnits: "userSpaceOnUse"
2333
+ },
2334
+ /* @__PURE__ */ React39.createElement("stop", { offset: "0", stopColor: "#073A5F", stopOpacity: "0.3" }),
2335
+ /* @__PURE__ */ React39.createElement("stop", { offset: "1", stopColor: "#CFEBFF", stopOpacity: "0" })
2336
+ ), /* @__PURE__ */ React39.createElement(
2337
+ "linearGradient",
2338
+ {
2339
+ id: "paint1_linear",
2340
+ x1: "14.3166",
2341
+ y1: "16.8744",
2342
+ x2: "5.92409",
2343
+ y2: "8.23504",
2344
+ gradientUnits: "userSpaceOnUse"
2345
+ },
2346
+ /* @__PURE__ */ React39.createElement("stop", { offset: "0", stopColor: "#165B8E", stopOpacity: "0.29" }),
2347
+ /* @__PURE__ */ React39.createElement("stop", { offset: "1", stopColor: "white", stopOpacity: "0" })
2348
+ ), /* @__PURE__ */ React39.createElement(
2349
+ "linearGradient",
2350
+ {
2351
+ id: "paint2_linear",
2352
+ x1: "11.3179",
2353
+ y1: "20.1024",
2354
+ x2: "11.0819",
2355
+ y2: "11.1606",
2356
+ gradientUnits: "userSpaceOnUse"
2357
+ },
2358
+ /* @__PURE__ */ React39.createElement("stop", { offset: "0", stopColor: "#165B8E", stopOpacity: "0.29" }),
2359
+ /* @__PURE__ */ React39.createElement("stop", { offset: "1", stopColor: "#D6E9F7", stopOpacity: "0" })
2360
+ ))
2361
+ ));
2401
2362
 
2402
2363
  // src/reports/components/header-bar.tsx
2403
2364
  var React40 = __toESM(require("react"));
@@ -2407,11 +2368,7 @@ var header_bar_default = { "reportHeaderBar": "report-header-bar--SDV11", "heade
2407
2368
 
2408
2369
  // src/reports/components/header-bar.tsx
2409
2370
  var HeaderBar = NamedFC("HeaderBar", (props) => {
2410
- return /* @__PURE__ */ React40.createElement("div", {
2411
- className: header_bar_default.reportHeaderBar
2412
- }, /* @__PURE__ */ React40.createElement(BrandWhite, null), /* @__PURE__ */ React40.createElement("div", {
2413
- className: header_bar_default.headerText
2414
- }, props.headerText));
2371
+ return /* @__PURE__ */ React40.createElement("div", { className: header_bar_default.reportHeaderBar }, /* @__PURE__ */ React40.createElement(BrandWhite, null), /* @__PURE__ */ React40.createElement("div", { className: header_bar_default.headerText }, props.headerText));
2415
2372
  });
2416
2373
 
2417
2374
  // src/reports/components/report-sections/header-section.scss
@@ -2422,18 +2379,14 @@ var reportHeaderSectionDataAutomationId = "report-header-section";
2422
2379
  var HeaderSection = NamedFC(
2423
2380
  "HeaderSection",
2424
2381
  ({ targetAppInfo, headerText }) => {
2425
- return /* @__PURE__ */ React41.createElement("header", {
2426
- "data-automation-id": reportHeaderSectionDataAutomationId
2427
- }, /* @__PURE__ */ React41.createElement(HeaderBar, {
2428
- headerText
2429
- }), /* @__PURE__ */ React41.createElement("div", {
2430
- className: header_section_default.reportHeaderCommandBar
2431
- }, /* @__PURE__ */ React41.createElement("div", {
2432
- className: header_section_default.targetPage
2433
- }, "Target page:\xA0", /* @__PURE__ */ React41.createElement(NewTabLinkWithConfirmationDialog, {
2434
- href: targetAppInfo.url,
2435
- title: targetAppInfo.name
2436
- }, targetAppInfo.name))));
2382
+ return /* @__PURE__ */ React41.createElement("header", { "data-automation-id": reportHeaderSectionDataAutomationId }, /* @__PURE__ */ React41.createElement(HeaderBar, { headerText }), /* @__PURE__ */ React41.createElement("div", { className: header_section_default.reportHeaderCommandBar }, /* @__PURE__ */ React41.createElement("div", { className: header_section_default.targetPage }, "Target page:\xA0", /* @__PURE__ */ React41.createElement(
2383
+ NewTabLinkWithConfirmationDialog,
2384
+ {
2385
+ href: targetAppInfo.url,
2386
+ title: targetAppInfo.name
2387
+ },
2388
+ targetAppInfo.name
2389
+ ))));
2437
2390
  }
2438
2391
  );
2439
2392
 
@@ -2441,10 +2394,7 @@ var HeaderSection = NamedFC(
2441
2394
  var ReporterHeaderSection = NamedFC(
2442
2395
  "AutomatedChecksHeaderSection",
2443
2396
  ({ scanMetadata }) => {
2444
- return /* @__PURE__ */ React42.createElement(HeaderSection, {
2445
- targetAppInfo: scanMetadata.targetAppInfo,
2446
- headerText: brand
2447
- });
2397
+ return /* @__PURE__ */ React42.createElement(HeaderSection, { targetAppInfo: scanMetadata.targetAppInfo, headerText: brand });
2448
2398
  }
2449
2399
  );
2450
2400
 
@@ -2455,17 +2405,11 @@ var React44 = __toESM(require("react"));
2455
2405
  var React43 = __toESM(require("react"));
2456
2406
 
2457
2407
  // src/reports/automated-checks-report.styles.ts
2458
- var styleSheet = `:root {\n --black: #000;\n --light-black: #161616;\n --white: #fff;\n --brand-blue: #004880;\n --grey: #333;\n --ada-brand-color: var(--brand-blue);\n --primary-text: rgb(0 0 0 / 90%);\n --secondary-text: rgb(0 0 0 / 70%);\n --disabled-text: rgb(0 0 0 / 38%);\n --communication-primary: #106ebe;\n --communication-tint-40: #eff6fc;\n --communication-tint-30: #deecf9;\n --communication-tint-20: #c7e0f4;\n --communication-tint-10: #2b88d8;\n --communication-shade-20: #004578;\n --neutral-0: var(--white);\n --neutral-2: #f8f8f8;\n --neutral-3: #f6f6f6;\n --neutral-4: #f4f4f4;\n --neutral-6: #f2f2f2;\n --neutral-6-5: #f1f1f1;\n --neutral-8: #ebebeb;\n --neutral-10: #dedede;\n --neutral-20: #c8c8c8;\n --neutral-30: #a6a6a6;\n --neutral-55: #6e6e6e;\n --neutral-60: #666;\n --neutral-70: #3c3c3c;\n --neutral-80: var(--grey);\n --neutral-100: var(--black);\n --neutral-alpha-2: rgb(0 0 0 / 2%);\n --neutral-alpha-4: rgb(0 0 0 / 4%);\n --neutral-alpha-6: rgb(0 0 0 / 6%);\n --neutral-alpha-8: rgb(0 0 0 / 8%);\n --neutral-alpha-10: rgb(0 0 0 / 10%);\n --neutral-alpha-20: rgb(0 0 0 / 20%);\n --neutral-alpha-30: rgb(0 0 0 / 30%);\n --neutral-alpha-60: rgb(0 0 0 / 60%);\n --neutral-alpha-70: rgb(0 0 0 / 70%);\n --neutral-alpha-80: rgb(0 0 0 / 80%);\n --neutral-alpha-90: rgb(0 0 0 / 90%);\n --positive-outcome: #228722;\n --negative-outcome: #e81123;\n --neutral-outcome: var(--neutral-60);\n --box-shadow-108: rgb(0 0 0 / 10.8%);\n --box-shadow-132: rgb(0 0 0 / 13.2%);\n --box-shadow-27: rgb(0 0 0 / 27%);\n --screenshot-image-outline: #8b8b8b;\n --card-border: transparent;\n --card-footer-border: var(--neutral-10);\n --header-bar-title-color: var(--neutral-0);\n --help-links-section-background: var(--neutral-4);\n --help-links-section-border: var(--neutral-4);\n --index-circle-background: var(--communication-primary);\n --link-hover: var(--communication-shade-20);\n --link: var(--communication-primary);\n --menu-border: var(--neutral-3);\n --menu-item-background-active: var(--neutral-alpha-8);\n --menu-item-background-hover: var(--neutral-alpha-4);\n --left-nav-icon: var(--neutral-55);\n --pill-background: var(--neutral-alpha-8);\n --pill: var(--primary-text);\n --spinner-text: var(--communication-primary);\n --nav-link-hover: var(--neutral-alpha-8);\n --nav-link-selected: var(--communication-tint-20);\n --nav-link-expanded: var(--communication-tint-40);\n --insights-button-hover: #0179d4;\n --report-footer-text: #222;\n --landmark-contentinfo: #00a88c;\n --landmark-main: #cb2e6d;\n --landmark-complementary: #6b9d1a;\n --landmark-banner: #d08311;\n --landmark-region: #2560e0;\n --landmark-navigation: #9b38e6;\n --landmark-search: #d363d8;\n --landmark-form: #0298c7;\n}\n:root .high-contrast-theme {\n --ada-brand-color: var(--white);\n --secondary-text: var(--white);\n --primary-text: var(--white);\n --disabled-text: #c285ff;\n --communication-tint-40: #38a9ff;\n --communication-tint-30: var(--communication-tint-10);\n --neutral-0: var(--light-black);\n --neutral-2: var(--light-black);\n --neutral-3: var(--light-black);\n --neutral-4: var(--light-black);\n --neutral-6: var(--light-black);\n --neutral-6-5: var(--light-black);\n --neutral-8: var(--white);\n --neutral-10: var(--light-black);\n --neutral-20: var(--white);\n --neutral-30: var(--white);\n --neutral-55: var(--white);\n --neutral-60: var(--white);\n --neutral-70: var(--white);\n --neutral-80: var(--white);\n --neutral-100: var(--white);\n --neutral-alpha-8: var(--white);\n --neutral-alpha-90: var(--white);\n --positive-outcome: #4ac94a;\n --negative-outcome: #fc7ab1;\n --neutral-outcome: var(--neutral-0);\n --card-border: var(--white);\n --card-footer-border: var(--white);\n --header-bar-title-color: var(--brand-blue);\n --help-links-section-background: transparent;\n --help-links-section-border: var(--white);\n --index-circle-background: var(--communication-tint-40);\n --link-hover: #ff0;\n --link: #ff0;\n --menu-border: var(--grey);\n --menu-item-background-active: var(--communication-tint-40);\n --menu-item-background-hover: var(--grey);\n --left-nav-icon: var(--black);\n --pill-background: var(--white);\n --pill: var(--black);\n --screenshot-image-outline: var(--white);\n --spinner-text: var(--communication-tint-40);\n --nav-link-hover: #2a2a2a;\n --nav-link-selected: var(--communication-tint-40);\n --nav-link-expanded: transparent;\n}\n\n.ms-Fabric.is-focusVisible .ms-Nav-group .ms-nav-linkButton:focus::after {\n border: 1px solid var(--neutral-100);\n}\n@media screen and (forced-colors: active) {\n .ms-Fabric.is-focusVisible .ms-Nav-group .ms-nav-linkButton:focus::after {\n border: 1px dashed windowtext !important;\n }\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n}\n\n.ms-fontColor-neutralPrimary,\n.ms-fontColor-neutralPrimary--hover:hover {\n color: var(--neutral-100) !important;\n}\n\n.ms-Fabric {\n color: var(--neutral-100);\n}\n\n.insights-link {\n color: var(--link) !important;\n text-decoration: none;\n}\n@media screen and (forced-colors: active) {\n .insights-link {\n forced-color-adjust: unset;\n }\n}\n.insights-link:hover {\n color: var(--link-hover) !important;\n text-decoration: underline;\n}\n\n.high-contrast-theme .insights-link:hover {\n text-decoration: underline;\n}\n.high-contrast-theme .is-selected .status-icon {\n color: var(--black) !important;\n}\n\n.insights-code {\n font-family: menlo, consolas, courier new, monospace;\n}\n\n.ms-Spinner .ms-Spinner-circle {\n border-top-color: var(--spinner-text);\n}\n.ms-Spinner .ms-Spinner-label {\n color: var(--spinner-text);\n}\n\n@media screen and (forced-colors: active) {\n .ms-ContextualMenu button:hover .ms-ContextualMenu-itemText,\n .ms-ContextualMenu button:hover .ms-ContextualMenu-linkText {\n color: highlight;\n }\n}\n\n.guidance-tags span {\n font-size: 12px;\n font-weight: normal;\n padding-top: 2px;\n padding-right: 12px;\n padding-bottom: 2px;\n padding-left: 12px;\n color: var(--pill);\n background-color: var(--pill-background);\n border-radius: 120px;\n}\n\n.hidden-highlight-button {\n opacity: 0;\n margin: 0;\n padding: 0;\n border: none;\n}\n\n.instance-details-card {\n border-radius: 4px;\n border: 1px solid var(--card-border);\n outline-style: \"border-style\";\n box-shadow: 0 0.6px 1.8px var(--box-shadow-108), 0 3.2px 7.2px var(--box-shadow-132);\n margin-bottom: 16px;\n width: -moz-available;\n width: -webkit-fill-available;\n width: stretch;\n}\n\n.instance-details-card-container.selected {\n outline: 5px solid var(--communication-tint-10);\n}\n\n.instance-details-card.selected {\n border: 1px solid transparent;\n}\n\n.instance-details-card.focused,\n.instance-details-card:focus {\n outline: 2px solid var(--primary-text);\n outline-offset: 2px;\n}\n\n.instance-details-card.selected.focused,\n.instance-details-card.selected:focus {\n outline-offset: 8px;\n}\n\n.instance-details-card.interactive {\n cursor: pointer;\n}\n\n.instance-details-card.interactive:hover {\n box-shadow: 0 8px 10px var(--box-shadow-108), 0 8px 10px var(--box-shadow-132);\n}\n\n.report-instance-table {\n background: var(--neutral-0);\n display: table;\n table-layout: fixed;\n width: -moz-available;\n width: -webkit-fill-available;\n width: stretch;\n border-radius: inherit;\n border-collapse: collapse;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.report-instance-table .row {\n display: flex;\n flex-wrap: wrap;\n padding-top: 2px;\n padding-bottom: 14px;\n padding-left: 0;\n padding-right: 20px;\n border-bottom: 0.5px solid var(--neutral-10);\n}\n.report-instance-table .row > * {\n margin-top: 12px;\n margin-bottom: 0;\n margin-left: 20px;\n margin-right: 0;\n padding: 0;\n}\n.report-instance-table .row:last-child {\n border-bottom: none;\n}\n.report-instance-table .row-label {\n flex-basis: 90px;\n flex-shrink: 1;\n flex-grow: 0;\n font-size: 14px;\n line-height: 20px;\n font-weight: 600;\n color: var(--primary-text);\n text-align: left;\n}\n.report-instance-table .row-content {\n flex-basis: 200px;\n flex-shrink: 1;\n flex-grow: 1;\n color: var(--secondary-text);\n font-size: 14px;\n line-height: 20px;\n align-items: flex-end;\n display: flex;\n}\n\n.outcome-summary-bar {\n display: flex;\n flex-grow: 0;\n flex-shrink: 0;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n margin-top: 16px;\n margin-bottom: 0;\n line-height: 24px;\n font-size: 17px;\n font-weight: 600;\n white-space: pre-wrap;\n}\n.outcome-summary-bar .block,\n.outcome-summary-bar .incomplete,\n.outcome-summary-bar .inapplicable,\n.outcome-summary-bar .unscannable,\n.outcome-summary-bar .pass,\n.outcome-summary-bar .fail {\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n line-height: 20px;\n font-size: 16px;\n color: var(--neutral-0);\n padding-top: 8px;\n padding-right: 8px;\n padding-bottom: 10px;\n padding-left: 10px;\n height: 16px;\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n.outcome-summary-bar .count {\n font-weight: 600;\n}\n.outcome-summary-bar .fail {\n background-color: var(--negative-outcome);\n}\n.outcome-summary-bar .fail .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n.outcome-summary-bar .fail .check-container {\n bottom: -1px;\n margin-right: 8px;\n}\n.outcome-summary-bar .pass {\n background-color: var(--positive-outcome);\n}\n.outcome-summary-bar .pass .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-summary-bar .pass .check-container {\n bottom: -1px;\n margin-right: 8px;\n margin-left: 4px;\n}\n.outcome-summary-bar .inapplicable,\n.outcome-summary-bar .unscannable {\n background-color: var(--neutral-outcome);\n}\n.outcome-summary-bar .inapplicable .check-container,\n.outcome-summary-bar .unscannable .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .inapplicable .check-container,\n.outcome-summary-bar .unscannable .check-container {\n bottom: -1px;\n margin-right: 8px;\n margin-left: 4px;\n}\n.outcome-summary-bar .incomplete {\n background-color: var(--neutral-outcome);\n color: var(--white);\n border: 2px var(--neutral-60) solid;\n height: 12px;\n}\n.outcome-summary-bar .incomplete .check-container {\n position: relative;\n width: 8px;\n height: 8px;\n display: inline-block;\n border-radius: 50%;\n border: 3px solid var(--neutral-0);\n}\n.outcome-summary-bar .incomplete .check-container {\n margin-right: 6px;\n border-color: var(--white);\n}\n.outcome-summary-bar .summary-bar-left-edge {\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n.outcome-summary-bar .summary-bar-right-edge {\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n margin-right: 0;\n}\n.outcome-summary-bar .label {\n font-weight: normal;\n}\n\n.screen-reader-only {\n position: absolute;\n left: -10000px;\n top: auto;\n height: 1px;\n overflow: hidden;\n clip-path: inset(100% 100% 100% 100%);\n}\n\n.check-container svg {\n width: 100%;\n height: 100%;\n}\n\n.outcome-chip {\n height: 16px;\n color: var(--primary-text);\n border-radius: 0 8px 8px 0;\n margin-right: 4px;\n margin-bottom: -3px;\n margin-left: 4px;\n display: inline-flex;\n align-items: center;\n}\n.outcome-chip .icon {\n border-radius: 50%;\n width: 16px;\n height: 16px;\n}\n.outcome-chip .count {\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n line-height: 13px;\n font-size: 11px;\n border-radius: 0 8px 8px 0;\n padding-right: 6px;\n padding-left: 10px;\n font-weight: 700;\n margin-left: -8px;\n height: 13px;\n}\n@media screen and (forced-colors: active) {\n .outcome-chip .count {\n forced-color-adjust: none;\n border-color: canvastext !important;\n color: canvastext;\n }\n}\n.outcome-chip.outcome-chip-pass .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-chip.outcome-chip-pass .check-container {\n background-color: var(--positive-outcome);\n}\n.outcome-chip.outcome-chip-pass .count {\n background-color: transparent;\n border: 1.5px solid var(--positive-outcome);\n}\n.outcome-chip.outcome-chip-incomplete .check-container, .outcome-chip.outcome-chip-review .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 1px solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-incomplete .check-container, .outcome-chip.outcome-chip-review .check-container {\n background-color: var(--neutral-60);\n}\n.outcome-chip.outcome-chip-incomplete .count, .outcome-chip.outcome-chip-review .count {\n background-color: transparent;\n border: 1.5px solid var(--neutral-60);\n}\n.outcome-chip.outcome-chip-fail .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n.outcome-chip.outcome-chip-fail .check-container {\n background-color: var(--negative-outcome);\n}\n.outcome-chip.outcome-chip-fail .count {\n background-color: transparent;\n border: 1.5px solid var(--negative-outcome);\n}\n.outcome-chip.outcome-chip-inapplicable .check-container, .outcome-chip.outcome-chip-unscannable .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-inapplicable .check-container, .outcome-chip.outcome-chip-unscannable .check-container {\n background-color: var(--neutral-outcome);\n}\n.outcome-chip.outcome-chip-inapplicable .count, .outcome-chip.outcome-chip-unscannable .count {\n background-color: transparent;\n border: 1.5px solid var(--neutral-outcome);\n}\n\n.outcome-icon-set .outcome-icon {\n margin-left: 4px;\n border-radius: 50%;\n}\n.outcome-icon-set .outcome-icon-pass .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-icon-set .outcome-icon-incomplete .check-container {\n position: relative;\n width: 12px;\n height: 12px;\n display: inline-block;\n border-radius: 50%;\n border: 1px solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-incomplete .check-container {\n border-color: var(--neutral-60);\n}\n.outcome-icon-set .outcome-icon-fail .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n\nbody {\n font-size: 14px;\n margin: auto;\n background-color: var(--neutral-2);\n color: black;\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n}\n\n.outer-container {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\n}\n.outer-container .content-container {\n max-width: 960px;\n margin-right: auto;\n margin-left: auto;\n margin-top: 24px;\n}\n.outer-container .content-container h2 {\n margin: 0;\n font-size: 17px;\n line-height: 24px;\n}\n@media only screen and (max-width: 1000px) {\n .outer-container .content-container {\n margin-top: 24px;\n margin-right: 16px;\n margin-left: 16px;\n }\n}\n\n.scan-details-section {\n box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\n border-radius: 4px;\n background-color: var(--neutral-0);\n padding: 20px;\n margin-bottom: 22px;\n}\n.scan-details-section .details-section-list {\n list-style: none;\n font-size: 14px;\n line-height: 16px;\n padding-left: 0;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n}\n.scan-details-section h3 {\n margin: 0;\n font-size: 17px;\n line-height: 24px;\n}\n.scan-details-section li {\n display: inline-block;\n padding-top: 12px;\n}\n.scan-details-section li .icon {\n padding-right: 12px;\n position: relative;\n top: 3px;\n}\n.scan-details-section .text {\n word-break: break-all;\n}\n.scan-details-section .description-text {\n white-space: pre-wrap;\n}\n.scan-details-section .screen-reader-only {\n position: absolute;\n left: -10000px;\n top: auto;\n height: 1px;\n overflow: hidden;\n clip-path: inset(100% 100% 100% 100%);\n}\n\n.report-footer-container {\n max-width: 960px;\n margin-right: auto;\n margin-left: auto;\n margin-bottom: 68px;\n margin-top: 24px;\n}\n.report-footer-container .report-footer {\n line-height: 20px;\n color: var(--report-footer-text);\n}\n@media only screen and (max-width: 1000px) {\n .report-footer-container {\n margin-right: 16px;\n margin-left: 16px;\n }\n}\n\n.report-header-command-bar {\n height: 40px;\n width: 100%;\n display: flex;\n justify-content: end;\n min-height: fit-content;\n align-items: center;\n background-color: var(--neutral-0);\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\n}\n.report-header-command-bar .target-page {\n white-space: nowrap;\n margin-left: 16px;\n display: flex;\n color: var(--primary-text);\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n font-size: 14px;\n line-height: 20px;\n font-weight: normal;\n min-width: 0;\n}\n.report-header-command-bar .target-page a {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.report-congrats-message {\n word-break: break-word;\n overflow-wrap: break-word;\n}\n\n.report-congrats-head {\n font-size: 16px;\n font-weight: 600;\n color: var(--primary-text);\n padding-top: 10px;\n padding-right: 0;\n padding-bottom: 10px;\n padding-left: 0;\n}\n\n.report-congrats-info {\n font-size: 14px;\n color: var(--secondary-text);\n padding-top: 10px;\n padding-right: 0;\n padding-bottom: 10px;\n padding-left: 0;\n}\n\n.sleeping-ada {\n height: 100px;\n}\n\n.title-section {\n margin-top: 56px;\n}\n.title-section h1 {\n font-weight: 600;\n margin-bottom: 24px;\n font-size: 21px;\n line-height: 32px;\n letter-spacing: -0.02em;\n}\n\n.results-container {\n margin-top: 56px;\n}\n.results-container .title-container :is(h1, h2, h3, h4, h5, h6) {\n font-weight: unset;\n margin-block: 0;\n margin-inline: 0;\n}\n\n@media screen and (max-width: 640px) {\n .outcome-past-tense {\n display: none;\n }\n}\n.collapsible-container .collapsible-control[aria-expanded=true]::before, .collapsible-container .collapsible-control[aria-expanded=false]::before {\n display: inline-block;\n border-right: 1px solid var(--secondary-text);\n border-bottom: 1px solid var(--secondary-text);\n min-width: 7px;\n width: 7px;\n height: 7px;\n content: \"\";\n transform-origin: 50% 50%;\n transition: transform 0.1s linear 0s;\n}\n\n.summary-section {\n box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\n border-radius: 4px;\n background-color: var(--neutral-0);\n padding: 20px;\n margin-bottom: 24px;\n}\n\n.result-section {\n padding-bottom: 24px;\n}\n.result-section .title-container .collapsible-control::before {\n position: relative;\n bottom: 2px;\n margin-right: 14px;\n}\n.result-section .collapsible-content {\n margin-left: 16px;\n}\n\n.collapsible-container .collapsible-control {\n font-family: \"Segoe UI Web (West European)\", \"Segoe UI\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", Helvetica, Ubuntu, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n background-color: transparent;\n cursor: pointer;\n border: none;\n display: flex;\n align-items: baseline;\n width: 100%;\n}\n.collapsible-container .collapsible-control:hover {\n background-color: var(--neutral-alpha-4);\n}\n.collapsible-container:not(.collapsible-rule-details-group) .collapsible-control {\n padding-left: 2px;\n padding-right: 16px;\n position: relative;\n}\n.collapsible-container .collapsible-control[aria-expanded=false]::before {\n transform: rotate(-45deg);\n}\n.collapsible-container .collapsible-control[aria-expanded=true]::before {\n transform: rotate(45deg);\n}\n.collapsible-container .collapsible-content[aria-hidden=true] {\n display: none;\n}\n\nul.instance-details-list {\n list-style-type: none;\n padding-inline-start: unset;\n margin-block-start: unset;\n margin-block-end: unset;\n}\nul.instance-details-list li {\n margin-bottom: 16px;\n}\nul.instance-details-list li:last-child {\n margin-bottom: unset;\n}`;
2408
+ var styleSheet = `:root {\n --black: #000;\n --light-black: #161616;\n --white: #fff;\n --brand-blue: #004880;\n --grey: #333;\n --ada-brand-color: var(--brand-blue);\n --primary-text: rgb(0 0 0 / 90%);\n --secondary-text: rgb(0 0 0 / 70%);\n --disabled-text: rgb(0 0 0 / 38%);\n --communication-primary: #106ebe;\n --communication-tint-40: #eff6fc;\n --communication-tint-30: #deecf9;\n --communication-tint-20: #c7e0f4;\n --communication-tint-10: #2b88d8;\n --communication-shade-20: #004578;\n --neutral-0: var(--white);\n --neutral-2: #f8f8f8;\n --neutral-3: #f6f6f6;\n --neutral-4: #f4f4f4;\n --neutral-6: #f2f2f2;\n --neutral-6-5: #f1f1f1;\n --neutral-8: #ebebeb;\n --neutral-10: #dedede;\n --neutral-20: #c8c8c8;\n --neutral-30: #a6a6a6;\n --neutral-55: #6e6e6e;\n --neutral-60: #666;\n --neutral-70: #3c3c3c;\n --neutral-80: var(--grey);\n --neutral-100: var(--black);\n --neutral-alpha-2: rgb(0 0 0 / 2%);\n --neutral-alpha-4: rgb(0 0 0 / 4%);\n --neutral-alpha-6: rgb(0 0 0 / 6%);\n --neutral-alpha-8: rgb(0 0 0 / 8%);\n --neutral-alpha-10: rgb(0 0 0 / 10%);\n --neutral-alpha-20: rgb(0 0 0 / 20%);\n --neutral-alpha-30: rgb(0 0 0 / 30%);\n --neutral-alpha-60: rgb(0 0 0 / 60%);\n --neutral-alpha-70: rgb(0 0 0 / 70%);\n --neutral-alpha-80: rgb(0 0 0 / 80%);\n --neutral-alpha-90: rgb(0 0 0 / 90%);\n --positive-outcome: #228722;\n --negative-outcome: #e81123;\n --neutral-outcome: var(--neutral-60);\n --box-shadow-108: rgb(0 0 0 / 10.8%);\n --box-shadow-132: rgb(0 0 0 / 13.2%);\n --box-shadow-27: rgb(0 0 0 / 27%);\n --screenshot-image-outline: #8b8b8b;\n --card-border: transparent;\n --card-footer-border: var(--neutral-10);\n --header-bar-title-color: var(--neutral-0);\n --help-links-section-background: var(--neutral-4);\n --help-links-section-border: var(--neutral-4);\n --index-circle-background: var(--communication-primary);\n --link-hover: var(--communication-shade-20);\n --link: var(--communication-primary);\n --menu-border: var(--neutral-3);\n --menu-item-background-active: var(--neutral-alpha-8);\n --menu-item-background-hover: var(--neutral-alpha-4);\n --left-nav-icon: var(--neutral-55);\n --pill-background: var(--neutral-alpha-8);\n --pill: var(--primary-text);\n --spinner-text: var(--communication-primary);\n --nav-link-hover: var(--neutral-alpha-8);\n --nav-link-selected: var(--communication-tint-20);\n --nav-link-expanded: var(--communication-tint-40);\n --insights-button-hover: #0179d4;\n --report-footer-text: #222;\n --landmark-contentinfo: #00a88c;\n --landmark-main: #cb2e6d;\n --landmark-complementary: #6b9d1a;\n --landmark-banner: #d08311;\n --landmark-region: #2560e0;\n --landmark-navigation: #9b38e6;\n --landmark-search: #d363d8;\n --landmark-form: #0298c7;\n}\n:root .high-contrast-theme {\n --ada-brand-color: var(--white);\n --secondary-text: var(--white);\n --primary-text: var(--white);\n --disabled-text: #c285ff;\n --communication-tint-40: #38a9ff;\n --communication-tint-30: var(--communication-tint-10);\n --neutral-0: var(--light-black);\n --neutral-2: var(--light-black);\n --neutral-3: var(--light-black);\n --neutral-4: var(--light-black);\n --neutral-6: var(--light-black);\n --neutral-6-5: var(--light-black);\n --neutral-8: var(--white);\n --neutral-10: var(--light-black);\n --neutral-20: var(--white);\n --neutral-30: var(--white);\n --neutral-55: var(--white);\n --neutral-60: var(--white);\n --neutral-70: var(--white);\n --neutral-80: var(--white);\n --neutral-100: var(--white);\n --neutral-alpha-8: var(--white);\n --neutral-alpha-90: var(--white);\n --positive-outcome: #4ac94a;\n --negative-outcome: #fc7ab1;\n --neutral-outcome: var(--neutral-0);\n --card-border: var(--white);\n --card-footer-border: var(--white);\n --header-bar-title-color: var(--brand-blue);\n --help-links-section-background: transparent;\n --help-links-section-border: var(--white);\n --index-circle-background: var(--communication-tint-40);\n --link-hover: #ff0;\n --link: #ff0;\n --menu-border: var(--grey);\n --menu-item-background-active: var(--communication-tint-40);\n --menu-item-background-hover: var(--grey);\n --left-nav-icon: var(--black);\n --pill-background: var(--white);\n --pill: var(--black);\n --screenshot-image-outline: var(--white);\n --spinner-text: var(--communication-tint-40);\n --nav-link-hover: #2a2a2a;\n --nav-link-selected: var(--communication-tint-40);\n --nav-link-expanded: transparent;\n}\n\n.ms-Fabric.is-focusVisible .ms-Nav-group .ms-nav-linkButton:focus::after {\n border: 1px solid var(--neutral-100);\n}\n@media screen and (forced-colors: active) {\n .ms-Fabric.is-focusVisible .ms-Nav-group .ms-nav-linkButton:focus::after {\n border: 1px dashed windowtext !important;\n }\n}\n\nbutton::after {\n content: \"\";\n position: absolute;\n}\n\n.ms-fontColor-neutralPrimary,\n.ms-fontColor-neutralPrimary--hover:hover {\n color: var(--neutral-100) !important;\n}\n\n.ms-Fabric {\n color: var(--neutral-100);\n}\n\n.insights-link {\n color: var(--link) !important;\n text-decoration: none;\n}\n@media screen and (forced-colors: active) {\n .insights-link {\n forced-color-adjust: unset;\n }\n}\n.insights-link:hover {\n color: var(--link-hover) !important;\n text-decoration: underline;\n}\n\n.high-contrast-theme .insights-link:hover {\n text-decoration: underline;\n}\n.high-contrast-theme .is-selected .status-icon {\n color: var(--black) !important;\n}\n\n.insights-code {\n font-family: menlo, consolas, courier new, monospace;\n}\n\n.ms-Spinner .ms-Spinner-circle {\n border-top-color: var(--spinner-text);\n}\n.ms-Spinner .ms-Spinner-label {\n color: var(--spinner-text);\n}\n\n@media screen and (forced-colors: active) {\n .ms-ContextualMenu button:hover .ms-ContextualMenu-itemText,\n .ms-ContextualMenu button:hover .ms-ContextualMenu-linkText {\n color: highlight;\n }\n}\n\n.guidance-tags span {\n font-size: 12px;\n font-weight: normal;\n padding-top: 2px;\n padding-right: 12px;\n padding-bottom: 2px;\n padding-left: 12px;\n color: var(--pill);\n background-color: var(--pill-background);\n border-radius: 120px;\n}\n\n.hidden-highlight-button {\n opacity: 0;\n margin: 0;\n padding: 0;\n border: none;\n}\n\n.instance-details-card {\n border-radius: 4px;\n border: 1px solid var(--card-border);\n outline-style: \"border-style\";\n box-shadow: 0 0.6px 1.8px var(--box-shadow-108), 0 3.2px 7.2px var(--box-shadow-132);\n margin-bottom: 16px;\n width: -moz-available;\n width: -webkit-fill-available;\n width: stretch;\n}\n\n.instance-details-card-container.selected {\n outline: 5px solid var(--communication-tint-10);\n}\n\n.instance-details-card.selected {\n border: 1px solid transparent;\n}\n\n.instance-details-card.focused,\n.instance-details-card:focus {\n outline: 2px solid var(--primary-text);\n outline-offset: 2px;\n}\n\n.instance-details-card.selected.focused,\n.instance-details-card.selected:focus {\n outline-offset: 8px;\n}\n\n.instance-details-card.interactive {\n cursor: pointer;\n}\n\n.instance-details-card.interactive:hover {\n box-shadow: 0 8px 10px var(--box-shadow-108), 0 8px 10px var(--box-shadow-132);\n}\n\n.report-instance-table {\n background: var(--neutral-0);\n display: table;\n table-layout: fixed;\n width: -moz-available;\n width: -webkit-fill-available;\n width: stretch;\n border-radius: inherit;\n border-collapse: collapse;\n overflow-wrap: break-word;\n word-break: break-word;\n}\n.report-instance-table .row {\n display: flex;\n flex-wrap: wrap;\n padding-top: 2px;\n padding-bottom: 14px;\n padding-left: 0;\n padding-right: 20px;\n border-bottom: 0.5px solid var(--neutral-10);\n}\n.report-instance-table .row > * {\n margin-top: 12px;\n margin-bottom: 0;\n margin-left: 20px;\n margin-right: 0;\n padding: 0;\n}\n.report-instance-table .row:last-child {\n border-bottom: none;\n}\n.report-instance-table .row-label {\n flex-basis: 90px;\n flex-shrink: 1;\n flex-grow: 0;\n font-size: 14px;\n line-height: 20px;\n font-weight: 600;\n color: var(--primary-text);\n text-align: left;\n}\n.report-instance-table .row-content {\n flex-basis: 200px;\n flex-shrink: 1;\n flex-grow: 1;\n color: var(--secondary-text);\n font-size: 14px;\n line-height: 20px;\n align-items: flex-end;\n display: flex;\n}\n\n.outcome-summary-bar {\n display: flex;\n flex-grow: 0;\n flex-shrink: 0;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n margin-top: 16px;\n margin-bottom: 0;\n line-height: 24px;\n font-size: 17px;\n font-weight: 600;\n white-space: pre-wrap;\n}\n.outcome-summary-bar .block,\n.outcome-summary-bar .incomplete,\n.outcome-summary-bar .inapplicable,\n.outcome-summary-bar .unscannable,\n.outcome-summary-bar .pass,\n.outcome-summary-bar .fail {\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n line-height: 20px;\n font-size: 16px;\n color: var(--neutral-0);\n padding-top: 8px;\n padding-right: 8px;\n padding-bottom: 10px;\n padding-left: 10px;\n height: 16px;\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n.outcome-summary-bar .count {\n font-weight: 600;\n}\n.outcome-summary-bar .fail {\n background-color: var(--negative-outcome);\n}\n.outcome-summary-bar .fail .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n.outcome-summary-bar .fail .check-container {\n bottom: -1px;\n margin-right: 8px;\n}\n.outcome-summary-bar .pass {\n background-color: var(--positive-outcome);\n}\n.outcome-summary-bar .pass .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-summary-bar .pass .check-container {\n bottom: -1px;\n margin-right: 8px;\n margin-left: 4px;\n}\n.outcome-summary-bar .inapplicable,\n.outcome-summary-bar .unscannable {\n background-color: var(--neutral-outcome);\n}\n.outcome-summary-bar .inapplicable .check-container,\n.outcome-summary-bar .unscannable .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-summary-bar .inapplicable .check-container,\n.outcome-summary-bar .unscannable .check-container {\n bottom: -1px;\n margin-right: 8px;\n margin-left: 4px;\n}\n.outcome-summary-bar .incomplete {\n background-color: var(--neutral-outcome);\n color: var(--white);\n border: 2px var(--neutral-60) solid;\n height: 12px;\n}\n.outcome-summary-bar .incomplete .check-container {\n position: relative;\n width: 8px;\n height: 8px;\n display: inline-block;\n border-radius: 50%;\n border: 3px solid var(--neutral-0);\n}\n.outcome-summary-bar .incomplete .check-container {\n margin-right: 6px;\n border-color: var(--white);\n}\n.outcome-summary-bar .summary-bar-left-edge {\n border-top-left-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n.outcome-summary-bar .summary-bar-right-edge {\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n margin-right: 0;\n}\n.outcome-summary-bar .label {\n font-weight: normal;\n}\n\n.screen-reader-only {\n position: absolute;\n left: -10000px;\n top: auto;\n height: 1px;\n overflow: hidden;\n clip-path: inset(100% 100% 100% 100%);\n}\n\n.check-container svg {\n width: 100%;\n height: 100%;\n}\n\n.outcome-chip {\n height: 16px;\n color: var(--primary-text);\n border-radius: 0 8px 8px 0;\n margin-right: 4px;\n margin-bottom: -3px;\n margin-left: 4px;\n display: inline-flex;\n align-items: center;\n}\n.outcome-chip .icon {\n border-radius: 50%;\n width: 16px;\n height: 16px;\n}\n.outcome-chip .count {\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n line-height: 13px;\n font-size: 11px;\n border-radius: 0 8px 8px 0;\n padding-right: 6px;\n padding-left: 10px;\n font-weight: 700;\n margin-left: -8px;\n height: 13px;\n}\n@media screen and (forced-colors: active) {\n .outcome-chip .count {\n forced-color-adjust: none;\n border-color: canvastext !important;\n color: canvastext;\n }\n}\n.outcome-chip.outcome-chip-pass .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-chip.outcome-chip-pass .check-container {\n background-color: var(--positive-outcome);\n}\n.outcome-chip.outcome-chip-pass .count {\n background-color: transparent;\n border: 1.5px solid var(--positive-outcome);\n width: max-content;\n}\n.outcome-chip.outcome-chip-incomplete .check-container, .outcome-chip.outcome-chip-review .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 1px solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-incomplete .check-container, .outcome-chip.outcome-chip-review .check-container {\n background-color: var(--neutral-60);\n}\n.outcome-chip.outcome-chip-incomplete .count, .outcome-chip.outcome-chip-review .count {\n background-color: transparent;\n border: 1.5px solid var(--neutral-60);\n width: max-content;\n}\n.outcome-chip.outcome-chip-fail .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n.outcome-chip.outcome-chip-fail .check-container {\n background-color: var(--negative-outcome);\n}\n.outcome-chip.outcome-chip-fail .count {\n background-color: transparent;\n border: 1.5px solid var(--negative-outcome);\n width: max-content;\n}\n.outcome-chip.outcome-chip-inapplicable .check-container, .outcome-chip.outcome-chip-unscannable .check-container {\n position: relative;\n width: 16px;\n height: 16px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-chip.outcome-chip-inapplicable .check-container, .outcome-chip.outcome-chip-unscannable .check-container {\n background-color: var(--neutral-outcome);\n}\n.outcome-chip.outcome-chip-inapplicable .count, .outcome-chip.outcome-chip-unscannable .count {\n background-color: transparent;\n border: 1.5px solid var(--neutral-outcome);\n width: max-content;\n}\n\n.outcome-icon-set .outcome-icon {\n margin-left: 4px;\n border-radius: 50%;\n}\n.outcome-icon-set .outcome-icon-pass .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-pass .check-container svg circle {\n fill: var(--positive-outcome);\n}\n.outcome-icon-set .outcome-icon-incomplete .check-container {\n position: relative;\n width: 12px;\n height: 12px;\n display: inline-block;\n border-radius: 50%;\n border: 1px solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-incomplete .check-container {\n border-color: var(--neutral-60);\n}\n.outcome-icon-set .outcome-icon-fail .check-container {\n position: relative;\n width: 14px;\n height: 14px;\n display: inline-block;\n border-radius: 50%;\n border: 0 solid var(--neutral-0);\n}\n.outcome-icon-set .outcome-icon-fail .check-container svg circle {\n fill: var(--negative-outcome);\n}\n\nbody {\n font-size: 14px;\n margin: auto;\n background-color: var(--neutral-2);\n color: black;\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n}\n\n.outer-container {\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\n}\n.outer-container .content-container {\n max-width: 960px;\n margin-right: auto;\n margin-left: auto;\n margin-top: 24px;\n}\n.outer-container .content-container h2 {\n margin: 0;\n font-size: 17px;\n line-height: 24px;\n}\n@media only screen and (max-width: 1000px) {\n .outer-container .content-container {\n margin-top: 24px;\n margin-right: 16px;\n margin-left: 16px;\n }\n}\n\n.scan-details-section {\n box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\n border-radius: 4px;\n background-color: var(--neutral-0);\n padding: 20px;\n margin-bottom: 22px;\n}\n.scan-details-section .details-section-list {\n list-style: none;\n font-size: 14px;\n line-height: 16px;\n padding-left: 0;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n}\n.scan-details-section h3 {\n margin: 0;\n font-size: 17px;\n line-height: 24px;\n}\n.scan-details-section li {\n display: inline-block;\n padding-top: 12px;\n}\n.scan-details-section li .icon {\n padding-right: 12px;\n position: relative;\n top: 3px;\n}\n.scan-details-section .text {\n word-break: break-all;\n}\n.scan-details-section .description-text {\n white-space: pre-wrap;\n}\n.scan-details-section .screen-reader-only {\n position: absolute;\n left: -10000px;\n top: auto;\n height: 1px;\n overflow: hidden;\n clip-path: inset(100% 100% 100% 100%);\n}\n\n.report-footer-container {\n max-width: 960px;\n margin-right: auto;\n margin-left: auto;\n margin-bottom: 68px;\n margin-top: 24px;\n}\n.report-footer-container .report-footer {\n line-height: 20px;\n color: var(--report-footer-text);\n}\n@media only screen and (max-width: 1000px) {\n .report-footer-container {\n margin-right: 16px;\n margin-left: 16px;\n }\n}\n\n.report-header-command-bar {\n height: 40px;\n width: 100%;\n display: flex;\n justify-content: end;\n min-height: fit-content;\n align-items: center;\n background-color: var(--neutral-0);\n box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);\n}\n.report-header-command-bar .target-page {\n white-space: nowrap;\n margin-left: 16px;\n display: flex;\n color: var(--primary-text);\n font-family: 'Segoe UI Web (West European)','Segoe UI','-apple-system',BlinkMacSystemFont,Roboto,'Helvetica Neue',Helvetica,Ubuntu,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';\n font-size: 14px;\n line-height: 20px;\n font-weight: normal;\n min-width: 0;\n}\n.report-header-command-bar .target-page a {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.report-congrats-message {\n word-break: break-word;\n overflow-wrap: break-word;\n}\n\n.report-congrats-head {\n font-size: 16px;\n font-weight: 600;\n color: var(--primary-text);\n padding-top: 10px;\n padding-right: 0;\n padding-bottom: 10px;\n padding-left: 0;\n}\n\n.report-congrats-info {\n font-size: 14px;\n color: var(--secondary-text);\n padding-top: 10px;\n padding-right: 0;\n padding-bottom: 10px;\n padding-left: 0;\n}\n\n.sleeping-ada {\n height: 100px;\n}\n\n.title-section {\n margin-top: 56px;\n}\n.title-section h1 {\n font-weight: 600;\n margin-bottom: 24px;\n font-size: 21px;\n line-height: 32px;\n letter-spacing: -0.02em;\n}\n\n.results-container {\n margin-top: 56px;\n}\n.results-container .title-container :is(h1, h2, h3, h4, h5, h6) {\n font-weight: unset;\n margin-block: 0;\n margin-inline: 0;\n}\n\n@media screen and (max-width: 640px) {\n .outcome-past-tense {\n display: none;\n }\n}\n.collapsible-container .collapsible-control[aria-expanded=true]::before, .collapsible-container .collapsible-control[aria-expanded=false]::before {\n display: inline-block;\n border-right: 1px solid var(--secondary-text);\n border-bottom: 1px solid var(--secondary-text);\n min-width: 7px;\n width: 7px;\n height: 7px;\n content: \"\";\n transform-origin: 50% 50%;\n transition: transform 0.1s linear 0s;\n}\n\n.summary-section {\n box-shadow: 0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132);\n border-radius: 4px;\n background-color: var(--neutral-0);\n padding: 20px;\n margin-bottom: 24px;\n}\n\n.result-section {\n padding-bottom: 24px;\n}\n.result-section .title-container .collapsible-control::before {\n position: relative;\n bottom: 2px;\n margin-right: 14px;\n}\n.result-section .collapsible-content {\n margin-left: 16px;\n}\n\n.collapsible-container .collapsible-control {\n font-family: \"Segoe UI Web (West European)\", \"Segoe UI\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", Helvetica, Ubuntu, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n background-color: transparent;\n cursor: pointer;\n border: none;\n display: flex;\n align-items: baseline;\n width: 100%;\n}\n.collapsible-container .collapsible-control:hover {\n background-color: var(--neutral-alpha-4);\n}\n.collapsible-container:not(.collapsible-rule-details-group) .collapsible-control {\n padding-left: 2px;\n padding-right: 16px;\n position: relative;\n}\n.collapsible-container .collapsible-control[aria-expanded=false]::before {\n transform: rotate(-45deg);\n}\n.collapsible-container .collapsible-control[aria-expanded=true]::before {\n transform: rotate(45deg);\n}\n.collapsible-container .collapsible-content[aria-hidden=true] {\n display: none;\n}\n\nul.instance-details-list {\n list-style-type: none;\n padding-inline-start: unset;\n margin-block-start: unset;\n margin-block-end: unset;\n}\nul.instance-details-list li {\n margin-bottom: 16px;\n}\nul.instance-details-list li:last-child {\n margin-bottom: unset;\n}`;
2459
2409
 
2460
2410
  // src/reports/components/head.tsx
2461
2411
  var Head = NamedFC("Head", (props) => {
2462
- return /* @__PURE__ */ React43.createElement("head", null, /* @__PURE__ */ React43.createElement("meta", {
2463
- charSet: "UTF-8"
2464
- }), /* @__PURE__ */ React43.createElement("title", null, props.titlePreface, " ", props.title), /* @__PURE__ */ React43.createElement("style", {
2465
- dangerouslySetInnerHTML: { __html: styleSheet }
2466
- }), /* @__PURE__ */ React43.createElement("style", {
2467
- dangerouslySetInnerHTML: { __html: props.bundledStyles.styleSheet }
2468
- }));
2412
+ return /* @__PURE__ */ React43.createElement("head", null, /* @__PURE__ */ React43.createElement("meta", { charSet: "UTF-8" }), /* @__PURE__ */ React43.createElement("title", null, props.titlePreface, " ", props.title), /* @__PURE__ */ React43.createElement("style", { dangerouslySetInnerHTML: { __html: styleSheet } }), /* @__PURE__ */ React43.createElement("style", { dangerouslySetInnerHTML: { __html: props.bundledStyles.styleSheet } }));
2469
2413
  });
2470
2414
 
2471
2415
  // src/reports/bundled-reporter-styles.ts
@@ -2477,11 +2421,14 @@ var styleSheet2 = `/* css-modules:src/common/components/heading-element-for-leve
2477
2421
 
2478
2422
  // src/reports/components/reporter-automated-check-head.tsx
2479
2423
  var ReporterHead = NamedFC("ReporterHead", () => {
2480
- return /* @__PURE__ */ React44.createElement(Head, {
2481
- titlePreface: brand,
2482
- bundledStyles: bundled_reporter_styles_exports,
2483
- title: "automated checks result"
2484
- });
2424
+ return /* @__PURE__ */ React44.createElement(
2425
+ Head,
2426
+ {
2427
+ titlePreface: brand,
2428
+ bundledStyles: bundled_reporter_styles_exports,
2429
+ title: "automated checks result"
2430
+ }
2431
+ );
2485
2432
  });
2486
2433
 
2487
2434
  // src/reports/package/footer-text-for-service.tsx
@@ -2489,11 +2436,15 @@ var React46 = __toESM(require("react"));
2489
2436
 
2490
2437
  // src/reports/components/report-sections/tool-link.tsx
2491
2438
  var React45 = __toESM(require("react"));
2492
- var ToolLink = NamedFC("ToolLink", () => /* @__PURE__ */ React45.createElement(NewTabLink, {
2493
- className: "tool-name-link",
2494
- href: "http://aka.ms/AccessibilityInsights",
2495
- title: `Get more information and download ${toolName}`
2496
- }, "http://aka.ms/AccessibilityInsights"));
2439
+ var ToolLink = NamedFC("ToolLink", () => /* @__PURE__ */ React45.createElement(
2440
+ NewTabLink,
2441
+ {
2442
+ className: "tool-name-link",
2443
+ href: "http://aka.ms/AccessibilityInsights",
2444
+ title: `Get more information and download ${toolName}`
2445
+ },
2446
+ "http://aka.ms/AccessibilityInsights"
2447
+ ));
2497
2448
 
2498
2449
  // src/reports/package/footer-text-for-service.tsx
2499
2450
  var FooterTextForService = NamedFC("FooterTextForService", ({ scanMetadata }) => {
@@ -2504,9 +2455,7 @@ var FooterTextForService = NamedFC("FooterTextForService", ({ scanMetadata }) =>
2504
2455
  // src/reports/components/report-sections/automated-checks-title-section.tsx
2505
2456
  var React47 = __toESM(require("react"));
2506
2457
  var AutomatedChecksTitleSection = NamedFC("AutomatedChecksTitleSection", () => {
2507
- return /* @__PURE__ */ React47.createElement("div", {
2508
- className: "title-section"
2509
- }, /* @__PURE__ */ React47.createElement("h1", null, "Automated checks results"));
2458
+ return /* @__PURE__ */ React47.createElement("div", { className: "title-section" }, /* @__PURE__ */ React47.createElement("h1", null, "Automated checks results"));
2510
2459
  });
2511
2460
 
2512
2461
  // src/reports/components/report-sections/body-section.tsx
@@ -2518,11 +2467,7 @@ var BodySection = NamedFC("BodySection", ({ children }) => {
2518
2467
  // src/reports/components/report-sections/content-container.tsx
2519
2468
  var React49 = __toESM(require("react"));
2520
2469
  var ContentContainer = NamedFC("ContentSection", ({ children }) => {
2521
- return /* @__PURE__ */ React49.createElement("main", {
2522
- className: "outer-container"
2523
- }, /* @__PURE__ */ React49.createElement("div", {
2524
- className: "content-container"
2525
- }, children));
2470
+ return /* @__PURE__ */ React49.createElement("main", { className: "outer-container" }, /* @__PURE__ */ React49.createElement("div", { className: "content-container" }, children));
2526
2471
  });
2527
2472
 
2528
2473
  // src/reports/components/report-sections/details-section.tsx
@@ -2534,52 +2479,53 @@ var import_utilities6 = require("@fluentui/utilities");
2534
2479
  // src/common/icons/comment-icon.tsx
2535
2480
  var React50 = __toESM(require("react"));
2536
2481
  var d = "M16 11.2891V0.289062H-7.62939e-06V11.2891H1.99999V15L5.71093 11.2891H16ZM1 1.28906H15L15 10.2891H5.28906L3 12.5781V10.2891H1V1.28906ZM9.99999 6.28906H8.99999V4.28906H11V6.28906C11 6.42969 10.974 6.55859 10.9219 6.67969C10.8698 6.80078 10.7982 6.90625 10.707 6.99609C10.6159 7.08594 10.5104 7.16016 10.3906 7.21094C10.2708 7.26172 10.1406 7.28906 9.99999 7.28906V6.28906ZM4.99999 6.28906H5.99999V7.28906C6.14062 7.28906 6.27083 7.26172 6.39062 7.21094C6.51041 7.16016 6.61588 7.08594 6.70702 6.99609C6.79817 6.90625 6.86978 6.80078 6.92187 6.67969C6.97395 6.55859 6.99999 6.42969 6.99999 6.28906V4.28906H4.99999V6.28906Z";
2537
- var CommentIcon = NamedFC("CommentIcon", () => /* @__PURE__ */ React50.createElement("svg", {
2538
- width: "17",
2539
- height: "16",
2540
- viewBox: "0 0 16 15",
2541
- fill: "none",
2542
- xmlns: "http://www.w3.org/2000/svg",
2543
- role: "img",
2544
- "aria-hidden": "true"
2545
- }, /* @__PURE__ */ React50.createElement("path", {
2546
- fillRule: "evenodd",
2547
- clipRule: "evenodd",
2548
- d,
2549
- fill: "#737373"
2550
- })));
2482
+ var CommentIcon = NamedFC("CommentIcon", () => /* @__PURE__ */ React50.createElement(
2483
+ "svg",
2484
+ {
2485
+ width: "17",
2486
+ height: "16",
2487
+ viewBox: "0 0 16 15",
2488
+ fill: "none",
2489
+ xmlns: "http://www.w3.org/2000/svg",
2490
+ role: "img",
2491
+ "aria-hidden": "true"
2492
+ },
2493
+ /* @__PURE__ */ React50.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d, fill: "#737373" })
2494
+ ));
2551
2495
 
2552
2496
  // src/common/icons/date-icon.tsx
2553
2497
  var React51 = __toESM(require("react"));
2554
2498
  var d2 = "M8.82353 16C8.09697 16 7.39677 15.9062 6.72294 15.7188C6.05497 15.5312 5.42802 15.2676 4.84208 14.9277C4.26201 14.582 3.73173 14.1719 3.25126 13.6973C2.77665 13.2168 2.3665 12.6865 2.02079 12.1064C1.68095 11.5205 1.41728 10.8936 1.22978 10.2256C1.04228 9.55176 0.948529 8.85156 0.948529 8.125C0.948529 7.39844 1.04228 6.70117 1.22978 6.0332C1.41728 5.35937 1.68095 4.73242 2.02079 4.15234C2.3665 3.56641 2.77665 3.03613 3.25126 2.56152C3.73173 2.08105 4.26201 1.6709 4.84208 1.33105C5.42802 0.985352 6.05497 0.71875 6.72294 0.53125C7.39677 0.34375 8.09697 0.25 8.82353 0.25C9.55009 0.25 10.2474 0.34375 10.9153 0.53125C11.5892 0.71875 12.2161 0.985352 12.7962 1.33105C13.3821 1.6709 13.9124 2.08105 14.387 2.56152C14.8675 3.03613 15.2776 3.56641 15.6175 4.15234C15.9632 4.73242 16.2298 5.35937 16.4173 6.0332C16.6048 6.70117 16.6985 7.39844 16.6985 8.125C16.6985 8.85156 16.6048 9.55176 16.4173 10.2256C16.2298 10.8936 15.9632 11.5205 15.6175 12.1064C15.2776 12.6865 14.8675 13.2168 14.387 13.6973C13.9124 14.1719 13.3821 14.582 12.7962 14.9277C12.2161 15.2676 11.5892 15.5312 10.9153 15.7188C10.2474 15.9062 9.55009 16 8.82353 16ZM8.82353 1.375C7.89189 1.375 7.01591 1.55371 6.1956 1.91113C5.38115 2.2627 4.6663 2.74609 4.05107 3.36133C3.44169 3.9707 2.95829 4.68555 2.60087 5.50586C2.24931 6.32031 2.07353 7.19336 2.07353 8.125C2.07353 9.05664 2.24931 9.93262 2.60087 10.7529C2.95829 11.5674 3.44169 12.2822 4.05107 12.8975C4.6663 13.5068 5.38115 13.9902 6.1956 14.3477C7.01591 14.6992 7.89189 14.875 8.82353 14.875C9.75517 14.875 10.6282 14.6992 11.4427 14.3477C12.263 13.9902 12.9778 13.5068 13.5872 12.8975C14.2024 12.2822 14.6858 11.5674 15.0374 10.7529C15.3948 9.93262 15.5735 9.05664 15.5735 8.125C15.5735 7.19336 15.3948 6.32031 15.0374 5.50586C14.6858 4.68555 14.2024 3.9707 13.5872 3.36133C12.9778 2.74609 12.263 2.2627 11.4427 1.91113C10.6282 1.55371 9.75517 1.375 8.82353 1.375ZM8.82353 8.125V3.625H7.69853V9.25H12.1985V8.125H8.82353Z";
2555
- var DateIcon = NamedFC("DateIcon", () => /* @__PURE__ */ React51.createElement("svg", {
2556
- width: "17",
2557
- height: "16",
2558
- viewBox: "0 0 17 16",
2559
- fill: "none",
2560
- xmlns: "http://www.w3.org/2000/svg",
2561
- role: "img",
2562
- "aria-hidden": "true"
2563
- }, /* @__PURE__ */ React51.createElement("path", {
2564
- d: d2,
2565
- fill: "#737373"
2566
- })));
2499
+ var DateIcon = NamedFC("DateIcon", () => /* @__PURE__ */ React51.createElement(
2500
+ "svg",
2501
+ {
2502
+ width: "17",
2503
+ height: "16",
2504
+ viewBox: "0 0 17 16",
2505
+ fill: "none",
2506
+ xmlns: "http://www.w3.org/2000/svg",
2507
+ role: "img",
2508
+ "aria-hidden": "true"
2509
+ },
2510
+ /* @__PURE__ */ React51.createElement("path", { d: d2, fill: "#737373" })
2511
+ ));
2567
2512
 
2568
2513
  // src/common/icons/url-icon.tsx
2569
2514
  var React52 = __toESM(require("react"));
2570
2515
  var d3 = "M8.82353 0C9.5579 0 10.2662 0.0963542 10.9485 0.289062C11.6308 0.476562 12.2688 0.744792 12.8626 1.09375C13.4563 1.4375 13.9954 1.85417 14.4798 2.34375C14.9694 2.82812 15.386 3.36719 15.7298 3.96094C16.0787 4.55469 16.347 5.19271 16.5345 5.875C16.7272 6.55729 16.8235 7.26562 16.8235 8C16.8235 8.73438 16.7272 9.44271 16.5345 10.125C16.347 10.8073 16.0787 11.4453 15.7298 12.0391C15.386 12.6328 14.9694 13.1745 14.4798 13.6641C13.9954 14.1484 13.4563 14.5651 12.8626 14.9141C12.2688 15.2578 11.6308 15.526 10.9485 15.7188C10.2662 15.9062 9.5579 16 8.82353 16C8.08915 16 7.38082 15.9062 6.69853 15.7188C6.01624 15.526 5.37822 15.2578 4.78447 14.9141C4.19072 14.5651 3.64905 14.1484 3.15947 13.6641C2.67509 13.1745 2.25843 12.6328 1.90947 12.0391C1.56572 11.4453 1.29749 10.8099 1.10478 10.1328C0.917279 9.45052 0.823529 8.73958 0.823529 8C0.823529 7.26562 0.917279 6.55729 1.10478 5.875C1.29749 5.19271 1.56572 4.55469 1.90947 3.96094C2.25843 3.36719 2.67509 2.82812 3.15947 2.34375C3.64905 1.85417 4.19072 1.4375 4.78447 1.09375C5.37822 0.744792 6.01363 0.476562 6.69072 0.289062C7.37301 0.0963542 8.08395 0 8.82353 0ZM15.1438 5C14.9459 4.57812 14.7063 4.18229 14.4251 3.8125C14.1438 3.4375 13.8313 3.09635 13.4876 2.78906C13.1438 2.48177 12.7714 2.20833 12.3704 1.96875C11.9694 1.72917 11.5501 1.53385 11.1126 1.38281C11.3001 1.64323 11.4694 1.91927 11.6204 2.21094C11.7714 2.5026 11.9043 2.80469 12.0188 3.11719C12.1386 3.42448 12.2402 3.73698 12.3235 4.05469C12.4069 4.3724 12.4798 4.6875 12.5423 5H15.1438ZM15.8235 8C15.8235 7.30729 15.7272 6.64062 15.5345 6H12.6985C12.7402 6.33333 12.7714 6.66667 12.7923 7C12.8131 7.32812 12.8235 7.66146 12.8235 8C12.8235 8.33854 12.8131 8.67448 12.7923 9.00781C12.7714 9.33594 12.7402 9.66667 12.6985 10H15.5345C15.7272 9.35938 15.8235 8.69271 15.8235 8ZM8.82353 15C9.07874 15 9.31572 14.9297 9.53447 14.7891C9.75843 14.6484 9.96415 14.4635 10.1517 14.2344C10.3392 14.0052 10.5058 13.7474 10.6517 13.4609C10.8027 13.1693 10.9355 12.875 11.0501 12.5781C11.1647 12.2812 11.261 11.9948 11.3392 11.7188C11.4173 11.4427 11.4772 11.2031 11.5188 11H6.12822C6.16988 11.2031 6.22978 11.4427 6.3079 11.7188C6.38603 11.9948 6.48238 12.2812 6.59697 12.5781C6.71155 12.875 6.84176 13.1693 6.98759 13.4609C7.13863 13.7474 7.3079 14.0052 7.4954 14.2344C7.6829 14.4635 7.88603 14.6484 8.10478 14.7891C8.32874 14.9297 8.56832 15 8.82353 15ZM11.6907 10C11.7324 9.66667 11.7636 9.33594 11.7845 9.00781C11.8105 8.67448 11.8235 8.33854 11.8235 8C11.8235 7.66146 11.8105 7.32812 11.7845 7C11.7636 6.66667 11.7324 6.33333 11.6907 6H5.95634C5.91468 6.33333 5.88082 6.66667 5.85478 7C5.83395 7.32812 5.82353 7.66146 5.82353 8C5.82353 8.33854 5.83395 8.67448 5.85478 9.00781C5.88082 9.33594 5.91468 9.66667 5.95634 10H11.6907ZM1.82353 8C1.82353 8.69271 1.91988 9.35938 2.11259 10H4.94853C4.90686 9.66667 4.87561 9.33594 4.85478 9.00781C4.83395 8.67448 4.82353 8.33854 4.82353 8C4.82353 7.66146 4.83395 7.32812 4.85478 7C4.87561 6.66667 4.90686 6.33333 4.94853 6H2.11259C1.91988 6.64062 1.82353 7.30729 1.82353 8ZM8.82353 1C8.56832 1 8.32874 1.07031 8.10478 1.21094C7.88603 1.35156 7.6829 1.53646 7.4954 1.76562C7.3079 1.99479 7.13863 2.25521 6.98759 2.54688C6.84176 2.83333 6.71155 3.125 6.59697 3.42188C6.48238 3.71875 6.38603 4.00521 6.3079 4.28125C6.22978 4.55729 6.16988 4.79688 6.12822 5H11.5188C11.4772 4.79688 11.4173 4.55729 11.3392 4.28125C11.261 4.00521 11.1647 3.71875 11.0501 3.42188C10.9355 3.125 10.8027 2.83333 10.6517 2.54688C10.5058 2.25521 10.3392 1.99479 10.1517 1.76562C9.96415 1.53646 9.75843 1.35156 9.53447 1.21094C9.31572 1.07031 9.07874 1 8.82353 1ZM6.53447 1.38281C6.09697 1.53385 5.6777 1.72917 5.27665 1.96875C4.87561 2.20833 4.50322 2.48177 4.15947 2.78906C3.81572 3.09635 3.50322 3.4375 3.22197 3.8125C2.94072 4.18229 2.70113 4.57812 2.50322 5H5.10478C5.16728 4.6875 5.2402 4.3724 5.32353 4.05469C5.40686 3.73698 5.50582 3.42448 5.6204 3.11719C5.7402 2.80469 5.87561 2.5026 6.02665 2.21094C6.1777 1.91927 6.34697 1.64323 6.53447 1.38281ZM2.50322 11C2.70113 11.4219 2.94072 11.8203 3.22197 12.1953C3.50322 12.5651 3.81572 12.9036 4.15947 13.2109C4.50322 13.5182 4.87561 13.7917 5.27665 14.0312C5.6777 14.2708 6.09697 14.4661 6.53447 14.6172C6.34697 14.3568 6.1777 14.0807 6.02665 13.7891C5.87561 13.4974 5.7402 13.1979 5.6204 12.8906C5.50582 12.5781 5.40686 12.263 5.32353 11.9453C5.2402 11.6276 5.16728 11.3125 5.10478 11H2.50322ZM11.1126 14.6172C11.5501 14.4661 11.9694 14.2708 12.3704 14.0312C12.7714 13.7917 13.1438 13.5182 13.4876 13.2109C13.8313 12.9036 14.1438 12.5651 14.4251 12.1953C14.7063 11.8203 14.9459 11.4219 15.1438 11H12.5423C12.4798 11.3125 12.4069 11.6276 12.3235 11.9453C12.2402 12.263 12.1386 12.5781 12.0188 12.8906C11.9043 13.1979 11.7714 13.4974 11.6204 13.7891C11.4694 14.0807 11.3001 14.3568 11.1126 14.6172Z";
2571
- var UrlIcon = NamedFC("UrlIcon", () => /* @__PURE__ */ React52.createElement("svg", {
2572
- width: "17",
2573
- height: "16",
2574
- viewBox: "0 0 17 16",
2575
- fill: "none",
2576
- xmlns: "http://www.w3.org/2000/svg",
2577
- role: "img",
2578
- "aria-hidden": "true"
2579
- }, /* @__PURE__ */ React52.createElement("path", {
2580
- d: d3,
2581
- fill: "#737373"
2582
- })));
2516
+ var UrlIcon = NamedFC("UrlIcon", () => /* @__PURE__ */ React52.createElement(
2517
+ "svg",
2518
+ {
2519
+ width: "17",
2520
+ height: "16",
2521
+ viewBox: "0 0 17 16",
2522
+ fill: "none",
2523
+ xmlns: "http://www.w3.org/2000/svg",
2524
+ role: "img",
2525
+ "aria-hidden": "true"
2526
+ },
2527
+ /* @__PURE__ */ React52.createElement("path", { d: d3, fill: "#737373" })
2528
+ ));
2583
2529
 
2584
2530
  // src/reports/components/report-sections/make-details-section-fc.tsx
2585
2531
  var import_lodash10 = require("lodash");
@@ -2587,21 +2533,11 @@ var React53 = __toESM(require("react"));
2587
2533
  function makeDetailsSectionFC(getDisplayedScanTargetInfo) {
2588
2534
  return NamedFC("DetailsSection", (props) => {
2589
2535
  const { scanMetadata, description, toUtcString } = props;
2590
- const createListItem = (icon, label, content, contentClassName) => /* @__PURE__ */ React53.createElement("li", null, /* @__PURE__ */ React53.createElement("span", {
2591
- className: "icon"
2592
- }, icon), /* @__PURE__ */ React53.createElement("span", {
2593
- className: "screen-reader-only"
2594
- }, label), /* @__PURE__ */ React53.createElement("span", {
2595
- className: (0, import_utilities6.css)("text", contentClassName)
2596
- }, content));
2536
+ const createListItem = (icon, label, content, contentClassName) => /* @__PURE__ */ React53.createElement("li", null, /* @__PURE__ */ React53.createElement("span", { className: "icon" }, icon), /* @__PURE__ */ React53.createElement("span", { className: "screen-reader-only" }, label), /* @__PURE__ */ React53.createElement("span", { className: (0, import_utilities6.css)("text", contentClassName) }, content));
2597
2537
  const scanDateUTC = toUtcString(scanMetadata.timespan.scanComplete);
2598
2538
  const showCommentRow = !(0, import_lodash10.isEmpty)(description);
2599
2539
  const displayedScanTargetInfo = getDisplayedScanTargetInfo(scanMetadata);
2600
- return /* @__PURE__ */ React53.createElement("div", {
2601
- className: "scan-details-section"
2602
- }, /* @__PURE__ */ React53.createElement("h2", null, "Scan details"), /* @__PURE__ */ React53.createElement("ul", {
2603
- className: "details-section-list"
2604
- }, createListItem(
2540
+ return /* @__PURE__ */ React53.createElement("div", { className: "scan-details-section" }, /* @__PURE__ */ React53.createElement("h2", null, "Scan details"), /* @__PURE__ */ React53.createElement("ul", { className: "details-section-list" }, createListItem(
2605
2541
  /* @__PURE__ */ React53.createElement(UrlIcon, null),
2606
2542
  displayedScanTargetInfo.label,
2607
2543
  displayedScanTargetInfo.content
@@ -2618,10 +2554,14 @@ function makeDetailsSectionFC(getDisplayedScanTargetInfo) {
2618
2554
  function getUrlItemInfo(scanMetadata) {
2619
2555
  return {
2620
2556
  label: "target page url:",
2621
- content: /* @__PURE__ */ React54.createElement(NewTabLinkWithConfirmationDialog, {
2622
- href: scanMetadata.targetAppInfo.url,
2623
- title: scanMetadata.targetAppInfo.name
2624
- }, scanMetadata.targetAppInfo.url)
2557
+ content: /* @__PURE__ */ React54.createElement(
2558
+ NewTabLinkWithConfirmationDialog,
2559
+ {
2560
+ href: scanMetadata.targetAppInfo.url,
2561
+ title: scanMetadata.targetAppInfo.name
2562
+ },
2563
+ scanMetadata.targetAppInfo.url
2564
+ )
2625
2565
  };
2626
2566
  }
2627
2567
  var DetailsSection = makeDetailsSectionFC(getUrlItemInfo);
@@ -2646,24 +2586,21 @@ var FullRuleHeader = NamedFC("FullRuleHeader", (props) => {
2646
2586
  if (outcomeType !== "fail") {
2647
2587
  return null;
2648
2588
  }
2649
- return /* @__PURE__ */ React55.createElement("span", {
2650
- "aria-hidden": "true"
2651
- }, /* @__PURE__ */ React55.createElement(OutcomeChip, {
2652
- count: cardResult.nodes.length,
2653
- outcomeType
2654
- }));
2589
+ return /* @__PURE__ */ React55.createElement("span", { "aria-hidden": "true" }, /* @__PURE__ */ React55.createElement(OutcomeChip, { count: cardResult.nodes.length, outcomeType }));
2655
2590
  };
2656
2591
  const renderRuleLink = () => {
2657
2592
  const ruleId = cardResult.id;
2658
2593
  const ruleUrl = cardResult.url;
2659
- const displayedRule = ruleUrl ? /* @__PURE__ */ React55.createElement(NewTabLink, {
2660
- href: ruleUrl,
2661
- "aria-label": `rule ${ruleId}`,
2662
- "aria-describedby": ariaDescribedBy
2663
- }, ruleId) : /* @__PURE__ */ React55.createElement(React55.Fragment, null, ruleId);
2664
- return /* @__PURE__ */ React55.createElement("span", {
2665
- className: "rule-details-id"
2666
- }, displayedRule);
2594
+ const displayedRule = ruleUrl ? /* @__PURE__ */ React55.createElement(
2595
+ NewTabLink,
2596
+ {
2597
+ href: ruleUrl,
2598
+ "aria-label": `rule ${ruleId}`,
2599
+ "aria-describedby": ariaDescribedBy
2600
+ },
2601
+ ruleId
2602
+ ) : /* @__PURE__ */ React55.createElement(React55.Fragment, null, ruleId);
2603
+ return /* @__PURE__ */ React55.createElement("span", { className: "rule-details-id" }, displayedRule);
2667
2604
  };
2668
2605
  const renderGuidanceLinks = () => {
2669
2606
  var _a;
@@ -2671,40 +2608,30 @@ var FullRuleHeader = NamedFC("FullRuleHeader", (props) => {
2671
2608
  if ((0, import_lodash11.isEmpty)(links)) {
2672
2609
  return null;
2673
2610
  }
2674
- return /* @__PURE__ */ React55.createElement(React55.Fragment, null, "(", /* @__PURE__ */ React55.createElement(GuidanceLinks, {
2675
- links,
2676
- LinkComponent: deps.LinkComponent
2677
- }), ")");
2611
+ return /* @__PURE__ */ React55.createElement(React55.Fragment, null, "(", /* @__PURE__ */ React55.createElement(GuidanceLinks, { links, LinkComponent: deps.LinkComponent }), ")");
2678
2612
  };
2679
2613
  const renderDescription = () => {
2680
- return /* @__PURE__ */ React55.createElement("span", {
2681
- className: "rule-details-description",
2682
- id: ariaDescribedBy
2683
- }, cardResult.description);
2614
+ return /* @__PURE__ */ React55.createElement("span", { className: "rule-details-description", id: ariaDescribedBy }, cardResult.description);
2684
2615
  };
2685
2616
  const renderGuidanceTags = () => {
2686
- return /* @__PURE__ */ React55.createElement(GuidanceTags, {
2687
- deps,
2688
- links: cardResult.guidance
2689
- });
2617
+ return /* @__PURE__ */ React55.createElement(GuidanceTags, { deps, links: cardResult.guidance });
2690
2618
  };
2691
- return /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement("div", {
2692
- className: "rule-detail"
2693
- }, /* @__PURE__ */ React55.createElement("div", null, renderCountBadge(), " ", renderRuleLink(), ": ", renderDescription(), renderGuidanceLinks(), renderGuidanceTags())));
2619
+ return /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement("div", { className: "rule-detail" }, /* @__PURE__ */ React55.createElement("div", null, renderCountBadge(), " ", renderRuleLink(), ": ", renderDescription(), renderGuidanceLinks(), renderGuidanceTags())));
2694
2620
  });
2695
2621
 
2696
2622
  // src/reports/components/report-sections/rules-only.tsx
2697
2623
  var RulesOnly = NamedFC(
2698
2624
  "RulesOnly",
2699
2625
  ({ outcomeType, deps, cardRuleResults: cardResults }) => {
2700
- return /* @__PURE__ */ React56.createElement("div", {
2701
- className: rules_with_instances_default.ruleDetailsGroup
2702
- }, cardResults.map((cardRuleResult) => /* @__PURE__ */ React56.createElement(FullRuleHeader, {
2703
- deps,
2704
- key: cardRuleResult.id,
2705
- cardRuleResult,
2706
- outcomeType
2707
- })));
2626
+ return /* @__PURE__ */ React56.createElement("div", { className: rules_with_instances_default.ruleDetailsGroup }, cardResults.map((cardRuleResult) => /* @__PURE__ */ React56.createElement(
2627
+ FullRuleHeader,
2628
+ {
2629
+ deps,
2630
+ key: cardRuleResult.id,
2631
+ cardRuleResult,
2632
+ outcomeType
2633
+ }
2634
+ )));
2708
2635
  }
2709
2636
  );
2710
2637
 
@@ -2715,13 +2642,8 @@ var CollapsibleResultSection = NamedFC(
2715
2642
  const { containerClassName, containerId, deps, cardSelectionMessageCreator, testKey } = props;
2716
2643
  const CollapsibleContent = deps.collapsibleControl({
2717
2644
  id: containerId,
2718
- header: /* @__PURE__ */ React57.createElement(ResultSectionTitle, {
2719
- ...props,
2720
- titleSize: "title"
2721
- }),
2722
- content: /* @__PURE__ */ React57.createElement(RulesOnly, {
2723
- ...props
2724
- }),
2645
+ header: /* @__PURE__ */ React57.createElement(ResultSectionTitle, { ...props, titleSize: "title" }),
2646
+ content: /* @__PURE__ */ React57.createElement(RulesOnly, { ...props }),
2725
2647
  headingLevel: props.headingLevel,
2726
2648
  deps: null,
2727
2649
  testKey,
@@ -2729,9 +2651,7 @@ var CollapsibleResultSection = NamedFC(
2729
2651
  cardSelectionMessageCreator == null ? void 0 : cardSelectionMessageCreator.toggleRuleExpandCollapse(containerId, event);
2730
2652
  }
2731
2653
  });
2732
- return /* @__PURE__ */ React57.createElement("div", {
2733
- className: containerClassName
2734
- }, CollapsibleContent);
2654
+ return /* @__PURE__ */ React57.createElement("div", { className: containerClassName }, CollapsibleContent);
2735
2655
  }
2736
2656
  );
2737
2657
 
@@ -2740,17 +2660,20 @@ var NotApplicableChecksSection = NamedFC(
2740
2660
  "NotApplicableChecksSection",
2741
2661
  ({ deps, cardsViewData, cardSelectionMessageCreator, sectionHeadingLevel }) => {
2742
2662
  const cardRuleResults = cardsViewData.cards.inapplicable;
2743
- return /* @__PURE__ */ React58.createElement(CollapsibleResultSection, {
2744
- deps,
2745
- title: "Not applicable checks",
2746
- cardRuleResults,
2747
- containerClassName: "result-section",
2748
- outcomeType: "inapplicable",
2749
- badgeCount: cardRuleResults.length,
2750
- containerId: "not-applicable-checks-section",
2751
- cardSelectionMessageCreator,
2752
- headingLevel: sectionHeadingLevel
2753
- });
2663
+ return /* @__PURE__ */ React58.createElement(
2664
+ CollapsibleResultSection,
2665
+ {
2666
+ deps,
2667
+ title: "Not applicable checks",
2668
+ cardRuleResults,
2669
+ containerClassName: "result-section",
2670
+ outcomeType: "inapplicable",
2671
+ badgeCount: cardRuleResults.length,
2672
+ containerId: "not-applicable-checks-section",
2673
+ cardSelectionMessageCreator,
2674
+ headingLevel: sectionHeadingLevel
2675
+ }
2676
+ );
2754
2677
  }
2755
2678
  );
2756
2679
 
@@ -2761,30 +2684,28 @@ var PassedChecksSection = NamedFC(
2761
2684
  ({ deps, cardsViewData, cardSelectionMessageCreator, testKey, sectionHeadingLevel }) => {
2762
2685
  var _a;
2763
2686
  const cardRuleResults = ((_a = cardsViewData == null ? void 0 : cardsViewData.cards) == null ? void 0 : _a.pass) ?? [];
2764
- return /* @__PURE__ */ React59.createElement(CollapsibleResultSection, {
2765
- deps,
2766
- title: "Passed checks",
2767
- cardRuleResults,
2768
- containerClassName: "result-section",
2769
- outcomeType: "pass",
2770
- badgeCount: cardRuleResults.length,
2771
- containerId: "passed-checks-section",
2772
- cardSelectionMessageCreator,
2773
- testKey,
2774
- headingLevel: sectionHeadingLevel
2775
- });
2687
+ return /* @__PURE__ */ React59.createElement(
2688
+ CollapsibleResultSection,
2689
+ {
2690
+ deps,
2691
+ title: "Passed checks",
2692
+ cardRuleResults,
2693
+ containerClassName: "result-section",
2694
+ outcomeType: "pass",
2695
+ badgeCount: cardRuleResults.length,
2696
+ containerId: "passed-checks-section",
2697
+ cardSelectionMessageCreator,
2698
+ testKey,
2699
+ headingLevel: sectionHeadingLevel
2700
+ }
2701
+ );
2776
2702
  }
2777
2703
  );
2778
2704
 
2779
2705
  // src/reports/components/report-sections/report-footer.tsx
2780
2706
  var React60 = __toESM(require("react"));
2781
2707
  var ReportFooter = NamedFC("ReportFooter", ({ children }) => {
2782
- return /* @__PURE__ */ React60.createElement("div", {
2783
- className: "report-footer-container"
2784
- }, /* @__PURE__ */ React60.createElement("div", {
2785
- className: "report-footer",
2786
- role: "contentinfo"
2787
- }, children));
2708
+ return /* @__PURE__ */ React60.createElement("div", { className: "report-footer-container" }, /* @__PURE__ */ React60.createElement("div", { className: "report-footer", role: "contentinfo" }, children));
2788
2709
  });
2789
2710
 
2790
2711
  // src/reports/components/report-sections/results-container.tsx
@@ -2792,11 +2713,7 @@ var React61 = __toESM(require("react"));
2792
2713
  var ResultsContainer = NamedFC(
2793
2714
  "ResultsContainer",
2794
2715
  ({ children, getCollapsibleScript }) => {
2795
- return /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement("div", {
2796
- className: "results-container"
2797
- }, children), /* @__PURE__ */ React61.createElement("script", {
2798
- dangerouslySetInnerHTML: { __html: getCollapsibleScript() }
2799
- }));
2716
+ return /* @__PURE__ */ React61.createElement(React61.Fragment, null, /* @__PURE__ */ React61.createElement("div", { className: "results-container" }, children), /* @__PURE__ */ React61.createElement("script", { dangerouslySetInnerHTML: { __html: getCollapsibleScript() } }));
2800
2717
  }
2801
2718
  );
2802
2719
 
@@ -2831,27 +2748,24 @@ var OutcomeSummaryBar = NamedFC("OutcomeSummaryBar", (props) => {
2831
2748
  return null;
2832
2749
  }
2833
2750
  const outcomePastTense = outcomeTypeSemantics[outcomeType].pastTense;
2834
- return /* @__PURE__ */ React62.createElement("span", {
2835
- className: "label"
2836
- }, ` ${outcomePastTense}`);
2751
+ return /* @__PURE__ */ React62.createElement("span", { className: "label" }, ` ${outcomePastTense}`);
2837
2752
  };
2838
- return /* @__PURE__ */ React62.createElement("div", {
2839
- className: "outcome-summary-bar",
2840
- "aria-label": getLabel(),
2841
- role: "img",
2842
- "data-automation-id": outcomeSummaryBarAutomationId
2843
- }, props.allOutcomeTypes.map((outcomeType, index) => {
2844
- const { iconStyleInverted, countSuffix } = props;
2845
- const iconMap = iconStyleInverted === true ? outcomeIconMapInverted : outcomeIconMap;
2846
- const outcomeIcon = iconMap[outcomeType];
2847
- const count = props.outcomeStats[outcomeType];
2848
- return /* @__PURE__ */ React62.createElement("div", {
2849
- key: outcomeType,
2850
- style: { flexGrow: count }
2851
- }, /* @__PURE__ */ React62.createElement("span", {
2852
- className: getClassNames(outcomeType, index)
2853
- }, outcomeIcon, count, countSuffix, getTextLabel(outcomeType)));
2854
- }));
2753
+ return /* @__PURE__ */ React62.createElement(
2754
+ "div",
2755
+ {
2756
+ className: "outcome-summary-bar",
2757
+ "aria-label": getLabel(),
2758
+ role: "img",
2759
+ "data-automation-id": outcomeSummaryBarAutomationId
2760
+ },
2761
+ props.allOutcomeTypes.map((outcomeType, index) => {
2762
+ const { iconStyleInverted, countSuffix } = props;
2763
+ const iconMap = iconStyleInverted === true ? outcomeIconMapInverted : outcomeIconMap;
2764
+ const outcomeIcon = iconMap[outcomeType];
2765
+ const count = props.outcomeStats[outcomeType];
2766
+ return /* @__PURE__ */ React62.createElement("div", { key: outcomeType, style: { flexGrow: count } }, /* @__PURE__ */ React62.createElement("span", { className: getClassNames(outcomeType, index) }, outcomeIcon, count, countSuffix, getTextLabel(outcomeType)));
2767
+ })
2768
+ );
2855
2769
  });
2856
2770
 
2857
2771
  // src/reports/components/report-sections/summary-section.tsx
@@ -2864,32 +2778,29 @@ var BaseSummarySection = NamedFC("BaseSummarySection", (props) => {
2864
2778
  pass: cards.pass.length,
2865
2779
  inapplicable: cards.inapplicable.length,
2866
2780
  incomplete: 0,
2781
+ // never used
2867
2782
  review: 0
2783
+ // never used
2868
2784
  };
2869
- return /* @__PURE__ */ React63.createElement("div", {
2870
- className: "summary-section"
2871
- }, /* @__PURE__ */ React63.createElement("h2", null, "Summary"), /* @__PURE__ */ React63.createElement(OutcomeSummaryBar, {
2872
- outcomeStats: countSummary,
2873
- iconStyleInverted: true,
2874
- allOutcomeTypes: props.outcomeTypesShown
2875
- }));
2785
+ return /* @__PURE__ */ React63.createElement("div", { className: "summary-section" }, /* @__PURE__ */ React63.createElement("h2", null, "Summary"), /* @__PURE__ */ React63.createElement(
2786
+ OutcomeSummaryBar,
2787
+ {
2788
+ outcomeStats: countSummary,
2789
+ iconStyleInverted: true,
2790
+ allOutcomeTypes: props.outcomeTypesShown
2791
+ }
2792
+ ));
2876
2793
  });
2877
2794
  var AllOutcomesSummarySection = NamedFC(
2878
2795
  "AllOutcomesSummarySection",
2879
2796
  (props) => {
2880
- return /* @__PURE__ */ React63.createElement(BaseSummarySection, {
2881
- ...props,
2882
- outcomeTypesShown: ["fail", "pass", "inapplicable"]
2883
- });
2797
+ return /* @__PURE__ */ React63.createElement(BaseSummarySection, { ...props, outcomeTypesShown: ["fail", "pass", "inapplicable"] });
2884
2798
  }
2885
2799
  );
2886
2800
  var PassFailSummarySection = NamedFC(
2887
2801
  "PassFailSummarySection",
2888
2802
  (props) => {
2889
- return /* @__PURE__ */ React63.createElement(BaseSummarySection, {
2890
- ...props,
2891
- outcomeTypesShown: ["fail", "pass"]
2892
- });
2803
+ return /* @__PURE__ */ React63.createElement(BaseSummarySection, { ...props, outcomeTypesShown: ["fail", "pass"] });
2893
2804
  }
2894
2805
  );
2895
2806
 
@@ -2954,18 +2865,9 @@ var CombinedReportResultSectionTitle = NamedFC(
2954
2865
  const singularMessageSubject = props.outcomeType === "review" ? "instance to review" : "failure";
2955
2866
  const pluralMessageSubject = props.outcomeType === "review" ? "instances to review" : "failures";
2956
2867
  const alertTerm = props.outcomeCount !== 1 ? `${pluralMessageSubject} were` : `${singularMessageSubject} was`;
2957
- const alertingFailuresCount = /* @__PURE__ */ React64.createElement("span", {
2958
- role: "alert"
2959
- }, props.outcomeCount, " ", alertTerm, " detected.");
2960
- const titleWithInstance = /* @__PURE__ */ React64.createElement("span", {
2961
- className: combined_report_result_section_title_default.heading,
2962
- "aria-hidden": "true"
2963
- }, props.title, " (", props.outcomeCount, ")");
2964
- return /* @__PURE__ */ React64.createElement("span", {
2965
- className: combined_report_result_section_title_default.combinedReportResultSectionTitle
2966
- }, /* @__PURE__ */ React64.createElement("span", {
2967
- className: "screen-reader-only"
2968
- }, props.title, " ", props.shouldAlertFailuresCount ? alertingFailuresCount : props.outcomeCount), titleWithInstance);
2868
+ const alertingFailuresCount = /* @__PURE__ */ React64.createElement("span", { role: "alert" }, props.outcomeCount, " ", alertTerm, " detected.");
2869
+ const titleWithInstance = /* @__PURE__ */ React64.createElement("span", { className: combined_report_result_section_title_default.heading, "aria-hidden": "true" }, props.title, " (", props.outcomeCount, ")");
2870
+ return /* @__PURE__ */ React64.createElement("span", { className: combined_report_result_section_title_default.combinedReportResultSectionTitle }, /* @__PURE__ */ React64.createElement("span", { className: "screen-reader-only" }, props.title, " ", props.shouldAlertFailuresCount ? alertingFailuresCount : props.outcomeCount), titleWithInstance);
2969
2871
  }
2970
2872
  );
2971
2873
 
@@ -2979,30 +2881,34 @@ var CombinedReportFailedSection = NamedFC(
2979
2881
  const sectionId = "combined-report-failed-section";
2980
2882
  const CollapsibleContent = deps.collapsibleControl({
2981
2883
  id: sectionId,
2982
- header: /* @__PURE__ */ React65.createElement(CombinedReportResultSectionTitle, {
2983
- outcomeCount: ruleCount,
2984
- outcomeType: "fail",
2985
- title: "Failed rules"
2986
- }),
2987
- content: /* @__PURE__ */ React65.createElement(ResultSectionContent, {
2988
- deps,
2989
- outcomeType: "fail",
2990
- targetAppInfo: scanMetadata.targetAppInfo,
2991
- results: cardsViewData.cards.fail,
2992
- visualHelperEnabled: cardsViewData.visualHelperEnabled,
2993
- allCardsCollapsed: cardsViewData.allCardsCollapsed,
2994
- userConfigurationStoreData: null,
2995
- outcomeCounter: OutcomeCounter.countByIdentifierUrls,
2996
- headingLevel: 4
2997
- }),
2884
+ header: /* @__PURE__ */ React65.createElement(
2885
+ CombinedReportResultSectionTitle,
2886
+ {
2887
+ outcomeCount: ruleCount,
2888
+ outcomeType: "fail",
2889
+ title: "Failed rules"
2890
+ }
2891
+ ),
2892
+ content: /* @__PURE__ */ React65.createElement(
2893
+ ResultSectionContent,
2894
+ {
2895
+ deps,
2896
+ outcomeType: "fail",
2897
+ targetAppInfo: scanMetadata.targetAppInfo,
2898
+ results: cardsViewData.cards.fail,
2899
+ visualHelperEnabled: cardsViewData.visualHelperEnabled,
2900
+ allCardsCollapsed: cardsViewData.allCardsCollapsed,
2901
+ userConfigurationStoreData: null,
2902
+ outcomeCounter: OutcomeCounter.countByIdentifierUrls,
2903
+ headingLevel: 4
2904
+ }
2905
+ ),
2998
2906
  onExpandToggle: () => {
2999
2907
  },
3000
2908
  headingLevel: 3,
3001
2909
  deps: {}
3002
2910
  });
3003
- return /* @__PURE__ */ React65.createElement("div", {
3004
- className: "result-section"
3005
- }, CollapsibleContent);
2911
+ return /* @__PURE__ */ React65.createElement("div", { className: "result-section" }, CollapsibleContent);
3006
2912
  }
3007
2913
  );
3008
2914
 
@@ -3016,26 +2922,30 @@ var makeCombinedReportRulesOnlySection = (options) => NamedFC(
3016
2922
  const sectionId = `${outcomeType}-checks-section`;
3017
2923
  const CollapsibleContent = deps.collapsibleControl({
3018
2924
  id: sectionId,
3019
- header: /* @__PURE__ */ React66.createElement(CombinedReportResultSectionTitle, {
3020
- outcomeCount: cardRuleResults.length,
3021
- outcomeType,
3022
- title: title2,
3023
- titleSize: "title"
3024
- }),
3025
- content: /* @__PURE__ */ React66.createElement(RulesOnly, {
3026
- deps,
3027
- cardRuleResults,
3028
- outcomeType
3029
- }),
2925
+ header: /* @__PURE__ */ React66.createElement(
2926
+ CombinedReportResultSectionTitle,
2927
+ {
2928
+ outcomeCount: cardRuleResults.length,
2929
+ outcomeType,
2930
+ title: title2,
2931
+ titleSize: "title"
2932
+ }
2933
+ ),
2934
+ content: /* @__PURE__ */ React66.createElement(
2935
+ RulesOnly,
2936
+ {
2937
+ deps,
2938
+ cardRuleResults,
2939
+ outcomeType
2940
+ }
2941
+ ),
3030
2942
  onExpandToggle: (event) => {
3031
2943
  cardSelectionMessageCreator == null ? void 0 : cardSelectionMessageCreator.toggleRuleExpandCollapse(sectionId, event);
3032
2944
  },
3033
2945
  headingLevel: 3,
3034
2946
  deps: null
3035
2947
  });
3036
- return /* @__PURE__ */ React66.createElement("div", {
3037
- className: "result-section"
3038
- }, CollapsibleContent);
2948
+ return /* @__PURE__ */ React66.createElement("div", { className: "result-section" }, CollapsibleContent);
3039
2949
  }
3040
2950
  );
3041
2951
  var CombinedReportPassedSection = makeCombinedReportRulesOnlySection({
@@ -3069,9 +2979,7 @@ var UrlsSummarySection = NamedFC("UrlsSummarySection", (props) => {
3069
2979
  } = props;
3070
2980
  const getTotalUrls = () => {
3071
2981
  const totalUrls = urlsPassedCount + urlsFailedCount + urlsNotScannedCount;
3072
- return /* @__PURE__ */ React67.createElement(React67.Fragment, null, /* @__PURE__ */ React67.createElement("h2", null, "URLs"), /* @__PURE__ */ React67.createElement("span", {
3073
- className: urls_summary_section_default.totalUrls
3074
- }, totalUrls), " total URLs scanned");
2982
+ return /* @__PURE__ */ React67.createElement(React67.Fragment, null, /* @__PURE__ */ React67.createElement("h2", null, "URLs"), /* @__PURE__ */ React67.createElement("span", { className: urls_summary_section_default.totalUrls }, totalUrls), " total URLs scanned");
3075
2983
  };
3076
2984
  const getSummaryBar = () => {
3077
2985
  const countSummary = {
@@ -3079,26 +2987,20 @@ var UrlsSummarySection = NamedFC("UrlsSummarySection", (props) => {
3079
2987
  unscannable: urlsNotScannedCount,
3080
2988
  pass: urlsPassedCount
3081
2989
  };
3082
- return /* @__PURE__ */ React67.createElement(OutcomeSummaryBar, {
3083
- outcomeStats: countSummary,
3084
- iconStyleInverted: true,
3085
- allOutcomeTypes: allUrlOutcomeTypes,
3086
- textLabel: true
3087
- });
2990
+ return /* @__PURE__ */ React67.createElement(
2991
+ OutcomeSummaryBar,
2992
+ {
2993
+ outcomeStats: countSummary,
2994
+ iconStyleInverted: true,
2995
+ allOutcomeTypes: allUrlOutcomeTypes,
2996
+ textLabel: true
2997
+ }
2998
+ );
3088
2999
  };
3089
3000
  const getFailedInstances = () => {
3090
- return /* @__PURE__ */ React67.createElement("div", {
3091
- className: urls_summary_section_default.failureInstances
3092
- }, /* @__PURE__ */ React67.createElement("h2", null, "Failure Instances"), /* @__PURE__ */ React67.createElement("span", {
3093
- className: urls_summary_section_default.failureOutcomeChip
3094
- }, /* @__PURE__ */ React67.createElement(OutcomeChip, {
3095
- count: failureInstancesCount,
3096
- outcomeType: "fail"
3097
- }), /* @__PURE__ */ React67.createElement("span", null, "Failure instances were detected")));
3001
+ return /* @__PURE__ */ React67.createElement("div", { className: urls_summary_section_default.failureInstances }, /* @__PURE__ */ React67.createElement("h2", null, "Failure Instances"), /* @__PURE__ */ React67.createElement("span", { className: urls_summary_section_default.failureOutcomeChip }, /* @__PURE__ */ React67.createElement(OutcomeChip, { count: failureInstancesCount, outcomeType: "fail" }), /* @__PURE__ */ React67.createElement("span", null, "Failure instances were detected")));
3098
3002
  };
3099
- return /* @__PURE__ */ React67.createElement("div", {
3100
- className: urls_summary_section_default.urlsSummarySection
3101
- }, getTotalUrls(), getSummaryBar(), getFailedInstances());
3003
+ return /* @__PURE__ */ React67.createElement("div", { className: urls_summary_section_default.urlsSummarySection }, getTotalUrls(), getSummaryBar(), getFailedInstances());
3102
3004
  });
3103
3005
 
3104
3006
  // src/reports/components/report-sections/combined-report-summary-section.tsx
@@ -3119,9 +3021,7 @@ var CombinedReportSummarySection = NamedFC(
3119
3021
  notScannedUrlsCount: urlResultCounts.unscannableUrls,
3120
3022
  failureInstancesCount: failedInstances
3121
3023
  };
3122
- return /* @__PURE__ */ React68.createElement(UrlsSummarySection, {
3123
- ...urlsSummarySectionProps
3124
- });
3024
+ return /* @__PURE__ */ React68.createElement(UrlsSummarySection, { ...urlsSummarySectionProps });
3125
3025
  }
3126
3026
  );
3127
3027
 
@@ -3135,13 +3035,7 @@ var rules_results_container_default = { "rulesResultsContainer": "rules-results-
3135
3035
  var RulesResultsContainer = NamedFC(
3136
3036
  "RulesResultsContainer",
3137
3037
  ({ children, getCollapsibleScript }) => {
3138
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement("div", {
3139
- className: rules_results_container_default.rulesResultsContainer
3140
- }, /* @__PURE__ */ React69.createElement("div", {
3141
- className: rules_results_container_default.resultsHeading
3142
- }, /* @__PURE__ */ React69.createElement("h2", null, "Rules")), children), /* @__PURE__ */ React69.createElement("script", {
3143
- dangerouslySetInnerHTML: { __html: getCollapsibleScript() }
3144
- }));
3038
+ return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement("div", { className: rules_results_container_default.rulesResultsContainer }, /* @__PURE__ */ React69.createElement("div", { className: rules_results_container_default.resultsHeading }, /* @__PURE__ */ React69.createElement("h2", null, "Rules")), children), /* @__PURE__ */ React69.createElement("script", { dangerouslySetInnerHTML: { __html: getCollapsibleScript() } }));
3145
3039
  }
3146
3040
  );
3147
3041
 
@@ -3158,31 +3052,19 @@ var SummaryReportDetailsSection = NamedFC(
3158
3052
  (props) => {
3159
3053
  const { scanMetadata, toUtcString, secondsToTimeString } = props;
3160
3054
  const scanTimespan = scanMetadata.timespan;
3161
- const createListItem = (label, content, icon, className) => icon ? /* @__PURE__ */ React70.createElement("li", {
3162
- key: label,
3163
- className
3164
- }, /* @__PURE__ */ React70.createElement("span", {
3165
- className: summary_report_details_section_default.icon
3166
- }, icon), /* @__PURE__ */ React70.createElement("span", {
3167
- className: summary_report_details_section_default.label
3168
- }, `${label} `), /* @__PURE__ */ React70.createElement("span", {
3169
- className: summary_report_details_section_default.text
3170
- }, content)) : /* @__PURE__ */ React70.createElement("li", {
3171
- key: label,
3172
- className
3173
- }, /* @__PURE__ */ React70.createElement("span", {
3174
- className: (0, import_react6.css)(summary_report_details_section_default.noIcon, summary_report_details_section_default.label)
3175
- }, `${label} `), /* @__PURE__ */ React70.createElement("span", {
3176
- className: summary_report_details_section_default.text
3177
- }, content));
3055
+ const createListItem = (label, content, icon, className) => icon ? /* @__PURE__ */ React70.createElement("li", { key: label, className }, /* @__PURE__ */ React70.createElement("span", { className: summary_report_details_section_default.icon }, icon), /* @__PURE__ */ React70.createElement("span", { className: summary_report_details_section_default.label }, `${label} `), /* @__PURE__ */ React70.createElement("span", { className: summary_report_details_section_default.text }, content)) : /* @__PURE__ */ React70.createElement("li", { key: label, className }, /* @__PURE__ */ React70.createElement("span", { className: (0, import_react6.css)(summary_report_details_section_default.noIcon, summary_report_details_section_default.label) }, `${label} `), /* @__PURE__ */ React70.createElement("span", { className: summary_report_details_section_default.text }, content));
3178
3056
  const listItems = [];
3179
3057
  listItems.push(
3180
3058
  createListItem(
3181
3059
  "Target site",
3182
- /* @__PURE__ */ React70.createElement(NewTabLinkWithConfirmationDialog, {
3183
- href: scanMetadata.targetAppInfo.url,
3184
- title: scanMetadata.targetAppInfo.name
3185
- }, scanMetadata.targetAppInfo.url),
3060
+ /* @__PURE__ */ React70.createElement(
3061
+ NewTabLinkWithConfirmationDialog,
3062
+ {
3063
+ href: scanMetadata.targetAppInfo.url,
3064
+ title: scanMetadata.targetAppInfo.name
3065
+ },
3066
+ scanMetadata.targetAppInfo.url
3067
+ ),
3186
3068
  /* @__PURE__ */ React70.createElement(UrlIcon, null),
3187
3069
  summary_report_details_section_default.targetSite
3188
3070
  )
@@ -3197,32 +3079,20 @@ var SummaryReportDetailsSection = NamedFC(
3197
3079
  const duration = secondsToTimeString(scanTimespan.durationSeconds);
3198
3080
  listItems.push(createListItem("Duration", duration));
3199
3081
  }
3200
- return /* @__PURE__ */ React70.createElement("div", {
3201
- className: summary_report_details_section_default.crawlDetailsSection
3202
- }, /* @__PURE__ */ React70.createElement("h2", null, "Scan details"), /* @__PURE__ */ React70.createElement("ul", {
3203
- className: summary_report_details_section_default.crawlDetailsSectionList
3204
- }, listItems));
3082
+ return /* @__PURE__ */ React70.createElement("div", { className: summary_report_details_section_default.crawlDetailsSection }, /* @__PURE__ */ React70.createElement("h2", null, "Scan details"), /* @__PURE__ */ React70.createElement("ul", { className: summary_report_details_section_default.crawlDetailsSectionList }, listItems));
3205
3083
  }
3206
3084
  );
3207
3085
 
3208
3086
  // src/reports/components/report-sections/summary-report-header-section.tsx
3209
3087
  var React71 = __toESM(require("react"));
3210
3088
  var SummaryReportHeaderSection = NamedFC("SummaryReportHeaderSection", () => {
3211
- return /* @__PURE__ */ React71.createElement("header", null, /* @__PURE__ */ React71.createElement(HeaderBar, {
3212
- headerText: brand
3213
- }));
3089
+ return /* @__PURE__ */ React71.createElement("header", null, /* @__PURE__ */ React71.createElement(HeaderBar, { headerText: brand }));
3214
3090
  });
3215
3091
 
3216
3092
  // src/reports/components/summary-report-head.tsx
3217
3093
  var React72 = __toESM(require("react"));
3218
3094
  var SummaryReportHead = NamedFC("SummaryReportHead", () => {
3219
- return /* @__PURE__ */ React72.createElement("head", null, /* @__PURE__ */ React72.createElement("meta", {
3220
- charSet: "UTF-8"
3221
- }), /* @__PURE__ */ React72.createElement("title", null, brand, " automated checks result"), /* @__PURE__ */ React72.createElement("style", {
3222
- dangerouslySetInnerHTML: { __html: styleSheet }
3223
- }), /* @__PURE__ */ React72.createElement("style", {
3224
- dangerouslySetInnerHTML: { __html: styleSheet2 }
3225
- }));
3095
+ return /* @__PURE__ */ React72.createElement("head", null, /* @__PURE__ */ React72.createElement("meta", { charSet: "UTF-8" }), /* @__PURE__ */ React72.createElement("title", null, brand, " automated checks result"), /* @__PURE__ */ React72.createElement("style", { dangerouslySetInnerHTML: { __html: styleSheet } }), /* @__PURE__ */ React72.createElement("style", { dangerouslySetInnerHTML: { __html: styleSheet2 } }));
3226
3096
  });
3227
3097
 
3228
3098
  // src/reports/components/report-sections/combined-report-section-factory.ts
@@ -3259,17 +3129,12 @@ var CollapsibleUrlResultSection = NamedFC(
3259
3129
  const { containerId, deps, content } = props;
3260
3130
  const CollapsibleContent = deps.collapsibleControl({
3261
3131
  id: containerId,
3262
- header: /* @__PURE__ */ React73.createElement(ResultSectionTitle, {
3263
- ...props,
3264
- titleSize: "heading"
3265
- }),
3132
+ header: /* @__PURE__ */ React73.createElement(ResultSectionTitle, { ...props, titleSize: "heading" }),
3266
3133
  content,
3267
3134
  headingLevel: 3,
3268
3135
  deps: null
3269
3136
  });
3270
- return /* @__PURE__ */ React73.createElement("div", {
3271
- className: collapsible_url_result_section_default.urlResultSection
3272
- }, CollapsibleContent);
3137
+ return /* @__PURE__ */ React73.createElement("div", { className: collapsible_url_result_section_default.urlResultSection }, CollapsibleContent);
3273
3138
  }
3274
3139
  );
3275
3140
 
@@ -3296,10 +3161,7 @@ var SummaryResultsTable = NamedFC(
3296
3161
  };
3297
3162
  const getTableHeaders = () => {
3298
3163
  return /* @__PURE__ */ React74.createElement("tr", null, columns.map((column, index) => {
3299
- return /* @__PURE__ */ React74.createElement("th", {
3300
- key: index,
3301
- id: getHeaderId(index)
3302
- }, column.header);
3164
+ return /* @__PURE__ */ React74.createElement("th", { key: index, id: getHeaderId(index) }, column.header);
3303
3165
  }));
3304
3166
  };
3305
3167
  const getCellClassName = (colIndex) => {
@@ -3307,23 +3169,22 @@ var SummaryResultsTable = NamedFC(
3307
3169
  return cellClassNames[contentType];
3308
3170
  };
3309
3171
  const getRow = (row, rowIndex) => {
3310
- return /* @__PURE__ */ React74.createElement("tr", {
3311
- key: rowIndex
3312
- }, row.map((item, colIndex) => {
3313
- return /* @__PURE__ */ React74.createElement("td", {
3314
- key: colIndex,
3315
- headers: getHeaderId(colIndex),
3316
- className: getCellClassName(colIndex)
3317
- }, item);
3172
+ return /* @__PURE__ */ React74.createElement("tr", { key: rowIndex }, row.map((item, colIndex) => {
3173
+ return /* @__PURE__ */ React74.createElement(
3174
+ "td",
3175
+ {
3176
+ key: colIndex,
3177
+ headers: getHeaderId(colIndex),
3178
+ className: getCellClassName(colIndex)
3179
+ },
3180
+ item
3181
+ );
3318
3182
  }));
3319
3183
  };
3320
3184
  const getTableRows = () => {
3321
3185
  return rows.map(getRow);
3322
3186
  };
3323
- return /* @__PURE__ */ React74.createElement("table", {
3324
- className: summary_results_table_default.summaryResultsTable,
3325
- id: id2
3326
- }, /* @__PURE__ */ React74.createElement("thead", null, getTableHeaders()), /* @__PURE__ */ React74.createElement("tbody", null, getTableRows()));
3187
+ return /* @__PURE__ */ React74.createElement("table", { className: summary_results_table_default.summaryResultsTable, id: id2 }, /* @__PURE__ */ React74.createElement("thead", null, getTableHeaders()), /* @__PURE__ */ React74.createElement("tbody", null, getTableRows()));
3327
3188
  }
3328
3189
  );
3329
3190
 
@@ -3341,20 +3202,11 @@ var UrlScanResultsTable = NamedFC(
3341
3202
  ];
3342
3203
  const rows = results.map((result) => {
3343
3204
  const { url, reportLocation } = result;
3344
- const urlLink = /* @__PURE__ */ React75.createElement(NewTabLink, {
3345
- href: url
3346
- }, url);
3347
- const reportLink = /* @__PURE__ */ React75.createElement(NewTabLink, {
3348
- href: reportLocation,
3349
- "aria-label": `Report for ${url}`
3350
- }, "Report");
3205
+ const urlLink = /* @__PURE__ */ React75.createElement(NewTabLink, { href: url }, url);
3206
+ const reportLink = /* @__PURE__ */ React75.createElement(NewTabLink, { href: reportLocation, "aria-label": `Report for ${url}` }, "Report");
3351
3207
  return [`${result.numFailures}`, urlLink, reportLink];
3352
3208
  });
3353
- return /* @__PURE__ */ React75.createElement(SummaryResultsTable, {
3354
- columns,
3355
- rows,
3356
- id: props.id
3357
- });
3209
+ return /* @__PURE__ */ React75.createElement(SummaryResultsTable, { columns, rows, id: props.id });
3358
3210
  }
3359
3211
  );
3360
3212
 
@@ -3362,18 +3214,18 @@ var UrlScanResultsTable = NamedFC(
3362
3214
  var FailedUrlsSection = NamedFC(
3363
3215
  "FailedUrlsSection",
3364
3216
  ({ results, deps }) => {
3365
- const table = /* @__PURE__ */ React76.createElement(UrlScanResultsTable, {
3366
- results: results.failed,
3367
- id: "failed-urls-table"
3368
- });
3369
- return /* @__PURE__ */ React76.createElement(CollapsibleUrlResultSection, {
3370
- deps,
3371
- title: "Failed URLs",
3372
- outcomeType: "fail",
3373
- badgeCount: results.failed.length,
3374
- containerId: "failed-urls-section",
3375
- content: table
3376
- });
3217
+ const table = /* @__PURE__ */ React76.createElement(UrlScanResultsTable, { results: results.failed, id: "failed-urls-table" });
3218
+ return /* @__PURE__ */ React76.createElement(
3219
+ CollapsibleUrlResultSection,
3220
+ {
3221
+ deps,
3222
+ title: "Failed URLs",
3223
+ outcomeType: "fail",
3224
+ badgeCount: results.failed.length,
3225
+ containerId: "failed-urls-section",
3226
+ content: table
3227
+ }
3228
+ );
3377
3229
  }
3378
3230
  );
3379
3231
 
@@ -3391,37 +3243,29 @@ var UrlErrorsTable = NamedFC("UrlErrorsTable", (props) => {
3391
3243
  ];
3392
3244
  const rows = errors.map((scanError) => {
3393
3245
  const { errorDescription, errorType, url, errorLogLocation } = scanError;
3394
- const urlLink = /* @__PURE__ */ React77.createElement(NewTabLink, {
3395
- href: url
3396
- }, url);
3397
- const errorLogLink = /* @__PURE__ */ React77.createElement(NewTabLink, {
3398
- href: errorLogLocation
3399
- }, errorDescription);
3246
+ const urlLink = /* @__PURE__ */ React77.createElement(NewTabLink, { href: url }, url);
3247
+ const errorLogLink = /* @__PURE__ */ React77.createElement(NewTabLink, { href: errorLogLocation }, errorDescription);
3400
3248
  return [errorType, urlLink, errorLogLink];
3401
3249
  });
3402
- return /* @__PURE__ */ React77.createElement(SummaryResultsTable, {
3403
- columns,
3404
- rows,
3405
- id: props.id
3406
- });
3250
+ return /* @__PURE__ */ React77.createElement(SummaryResultsTable, { columns, rows, id: props.id });
3407
3251
  });
3408
3252
 
3409
3253
  // src/reports/components/report-sections/not-scanned-urls-section.tsx
3410
3254
  var NotScannedUrlsSection = NamedFC(
3411
3255
  "NotScannedUrlsSection",
3412
3256
  ({ results, deps }) => {
3413
- const table = /* @__PURE__ */ React78.createElement(UrlErrorsTable, {
3414
- errors: results.unscannable,
3415
- id: "not-scanned-urls-table"
3416
- });
3417
- return /* @__PURE__ */ React78.createElement(CollapsibleUrlResultSection, {
3418
- deps,
3419
- title: "Not scanned URLs",
3420
- outcomeType: "unscannable",
3421
- badgeCount: results.unscannable.length,
3422
- containerId: "not-scanned-urls-section",
3423
- content: table
3424
- });
3257
+ const table = /* @__PURE__ */ React78.createElement(UrlErrorsTable, { errors: results.unscannable, id: "not-scanned-urls-table" });
3258
+ return /* @__PURE__ */ React78.createElement(
3259
+ CollapsibleUrlResultSection,
3260
+ {
3261
+ deps,
3262
+ title: "Not scanned URLs",
3263
+ outcomeType: "unscannable",
3264
+ badgeCount: results.unscannable.length,
3265
+ containerId: "not-scanned-urls-section",
3266
+ content: table
3267
+ }
3268
+ );
3425
3269
  }
3426
3270
  );
3427
3271
 
@@ -3430,18 +3274,18 @@ var React79 = __toESM(require("react"));
3430
3274
  var PassedUrlsSection = NamedFC(
3431
3275
  "PassedUrlsSection",
3432
3276
  ({ results, deps }) => {
3433
- const table = /* @__PURE__ */ React79.createElement(UrlScanResultsTable, {
3434
- results: results.passed,
3435
- id: "passed-urls-table"
3436
- });
3437
- return /* @__PURE__ */ React79.createElement(CollapsibleUrlResultSection, {
3438
- deps,
3439
- title: "Passed URLs",
3440
- outcomeType: "pass",
3441
- badgeCount: results.passed.length,
3442
- containerId: "passed-urls-section",
3443
- content: table
3444
- });
3277
+ const table = /* @__PURE__ */ React79.createElement(UrlScanResultsTable, { results: results.passed, id: "passed-urls-table" });
3278
+ return /* @__PURE__ */ React79.createElement(
3279
+ CollapsibleUrlResultSection,
3280
+ {
3281
+ deps,
3282
+ title: "Passed URLs",
3283
+ outcomeType: "pass",
3284
+ badgeCount: results.passed.length,
3285
+ containerId: "passed-urls-section",
3286
+ content: table
3287
+ }
3288
+ );
3445
3289
  }
3446
3290
  );
3447
3291
 
@@ -3455,13 +3299,7 @@ var results_by_url_container_default = { "urlResultsContainer": "url-results-con
3455
3299
  var ResultsByUrlContainer = NamedFC(
3456
3300
  "ResultsContainer",
3457
3301
  ({ children, getCollapsibleScript }) => {
3458
- return /* @__PURE__ */ React80.createElement(React80.Fragment, null, /* @__PURE__ */ React80.createElement("div", {
3459
- className: results_by_url_container_default.urlResultsContainer
3460
- }, /* @__PURE__ */ React80.createElement("div", {
3461
- className: results_by_url_container_default.resultsHeading
3462
- }, /* @__PURE__ */ React80.createElement("h2", null, "Results by URL")), children), /* @__PURE__ */ React80.createElement("script", {
3463
- dangerouslySetInnerHTML: { __html: getCollapsibleScript() }
3464
- }));
3302
+ return /* @__PURE__ */ React80.createElement(React80.Fragment, null, /* @__PURE__ */ React80.createElement("div", { className: results_by_url_container_default.urlResultsContainer }, /* @__PURE__ */ React80.createElement("div", { className: results_by_url_container_default.resultsHeading }, /* @__PURE__ */ React80.createElement("h2", null, "Results by URL")), children), /* @__PURE__ */ React80.createElement("script", { dangerouslySetInnerHTML: { __html: getCollapsibleScript() } }));
3465
3303
  }
3466
3304
  );
3467
3305
 
@@ -3481,9 +3319,7 @@ var SummaryReportSummarySection = NamedFC(
3481
3319
  notScannedUrlsCount: results.unscannable.length,
3482
3320
  failureInstancesCount: failedInstances
3483
3321
  };
3484
- return /* @__PURE__ */ React81.createElement(UrlsSummarySection, {
3485
- ...urlsSummarySectionProps
3486
- });
3322
+ return /* @__PURE__ */ React81.createElement(UrlsSummarySection, { ...urlsSummarySectionProps });
3487
3323
  }
3488
3324
  );
3489
3325
 
@@ -3766,9 +3602,7 @@ var ReportHtmlGenerator = class {
3766
3602
  sectionFactory: this.sectionFactory,
3767
3603
  ...detailsProps
3768
3604
  };
3769
- const bodyElement = /* @__PURE__ */ React82.createElement(ReportBody, {
3770
- ...props
3771
- });
3605
+ const bodyElement = /* @__PURE__ */ React82.createElement(ReportBody, { ...props });
3772
3606
  const bodyMarkup = this.reactStaticRenderer.renderToStaticMarkup(bodyElement);
3773
3607
  return '<!DOCTYPE html><html lang="en">' + headMarkup + bodyMarkup + "</html>";
3774
3608
  }
@@ -3801,9 +3635,7 @@ var SummaryReportHtmlGenerator = class {
3801
3635
  sectionFactory: this.sectionFactory,
3802
3636
  ...detailsProps
3803
3637
  };
3804
- const bodyElement = /* @__PURE__ */ React83.createElement(ReportBody, {
3805
- ...props
3806
- });
3638
+ const bodyElement = /* @__PURE__ */ React83.createElement(ReportBody, { ...props });
3807
3639
  const bodyMarkup = this.reactStaticRenderer.renderToStaticMarkup(bodyElement);
3808
3640
  return '<!DOCTYPE html><html lang="en">' + headMarkup + bodyMarkup + "</html>";
3809
3641
  }
@@ -3920,6 +3752,7 @@ var accessibleNamesConfiguration = {
3920
3752
  ],
3921
3753
  rule: {
3922
3754
  id: accessibleNamesCheckId,
3755
+ //this list of roles and elements was derived from the ARIA 1.2 documentation (Section 5.2.8.4: Roles supporting name from author or content): https://www.w3.org/TR/wai-aria-1.2/#namefromauthor
3923
3756
  selector: "[role=alert], [role=alertdialog], [role=application], [role=article], article, [role=banner], [role=blockquote], blockquote, [role=button], button, [role=cell], [role=checkbox], [role=columnheader], [role=combobox], [role=command], [role=complementary], [role=composite], [role=contentinfo], [role=definition], [role=dialog], [role=directory],[role=document], [role=feed], [role=figure], figure, [role=form], form,[role=grid], table, [role=gridcell], td, [role=group], fieldset, [role=heading], h1,h2, h3, h4, h5, h6, [role=img],img,[role=input], [role=landmark], [role=link], a, link, [role=list], [role=listbox], [role=listitem],li, ol, ul, [role=log], [role=main], [role=marquee],[role=math], [role=meter], meter,[role=menu], [role=menubar], [role=menuitem], [role=menuitemcheckbox], [role=menuitemradio], [role=navigation], nav, [role=note], [role=option], option, [role=progressbar], [role=radio], [role=radiogroup], [role=range], [role=region], [role=row], tr, [role=rowgroup], [role=rowheader], th, [role=scrollbar], [role=searchbox], [role=search], [role=select], select, [role=sectionhead],section, [role=separator], hr, [role=slider], [role=status], [role=spinbutton, [role=switch], [role=tab], [role=table], [role=tablelist], [role=tabpanel], [role=term], td, [role=textbox], textarea, th, [role=time], time, [role=timer], [role=toolbar], [role=tooltip], [role=tree], [role=treegrid], [role=treeitem], input,[role=input],[role=window]",
3924
3757
  enabled: false,
3925
3758
  any: [accessibleNamesCheckId],
@@ -4605,6 +4438,7 @@ var textContrastConfiguration = {
4605
4438
  };
4606
4439
  function evaluateTextContrast(node, options, virtualNode, context) {
4607
4440
  const checkResult = getEvaluateFromCheck("color-contrast").call(
4441
+ // tslint:disable-next-line:no-invalid-this
4608
4442
  this,
4609
4443
  node,
4610
4444
  options,
@@ -5051,6 +4885,7 @@ var guidelineMetadata = {
5051
4885
  link: "https://www.w3.org/WAI/WCAG21/Understanding/images-of-text.html",
5052
4886
  guidanceTags: []
5053
4887
  },
4888
+ // wcag146: intentionally omitted, AAA
5054
4889
  "WCAG 1.4.10": {
5055
4890
  number: "1.4.10",
5056
4891
  axeTag: "wcag1410",
@@ -5132,6 +4967,8 @@ var guidelineMetadata = {
5132
4967
  link: "https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide",
5133
4968
  guidanceTags: []
5134
4969
  },
4970
+ // wcag223: intentionally omitted, AAA
4971
+ // wcag224: intentionally omitted, AAA
5135
4972
  "WCAG 2.3.1": {
5136
4973
  number: "2.3.1",
5137
4974
  axeTag: "wcag231",
@@ -5204,6 +5041,8 @@ var guidelineMetadata = {
5204
5041
  link: "https://www.w3.org/WAI/WCAG21/Understanding/focus-visible.html",
5205
5042
  guidanceTags: []
5206
5043
  },
5044
+ // wcag248: intentionally omitted, AAA
5045
+ // wcag249: intentionally omitted, AAA
5207
5046
  "WCAG 2.5.1": {
5208
5047
  number: "2.5.1",
5209
5048
  axeTag: "wcag251",
@@ -5303,6 +5142,7 @@ var guidelineMetadata = {
5303
5142
  link: "https://www.w3.org/WAI/WCAG21/Understanding/consistent-identification",
5304
5143
  guidanceTags: []
5305
5144
  },
5145
+ // wcag325: intentionally omitted, AAA
5306
5146
  "WCAG 3.3.1": {
5307
5147
  number: "3.3.1",
5308
5148
  axeTag: "wcag331",
@@ -5630,26 +5470,32 @@ var FixInstructionProcessor = class {
5630
5470
  constructor() {
5631
5471
  this.colorValueMatcher = `(#[0-9a-f]{6})`;
5632
5472
  this.foregroundColorText = "foreground color: ";
5473
+ // the following warnings can be disabled because the values are actually constant strings and the string template is used merely for ease of reading
5474
+ // eslint-disable-next-line security/detect-non-literal-regexp
5633
5475
  this.foregroundRegExp = new RegExp(
5634
5476
  `${this.foregroundColorText}${this.colorValueMatcher}`,
5635
5477
  "i"
5636
5478
  );
5637
5479
  this.backgroundColorText = "background color: ";
5480
+ // eslint-disable-next-line security/detect-non-literal-regexp
5638
5481
  this.backgroundRegExp = new RegExp(
5639
5482
  `${this.backgroundColorText}${this.colorValueMatcher}`,
5640
5483
  "i"
5641
5484
  );
5642
5485
  this.foregroundRecommendedColorText = "Use foreground color: ";
5486
+ // eslint-disable-next-line security/detect-non-literal-regexp
5643
5487
  this.foregroundRecommendedRegExp = new RegExp(
5644
5488
  `${this.foregroundRecommendedColorText}${this.colorValueMatcher}`,
5645
5489
  "i"
5646
5490
  );
5647
5491
  this.backgroundRecommendedColorText = "Use background color: ";
5492
+ // eslint-disable-next-line security/detect-non-literal-regexp
5648
5493
  this.backgroundRecommendedRegExp = new RegExp(
5649
5494
  `${this.backgroundRecommendedColorText}${this.colorValueMatcher}`,
5650
5495
  "i"
5651
5496
  );
5652
5497
  this.contrastRatioText = "Expected contrast ratio of ";
5498
+ // eslint-disable-next-line security/detect-non-literal-regexp
5653
5499
  this.contrastRatioRegExp = new RegExp(`${this.contrastRatioText}`, "i");
5654
5500
  this.originalMiddleSentence = " and the original foreground color: ";
5655
5501
  }
@@ -5659,6 +5505,10 @@ var FixInstructionProcessor = class {
5659
5505
  processAsNoop(fixInstruction) {
5660
5506
  return /* @__PURE__ */ React84.createElement(React84.Fragment, null, fixInstruction);
5661
5507
  }
5508
+ // We perform this replacement because what axe-core exposes as a "relatedNodes" property
5509
+ // is presented in our cards views as a "Related paths" row. This only comes up in practice
5510
+ // with the aria-required-children rule and is likely to be obsoleted with the resolution of
5511
+ // https://github.com/dequelabs/axe-core/issues/3842
5662
5512
  tryProcessAsRelatedNodesReference(input) {
5663
5513
  if (!input.endsWith(" (see related nodes)")) {
5664
5514
  return null;
@@ -5781,12 +5631,7 @@ var FixInstructionProcessor = class {
5781
5631
  return this.addRecommendationsToResults(results, recommendations);
5782
5632
  }
5783
5633
  addRecommendationsToResults(results, recommendations) {
5784
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, results, /* @__PURE__ */ React84.createElement("ul", {
5785
- key: "recommendations-list",
5786
- "data-automation-id": recommendationsAutomationId
5787
- }, recommendations.map((rec, idx) => /* @__PURE__ */ React84.createElement("li", {
5788
- key: `recommendation-${idx}`
5789
- }, rec))));
5634
+ return /* @__PURE__ */ React84.createElement(React84.Fragment, null, results, /* @__PURE__ */ React84.createElement("ul", { key: "recommendations-list", "data-automation-id": recommendationsAutomationId }, recommendations.map((rec, idx) => /* @__PURE__ */ React84.createElement("li", { key: `recommendation-${idx}` }, rec))));
5790
5635
  }
5791
5636
  getInstructionWithBoxes(matches6, fixInstruction) {
5792
5637
  let insertionIndex = 0;
@@ -5795,32 +5640,27 @@ var FixInstructionProcessor = class {
5795
5640
  matches6.forEach((match) => {
5796
5641
  const endIndex = match.splitIndex - match.colorHexValue.length;
5797
5642
  const substring = fixInstruction.substring(insertionIndex, endIndex);
5798
- result.push(/* @__PURE__ */ React84.createElement("span", {
5799
- key: `instruction-split-${keyIndex++}`
5800
- }, substring));
5643
+ result.push(/* @__PURE__ */ React84.createElement("span", { key: `instruction-split-${keyIndex++}` }, substring));
5801
5644
  result.push(this.createColorBox(match.colorHexValue, keyIndex++));
5802
5645
  insertionIndex = endIndex;
5803
5646
  });
5804
5647
  const coda = fixInstruction.substr(insertionIndex);
5805
- result.push(/* @__PURE__ */ React84.createElement("span", {
5806
- key: `instruction-split-${keyIndex++}`
5807
- }, coda));
5648
+ result.push(/* @__PURE__ */ React84.createElement("span", { key: `instruction-split-${keyIndex++}` }, coda));
5808
5649
  return result;
5809
5650
  }
5810
5651
  getInstructionWithAndWithoutBoxes(matches6, fixInstruction) {
5811
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement("span", {
5812
- "aria-hidden": "true"
5813
- }, this.getInstructionWithBoxes(matches6, fixInstruction)), /* @__PURE__ */ React84.createElement("span", {
5814
- className: fix_instruction_color_box_default.screenReaderOnly
5815
- }, fixInstruction));
5652
+ return /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement("span", { "aria-hidden": "true" }, this.getInstructionWithBoxes(matches6, fixInstruction)), /* @__PURE__ */ React84.createElement("span", { className: fix_instruction_color_box_default.screenReaderOnly }, fixInstruction));
5816
5653
  }
5817
5654
  createColorBox(colorHexValue, keyIndex) {
5818
- return /* @__PURE__ */ React84.createElement("span", {
5819
- "aria-hidden": true,
5820
- key: `instruction-split-${keyIndex}`,
5821
- className: fix_instruction_color_box_default.fixInstructionColorBox,
5822
- style: { backgroundColor: colorHexValue }
5823
- });
5655
+ return /* @__PURE__ */ React84.createElement(
5656
+ "span",
5657
+ {
5658
+ "aria-hidden": true,
5659
+ key: `instruction-split-${keyIndex}`,
5660
+ className: fix_instruction_color_box_default.fixInstructionColorBox,
5661
+ style: { backgroundColor: colorHexValue }
5662
+ }
5663
+ );
5824
5664
  }
5825
5665
  };
5826
5666
 
@@ -5835,7 +5675,7 @@ var DateProvider = class {
5835
5675
  }
5836
5676
  }
5837
5677
  static getCurrentDate() {
5838
- return new Date();
5678
+ return /* @__PURE__ */ new Date();
5839
5679
  }
5840
5680
  static getUTCStringFromDate(date) {
5841
5681
  const utcDateTime = import_luxon.DateTime.fromJSDate(date, { zone: "utc" });
@@ -5944,7 +5784,7 @@ function initializeFabricIcons() {
5944
5784
  // src/common/get-guidance-tags-from-guidance-links.ts
5945
5785
  var import_lodash15 = require("lodash");
5946
5786
  var GetGuidanceTagsFromGuidanceLinks = (links) => {
5947
- if ((0, import_lodash15.isArray)(links) === false) {
5787
+ if (!links || (0, import_lodash15.isArray)(links) === false) {
5948
5788
  return [];
5949
5789
  }
5950
5790
  const tags = [];