import { forwardRef } from "react";

export const Swords = forwardRef((props: any, ref) => (
  <path
    ref={ref}
    d="M151.218395,129.862561 L165.611531,144.255365 C171.568117,150.21195 171.397786,159.912151 165.4852,165.59074 C160.080013,170.782231 150.965952,171.755436 144.65961,165.723468 L144.398488,165.468075 L130.006351,151.075938 C131.723806,149.78606 135.675389,145.995174 139.718914,141.950112 L140.41259,141.254603 C140.52822,141.138409 140.643825,141.022113 140.759354,140.905766 L141.451236,140.207503 C146.052465,135.553983 150.374073,130.987712 151.218395,129.862561 Z M18.7785354,129.863228 C19.5985325,130.955079 23.5491842,135.137801 27.8877853,139.54119 L28.5756517,140.237878 L29.2675667,140.935722 C33.5529302,145.248573 37.9328677,149.483799 39.8559539,150.971367 L39.9922459,151.075272 L25.5994423,165.468408 C19.7508555,171.316662 10.234652,171.315995 4.3867318,165.468742 C-1.37617485,159.705835 -1.46092347,150.383037 4.13216708,144.515746 L4.38639847,144.255365 L18.7785354,129.863228 Z M144.042826,95.1143686 C150.354928,104.657627 149.462358,117.689935 141.162766,126.273296 L140.863203,126.577939 L126.721062,140.719746 C118.189221,149.251587 105.168681,150.258954 95.5914039,144.121936 L95.254825,143.902369 L144.042826,95.1143686 Z M25.9521042,95.111702 L74.7397717,143.900036 C65.1965137,150.211809 52.1638793,149.319235 43.5808332,141.019643 L43.2762011,140.72008 L29.1343941,126.577939 C20.5021785,117.945724 19.5725246,104.718571 25.9521042,95.111702 Z M169.85414,0.000333328784 L166.249189,39.1491324 L68.8075193,123.82531 L46.0291635,101.046954 L130.705675,3.60561746 L169.85414,0.000333328784 Z M118.079847,94.256047 L123.968433,101.046621 L101.190077,123.82531 L101.18751,123.823049 L101.17826,123.815 L101.175348,123.812465 L101.177,123.814 L101.168,123.806 L101.165273,123.803718 L101.158,123.797 L101.163,123.802 L101.157967,123.797338 L101.141609,123.7831 L101.132,123.775 L101.142,123.783 L101.124028,123.767812 L101.129833,123.772824 L101.11531,123.760209 L101.112,123.757 L101.107,123.753 C101.103688,123.750093 101.100841,123.747616 101.098052,123.745188 L101.093104,123.740891 L101.082,123.731 L101.091537,123.739484 L101.092,123.74 L101.089879,123.738074 L101.081,123.73 L101.071,123.722 L101.063116,123.71478 C101.059722,123.711826 101.056973,123.709433 101.055032,123.707745 C101.052754,123.705764 101.053449,123.706369 101.054429,123.707222 L101.042201,123.696532 C100.563905,123.280137 98.7297509,121.683433 92.6291942,116.372745 C95.4329612,113.935805 115.417139,96.5696344 117.998634,94.3266109 L118.079847,94.256047 Z M0.143456376,0 L39.2922554,3.60528413 L78.3750554,48.5796703 L50.9360965,80.1545728 L3.74874051,39.1487991 L0.143456376,0 Z"
    viewBox="0 0 170 170"
    {...props}
  />
));

export const Sword = forwardRef((props: any, ref) => (
  <path
    ref={ref}
    d="M0,146.806562 C0.00199218757,138.709315 9.81916051,134.641932 15.5443756,140.367811 L15.5443756,140.367811 L29.6331261,154.456562 C35.357013,160.180117 31.2883019,169.998945 23.1937118,170.000273 L23.1937118,170.000273 L14.9397466,170.000273 C10.8195707,170.000273 7.08820338,168.325508 4.38148453,165.618789 C1.67476569,162.91207 0,159.180703 0,155.060527 L0,155.060527 Z M36.6766687,119.239098 L50.7631922,133.325622 L36.6766687,147.412145 L22.5901451,133.325622 L36.6766687,119.239098 Z M29.63213,91.0641574 C35.4579505,85.2383368 44.9364469,85.2383368 50.7622674,91.0641574 L50.7622674,91.0641574 L78.9361161,119.238006 C84.7622687,125.063827 84.7622687,134.542323 78.9361161,140.368143 C76.991409,142.313183 73.8374441,142.313183 71.892737,140.368143 L71.892737,140.368143 L29.63213,98.1075365 C27.6874229,96.1628294 27.6874229,93.0088645 29.63213,91.0641574 Z M164.322272,0.0447595642 C167.424108,-0.402486546 170.40276,2.57583387 169.955182,5.67800195 L169.955182,5.67800195 L162.911803,54.9823201 C162.736158,56.2168124 162.099986,57.3417343 161.137096,58.1326327 L161.137096,58.1326327 L90.575472,116.790604 L75.4142605,101.629392 L121.196723,55.8469295 C123.143422,53.9005623 123.14309,50.7502497 121.196723,48.8035504 C119.250356,46.8568511 116.100043,46.8568511 114.153344,48.8035504 L114.153344,48.8035504 L68.3708814,94.586013 L53.2096699,79.4248015 L111.867973,8.86317785 C112.658871,7.89995516 113.783461,7.26378326 115.018285,7.08847075 L115.018285,7.08847075 Z"
    viewBox="0 0 170 170"
    {...props}
  />
));

export const WeaponIcons = [
  {
    component: Swords,
    name: "Swords",
    tags: ["sword", "swords", "moderation", "knight"],
    category: "weapon",
  },
  {
    component: Sword,
    name: "Sword",
    tags: ["sword", "moderation", "knight"],
    category: "weapon",
  },
];
