import { Keyframes } from "@antdv-next/cssinjs";
//#region components/style/motion/blink.ts
var blink = new Keyframes("antXBlink", {
	"0%": {
		backgroundPositionX: "-200%",
		backgroundPositionY: "100%"
	},
	"25%": {
		backgroundPositionX: "-100%",
		backgroundPositionY: "100%"
	},
	"50%": {
		backgroundPositionX: "-0%",
		backgroundPositionY: "100%"
	},
	"75%": {
		backgroundPositionX: "100%",
		backgroundPositionY: "100%"
	},
	"100%": {
		backgroundPositionX: "200%",
		backgroundPositionY: "100%"
	}
});
function blinkMotion(token, motionName) {
	const motionCls = motionName;
	return [blink, { [token.componentCls]: { [motionCls]: {
		backgroundClip: "text",
		color: token.colorTextBlinkDefault,
		WebkitBackgroundClip: "text",
		backgroundImage: `linear-gradient(90deg,transparent,${token.colorTextBlink},transparent)`,
		animationDuration: "1s",
		animationIterationCount: "infinite",
		animationTimingFunction: "linear",
		animationFillMode: "forwards",
		backgroundSize: "50%",
		backgroundRepeat: "no-repeat",
		animationName: blink
	} } }];
}
//#endregion
export { blink, blinkMotion };
