"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const fail = () => {
  throw new Error("Page name is not defined");
};
const getPageName = ({ pageName }, fallback) => {
  return pageName ?? fallback ?? fail();
};
exports.getPageName = getPageName;
//# sourceMappingURL=getPageName.cjs.map
