(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57f8147d"],{"0f21":function(e,t,a){"use strict";a("4505")},"3f9c":function(e,t,a){"use strict";var n=a("7a23"),c=Object(n["K"])("data-v-a248454a");Object(n["u"])("data-v-a248454a");var l={class:"tts-container"},i={class:"field text-container"},r={class:"field lang-container"},u={class:"field buttons"},s=Object(n["h"])("i",{class:"fa fa-volume-up"},null,-1);Object(n["s"])();var d=c((function(e,t,a,c,d,o){return Object(n["r"])(),Object(n["e"])("div",l,[Object(n["h"])("form",{onSubmit:t[1]||(t[1]=Object(n["J"])((function(){return o.talk&&o.talk.apply(o,arguments)}),["prevent"]))},[Object(n["h"])("div",i,[Object(n["h"])("label",null,[Object(n["h"])("input",{type:"text",name:"text",placeholder:"Text to say",disabled:d.talking},null,8,["disabled"])])]),Object(n["h"])("div",r,[Object(n["h"])("label",null,[Object(n["h"])("input",{type:"text",name:"language",placeholder:"Language code",disabled:d.talking},null,8,["disabled"])])]),Object(n["h"])("div",u,[Object(n["h"])("button",{type:"submit",disabled:d.talking},[s],8,["disabled"])])],32)])})),o=a("2909"),b=a("1da1"),p=(a("96cf"),a("b0c0"),a("3e54")),f={name:"Panel",mixins:[p["a"]],props:{pluginName:{type:String,required:!0}},data:function(){return{talking:!1}},methods:{talk:function(e){var t=this;return Object(b["a"])(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=Object(o["a"])(e.target.querySelectorAll("input")).reduce((function(e,t){return t.value.length&&(e[t.name]=t.value),e}),{}),t.talking=!0,a.prev=2,a.next=5,t.request("".concat(t.pluginName,".say"),n);case 5:return a.prev=5,t.talking=!1,a.finish(5);case 8:case"end":return a.stop()}}),a,null,[[2,,5,8]])})))()}}};a("0f21");f.render=d,f.__scopeId="data-v-a248454a";t["a"]=f},4505:function(e,t,a){}}]);
//# sourceMappingURL=chunk-57f8147d.a778a78d.js.map