import React from 'react';
import { Path, Mask, Rect } from 'react-native-svg';
import type { IllustrationSvgProps } from '../types';
import BaseSvg from '../BaseSvg';

const Boom = ({
  stroke,
  fill,
  testID,
  width,
  height,
}: IllustrationSvgProps) => {
  return (
    <BaseSvg width={width} height={height} testID={testID}>
      <Path
        d="M17.762 51.247v12.16L2.996 41.693v-3.91l2.172-2.17h3.474l-.868-2.172-1.738-6.515 2.606-2.605 2.606-2.172-.434-6.514 4.343-1.303 3.908 1.303 3.475-2.606h4.343l6.514 9.989h-5.646c-3.33 9.265-9.989 27.882-9.989 28.229z"
        fill={fill}
      />
      <Mask
        id="a"
        maskUnits="userSpaceOnUse"
        x={0}
        y={10.4197}
        width={74}
        height={68}
        fill="#000"
      >
        <Path fill="#fff" d="M0 10.4197H74V78.4197H0z" />
        <Path d="M6.684 50.157c.67 1.054 1.425 2.303 2.257 3.66 3.266 5.374 7.329 12.056 10.944 15.345.266.245.542.453.81.67 2.999 3.275 6.912 5.515 10.585 6.704 2.71.882 5.316 1.308 7.818 1.308 7.238 0 13.572-3.637 18.566-10.758a9.692 9.692 0 011.9-2.004l11.314-9.035a5.593 5.593 0 002.094-3.845 5.582 5.582 0 00-1.298-4.18c-1.945-2.316-5.537-2.606-7.99-.647l-6.46 5.166c-.244.186-.556.222-.682.14-.068-.045-.15-.185-.2-.438v-.778c.037-.371.127-.833.326-1.426l3.045-9.436h-.014l4.158-12.866c.959-2.954-.67-6.139-3.624-7.098a5.492 5.492 0 00-3.556.059c.29-1.276.15-2.606-.461-3.778a5.572 5.572 0 00-3.289-2.791c-2.954-.959-6.139.67-7.098 3.624l-.407 1.262a5.558 5.558 0 00-2.814-2.072c-2.954-.95-6.139.67-7.098 3.623l-.832 2.584-5.791-9.116c-1.67-2.62-5.153-3.407-7.781-1.737a5.618 5.618 0 00-2.235 2.777c-.8-1.031-1.91-1.773-3.208-2.063a5.608 5.608 0 00-4.252.743c-2.62 1.669-3.407 5.152-1.737 7.78l.705 1.118a5.608 5.608 0 00-3.393.846 5.583 5.583 0 00-2.479 3.533 5.608 5.608 0 00.742 4.253l1.76 2.768a5.61 5.61 0 00-3.393.846 5.583 5.583 0 00-2.479 3.534 5.608 5.608 0 00.742 4.252l4.805 7.473zM4.892 36.816a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.75 10.622c.172.267.43.44.719.511-.683 2.57-1.172 5.004-1.276 7.008-.081 1.67.06 3.23.349 4.714-1.819-2.687-3.601-5.605-5.094-8.07-.833-1.367-1.597-2.63-2.28-3.697L3.86 41.412a3.331 3.331 0 01-.439-2.502 3.291 3.291 0 011.47-2.094zm1.91-9.31c.198-.87.705-1.598 1.46-2.073a3.314 3.314 0 014.574 1.018l7.483 11.78c-.892 2.584-1.855 5.411-2.674 8.175L11.42 36.6l-4.18-6.592a3.264 3.264 0 01-.439-2.502zm5.88-11.812a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.682 10.527-2.085 6.438c-.173.543-.372 1.122-.58 1.75l-6.487-10.215-3.13-4.949c-.973-1.538-.525-3.6 1.026-4.573zm9.673-1.462c1.538-.986 3.6-.52 4.587 1.018l3.904 6.148c-1.172-.185-2.375-.022-3.452.534a5.534 5.534 0 00-2.465 2.538l-3.592-5.65a3.342 3.342 0 011.018-4.588zM54.9 47.958l-.439 1.357a9.392 9.392 0 00-.43 2.005c.014.348.014.696 0 1.04.118 1.09.593 1.715 1.01 2.072.045.045.104.09.149.127.276.199.592.325.927.393.833.186 1.774-.022 2.56-.624l6.452-5.153c1.484-1.18 3.623-1.031 4.772.326.58.697.856 1.565.765 2.466a3.301 3.301 0 01-1.226 2.27l-11.314 9.035a11.756 11.756 0 00-2.353 2.488c-6.17 8.803-14.173 11.685-23.786 8.582-.2-.068-.407-.14-.602-.222a23.216 23.216 0 01-4.253-2.013c-1.75-1.054-3.429-2.375-4.854-3.963-2.723-3.045-4.542-7.066-4.306-12.056.126-2.687 1.09-6.415 2.248-10.156.29-.95.602-1.91.914-2.85.267-.801.534-1.575.787-2.34.163-.474.326-.95.488-1.401.09-.276.2-.557.29-.824.068-.199.127-.38.199-.579.439-1.298.855-2.488 1.194-3.533l1.493-4.61.923-2.868.326-.986a3.308 3.308 0 011.647-1.937 3.321 3.321 0 014.682 3.963l-.303.95-1.701 5.28-.462 1.434-.51 1.43-.937 2.881c-.023.09-.023.172-.037.267-.045.52.254 1.031.778 1.194a1.161 1.161 0 001.462-.742l.117-.357.326-.995.29-.905.036-.09.045-.14.461-1.426.082-.253 2.524-7.804.045-.15.014-.022.453-1.411v-.023l.452-1.412.013-.022 1.425-4.402a3.34 3.34 0 014.18-2.144 3.34 3.34 0 012.145 4.18l-3.117 9.636-.461 1.434-.453 1.389-1.47 4.528-.778 2.42a1.161 1.161 0 001.1 1.52c.022 0 .035-.013.058-.013.045 0 .09-.014.14-.023a.9.9 0 00.267-.081c.045-.023.09-.045.127-.068.081-.045.15-.104.222-.172.036-.036.067-.059.09-.09.09-.105.163-.231.208-.371l1.018-3.14.905-2.778.37-1.135.372-1.158 1.203-3.705 1.226-3.8 1.194-3.683.172-.534.602-1.854 1.031-3.185a3.34 3.34 0 014.18-2.145c.846.276 1.53.855 1.937 1.647.407.787.475 1.692.208 2.538l-.728 2.248-.43 1.308-.068.208-.439 1.357-1.841 5.687-2.895 8.962-1.679 5.198a1.161 1.161 0 001.1 1.52 1.16 1.16 0 001.099-.801l.325-1.018.037-.127 1.538-4.772 2.352-7.261.326-.996.914-2.814 1.122-3.487.244-.751a3.32 3.32 0 014.18-2.131 3.325 3.325 0 012.13 4.18L57.426 40.21l-1.737 5.375-.2.624-.588 1.75z" />
      </Mask>
      <Path
        d="M6.684 50.157c.67 1.054 1.425 2.303 2.257 3.66 3.266 5.374 7.329 12.056 10.944 15.345.266.245.542.453.81.67 2.999 3.275 6.912 5.515 10.585 6.704 2.71.882 5.316 1.308 7.818 1.308 7.238 0 13.572-3.637 18.566-10.758a9.692 9.692 0 011.9-2.004l11.314-9.035a5.593 5.593 0 002.094-3.845 5.582 5.582 0 00-1.298-4.18c-1.945-2.316-5.537-2.606-7.99-.647l-6.46 5.166c-.244.186-.556.222-.682.14-.068-.045-.15-.185-.2-.438v-.778c.037-.371.127-.833.326-1.426l3.045-9.436h-.014l4.158-12.866c.959-2.954-.67-6.139-3.624-7.098a5.492 5.492 0 00-3.556.059c.29-1.276.15-2.606-.461-3.778a5.572 5.572 0 00-3.289-2.791c-2.954-.959-6.139.67-7.098 3.624l-.407 1.262a5.558 5.558 0 00-2.814-2.072c-2.954-.95-6.139.67-7.098 3.623l-.832 2.584-5.791-9.116c-1.67-2.62-5.153-3.407-7.781-1.737a5.618 5.618 0 00-2.235 2.777c-.8-1.031-1.91-1.773-3.208-2.063a5.608 5.608 0 00-4.252.743c-2.62 1.669-3.407 5.152-1.737 7.78l.705 1.118a5.608 5.608 0 00-3.393.846 5.583 5.583 0 00-2.479 3.533 5.608 5.608 0 00.742 4.253l1.76 2.768a5.61 5.61 0 00-3.393.846 5.583 5.583 0 00-2.479 3.534 5.608 5.608 0 00.742 4.252l4.805 7.473zM4.892 36.816a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.75 10.622c.172.267.43.44.719.511-.683 2.57-1.172 5.004-1.276 7.008-.081 1.67.06 3.23.349 4.714-1.819-2.687-3.601-5.605-5.094-8.07-.833-1.367-1.597-2.63-2.28-3.697L3.86 41.412a3.331 3.331 0 01-.439-2.502 3.291 3.291 0 011.47-2.094zm1.91-9.31c.198-.87.705-1.598 1.46-2.073a3.314 3.314 0 014.574 1.018l7.483 11.78c-.892 2.584-1.855 5.411-2.674 8.175L11.42 36.6l-4.18-6.592a3.264 3.264 0 01-.439-2.502zm5.88-11.812a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.682 10.527-2.085 6.438c-.173.543-.372 1.122-.58 1.75l-6.487-10.215-3.13-4.949c-.973-1.538-.525-3.6 1.026-4.573zm9.673-1.462c1.538-.986 3.6-.52 4.587 1.018l3.904 6.148c-1.172-.185-2.375-.022-3.452.534a5.534 5.534 0 00-2.465 2.538l-3.592-5.65a3.342 3.342 0 011.018-4.588zM54.9 47.958l-.439 1.357a9.392 9.392 0 00-.43 2.005c.014.348.014.696 0 1.04.118 1.09.593 1.715 1.01 2.072.045.045.104.09.149.127.276.199.592.325.927.393.833.186 1.774-.022 2.56-.624l6.452-5.153c1.484-1.18 3.623-1.031 4.772.326.58.697.856 1.565.765 2.466a3.301 3.301 0 01-1.226 2.27l-11.314 9.035a11.756 11.756 0 00-2.353 2.488c-6.17 8.803-14.173 11.685-23.786 8.582-.2-.068-.407-.14-.602-.222a23.216 23.216 0 01-4.253-2.013c-1.75-1.054-3.429-2.375-4.854-3.963-2.723-3.045-4.542-7.066-4.306-12.056.126-2.687 1.09-6.415 2.248-10.156.29-.95.602-1.91.914-2.85.267-.801.534-1.575.787-2.34.163-.474.326-.95.488-1.401.09-.276.2-.557.29-.824.068-.199.127-.38.199-.579.439-1.298.855-2.488 1.194-3.533l1.493-4.61.923-2.868.326-.986a3.308 3.308 0 011.647-1.937 3.321 3.321 0 014.682 3.963l-.303.95-1.701 5.28-.462 1.434-.51 1.43-.937 2.881c-.023.09-.023.172-.037.267-.045.52.254 1.031.778 1.194a1.161 1.161 0 001.462-.742l.117-.357.326-.995.29-.905.036-.09.045-.14.461-1.426.082-.253 2.524-7.804.045-.15.014-.022.453-1.411v-.023l.452-1.412.013-.022 1.425-4.402a3.34 3.34 0 014.18-2.144 3.34 3.34 0 012.145 4.18l-3.117 9.636-.461 1.434-.453 1.389-1.47 4.528-.778 2.42a1.161 1.161 0 001.1 1.52c.022 0 .035-.013.058-.013.045 0 .09-.014.14-.023a.9.9 0 00.267-.081c.045-.023.09-.045.127-.068.081-.045.15-.104.222-.172.036-.036.067-.059.09-.09.09-.105.163-.231.208-.371l1.018-3.14.905-2.778.37-1.135.372-1.158 1.203-3.705 1.226-3.8 1.194-3.683.172-.534.602-1.854 1.031-3.185a3.34 3.34 0 014.18-2.145c.846.276 1.53.855 1.937 1.647.407.787.475 1.692.208 2.538l-.728 2.248-.43 1.308-.068.208-.439 1.357-1.841 5.687-2.895 8.962-1.679 5.198a1.161 1.161 0 001.1 1.52 1.16 1.16 0 001.099-.801l.325-1.018.037-.127 1.538-4.772 2.352-7.261.326-.996.914-2.814 1.122-3.487.244-.751a3.32 3.32 0 014.18-2.131 3.325 3.325 0 012.13 4.18L57.426 40.21l-1.737 5.375-.2.624-.588 1.75z"
        fill={stroke}
      />
      <Path
        d="M6.684 50.157c.67 1.054 1.425 2.303 2.257 3.66 3.266 5.374 7.329 12.056 10.944 15.345.266.245.542.453.81.67 2.999 3.275 6.912 5.515 10.585 6.704 2.71.882 5.316 1.308 7.818 1.308 7.238 0 13.572-3.637 18.566-10.758a9.692 9.692 0 011.9-2.004l11.314-9.035a5.593 5.593 0 002.094-3.845 5.582 5.582 0 00-1.298-4.18c-1.945-2.316-5.537-2.606-7.99-.647l-6.46 5.166c-.244.186-.556.222-.682.14-.068-.045-.15-.185-.2-.438v-.778c.037-.371.127-.833.326-1.426l3.045-9.436h-.014l4.158-12.866c.959-2.954-.67-6.139-3.624-7.098a5.492 5.492 0 00-3.556.059c.29-1.276.15-2.606-.461-3.778a5.572 5.572 0 00-3.289-2.791c-2.954-.959-6.139.67-7.098 3.624l-.407 1.262a5.558 5.558 0 00-2.814-2.072c-2.954-.95-6.139.67-7.098 3.623l-.832 2.584-5.791-9.116c-1.67-2.62-5.153-3.407-7.781-1.737a5.618 5.618 0 00-2.235 2.777c-.8-1.031-1.91-1.773-3.208-2.063a5.608 5.608 0 00-4.252.743c-2.62 1.669-3.407 5.152-1.737 7.78l.705 1.118a5.608 5.608 0 00-3.393.846 5.583 5.583 0 00-2.479 3.533 5.608 5.608 0 00.742 4.253l1.76 2.768a5.61 5.61 0 00-3.393.846 5.583 5.583 0 00-2.479 3.534 5.608 5.608 0 00.742 4.252l4.805 7.473zM4.892 36.816a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.75 10.622c.172.267.43.44.719.511-.683 2.57-1.172 5.004-1.276 7.008-.081 1.67.06 3.23.349 4.714-1.819-2.687-3.601-5.605-5.094-8.07-.833-1.367-1.597-2.63-2.28-3.697L3.86 41.412a3.331 3.331 0 01-.439-2.502 3.291 3.291 0 011.47-2.094zm1.91-9.31c.198-.87.705-1.598 1.46-2.073a3.314 3.314 0 014.574 1.018l7.483 11.78c-.892 2.584-1.855 5.411-2.674 8.175L11.42 36.6l-4.18-6.592a3.264 3.264 0 01-.439-2.502zm5.88-11.812a3.331 3.331 0 012.502-.44c.869.2 1.597.707 2.072 1.462l6.682 10.527-2.085 6.438c-.173.543-.372 1.122-.58 1.75l-6.487-10.215-3.13-4.949c-.973-1.538-.525-3.6 1.026-4.573zm9.673-1.462c1.538-.986 3.6-.52 4.587 1.018l3.904 6.148c-1.172-.185-2.375-.022-3.452.534a5.534 5.534 0 00-2.465 2.538l-3.592-5.65a3.342 3.342 0 011.018-4.588zM54.9 47.958l-.439 1.357a9.392 9.392 0 00-.43 2.005c.014.348.014.696 0 1.04.118 1.09.593 1.715 1.01 2.072.045.045.104.09.149.127.276.199.592.325.927.393.833.186 1.774-.022 2.56-.624l6.452-5.153c1.484-1.18 3.623-1.031 4.772.326.58.697.856 1.565.765 2.466a3.301 3.301 0 01-1.226 2.27l-11.314 9.035a11.756 11.756 0 00-2.353 2.488c-6.17 8.803-14.173 11.685-23.786 8.582-.2-.068-.407-.14-.602-.222a23.216 23.216 0 01-4.253-2.013c-1.75-1.054-3.429-2.375-4.854-3.963-2.723-3.045-4.542-7.066-4.306-12.056.126-2.687 1.09-6.415 2.248-10.156.29-.95.602-1.91.914-2.85.267-.801.534-1.575.787-2.34.163-.474.326-.95.488-1.401.09-.276.2-.557.29-.824.068-.199.127-.38.199-.579.439-1.298.855-2.488 1.194-3.533l1.493-4.61.923-2.868.326-.986a3.308 3.308 0 011.647-1.937 3.321 3.321 0 014.682 3.963l-.303.95-1.701 5.28-.462 1.434-.51 1.43-.937 2.881c-.023.09-.023.172-.037.267-.045.52.254 1.031.778 1.194a1.161 1.161 0 001.462-.742l.117-.357.326-.995.29-.905.036-.09.045-.14.461-1.426.082-.253 2.524-7.804.045-.15.014-.022.453-1.411v-.023l.452-1.412.013-.022 1.425-4.402a3.34 3.34 0 014.18-2.144 3.34 3.34 0 012.145 4.18l-3.117 9.636-.461 1.434-.453 1.389-1.47 4.528-.778 2.42a1.161 1.161 0 001.1 1.52c.022 0 .035-.013.058-.013.045 0 .09-.014.14-.023a.9.9 0 00.267-.081c.045-.023.09-.045.127-.068.081-.045.15-.104.222-.172.036-.036.067-.059.09-.09.09-.105.163-.231.208-.371l1.018-3.14.905-2.778.37-1.135.372-1.158 1.203-3.705 1.226-3.8 1.194-3.683.172-.534.602-1.854 1.031-3.185a3.34 3.34 0 014.18-2.145c.846.276 1.53.855 1.937 1.647.407.787.475 1.692.208 2.538l-.728 2.248-.43 1.308-.068.208-.439 1.357-1.841 5.687-2.895 8.962-1.679 5.198a1.161 1.161 0 001.1 1.52 1.16 1.16 0 001.099-.801l.325-1.018.037-.127 1.538-4.772 2.352-7.261.326-.996.914-2.814 1.122-3.487.244-.751a3.32 3.32 0 014.18-2.131 3.325 3.325 0 012.13 4.18L57.426 40.21l-1.737 5.375-.2.624-.588 1.75z"
        stroke={stroke}
        mask="url(#a)"
      />
      <Rect
        x={37.6458}
        width={2.60578}
        height={7.81735}
        rx={1.30289}
        transform="rotate(2.496 37.646 0)"
        fill={stroke}
      />
      <Rect
        x={45.5715}
        y={2.60578}
        width={2.60578}
        height={7.81734}
        rx={1.30289}
        transform="rotate(23 45.572 2.606)"
        fill={stroke}
      />
      <Rect
        width={2.60578}
        height={7.81735}
        rx={1.30289}
        transform="scale(-1 1) rotate(23 -22.347 -77.062)"
        fill={stroke}
      />
    </BaseSvg>
  );
};

export default Boom;
