import { jsx, jsxs } from "react/jsx-runtime";
import { keyframes, styled } from "@mui/material";
import apollo_core from "@uipath/apollo-core";
const fadeInOut = keyframes`
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
`;
const LoadingContainer = styled('div')(()=>({
        display: 'flex',
        padding: `0 ${apollo_core.Spacing.SpacingBase}`,
        justifyContent: 'center',
        alignItems: 'center',
        alignSelf: 'center',
        width: '100%',
        color: 'var(--color-foreground)',
        position: 'relative',
        top: apollo_core.Spacing.SpacingXs
    }));
const DotsContainer = styled('div')({
    display: 'flex',
    gap: apollo_core.Spacing.SpacingXs,
    alignItems: 'center'
});
const Dot = styled('span')({
    fontSize: '18px',
    fontWeight: 'bold',
    animation: `${fadeInOut} 1.5s infinite`,
    opacity: 0,
    '&:nth-of-type(1)': {
        animationDelay: '0s'
    },
    '&:nth-of-type(2)': {
        animationDelay: '0.5s'
    },
    '&:nth-of-type(3)': {
        animationDelay: '1s'
    }
});
function AutopilotChatLoadingMessages() {
    return /*#__PURE__*/ jsx(LoadingContainer, {
        children: /*#__PURE__*/ jsxs(DotsContainer, {
            children: [
                /*#__PURE__*/ jsx(Dot, {
                    children: "."
                }),
                /*#__PURE__*/ jsx(Dot, {
                    children: "."
                }),
                /*#__PURE__*/ jsx(Dot, {
                    children: "."
                })
            ]
        })
    });
}
export { AutopilotChatLoadingMessages };
