require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugin/ai/components/InputArea"],{"2a4d":function(t,e,n){"use strict";n.r(e);var i=n("c4d8"),u=n("317c");for(var r in u)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(r);n("8e5d");var o=n("828b"),c=Object(o["a"])(u["default"],i["b"],i["c"],!1,null,"6df871d8",null,!1,i["a"],void 0);e["default"]=c.exports},"317c":function(t,e,n){"use strict";n.r(e);var i=n("81b5"),u=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=u.a},"81b5":function(t,e,n){"use strict";(function(t){var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i(n("7ca3")),r=n("8f59");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var c={name:"InputArea",props:{value:{type:String,default:""},loading:{type:Boolean,default:!1},hasMessages:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,u.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,r.mapGetters)(["base"])),mounted:function(){var e=this,n=t.createSelectorQuery().in(this);n.select("#inputArea").boundingClientRect((function(t){e.$emit("input-area-height",t.height)})).exec()},watch:{value:function(t){this.inputValue=t},inputValue:function(t){this.$emit("input",t)}},methods:{onInput:function(){this.$emit("input-change")},onFocus:function(){this.$emit("focus")},onBlur:function(){this.$emit("blur")},handleSend:function(){this.inputValue.trim()&&this.$emit("send",this.inputValue)},handleCancel:function(){this.$emit("cancel")},openNewChat:function(){this.$emit("open-new-chat")}}};e.default=c}).call(this,n("df3c")["default"])},"8e5d":function(t,e,n){"use strict";var i=n("ce58"),u=n.n(i);u.a},c4d8:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uSearch:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-search/u-search")]).then(n.bind(null,"31f6"))},uIcon:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(n.bind(null,"b248"))}},u=function(){var t=this.$createElement,e=(this._self._c,this.loading?null:this.inputValue.trim()),n=this.loading?null:this.inputValue.trim();this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},r=[]},ce58:function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'plugin/ai/components/InputArea-create-component',
    {
        'plugin/ai/components/InputArea-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('df3c')['createComponent'](__webpack_require__("2a4d"))
        })
    },
    [['plugin/ai/components/InputArea-create-component']]
]);
