{"version":3,"sources":["jsdelivr-header.js","/npm/ky-chat@1.1.6/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCJO,UAAW,eACX,UAAW,mCACX,uCAEA,WAAY,4BAEnB,MAAM,WAAa,CACjB,QAGI,QAAU,SAAU,EAAK,EAAO,CAAC,GAEjC,QAAQ,YAEZ,WAAW,SAAQ,IACjB,EAAI,UAAU,EAAU,KAAM,EAAS,IAIzC,EAAI,UAAU,OAAS,MACvB,EAAI,UAAU,WAAa,MAC7B,EAEsB,oBAAX,QAA0B,OAAO,KAC1C,QAAQ,OAAO,YAKf,sBAGa,CACb,QAAS,QAET,gBAEA","file":"/npm/ky-chat@1.1.6/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/ky-chat@1.1.6/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/* 自动生成入口 './build/bin/build-entry.js' */\r\n// import ElementUI from 'element-ui'\r\nimport dayjs from 'dayjs'\r\nimport utils from '../packages/utils/utils.js'\r\nimport '../packages/styles/index.scss'\r\n\r\nimport kyChat from '../packages/chat/index.js'\r\n\r\nconst components = [\r\n  kyChat\r\n]\r\n\r\nconst install = function (app, opts = {}) {\r\n  // 判断是否安装\r\n  if (install.installed) return\r\n\r\n  components.forEach(component => {\r\n    app.component(component.name, component)\r\n  })\r\n\r\n  //   app.use(ElementUI)\r\n  app.prototype.$dayjs = dayjs\r\n  app.prototype.$chatUtils = utils\r\n}\r\n\r\nif (typeof window !== 'undefined' && window.Vue) {\r\n  install(window.Vue)\r\n}\r\n\r\n// 可按需引入\r\nexport {\r\n  kyChat\r\n}\r\n// 可全部引入\r\nexport default {\r\n  version: '0.0.3',\r\n  // 全部注册\r\n  install,\r\n  // 按需引用\r\n  kyChat\r\n}\r\n// 组件命名规范 k 或 ky 开头，如：KyLogin\r\n"]}