(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"4fa3":function(t,e,a){"use strict";(function(t){var o=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(a("c8f2")),c=(o(a("d48f")),o(a("c1f5"))),u=o(a("a375")),r={globalData:{searchText:"",appVersion:"V1.0.0",name:"微AI聊天",github_:"https://github.com/gulihua10010/wxmini-*****",github:"https://github.com/gulihua10010/wxmini-**********",blog:"https://jianwoo.cn",blogDetail:"https://jianwoo.cn/detail?id=3267583046918340611",server:"https://chat-api.uyojo.com/",websocket:"wss://chat-api.uyojo.com/"},onLaunch:function(){var e=this;console.log("App Launch"),this.globalData.$i18n=this.$i18n,this.globalData.$t=function(t){return e.$t(t)},(0,n.default)(),(0,u.default)(),t.request({url:this.globalData.server+"/status",data:{},success:function(a){console.log("status: "+a.data.state),t.setStorageSync("status",a.data.state),a.data.state&&(e.globalData.$socket=new c.default({url:e.globalData.websocket+"/websocket"}))},fail:function(t){}}),t.request({url:this.globalData.server+"/cache/YhI86Yjjoko",data:{},success:function(e){console.log(e.data),t.setStorageSync("isDebug","TRUE"===e.data)},fail:function(t){}})},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")},destroyed:function(){console.log("App destroyed"),getApp().$socket.close()}};e.default=r}).call(this,a("543d")["default"])},"7f7b":function(t,e,a){"use strict";a.r(e);var o=a("a844");for(var n in o)["default"].indexOf(n)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("8ba4");var c=a("f0c5"),u=Object(c["a"])(o["default"],void 0,void 0,!1,null,null,null,!1,void 0,void 0);e["default"]=u.exports},"8ba4":function(t,e,a){"use strict";var o=a("d828"),n=a.n(o);n.a},a844:function(t,e,a){"use strict";a.r(e);var o=a("4fa3"),n=a.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){a.d(e,t,(function(){return o[t]}))}(c);e["default"]=n.a},abc9:function(t,e,a){"use strict";(function(t,e){var o=a("4ea4"),n=o(a("9523"));a("baca"),a("a9ff");var c=o(a("7f7b")),u=o(a("bfe6")),r=o(a("66fd")),i=o(a("c1f5")),l=o(a("dded")),s=o(a("e9e9"));function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,o)}return a}t.__webpack_require_UNI_MP_PLUGIN__=a,r.default.use(s.default),r.default.prototype.$store=l.default,r.default.prototype.$socket=i.default,r.default.config.productionTip=!1,c.default.mpType="app";var d=new r.default(function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?f(Object(a),!0).forEach((function(e){(0,n.default)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):f(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({i18n:u.default,store:l.default},c.default));e(d).$mount()}).call(this,a("bc2e")["default"],a("543d")["createApp"])},d828:function(t,e,a){}},[["abc9","common/runtime","common/vendor"]]]);