bettercx-widget
Version:
Professional AI-powered chat widget for BetterCX platform. Seamlessly integrate intelligent customer support into any website.
13 lines (10 loc) • 891 B
JavaScript
import { g as globalScripts, b as bootstrapLazy } from './index-KfgIcFMr.js';
export { s as setNonce } from './index-KfgIcFMr.js';
const defineCustomElements = async (win, options) => {
if (typeof window === 'undefined') return undefined;
await globalScripts();
return bootstrapLazy([["bcx-message-composer",[[257,"bcx-message-composer",{"disabled":[4],"loading":[4],"placeholder":[1],"maxLength":[2,"max-length"],"message":[32]}]]],["bettercx-widget",[[257,"bettercx-widget",{"publicKey":[1,"public-key"],"theme":[1],"debug":[4],"baseUrl":[1,"base-url"],"aiServiceUrl":[1,"ai-service-url"],"autoInit":[4,"auto-init"],"position":[1],"state":[32],"language":[32],"open":[64],"close":[64],"toggle":[64],"sendMessage":[64]},null,{"publicKey":["onPublicKeyChange"]}]]]], options);
};
export { defineCustomElements };
//# sourceMappingURL=loader.js.map
//# sourceMappingURL=loader.js.map