'use strict';

var index = require('./index-BxTNETZB.js');
var appGlobals = require('./app-globals-V2Kpy_OQ.js');

var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/*
 Stencil Client Patch Browser v4.37.1 | MIT Licensed | https://stenciljs.com
 */

var patchBrowser = () => {
  const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('stenci-ai-chat.cjs.js', document.baseURI).href));
  const opts = {};
  if (importMeta !== "") {
    opts.resourcesUrl = new URL(".", importMeta).href;
  }
  return index.promiseResolve(opts);
};

patchBrowser().then(async (options) => {
  await appGlobals.globalScripts();
  return index.bootstrapLazy([["ai-chat_5.cjs",[[257,"ai-chat",{"messages":[16],"showTimestamp":[4,"show-timestamp"],"showUserAvatar":[4,"show-user-avatar"],"showAiAvatar":[4,"show-ai-avatar"],"userAvatar":[1,"user-avatar"],"aiAvatar":[1,"ai-avatar"],"customRenderers":[16,"custom-renderers"],"showInput":[4,"show-input"],"inputPlaceholder":[1,"input-placeholder"],"inputDisabled":[4,"input-disabled"],"maxInputLength":[2,"max-input-length"],"multilineInput":[4,"multiline-input"],"scrollToBottom":[32]},null,{"messages":["messagesChanged"]}],[257,"echarts-renderer",{"content":[8],"width":[1],"height":[1],"responsive":[4],"showLoading":[4,"show-loading"],"theme":[1],"chartInstance":[32],"isLoading":[32]},null,{"content":["contentChanged"],"width":["sizeChanged"],"height":["sizeChanged"]}],[257,"markdown-renderer",{"content":[1],"highlightCode":[4,"highlight-code"],"enableTables":[4,"enable-tables"],"enableTaskLists":[4,"enable-task-lists"],"enableFootnotes":[4,"enable-footnotes"],"renderedHtml":[32]},null,{"content":["contentChanged"]}],[257,"message-input",{"placeholder":[1],"disabled":[4],"maxLength":[2,"max-length"],"showSendButton":[4,"show-send-button"],"multiline":[4],"autoFocus":[4,"auto-focus"],"sendButtonText":[1,"send-button-text"],"inputValue":[32],"isComposing":[32]}],[257,"text-renderer",{"content":[1],"preserveWhitespace":[4,"preserve-whitespace"],"autoLink":[4,"auto-link"],"highlightCode":[4,"highlight-code"]}]]]], options);
});

exports.setNonce = index.setNonce;
//# sourceMappingURL=stenci-ai-chat.cjs.js.map
