const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
let _pisell_materials = require("@pisell/materials");
require("./index.less");
//#region src/components/pay/toC/PayCountdown/index.tsx
/**
* @title: 支付倒计时
* @description:
* @param {*} param1
* @return {*}
* @Author: zhiwei.Wang
* @Date: 2024-08-16 10:51
*/
const PayCountdown = ({ time = 0 }) => {
	return /* @__PURE__ */ react.default.createElement("div", { className: "pay-countdown" }, /* @__PURE__ */ react.default.createElement("span", { className: "countdown-title" }, _pisell_utils.locales.getText("tocPay.text.completePaymentIn"), " "), /* @__PURE__ */ react.default.createElement(_pisell_materials.PisellCountdown, {
		className: "countdown-time",
		leftTime: time * 1e3,
		format: "mm:ss"
	}));
};
//#endregion
exports.default = PayCountdown;
