// packages/block-library/src/freeform/index.js
import { classic as icon } from "@wordpress/icons";
import initBlock from "../utils/init-block.mjs";
import edit from "./edit.mjs";
import metadata from "./block.json";
import save from "./save.mjs";
var { name } = metadata;
var settings = {
  icon,
  edit,
  save
};
var init = () => {
  const supports = {
    ...metadata.supports,
    inserter: !!window?.__needsClassicBlock
  };
  return initBlock({ name, metadata, settings: { ...settings, supports } });
};
export {
  init,
  metadata,
  name,
  settings
};
//# sourceMappingURL=index.mjs.map
