//#region src/utils/fun.ts
function e(e) {
	if (!Number.isFinite(e) || Number.isNaN(e) || e <= 0) return "0秒";
	let t = Math.floor(e / 1e3), n = Math.floor(t / 86400), r = Math.floor(t % 86400 / 3600), i = Math.floor(t % 3600 / 60), a = t % 60, o = [];
	return n > 0 && o.push(`${n}天`), r > 0 && o.push(`${r}小时`), i > 0 && o.push(`${i}分钟`), (a > 0 || o.length === 0) && o.push(`${a}秒`), o.join("");
}
function t(e) {
	return e == null || e === void 0 ? !0 : n(e) || i(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : a(e) ? Object.keys(e).length === 0 : !1;
}
function n(e) {
	return e && Array.isArray(e);
}
function r(e, t) {
	return toString.call(e) === `[object ${t}]`;
}
function i(e) {
	return r(e, "String");
}
function a(e) {
	return e !== null && r(e, "Object");
}
//#endregion
export { e as n, t };
