import * as React from 'react'
import type { SVGProps, Ref } from 'react'
import { useLightLogo } from '../utils'
const SvgDarkWithRedFalcon = (
    props: SVGProps<SVGSVGElement>,
    ref: Ref<SVGSVGElement>
) =>
    useLightLogo() ? (
        <svg
            width="84"
            height="30"
            fill="none"
            xmlns="http://www.w3.org/2000/svg"
        >
            <path
                d="M68.887 18.928c.923 0 1.701.72 1.701 1.672 0 .97-.778 1.691-1.7 1.691-.923 0-1.701-.72-1.701-1.672 0-.97.768-1.69 1.7-1.69Zm0 3.123c.788 0 1.423-.624 1.423-1.45 0-.808-.635-1.433-1.423-1.433-.787 0-1.422.625-1.422 1.451a1.403 1.403 0 0 0 1.422 1.432Zm-.634-2.402h.711c.471 0 .692.173.692.557 0 .346-.23.5-.519.529l.558.864h-.298l-.538-.835h-.346v.835h-.27v-1.95h.01Zm.27.865h.336c.269 0 .528-.01.528-.317 0-.27-.23-.308-.442-.308h-.423v.625ZM2.095 22.032v3.277L0 25.683v-11.8h2.095c.317-.115.624-.192.922-.25.298-.047.596-.076.894-.076 1.25 0 2.277.394 3.065 1.182.788.788 1.182 1.816 1.182 3.075 0 1.326-.423 2.373-1.268 3.161-.846.788-1.98 1.182-3.412 1.182-.172 0-.365-.01-.576-.029-.221-.02-.49-.048-.807-.096Zm0-6.678v5.121c.22.068.432.116.644.144.201.03.403.049.595.049.817 0 1.46-.26 1.951-.779.49-.519.73-1.21.73-2.085 0-.807-.23-1.46-.682-1.95-.452-.5-1.047-.74-1.778-.74a4.706 4.706 0 0 0-1.46.24Zm10.032 6.447h-2.124V9.607l2.123-.374V21.8Zm8.273.375-.144-.615a8.214 8.214 0 0 1-1.24.452c-.384.096-.74.153-1.076.153-1.21 0-2.19-.384-2.94-1.153-.75-.768-1.124-1.777-1.124-3.017s.403-2.287 1.22-3.132c.807-.846 1.787-1.278 2.94-1.278.327 0 .654.038 1 .124a7.42 7.42 0 0 1 1.095.375l1.893-.192v5.525c0 .423.02.836.067 1.23.048.394.106.788.192 1.163l-1.883.365Zm-.452-2.2v-4.411a5.15 5.15 0 0 0-.816-.355 2.238 2.238 0 0 0-.663-.116c-.74 0-1.336.27-1.788.807-.451.538-.682 1.25-.682 2.143 0 .779.202 1.384.596 1.826.394.442.951.663 1.653.663.25 0 .509-.048.788-.144.297-.087.595-.221.912-.413Zm6.554 1.825h-2.095v-7.917h1.941v1.325c.433-.518.903-.912 1.413-1.162a3.587 3.587 0 0 1 1.662-.385c.894 0 1.576.24 2.047.721.461.48.701 1.182.701 2.105v5.304h-2.095V16.93c0-.49-.115-.856-.355-1.105-.24-.25-.596-.375-1.067-.375-.692 0-1.22.163-1.595.49-.375.327-.557.797-.557 1.412v4.45Zm10.926.5h-.24l-3.758-8.417h2.249l1.873 4.372 2.038-4.373h1.796l-3.959 8.418Zm5.102-11.358c0-.355.125-.653.365-.903s.538-.375.893-.375c.356 0 .654.125.894.375s.365.548.365.903c0 .346-.125.634-.365.875-.24.24-.538.365-.894.365-.355 0-.653-.125-.893-.365a1.175 1.175 0 0 1-.365-.875Zm2.325 10.858h-2.123v-7.918l2.123-.374V21.8Zm9.657-2.306-.211 1.903c-.615.26-1.182.451-1.7.567a6.386 6.386 0 0 1-1.5.182c-1.24 0-2.268-.403-3.075-1.22-.807-.817-1.22-1.845-1.22-3.104 0-1.249.403-2.277 1.22-3.094.807-.817 1.836-1.22 3.075-1.22 1.134 0 2.037.317 2.72.941.682.635 1.028 1.47 1.028 2.508 0 .145-.01.375-.03.692-.009.048-.009.087-.009.116l-.202.326-5.698.202c.048.692.298 1.23.72 1.614.433.385 1.01.577 1.74.577.442 0 .903-.077 1.394-.23.48-.135 1.066-.395 1.748-.76Zm-5.583-2.354 3.93-.183v-.105c0-.49-.163-.894-.49-1.202-.326-.307-.749-.46-1.277-.46-.577 0-1.048.172-1.432.508-.375.347-.615.827-.73 1.442Zm10.513 5.16h-.23l-3.566-8.418h2.124l1.835 4.872 2.23-5.342h.346l1.893 5.342 2.046-4.872h1.768l-3.959 8.418h-.23l-2.018-4.93-2.239 4.93Z"
                fill="#fff"
            />
            <path
                d="M81.562 7.205c-1.028-.26-1.98-.48-1.98-.48l-5.592 3.401 8.475-1.508c.384-.068.557-.039.557-.039s-.298-1.086-1.46-1.374Z"
                fill="#E2251B"
            />
            <path
                d="M65.524 3.275c-.922-.23-1.066-.442-1.066-.442s-.096.51 1.412 1.576c1.509 1.067 3.421 2.412 5.439 3.834l2.68 1.883 5.593-3.41s-13.126-3.21-14.058-3.44Z"
                fill="#B60001"
            />
            <path
                d="M68.715 10.078c-1.25.904-1.576.548-1.576.548s.23.663 1.393.461 5.458-.97 5.458-.97-1.192-.836-2.681-1.874c-.433.307-1.345.932-2.594 1.835Z"
                fill="#780009"
            />
        </svg>
    ) : (
        <svg
            xmlns="http://www.w3.org/2000/svg"
            viewBox="0 0 120 34"
            xmlSpace="preserve"
            ref={ref}
            {...props}
        >
            <path d="M3.3 27.8v4.7l-3 .5V16.1h3c.5-.2.9-.3 1.3-.4.4-.1.9-.1 1.3-.1 1.8 0 3.3.6 4.4 1.7 1.1 1.1 1.7 2.6 1.7 4.4 0 1.9-.6 3.4-1.8 4.5-1.2 1.1-2.8 1.7-4.9 1.7h-.8c-.4 0-.8-.1-1.2-.1zm0-9.6v7.3c.3.1.6.2.9.2.3 0 .6.1.9.1 1.2 0 2.1-.4 2.8-1.1.7-.7 1-1.7 1-3 0-1.2-.3-2.1-1-2.8-.6-.7-1.5-1.1-2.5-1.1-.3 0-.7 0-1 .1-.4.1-.8.2-1.1.3zm14.3 9.2h-3V10l3-.5v17.9zm11.8.6-.2-.9c-.6.3-1.2.5-1.8.6-.5.1-1.1.2-1.5.2-1.7 0-3.1-.6-4.2-1.7s-1.6-2.5-1.6-4.3c0-1.8.6-3.3 1.7-4.5 1.2-1.2 2.6-1.8 4.2-1.8.5 0 .9.1 1.4.2.5.1 1 .3 1.6.5l2.7-.3v8c0 .6 0 1.2.1 1.8.1.6.2 1.1.3 1.7l-2.7.5zm-.6-3.2v-6.3c-.4-.2-.8-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-.5-1.5-2.1-1.9z"
                style={{
                    fill: '#e2251b',
                }}
            />
            <path
                d="M93.9 1C92.6.7 92.4.4 92.4.4s-.1.7 2 2.3c2.2 1.5 4.9 3.5 7.8 5.5 2.1 1.5 3.8 2.7 3.8 2.7l8-4.9c0-.1-18.7-4.7-20.1-5z"
                style={{
                    fill: '#b60001',
                }}
            />
            <path
                d="M98.5 10.7c-1.8 1.3-2.2.8-2.2.8s.3 1 2 .7c1.7-.3 7.8-1.4 7.8-1.4s-1.7-1.2-3.8-2.7c-.7.4-2 1.3-3.8 2.6z"
                style={{
                    fill: '#780009',
                }}
            />
            <path d="M98.7 23.3c1.3 0 2.4 1 2.4 2.4s-1.1 2.4-2.4 2.4c-1.3 0-2.4-1-2.4-2.4 0-1.3 1.1-2.4 2.4-2.4zm0 4.5c1.1 0 2-.9 2-2.1 0-1.2-.9-2-2-2s-2 .9-2 2.1c0 1.1.9 2 2 2zm-.9-3.4h1c.7 0 1 .2 1 .8 0 .5-.3.7-.7.8l.8 1.2h-.4l-.8-1.2h-.5v1.2h-.4v-2.8zm.4 1.2h.5c.4 0 .8 0 .8-.5 0-.4-.3-.4-.6-.4h-.6v.9z" />
        </svg>
    )
export default React.forwardRef(SvgDarkWithRedFalcon)
