import { createUniqueId } from "solid-js";
import { svgAttrs, maskInner, type CentralIconBaseProps } from "../CentralIconBase";

export const IconChart5 = (props: CentralIconBaseProps) => {
  const maskId = "round-outlined-radius-0-stroke-1-IconChart5-" + createUniqueId();
  // Prevent reactive attributes from clearing innerHTML via a children update.
  // Keep innerHTML before children so SSR uses the SVG markup.
  return <svg {...svgAttrs({ ...props, ariaLabel: "chart-5, statistics, graph" })} innerHTML={maskInner("<path d=\"M9.17 20.5V11.5H3.5V20.5H9.17ZM9.17 20.5L9.17001 3.5H14.84V20.5M9.17 20.5H14.84M14.84 20.5H20.51V7.5H14.84L14.84 20.5Z\" stroke-linecap=\"square\" stroke-linejoin=\"round\" stroke=\"currentColor\"/>", maskId, props.mode)} children={null} />;
};

export default IconChart5;
