import a from "../../../../@ant-design/icons/es/icons/CloseOutlined.mjs";
import f from "react";
function d(t, e, n) {
  return typeof t == "boolean" ? t : e === void 0 ? !!n : e !== !1 && e !== null;
}
function g(t, e, n) {
  let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : /* @__PURE__ */ f.createElement(a, null), r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
  if (!d(t, e, r))
    return [!1, null];
  const u = typeof e == "boolean" || e === void 0 || e === null ? l : e;
  return [!0, n ? n(u) : u];
}
export {
  g as default
};
