<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ContextMenu?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.shape.SVGPath?>

<!-- Кнопка выбора языка -->
<Button id="lang" styleClass="icon-button">
    <graphic>
        <SVGPath content="M7.35715 4C5.78599 4 4.5 5.28599 4.5 6.85714V25.1428C4.5 26.714 5.78599 28 7.35715 28H25.6429C27.214 28 28.5 26.714 28.5 25.1428V6.85714C28.5 5.28599 27.214 4 25.6429 4H7.35715ZM7.35715 5.14286H25.6429C26.5963 5.14286 27.3571 5.90372 27.3571 6.85714V25.1428C27.3571 26.0963 26.5963 26.8571 25.6429 26.8571H7.35715C6.40373 26.8571 5.64285 26.0963 5.64285 25.1428V6.85714C5.64285 5.90372 6.40373 5.14286 7.35715 5.14286Z M7.5 7V20.5H12V25H25.5V11.5H21V7H7.5ZM9 8.5H19.5V11.9219L12.4219 19H9V8.5ZM12.75 10V10.75H10.5V12.25H14.2031C14.1064 13.1113 13.8428 13.791 13.4062 14.2656C13.1484 14.1807 12.917 14.0752 12.7266 13.9609C12.1992 13.6475 12 13.3135 12 13H10.5C10.5 13.8936 11.0508 14.6377 11.7891 15.1328C11.4199 15.2119 10.9922 15.25 10.5 15.25V16.75C11.8301 16.75 12.9375 16.4453 13.7812 15.8828C14.1738 15.9502 14.5723 16 15 16V14.5938C15.4072 13.9111 15.624 13.1143 15.7031 12.25H16.5V10.75H14.25V10H12.75ZM20.5781 13H24V23.5H13.5V20.0781L20.5781 13ZM19.5 14.3828L18.7969 16.5156L17.2969 21.0156L17.25 21.1328V22H18.75V21.3438L18.7734 21.25H20.2266L20.25 21.3438V22H21.75V21.1328L21.7031 21.0156L20.2031 16.5156L19.5 14.3828ZM19.5 19.0938L19.7109 19.75H19.2891L19.5 19.0938Z" styleClass="icon-button-color" />
    </graphic>
    <contextMenu>
        <ContextMenu id="langChoice">
        </ContextMenu>
    </contextMenu>
    <tooltip>
        <Tooltip anchorLocation="WINDOW_BOTTOM_LEFT" text="%runtime.scenes.login.langTooltip" />
    </tooltip>
</Button>