"use client";

import React from "react";
import type { CSSProperties } from "react";

import { useIconSize } from "../contexts/IconSizeContext";

type Props = {
  size?: number;
  color?: string;
  style?: CSSProperties;
};

export default function SpeakerOffFill({
  color = "currentcolor",
  size,
  ...props
}: Props) {
  const iconSize = useIconSize();
  const height = size || iconSize.size;
  const width = size || iconSize.size;
  const style = { color, ...props.style };
  return (
    <svg
      {...props}
      data-testid="geist-icon"
      height={height}
      strokeLinejoin="round"
      style={style}
      viewBox="0 0 16 16"
      width={width}
    >
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M13.25 1.25L6.0515 4.72514C6.0176 4.7415 5.98045 4.75 5.94281 4.75H4.17705L1.33542 3.32918L0.664595 2.99377L-0.00622559 4.33542L0.664595 4.67083L14.6646 11.6708L15.3354 12.0062L16.0062 10.6646L15.3354 10.3292L13.25 9.28648V1.25ZM3 11.25H5.94281C5.98045 11.25 6.0176 11.2585 6.0515 11.2749L13.25 14.75V13.25L2.76 8H2.75V11C2.75 11.1381 2.86193 11.25 3 11.25Z"
        fill="currentColor"
      />
      <path
        d="M6.0515 4.72514L5.72544 4.04972L5.72544 4.04972L6.0515 4.72514ZM13.25 1.25H14V0.0551082L12.9239 0.574586L13.25 1.25ZM4.17705 4.75L3.84164 5.42082L4 5.5H4.17705V4.75ZM1.33542 3.32918L1.67083 2.65836V2.65836L1.33542 3.32918ZM0.664595 2.99377L1 2.32295L0.329185 1.98754L-0.00622562 2.65836L0.664595 2.99377ZM-0.00622559 4.33542L-0.677046 4.00001L-1.01246 4.67083L-0.341636 5.00624L-0.00622559 4.33542ZM0.664595 4.67083L1.00001 4L0.664595 4.67083ZM14.6646 11.6708L15 11H15L14.6646 11.6708ZM15.3354 12.0062L15 12.6771L15.6708 13.0125L16.0062 12.3416L15.3354 12.0062ZM16.0062 10.6646L16.6771 11L17.0125 10.3292L16.3416 9.99377L16.0062 10.6646ZM15.3354 10.3292L15.6708 9.65836H15.6708L15.3354 10.3292ZM13.25 9.28648H12.5V9.75L12.9146 9.9573L13.25 9.28648ZM6.0515 11.2749L6.37756 10.5994L6.37756 10.5994L6.0515 11.2749ZM13.25 14.75L12.9239 15.4254L14 15.9449V14.75H13.25ZM13.25 13.25H14V12.7867L13.5857 12.5793L13.25 13.25ZM2.76 8L3.09567 7.32931L2.9372 7.25H2.76V8ZM2.75 8V7.25H2V8H2.75ZM6.37756 5.40055L13.5761 1.92541L12.9239 0.574586L5.72544 4.04972L6.37756 5.40055ZM5.94281 5.5C6.09337 5.5 6.24198 5.46601 6.37756 5.40055L5.72544 4.04972C5.79323 4.017 5.86754 4 5.94281 4V5.5ZM4.17705 5.5H5.94281V4H4.17705V5.5ZM4.51246 4.07918L1.67083 2.65836L1.00001 4.00001L3.84164 5.42082L4.51246 4.07918ZM1.67083 2.65836L1 2.32295L0.329185 3.66459L1.00001 4.00001L1.67083 2.65836ZM-0.00622562 2.65836L-0.677046 4.00001L0.664595 4.67083L1.33542 3.32918L-0.00622562 2.65836ZM-0.341636 5.00624L0.329185 5.34165L1.00001 4L0.329185 3.66459L-0.341636 5.00624ZM0.329185 5.34165L14.3292 12.3416L15 11L1.00001 4L0.329185 5.34165ZM14.3292 12.3416L15 12.6771L15.6708 11.3354L15 11L14.3292 12.3416ZM16.0062 12.3416L16.6771 11L15.3354 10.3292L14.6646 11.6708L16.0062 12.3416ZM16.3416 9.99377L15.6708 9.65836L15 11L15.6708 11.3354L16.3416 9.99377ZM15.6708 9.65836L13.5854 8.61566L12.9146 9.9573L15 11L15.6708 9.65836ZM12.5 1.25V9.28648H14V1.25H12.5ZM5.94281 10.5H3V12H5.94281V10.5ZM6.37756 10.5994C6.24198 10.534 6.09337 10.5 5.94281 10.5V12C5.86753 12 5.79323 11.983 5.72545 11.9503L6.37756 10.5994ZM13.5761 14.0746L6.37756 10.5994L5.72544 11.9503L12.9239 15.4254L13.5761 14.0746ZM12.5 13.25V14.75H14V13.25H12.5ZM2.42433 8.67069L12.9143 13.9207L13.5857 12.5793L3.09567 7.32931L2.42433 8.67069ZM2.75 8.75H2.76V7.25H2.75V8.75ZM3.5 11V8H2V11H3.5ZM3 10.5C3.27614 10.5 3.5 10.7239 3.5 11H2C2 11.5523 2.44772 12 3 12V10.5Z"
        fill="currentColor"
      />
    </svg>
  );
}
