import { jsx as r } from "react/jsx-runtime";
import { S as a } from "./shared.EdGf6tcG.js";
import "react";
import { a as s, M as t } from "./modal.BZAvb1Nx.js";
const p = ({
  onKeepEditing: o,
  onGoBack: e
}) => /* @__PURE__ */ r(
  s,
  {
    isOpen: !0,
    onDismiss: o,
    type: t.BASIC,
    heading: "Are you sure you want to go back?",
    body: "Your progress will be lost.",
    buttons: [
      {
        label: "Keep editing",
        onClick: o,
        semantic: a.PRIMARY
      },
      {
        label: "Go Back",
        onClick: e,
        semantic: a.SECONDARY
      }
    ]
  }
);
export {
  p as W
};
