import React, { useState } from 'react'
import { v4 as uuid } from 'uuid'

const DefaultBlockImage: React.FC = () => {
  const [patternID] = useState(`pattern${uuid()}`)
  const [imageID] = useState(`image${uuid()}`)

  return (
    <svg fill="none" height="53" viewBox="0 0 82 53" width="82">
      <rect fill={`url(#${patternID})`} height="52.7791" width="80.574" x="0.713013" />
      <defs>
        <pattern height="1" id={`${patternID}`} patternContentUnits="objectBoundingBox" width="1">
          <use transform="scale(0.00387597 0.00591716)" xlinkHref={`#${imageID}`} />
        </pattern>
        <image
          height="169"
          id={imageID}
          width="258"
          xlinkHref="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQIAAACpCAYAAADA4zPJAAALpklEQVR4Ae2dSY/UOhSF+///DCSGHQuEgAVI7BBITAI2zCCGZuhmpqEBP53W8yOvK1UdO3Zyr/NFilJdXalyTo4/X984zlZgQQEUWLwCW4tXAAFQAAUCIMAEKIACgAAPoAAKBECACVAABQABHkABFAiAABOgAAoAAjyAAiggBbhqgA9QAAUAAR5AARQgIsADKIACdA3wAAqggBQgR4APUAAFAAEeQAEUICLAAyiAAnQN8AAKoIAUIEeAD1AABQABHkABFCAiwAMogAJ0DfAACqCAFCBHgA9QAAUAAR5AARQgIsADKIACdA3wAAqggBQgR4APUAAFAAEeQAEUICLAAyiAAnQN8AAKoIAUIEeAD1AABQABHkABFCAiwAMogAJ0DfAACqCAFCBHgA9QAAUAAR5AARQgIsADKIACdA3wAAqggBQgR4APUAAFAAEeQAEUICLAAyiAAnQN8AAKoIAUIEeAD1AABQABHkABFCAiwAMLVmB/fz98+/YtfPr0KXz48CHs7u6GnZ2dg+3Hjx/D169fw48fP8KfP3+aV4muQfOnmAPsKqDKr4r/9u3bsL29PXgVKPb29pqFAiDouoTXzSrw8+fPg5Y+pfL3ffbdu3fh+/fvzekECJo7pRxQVwGF9YoA+ir1mPfUhVB00coCCFo5kxzHigKqqGrBx1T4Tfu+efOmmegAEKzYhzdaUEBdAVXUTRW51P+UVPS+AALvZ5DyryigS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mCC"
        />
      </defs>
    </svg>
  )
}

export default DefaultBlockImage
