import { dl as n, dm as s, aO as r, aN as u, dn as i, dp as m, dq as y } from "./address-BkeBsCZD.mjs";
function t(e) {
  return [...i, m(e)];
}
function h(e, o) {
  const [d, c] = n(e), a = s(t(e), o);
  return {
    protocolName: d,
    payloadName: c,
    payloadLiteral: e,
    ...s(y, o),
    ...a,
    hash: r(u(t(e), a))
  };
}
export {
  h as c
};
