const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
const require_index = require("../index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
//#region src/plus/productSelect/ProductCard/ProductCardSkeleton.tsx
const ProductCardSkeleton = ({ className, style, isProductCover = true, item }) => {
	if ((item === null || item === void 0 ? void 0 : item.__typename) === "category") return /* @__PURE__ */ react.default.createElement(antd.Skeleton.Input, {
		active: true,
		size: "small",
		block: false
	});
	return /* @__PURE__ */ react.default.createElement("div", {
		className: (0, classnames.default)(`${require_index.PREFIX}__product-card`, className),
		style
	}, isProductCover && /* @__PURE__ */ react.default.createElement(antd.Skeleton.Image, {
		active: true,
		style: {
			width: 180,
			height: 126
		}
	}), /* @__PURE__ */ react.default.createElement(antd.Skeleton, {
		active: true,
		paragraph: { rows: 2 }
	}));
};
//#endregion
exports.default = ProductCardSkeleton;
