import { d9 as r, da as d, aO as n, aN as u, db as i, dc as m, dd as y } from "./address-CrYNZ_Nj.mjs";
function s(e) {
  return [...i, m(e)];
}
function p(e, o) {
  const [t, c] = r(e), a = d(s(e), o);
  return {
    protocolName: t,
    payloadName: c,
    payloadLiteral: e,
    ...d(y, o),
    ...a,
    hash: n(u(s(e), a))
  };
}
export {
  p as c
};
