@forbespro/lead-agent
Version:
Lead Chat Agent React Component
17 lines (16 loc) • 441 B
JavaScript
import { visitParents as x } from "./index82.js";
import { CONTINUE as h, EXIT as s, SKIP as E } from "./index82.js";
function v(c, n, o, l) {
let e, t, f;
typeof n == "function" ? (t = void 0, f = n, e = o) : (t = n, f = o, e = l), x(c, t, r, e);
function r(d, u) {
const i = u[u.length - 1], p = i ? i.children.indexOf(d) : void 0;
return f(d, p, i);
}
}
export {
h as CONTINUE,
s as EXIT,
E as SKIP,
v as visit
};