import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
import { HasOne } from "@contember/react-binding";
import { Fragment as Fragment$1 } from "react";
const staticRenderFileKind = (fileKind, environment) => {
  const children = /* @__PURE__ */ jsxDEV(Fragment, { children: [
    !fileKind.baseEntity || !fileKind.childrenOutsideBaseEntity ? fileKind.children : null,
    fileKind.renderUploadedFile,
    fileKind.extractors.map((extractor, i) => /* @__PURE__ */ jsxDEV(Fragment$1, { children: extractor.staticRender({ environment }) }, i, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/upload/fileHandler/utils/staticRenderFileKind.tsx",
      lineNumber: 12,
      columnNumber: 5
    }, void 0))
  ] }, void 0, true, {
    fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/upload/fileHandler/utils/staticRenderFileKind.tsx",
    lineNumber: 8,
    columnNumber: 3
  }, void 0);
  return [
    fileKind.baseEntity === void 0 ? children : /* @__PURE__ */ jsxDEV(HasOne, { field: fileKind.baseEntity, children }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/bindingFacade/upload/fileHandler/utils/staticRenderFileKind.tsx",
      lineNumber: 19,
      columnNumber: 6
    }, void 0),
    fileKind.childrenOutsideBaseEntity ? fileKind.children : null
  ];
};
export {
  staticRenderFileKind
};
//# sourceMappingURL=staticRenderFileKind.js.map
