# frozen_string_literal: true

module Blacklight
  module Icons
    class EsriGlobeComponent < Blacklight::Icons::IconComponent
      self.svg = svg

      def svg
        <<~SVG
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
          	<defs>
          		<radialGradient id="a" cx="34%" cy="40.72%" r="35.46%" fx="34%" fy="40.72%" gradientTransform="matrix(1 0 0 .98795 0 0)">
          			<stop offset="0%" stop-color="#B9E0F7"/>
          			<stop offset="100%" stop-color="#007AC2"/>
          		</radialGradient>
          		<radialGradient id="b" cx="71.47%" cy="60.49%" r="97.2%" fx="71.47%" fy="60.49%" gradientTransform="matrix(1 0 0 .80435 0 .12)">
          			<stop offset="0%" stop-color="#B2D234"/>
          			<stop offset="96.07%" stop-color="#009E46"/>
          			<stop offset="100%" stop-color="#009E46"/>
          		</radialGradient>
          		<radialGradient id="c" cx="95.67%" cy="-55.71%" r="150.38%" fx="95.67%" fy="-55.71%" gradientTransform="matrix(1 0 0 .9091 0 -.05)">
          			<stop offset="0%" stop-color="#B2D234"/>
          			<stop offset="96.07%" stop-color="#009E46"/>
          			<stop offset="100%" stop-color="#009E46"/>
          		</radialGradient>
          		<radialGradient id="d" cx="-3.52%" cy="2.76%" r="143.09%" fx="-3.52%" fy="2.76%" gradientTransform="matrix(1 0 0 .63636 0 .01)">
          			<stop offset="0%" stop-color="#B2D234"/>
          			<stop offset="96.07%" stop-color="#009E46"/>
          			<stop offset="100%" stop-color="#009E46"/>
          		</radialGradient>
          	</defs>
          	<g fill="none" fill-rule="nonzero">
          		<title>#{title}</title>
          	<path fill="#FFF" d="M98 50a48 48 0 1 1-96 0 48 48 0 0 1 96 0"/>
          		<path fill="url(#a)" d="M7 49.5C7 72.42 25.36 91 48 91s41-18.58 41-41.5S70.64 8 48 8 7 26.58 7 49.5" transform="translate(2 1)"/>
          		<path fill="url(#b)" d="M30.85 17.86a84.8 84.8 0 0 0-9.28 1.04A42.81 42.81 0 0 0 7 49.95c2.44 2.64 5.65 8.6 9.37 12.05.49-.22 1.02-.42 1.59-.6-1.82-2.17-4.37-5.05-4.75-6.38-1.88-6.5.3-12.58 4.99-13.06 4.2-.43 7.81-6.87 10.78-11.08 6.1-8.68 15.47-7.23 15-11.57-.54-2.54-2-3.31-3.86-3.31-2.8 0-6.49 1.75-9.27 1.86" transform="translate(2 1)"/>
          		<path fill="url(#c)" d="M20.2 58.04c-.6.18-1.2.34-1.75.52-.5.14-.9.34-1.58.59-1.5.7-2.58 1.76-2.83 4.03-.46 4.11 3.31 7.34 6.49 8.29 4.03 1.2 4.37-.2 6.48 2.76 1.48 2.08 1.76 5.92 2.52 8.46.42 1.41.99 2.82 1.67 4.2A39.37 39.37 0 0 0 40.33 90c.8-4.88.44-11.47 1.49-14.31 2.15-5.83 3.37-8.4.46-14.42-6.4-1.88-8.35-2.47-14.8-3.85a14.27 14.27 0 0 0-2.89-.42c-1.14 0-2.09.34-4.4 1.04" transform="translate(2 1)"/>
          		<path fill="url(#d)" d="M59.5 26.32c-1.91 2.73-8.6 3.48-10.74 6.56-1.67 2.4.06 7.11-1.4 9.84-.66 1.25-.35 4.9.46 6.08 2.57 3.76 6.85 1.67 10.07 3.02 3.92 1.65 4.37 6.22 7.62 9.57 3.26 3.35-4.16 8.5 1.9 20.69A8.6 8.6 0 0 0 69.62 85a41.3 41.3 0 0 0 10.67-9.62c.92-6.15-1.15-8.12 1.44-13.75 1.59-3.48 4.32-9.49 7.27-13.56-.5-11.41-5.6-21.61-13.48-28.79a6.6 6.6 0 0 1-2.97.01c-1.1-.2-2.1-.29-3-.29-6.08 0-7.89 4.2-10.06 7.32" transform="translate(2 1)"/>
          		<path fill="#000" d="M45.56 95.06c-1.37-.79-3.09-2.01-4.7-3.08-.66.59-1.2 1.46-1.73 2.16 1.84.63 4.32.69 6.43.92m-7.24-4.95c-2.93-2.2-10.2-9.14-13.2-13.33-1.11.66-2.34 2.44-3.94 2.75-.63.12-2.05.3-2.47.12-.42-.18.1-1.07.55-1.66a19.66 19.66 0 0 1 3.6-3.68c-3.58-5.28-5.28-9.15-7.72-15.52-1.4.88-2.43 1.67-3.65 2.66-.42.32-1.55.53-2.1.03-1-.9-1.02-2.5.38-3.5.58-.42 3.44-2.41 4.11-2.97a85.6 85.6 0 0 1-3.62-15.32 41.22 41.22 0 0 1-3.29 2.51c-.66.2-1.1-.02-1.3-.05-.67 7.23.1 15.19 2.24 22.38 3.66 12.36 13.95 24.14 27.83 28.53.32-.49 1.92-2.35 2.58-2.95M9.83 35.94l-.38-6.34c-1.95 4.27-3.12 6.85-3.66 11.83a41.05 41.05 0 0 1 4.04-5.5M30.66 5.36C38.72 2 46.57.15 55.63 1.4c1 .14.93 1-.15 1.01l-1.27.03c-7.3.12-18.04 2.45-23.59 5.62-.12 3.74.59 9.67 1.33 14.34a76.09 76.09 0 0 1 18.77-5 69.38 69.38 0 0 0-8.48-7.4c-.55-.4-.82-1.07-.82-1.94.07-1.62 1.46-1.82 2.2-1.63 2.47-.49 4.92-1.02 9.1-.9 17.65-.78 33.78 9.28 39.93 20.76 15.6 24.85.01 59.13-20.4 68.26-8.74 3.9-16.23 5.6-30.04 3.65-13.83-1.94-25.14-8.76-33.92-23.08-10.82-17.65-4.73-38.2-3.2-42.52 6.5-15.47 17.18-23.68 25.57-27.24m-18.25 18.8c-.24 1.87.01 5.3.47 9.4 3.76-3.38 11.01-7.8 17.08-10.49-.7-4.65-1.45-12.08-1.38-14.05-5.6 3.1-11.76 9.33-16.27 15.72m.93 12.57c.53 3.69 2.28 11.65 3.87 15.68 3.75-2.85 12.26-8.13 17.07-10.27-1.68-6.18-2.82-10.08-3.76-16.32-6.8 3.05-14 7.79-17.18 10.91m5.33 19.25c2.23 6.41 4.39 11.3 7.2 15.34a81.36 81.36 0 0 1 15.21-9.93c-1.7-3.69-4.15-10.57-5.86-15.73a92.96 92.96 0 0 0-16.55 10.32m9.31 18.14a99.1 99.1 0 0 0 12.8 13.44 62.89 62.89 0 0 1 11.1-7.32c-2.94-4.59-7.28-11.25-9.1-15.35a55.4 55.4 0 0 0-14.8 9.23m15.04 15.43c1.39 1.42 6.9 5.09 6.9 5.09 3.65.16 8.28-.28 11.58-.86-1.82-2.09-6.37-8.57-7.75-10.75a48.15 48.15 0 0 0-10.73 6.52m22.33 3.29a56.4 56.4 0 0 0 7.57-3.42c.23-3.84.2-8.2.04-10.8a48.2 48.2 0 0 0-15.98 3.15 81.28 81.28 0 0 0 8.37 11.07m10.19-4.84c3.73-2.34 7.24-5.04 9.78-8.28-2.19-.55-7.08-1.22-9.5-1.07 0 0-.08 5.86-.28 9.35m10.95-9.78c.7-.71 1.76-2.22 2.17-3.1.41-3.56.42-10.86.27-13-4.26-1.73-10.85-3.11-15.66-3.47 1.57 5.79 2.35 14.3 2.47 17.07 2.3.24 8.13 1.43 10.75 2.5m6.26-16.52c-.2.67-1.37 1.35-1.92 1.18.08 1.2-.2 7.14-.5 9.44.81-1.7 2.38-5.9 2.85-7.69l.66-2.61c.66-2.22 2.8-9.9.86-20-2.15-11.22-6.18-15.23-7.59-17.01-3.58-1.96-9-3.74-9-3.74 4.92 6.7 6.62 9.84 9.55 17.82 1.7.89 4.8 2.61 5.18 3.09.31.37.31 1.04-.65 1.03-.81 0-2.38-.79-3.59-1.11 1.3 4.34 2.29 12.45 2.21 17.89 0 0 2.13 1.04 1.94 1.71m-8.21-40.43c-6.81-8.4-22.22-15.55-39.37-14.47 3.83 2.55 7.02 6.39 9.82 9.55 4.28-.4 13.28.32 16.66 1.26-.58-.68-1.29-1.36-1.47-1.77-.48-1.04.68-1.26 1.6-.66 1.18.75 2.53 1.66 3.6 2.76 2 .45 6.89 2.14 9.16 3.33M88.8 59.7c-.3-5.42-1.12-12.65-3.11-17.69-5.28-2.14-12.5-3.47-18.83-3.53 1.95 4.6 4.22 12.27 5.33 17.2 4.58.56 11.74 1.87 16.6 4.02M73.96 20.96a79.33 79.33 0 0 0-16.9-1.1c3.53 4.9 6.11 9.18 8.53 15.28 6.54.16 15.41 2.13 19.05 3.57-2.17-5.84-6.3-13.24-10.68-17.75M44.03 60.53a55.63 55.63 0 0 1 24.94-5c-2.35-8.19-3.7-12-5.7-16.98a63.62 63.62 0 0 0-25.14 6.34s2.74 8.87 5.9 15.64m25.82-1.54c-9.74-.12-18.24 2.23-24.05 5.1 2.46 5.35 7.33 12.43 9.15 15.34a50.06 50.06 0 0 1 9.2-2.5c2.65-.4 6.17-.8 8.55-.76A87.28 87.28 0 0 0 69.85 59M37.03 41.52a77.02 77.02 0 0 1 24.96-6.3 55.41 55.41 0 0 0-8.92-14.9 67.59 67.59 0 0 0-20.5 5.16c.88 4.7 2.55 10.37 4.46 16.04"/>
          	</g>
          </svg>
        SVG
      end

      def title
        key = "blacklight.icon.#{name}"
        t(key)
      end
    end
  end
end
