"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 BrowserBrave({
  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="M10.8024 2.30529C11.0943 2.64244 11.5437 2.79852 11.9818 2.71488C12.1916 2.67482 12.3674 2.66665 12.5115 2.68384C12.5936 2.69363 12.6394 2.70935 12.6597 2.71825C12.6669 2.72137 12.671 2.72365 12.673 2.72487C12.8684 2.92383 13.0618 3.12429 13.253 3.32636L13.1619 3.55396C13.0505 3.83227 13.0429 4.14134 13.1404 4.42482L13.4601 5.35491C13.2342 6.22657 13.0083 7.09833 12.7828 7.97021L13.993 8.28325L12.7828 7.97021C12.3809 9.5241 12.1145 10.5578 12.0491 10.8208C11.8806 11.4979 11.7602 11.8146 11.6369 12.0214C11.5341 12.194 11.391 12.3551 11.0251 12.6172C10.3712 13.0856 9.71448 13.5331 9.04388 13.99L9.04381 13.99L9.0438 13.99C8.73285 14.2019 8.41891 14.4157 8.1009 14.6347C8.05926 14.6634 8.02638 14.6853 8 14.7022C7.97363 14.6853 7.94074 14.6634 7.8991 14.6347C7.58109 14.4157 7.26716 14.2019 6.9562 13.99L6.95619 13.99C6.28556 13.5331 5.62879 13.0856 4.9749 12.6172C4.60901 12.3551 4.4659 12.194 4.36309 12.0214C4.23982 11.8146 4.11939 11.4979 3.95088 10.8208L3.95088 10.8208C3.88547 10.5579 3.61916 9.52423 3.22014 7.98165L3.22014 7.98165C2.99363 7.10596 2.76683 6.23039 2.53986 5.35492L2.85964 4.42482C2.95711 4.14134 2.94945 3.83227 2.83807 3.55396L2.74701 3.32642C2.93829 3.12426 3.13169 2.92376 3.32703 2.72488C3.32901 2.72366 3.33311 2.72138 3.34025 2.71825C3.36062 2.70935 3.40642 2.69363 3.4885 2.68384C3.63262 2.66665 3.80836 2.67482 4.0182 2.71488C4.45626 2.79852 4.90569 2.64244 5.19762 2.30529L6.11134 1.25H9.88866L10.8024 2.30529ZM13.2621 11.1226C13.3257 10.867 13.59 9.84123 13.993 8.28325C14.2201 7.40518 14.4475 6.52718 14.6752 5.64923L14.7393 5.40189C14.7558 5.33835 14.7532 5.27124 14.7319 5.2092L14.3224 4.0184L14.6297 3.25061C14.6773 3.13178 14.6526 2.99568 14.5456 2.87903C14.2237 2.52974 13.8957 2.18587 13.5628 1.84701C13.3322 1.61228 13.0221 1.48589 12.6596 1.44264C12.3559 1.40642 12.047 1.42986 11.7474 1.48706L10.5566 0.111749C10.495 0.0407088 10.4064 0 10.3134 0H5.68664C5.59355 0 5.50496 0.0407088 5.44345 0.111749L4.25263 1.48706C3.95303 1.42986 3.64411 1.40642 3.34045 1.44264C2.97788 1.48589 2.66775 1.61228 2.43717 1.84701C2.09705 2.19325 1.76216 2.54478 1.43339 2.90184C1.34735 2.99568 1.32273 3.13178 1.37028 3.25061L1.67756 4.0184L1.26815 5.2092C1.24682 5.27124 1.24423 5.33834 1.26071 5.40189L1.32484 5.64924C1.55344 6.531 1.78185 7.4128 2.00997 8.29469C2.41002 9.84124 2.67426 10.867 2.73788 11.1226C3.08417 12.5141 3.35889 12.9972 4.24695 13.6334C4.91296 14.1105 5.59007 14.5718 6.26714 15.0331C6.5752 15.243 6.88325 15.4529 7.19025 15.6643C7.34199 15.7687 7.45025 15.8357 7.56691 15.8909C7.71486 15.961 7.85643 16 8 16C8.14357 16 8.28514 15.961 8.43309 15.8909C8.54975 15.8357 8.65801 15.7687 8.80975 15.6643C9.11667 15.453 9.42465 15.2431 9.73263 15.0333L9.73285 15.0331L9.73289 15.0331C10.41 14.5718 11.0871 14.1105 11.753 13.6334C12.6411 12.9972 12.9158 12.5142 13.2621 11.1226ZM9.10514 10.8822C8.65233 10.6437 8.08806 10.5984 7.99999 10.5984C7.91193 10.5984 7.34763 10.6437 6.89488 10.8822C6.60121 11.0369 6.35998 11.0646 6.19808 11.0832C6.11034 11.0933 6.0459 11.1007 6.00903 11.1242C5.90415 11.1911 5.96809 11.3171 6.06365 11.3859C6.1592 11.4546 7.44312 12.4667 7.56775 12.5786C7.58365 12.5929 7.6005 12.6083 7.61806 12.6244C7.73813 12.7346 7.89138 12.8753 7.99999 12.8753C8.10857 12.8753 8.26171 12.7347 8.38178 12.6246C8.39939 12.6084 8.41629 12.5929 8.43224 12.5786C8.55684 12.4667 9.84079 11.4546 9.93634 11.3859C10.0319 11.3171 10.0958 11.1911 9.99096 11.1242C9.95409 11.1007 9.88965 11.0933 9.80192 11.0832C9.64001 11.0646 9.39879 11.0369 9.10514 10.8822ZM8.6426 3.13178C8.2754 3.00718 8.02477 3.00038 8.00174 3.00002L8 3C8 3 7.74296 3.00095 7.3574 3.13178C7.2795 3.15821 7.20029 3.18598 7.12189 3.21347C6.81224 3.32202 6.5152 3.42615 6.36137 3.42615C6.16859 3.42615 4.74231 3.33241 4.74231 3.33241C4.74231 3.33241 3.5 5.38676 3.5 5.83241C3.5 6.58728 3.8507 6.94009 4.35698 7.44942C4.47748 7.57065 4.6068 7.70075 4.74231 7.84725C4.75489 7.86085 4.7689 7.87518 4.78372 7.89036C4.91055 8.02016 5.09733 8.21131 4.96555 8.52879C4.95673 8.55003 4.94766 8.57163 4.93846 8.59355C4.79402 8.93747 4.61572 9.36201 4.84271 9.79224C5.0842 10.2499 5.49788 10.5554 5.76295 10.5049C6.02802 10.4543 6.65054 10.1231 6.87947 9.97187C7.10839 9.8206 7.83392 9.21144 7.83392 8.97836C7.83392 8.80406 7.38612 8.58232 7.1024 8.44183C7.00679 8.39449 6.92981 8.35637 6.89488 8.33241C6.75631 8.23736 6.00903 8.23176 6.00903 8.23176C6.00903 8.23176 5.82251 7.43745 6.00903 7.08054C6.05914 6.98461 6.1118 6.89935 6.16094 6.8198C6.29465 6.60332 6.40225 6.4291 6.36137 6.19736C6.30546 5.88048 6 5.83241 5.5 5.83241C4.87779 5.83241 4.73454 5.27713 4.66081 4.99136C4.63752 4.90107 4.62117 4.83768 4.59885 4.82721C4.50586 4.78354 4.5299 4.74197 4.81155 4.71479C4.84883 4.71119 4.89518 4.70618 4.94838 4.70042C5.29709 4.6627 5.94013 4.59314 6.25277 4.68185C6.31429 4.69931 6.38324 4.71832 6.45555 4.73825C6.80682 4.83508 7.23727 4.95374 7.27862 5.02215C7.28585 5.03412 7.29296 5.04442 7.29968 5.05414C7.33922 5.11138 7.36501 5.14872 7.32125 5.39198C7.30827 5.46413 7.28163 5.60577 7.24867 5.78098C7.15165 6.29677 6.99992 7.10347 6.9808 7.2845C6.97813 7.3098 6.9752 7.33421 6.97237 7.3577C6.94809 7.55939 6.93194 7.69361 7.16205 7.74716C7.18109 7.75159 7.2011 7.75627 7.22189 7.76112C7.48149 7.82177 7.86242 7.91077 8 7.91077C8.13753 7.91077 8.51816 7.82185 8.77777 7.7612C8.79868 7.75632 8.8188 7.75162 8.83795 7.74716C9.06803 7.69361 9.05188 7.5594 9.0276 7.35771C9.02477 7.33422 9.02184 7.30981 9.01916 7.2845C9.0001 7.10372 8.84875 6.299 8.75172 5.78311C8.71858 5.60692 8.69178 5.46442 8.67875 5.39198C8.63496 5.1487 8.66076 5.11138 8.70032 5.05412C8.70704 5.04441 8.71415 5.03412 8.72138 5.02215C8.76274 4.95374 9.19322 4.83507 9.54449 4.73823C9.61677 4.7183 9.6857 4.6993 9.7472 4.68185C10.0599 4.59314 10.703 4.66271 11.0516 4.70043C11.1048 4.70618 11.1512 4.71119 11.1884 4.71479C11.4701 4.74197 11.4941 4.78354 11.4011 4.82721C11.3791 4.83757 11.365 4.89966 11.3449 4.98834C11.2803 5.27321 11.1536 5.83241 10.5 5.83241C9.99096 5.83241 9.55591 5.83281 9.5 6.14969C9.46189 6.36571 9.59181 6.55389 9.73747 6.76486C9.8055 6.86339 9.87696 6.9669 9.93634 7.08054C10.1229 7.43745 9.93634 8.23176 9.93634 8.23176C9.93634 8.23176 9.15777 8.23736 9.01916 8.33241C8.98767 8.35402 8.92641 8.38715 8.85055 8.42816C8.59268 8.5676 8.16605 8.79829 8.16605 8.97836C8.16605 9.21144 8.89161 9.8206 9.12053 9.97187C9.34946 10.1231 9.97198 10.4543 10.2371 10.5049C10.5021 10.5554 10.9158 10.2499 11.1573 9.79224C11.3843 9.36197 11.206 8.9374 11.0615 8.59346C11.0523 8.57157 11.0432 8.55001 11.0344 8.52879C10.9027 8.21134 11.0894 8.0202 11.2162 7.8904C11.231 7.87521 11.2451 7.86086 11.2577 7.84725C11.3946 7.69923 11.5279 7.56669 11.6536 7.44181C12.1514 6.94689 12.5281 6.57243 12.5281 5.83241C12.5281 5.38676 11.2577 3.33241 11.2577 3.33241C11.2577 3.33241 9.83141 3.42615 9.63863 3.42615C9.4848 3.42615 9.18776 3.32202 8.87811 3.21347C8.79971 3.18598 8.7205 3.15821 8.6426 3.13178Z"
        fill="currentColor"
      />
    </svg>
  );
}
