text: (window.webpackJsonp=window.webpackJsonp||[]).push([[25,9,75,102,103,108,109,118,119,121,175],{102:function(t,e,i){"use strict";i.r(e);var s={name:"message-readers",components:{ReaderBubble:i(89).default},props:["message","participants"],data:function(){return{readers:[],readerIndex:1}},mounted:function(){this.getReaders()},methods:{getReaders:function(){var t=this;this.readers=this.participants.filter((function(e){return e.last_read.message_id===t.message.id}))}}},a=i(1),n=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{key:t.readerIndex,staticClass:"text-right pr-2 readers"},[t._l(t.readers,(function(e){return[e.owner.provider_id!==t.messengerAuth.provider_id?i("reader-bubble",{key:"reader-"+e.id,staticClass:"mr-1",attrs:{id:"reader-"+e.owner.provider_id,reader:e}}):t._e()]}))],2)}),[],!1,null,null,null);e.default=n.exports},103:function(t,e,i){"use strict";i.r(e);var s={name:"message-avatar",components:{AuthImg:i(17).default},props:["message"]},a=i(1),n=i(2),r=i.n(n),o=i(260),l=Object(a.a)(s,(function(){var t=this.$createElement,e=this._self._c||t;return e("v-avatar",{staticStyle:{position:"relative",right:"-10px",top:"4px"},style:this.message.grouped&&!this.message.from_bot?"height:0":"",attrs:{size:this.isMobile?35:50}},[!this.message.grouped||this.message.from_bot?e("auth-img",{attrs:{"aspect-ratio":"1",src:this.message.owner.avatar.sm}}):this._e()],1)}),[],!1,null,null,null);e.default=l.exports;r()(l,{VAvatar:o.a})},104:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(4),r=i.n(n);function o(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var l={name:"EditHistory",props:["message","value"],data:function(){return{edits:null}},mounted:function(){this.fetch()},methods:{fetch:function(){var t,e=this;return(t=a.a.mark((function t(){var i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.a.get("/api/messenger/threads/".concat(e.message.thread_id,"/messages/").concat(e.message.id,"/edits"));case 2:i=t.sent,s=i.data,e.edits=s;case 5:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(s,a){var n=t.apply(e,i);function r(t){o(n,s,a,r,l,"next",t)}function l(t){o(n,s,a,r,l,"throw",t)}r(void 0)}))})()}}},c=i(1),d=i(2),u=i.n(d),h=i(711),p=Object(c.a)(l,(function(){var t=this.$createElement;return(this._self._c||t)("v-dialog",{attrs:{value:this.value,width:this.isMobile?"95%":500}},[this._v("\n  "+this._s(this.edits)+"\n")])}),[],!1,null,"398c0a9d",null);e.default=p.exports;u()(p,{VDialog:h.a})},105:function(t,e,i){"use strict";i.r(e);var s=i(32),a=i.n(s),n=i(67),r={name:"image-message",components:{AuthImg:i(17).default,ThreadImage:n.default},props:["message"],data:function(){return{showActionBtns:!1,show:!1}},computed:{token:function(){return a.a.get("token")}},methods:{scroll:function(){this.scrollToBottom(!0)}}},o=i(1),l=i(2),c=i.n(l),d=i(234),u=i(256),h=i(193),p=Object(o.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"rounded-lg",on:{click:function(e){return t.$store.commit("thread-dialogs/fullScreenImage",{image:t.message.image.lg,value:!0})}}},[t.message.loading?t._e():i("thread-image",{attrs:{src:t.message.image.md,init:t.message.init}})],1),t._v(" "),t.message.loading?i("v-img",{attrs:{"max-width":t.isMobile?300:400,height:"auto",src:t.message.image.md},on:{load:t.scroll}},[100!==t.message.percent?i("v-overlay",{attrs:{value:!0,absolute:"",opacity:".8"}},[i("v-progress-circular",{staticClass:"mr-3 mb-4",attrs:{rotate:360,size:100,width:15,value:t.message.percent,color:"primary lighten-4"}},[t._v("\n        "+t._s(t.message.percent)+" %\n      ")])],1):t._e()],1):t._e()],1)}),[],!1,null,null,null);e.default=p.exports;c()(p,{VImg:d.a,VOverlay:u.a,VProgressCircular:h.a})},106:function(t,e,i){"use strict";i.r(e);var s={name:"gif-message",props:["message","ownMessage","init"],methods:{scroll:function(){this.message.init?this.scrollToBottom(!0):this.scrollToBottom()}}},a=i(1),n=i(2),r=i.n(n),o=i(739),l=Object(a.a)(s,(function(){var t=this.$createElement,e=this._self._c||t;return e("v-layout",{attrs:{"justify-end":this.ownMessage}},[e("img",{staticClass:"rounded-lg",staticStyle:{"max-width":"500px"},attrs:{height:"auto",src:this.message.body},on:{load:this.scroll}})])}),[],!1,null,null,null);e.default=l.exports;r()(l,{VLayout:o.a})},107:function(t,e,i){"use strict";i.r(e);var s=i(66),a=i(9),n={name:"message-actions",components:{MessageReactionsPicker:i(88).default,MessageActionBtn:s.default},props:["message","ownMessage"],computed:{styles:function(){return!this.ownMessage&&this.$store.getters["thread-options/isAdmin"]?{right:"-100px",width:"100px"}:this.ownMessage?0==this.message.type&&this.ownMessage?{left:"-88px",width:"100px"}:{left:"-68px",width:"100px"}:{right:"-87px",width:"100px"}}},methods:{reply:function(){this.$store.commit("messages/reply_to",this.message)},removeMessage:function(){var t=this;Object(a.confirmAlert)("Are you sure you want to delete this message","delete","/api/messenger/threads/".concat(this.message.thread_id,"/messages/").concat(this.message.id),(function(){return Object(a.selectById)("box-message-"+t.message.id).remove()}))}}},r=i(1),o=i(2),l=i.n(o),c=i(738),d=i(739),u=Object(r.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticStyle:{position:"absolute",top:"0",bottom:"0"},style:[t.styles]},[i("v-layout",{attrs:{"fill-height":"",column:"","align-center":"","justify-center":""}},[i("v-flex",{attrs:{shrink:""}},[!t.ownMessage&&t.$store.getters["messenger/settings"].messageReactions?i("message-reactions-picker",{attrs:{message:t.message},on:{show:function(e){return t.$emit("reactionShown",e)}}}):t._e(),t._v(" "),t.ownMessage||t.$store.getters["thread-options/isAdmin"]?i("message-action-btn",{attrs:{name:"Delete",icon:"mdi-delete"},on:{clicked:t.removeMessage}}):t._e(),t._v(" "),t.$store.getters["messenger/settings"].messageEdits&&t.ownMessage&&0===t.message.type&&!t.message.body.endsWith("gif")?i("message-action-btn",{attrs:{name:"Edit",icon:"mdi-pencil"},on:{clicked:function(e){return t.$store.commit("thread-dialogs/editMessage",{message:t.message,value:!0})}}}):t._e(),t._v(" "),t.ownMessage?t._e():i("message-action-btn",{attrs:{name:"Reply",icon:"mdi-reply"},on:{clicked:t.reply}})],1)],1)],1)}),[],!1,null,null,null);e.default=u.exports;l()(u,{VFlex:c.a,VLayout:d.a})},108:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(9),r=i(4),o=i.n(r);function l(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var c={name:"message-reactions",props:["message"],methods:{toggle:function(t,e){var i,s=this;return(i=a.a.mark((function i(){var n;return a.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!(n=t.find((function(t){return t.owner_id===s.messengerAuth.provider_id})))){i.next=6;break}return i.next=4,o.a.delete("/api/messenger/threads/".concat(s.message.thread_id,"/messages/").concat(s.message.id,"/reactions/").concat(n.id));case 4:i.next=8;break;case 6:return i.next=8,o.a.post("/api/messenger/threads/".concat(s.message.thread_id,"/messages/").concat(s.message.id,"/reactions"),{reaction:e});case 8:case"end":return i.stop()}}),i)})),function(){var t=this,e=arguments;return new Promise((function(s,a){var n=i.apply(t,e);function r(t){l(n,s,a,r,o,"next",t)}function o(t){l(n,s,a,r,o,"throw",t)}r(void 0)}))})()},convert:function(t){return n.joypixels.shortnameToUnicode(t)}}},d=i(1),u=i(2),h=i.n(u),p=i(733),v=Object(d.a)(c,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[t.message.reacted?i("span",{staticClass:" pa-1 pt-0 pb-0 d-inline-block rounded-lg ",staticStyle:{position:"relative",top:"-10px"}},t._l(t.message.reactions.data,(function(e,s){return i("span",{key:s,staticClass:"mr-1 ml-1 pa-1 rounded-lg",staticStyle:{cursor:"pointer"},style:t.isDark?"background:#292929":"background:#efefef",on:{click:function(i){return t.toggle(e,s)}}},[i("v-tooltip",{key:e.length,attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(a){var n=a.on,r=a.attrs;return[i("span",t._g(t._b({},"span",r,!1),n),[i("span",{staticClass:"grey--text"},[t._v(t._s(e.length))]),t._v(" "),i("span",[t._v(t._s(t.convert(s)))])])]}}],null,!0)},[t._v(" "),i("span",t._l(e,(function(e){return i("div",[t._v(t._s(e.owner.name))])})),0)])],1)})),0):t._e()])}),[],!1,null,null,null);e.default=v.exports;h()(v,{VTooltip:p.a})},109:function(t,e,i){"use strict";i.r(e);var s=i(23),a=i.n(s),n={name:"message-header",props:["message"],computed:{seenAt:function(){return a()(this.message.created_at).calendar()},color:function(){var t=this,e=_.findIndex(this.participants,(function(e){return e.owner.provider_id===t.message.owner.provider_id}));return-1!==e?{color:this.participants[e].color}:""},participants:function(){return this.$store.getters["participants/list"]}}},r=i(1),o=Object(r.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"caption mb-1 ",class:{"ml-1":[0,2].includes(this.message.type)}},[e("span",{staticClass:"font-weight-bold",style:this.color},[this._v(this._s(this.message.owner.name))])])}),[],!1,null,null,null);e.default=o.exports},110:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(38),r=i(9),o=i(4),l=i.n(o);function c(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var d={computed:{dialog:{set:function(t){this.$store.commit("thread-dialogs/editMessage",{value:t})},get:function(){return this.$store.getters["thread-dialogs/editMessage"]}},message:function(){return this.$store.getters["thread-dialogs/selectedMessage"]}},components:{EmojiPicker:n.default},data:function(){return{msg:"",loading:!1}},watch:{message:{deep:!0,handler:function(t){this.msg=r.joypixels.shortnameToUnicode(t.body)}}},methods:{close:function(){this.$store.commit("thread-dialogs/editMessage",{message:null,value:!1})},edit:function(){var t,e=this;return(t=a.a.mark((function t(){var i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,l.a.put("/api/messenger/threads/".concat(e.message.thread_id,"/messages/").concat(e.message.id),{message:e.msg});case 3:i=t.sent,s=i.data,e.$store.commit("messages/updateMessage",{message:s,id:s.id}),e.loading=!1,e.close();case 8:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(s,a){var n=t.apply(e,i);function r(t){c(n,s,a,r,o,"next",t)}function o(t){c(n,s,a,r,o,"throw",t)}r(void 0)}))})()}}},u=i(1),h=i(2),p=i.n(h),v=i(259),f=i(265),m=i(711),g=i(721),x=Object(u.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-dialog",{attrs:{width:"500"},model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[i("v-card",{staticClass:"text-right pa-5",attrs:{elevation:"0"}},[i("v-textarea",{staticClass:"caption",attrs:{disabled:t.loading,dense:"",dark:"",rows:"1","auto-grow":"","no-resize":"",outlined:"","hide-details":""},scopedSlots:t._u([{key:"prepend",fn:function(){return[i("emoji-picker",{on:{selected:function(e){t.msg+=e.data}}})]},proxy:!0}]),model:{value:t.msg,callback:function(e){t.msg=e},expression:"msg"}}),t._v(" "),i("div",{staticClass:"mt-3"},[i("v-btn",{staticClass:"mr-3",on:{click:t.close}},[t._v(" Cancel")]),t._v(" "),i("v-btn",{attrs:{loading:t.loading,color:"primary"},on:{click:t.edit}},[t._v(" save")])],1)],1)],1)}),[],!1,null,null,null);e.default=x.exports;p()(x,{VBtn:v.a,VCard:f.a,VDialog:m.a,VTextarea:g.a})},111:function(t,e,i){"use strict";i.r(e);var s=i(38),a=i(23),n=i.n(a),r={computed:{dialog:{set:function(t){this.$store.commit("thread-dialogs/messageHistory",t)},get:function(){return this.$store.getters["thread-dialogs/messageHistory"]}},edits:function(){return this.$store.getters["thread-dialogs/selectedMessageEdits"]}},components:{EmojiPicker:s.default},methods:{formatEditedAt:function(t){return n()(t.edited_at).format("YYYY.DD.MM  - H:mm A")},close:function(){this.$store.commit("thread-dialogs/messageHistory",!1)}}},o=i(1),l=i(2),c=i.n(l),d=i(259),u=i(265),h=i(711),p=i(263),v=i(36),f=Object(o.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-dialog",{attrs:{width:"500"},model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[i("v-toolbar",[i("v-toolbar-title",[t._v("Message Edits History")])],1),t._v(" "),i("v-card",{staticClass:"text-right pa-5",attrs:{elevation:"0"}},[i("ul",{staticClass:"text-left"},t._l(t.edits,(function(e){return i("li",[t._v("\n        "+t._s(e.body)+"\n        "),i("span",{staticClass:"ml-2 caption",staticStyle:{opacity:"0.4"}},[t._v(t._s(t.formatEditedAt(e)))])])})),0),t._v(" "),i("div",{staticClass:"mt-3"},[i("v-btn",{staticClass:"mr-3",on:{click:t.close}},[t._v(" Ok")])],1)])],1)}),[],!1,null,null,null);e.default=f.exports;c()(f,{VBtn:d.a,VCard:u.a,VDialog:h.a,VToolbar:p.a,VToolbarTitle:v.a})},112:function(t,e,i){"use strict";i.r(e);var s={name:"full-screen-image-dialog",components:{AuthImg:i(17).default},computed:{visible:function(){return this.$store.getters["thread-dialogs/fullScreenImage"]},selectedImage:function(){return this.$store.getters["thread-dialogs/selectedImage"]}},methods:{close:function(){this.$store.commit("thread-dialogs/fullScreenImage",{value:!1})}}},a=i(1),n=i(2),r=i.n(n),o=i(259),l=i(265),c=i(711),d=i(738),u=i(165),h=i(739),p=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-dialog",{attrs:{fullscreen:""},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[i("v-card",{staticClass:"overflow-y-auto rounded-0",attrs:{dark:"",height:"100%"}},[i("v-btn",{staticClass:"mt-7 ml-5",attrs:{absolute:"",dark:"",fab:""},on:{click:t.close}},[i("v-icon",[t._v("mdi-close")])],1),t._v(" "),i("v-layout",{attrs:{"fill-height":"","align-center":"","justify-center":""}},[i("v-flex",[i("auth-img",{attrs:{loader:!0,width:"100%",contain:"",src:t.selectedImage}})],1)],1)],1)],1)}),[],!1,null,"6631206c",null);e.default=p.exports;r()(p,{VBtn:o.a,VCard:l.a,VDialog:c.a,VFlex:d.a,VIcon:u.a,VLayout:h.a})},115:function(t,e,i){"use strict";i.r(e);var s=i(68),a=i(54),n=i(98),r=i(9),o={name:"text-message",components:{EditHistory:i(104).default,ReplyMessage:n.default,DocumentMessage:a.default,Message:s.default},props:["message","ownMessage","type"],data:function(){return{showFullText:!1}},mounted:function(){this.scrollToBottom()},methods:{getId:function(t){var e=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return e&&11==e[2].length?e[2]:"error"}},computed:{wikiMessage:function(){var t;return"wiki"===(null===(t=this.message.extra)||void 0===t?void 0:t.type)},youtubeMessage:function(){var t;return"youtube"===(null===(t=this.message.extra)||void 0===t?void 0:t.type)&&this.message.extra.video},lastInGroup:function(){var t=Object(r.messageIndex)(this.message.id);return this.messages[t+1]&&this.messages[t+1].owner_id!==this.message.owner_id||this.messages.length===t+1},messages:function(){return this.$store.getters["messages/list"]},text:function(){return this.message.body.length<800||this.showFullText||!this.wikiMessage?r.joypixels.shortnameToUnicode(this.message.body).linkify():r.joypixels.shortnameToUnicode(this.message.body).linkify().substring(0,800)+"..."}}},l=i(11),c=i.n(l),d=i(280),u=i.n(d),h={insert:"head",singleton:!1},p=(c()(u.a,h),u.a.locals,i(1)),v=i(2),f=i.n(v),m=i(193),g=Object(p.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:{to:t.ownMessage,from:!t.ownMessage,"first-in-group":!t.message.grouped,grouped:t.message.grouped,"has-reply":t.message.reply_to}},[t.message.loading?i("v-progress-circular",{attrs:{size:"15",width:"2",color:"rgba(0,0,0,.2)",indeterminate:""}}):t._e(),t._v(" "),t.youtubeMessage?i("div",[i("iframe",{attrs:{width:t.isMobile?"100%":"560",height:"315",src:"https://www.youtube.com/embed/"+t.message.extra.video,title:"YouTube video player",frameborder:"0",allow:"accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}})]):t._e(),t._v(" "),t.youtubeMessage?t._e():i("div",{ref:"message",staticClass:"message"},[t.wikiMessage&&t.message.extra.image?i("div",{staticClass:"text-center ma-4"},[i("img",{staticStyle:{width:"80%","border-radius":"20"},attrs:{src:t.message.extra.image},on:{load:function(e){return t.scrollToBottom(!0)}}})]):t._e(),t._v(" "),t.message.reply_to?i("div",{staticClass:"reply-message"},[i("reply-message",{attrs:{message:t.message.reply_to,ownMessage:t.ownMessage}})],1):t._e(),t._v(" "),i("div",{staticClass:"message-text",class:{"mr-1 ml-1":t.message.reply_to}},["document"!==t.type?i("span",{domProps:{innerHTML:t._s(t.text)}}):i("span",{on:{click:function(t){}}},[i("document-message",{attrs:{message:t.message,ownMessage:t.ownMessage}})],1),t._v(" "),t.message.body.length>800&&t.wikiMessage&&!t.showFullText?i("a",{on:{click:function(e){t.showFullText=!0}}},[t._v("more")]):t._e(),t._v(" "),t.message.edited?i("span",{staticClass:"caption pa-0 text-lowercase ma-0",staticStyle:{opacity:"0.7","font-weight":"bold"}},[t.$messenger.messageEditsView?i("span",{staticStyle:{cursor:"pointer"},on:{click:function(e){return t.$store.dispatch("thread-dialogs/fetchMessageEdits",t.message)}}},[t._v("\n          (edited)\n        ")]):i("span",[t._v(" (edited) ")])]):t._e()])])],1)}),[],!1,null,"9bce0c0a",null);e.default=g.exports;f()(g,{VProgressCircular:m.a})},116:function(t,e,i){"use strict";i.r(e);var s=i(115),a=i(105),n=i(54),r=i(99),o=i(106),l=i(107),c={name:"message-content",components:{MessageReactions:i(108).default,MessageActions:l.default,GifMessage:o.default,AudioMessage:r.default,DocumentMessage:n.default,ImageMessage:a.default,TextMessage:s.default},methods:{toggleEdit:function(){this.edit=!this.edit}},props:["message","ownMessage"],data:function(){return{showActionBtns:!1,edit:!1,reactionShown:!1}},mounted:function(){this.message.init&&this.scrollToBottom()},computed:{type:function(){var t=this.message.type;return this.message.extra&&"gif"===this.message.extra.custom_type?"gif":1===t?"image":2===t?"document":3===t?"audio":"text"}}},d=i(1),u=i(2),h=i.n(u),p=i(22),v=Object(d.a)(c,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{class:t.message.system_message?"":"d-inline-block",staticStyle:{position:"relative"},on:{mouseenter:function(e){t.showActionBtns=!0},mouseleave:function(e){t.showActionBtns=!1}}},["image"===t.type?i("image-message",{attrs:{message:t.message}}):"audio"===t.type?i("audio-message",{attrs:{message:t.message,ownMessage:t.ownMessage}}):"gif"===t.type?i("gif-message",{attrs:{ownMessage:t.ownMessage,message:t.message}}):i("text-message",{attrs:{message:t.message,type:t.type,ownMessage:t.ownMessage}}),t._v(" "),i("v-slide-y-transition",[t.showActionBtns&&!t.message.system_message||t.reactionShown?i("message-actions",{attrs:{message:t.message,ownMessage:t.ownMessage},on:{reactionShown:function(e){t.reactionShown=e},edit:t.toggleEdit}}):t._e()],1)],1),t._v(" "),i("message-reactions",{attrs:{message:t.message}})],1)}),[],!1,null,null,null);e.default=v.exports;h()(v,{VSlideYTransition:p.i})},123:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(4),r=i.n(n);function o(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var l={name:"pending-box",data:function(){return{loading:!1}},computed:{thread:function(){return this.$store.getters["thread/thread"]}},methods:{approve:function(){var t,e=this;return(t=a.a.mark((function t(){var i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,r.a.post("/api/messenger/threads/".concat(e.thread.id,"/approval"),{approve:!0});case 3:return t.next=5,r.a.get("/api/messenger/threads/".concat(e.thread.id));case 5:return i=t.sent,s=i.data,t.next=9,e.$store.dispatch("thread/update",s.id);case 9:e.loading=!1;case 10:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(s,a){var n=t.apply(e,i);function r(t){o(n,s,a,r,l,"next",t)}function l(t){o(n,s,a,r,l,"throw",t)}r(void 0)}))})()}}},c=i(1),d=i(2),u=i.n(d),h=i(259),p=i(267),v=i(738),f=i(739),m=Object(c.a)(l,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-layout",{staticClass:"pa-5",attrs:{column:"","align-center":""}},[i("v-flex",[i("v-divider",{staticClass:"mb-4"})],1),t._v(" "),i("v-flex",[t._v(" Do you want to approve this conversation ?")]),t._v(" "),i("v-flex",[i("span",{staticClass:"caption"},[t._v("After approval you will be able to send messages!")])]),t._v(" "),i("v-flex",[i("v-btn",{attrs:{text:"",color:"error"}},[t._v("Block")]),t._v(" "),i("v-btn",{attrs:{text:"",color:"primary",loading:t.loading},on:{click:t.approve}},[t._v("Approve")])],1)],1)}),[],!1,null,null,null);e.default=m.exports;u()(m,{VBtn:h.a,VDivider:p.a,VFlex:v.a,VLayout:f.a})},124:function(t,e,i){"use strict";i.r(e);var s=i(110),a=i(111),n={name:"thread-dialogs",components:{FullScreenImageDialog:i(112).default,EditsHistoryDialog:a.default,MessageEditingDialog:s.default}},r=i(1),o=Object(r.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("message-editing-dialog"),this._v(" "),e("edits-history-dialog"),this._v(" "),e("full-screen-image-dialog")],1)}),[],!1,null,null,null);e.default=o.exports},135:function(t,e,i){"use strict";i.r(e);var s=i(123),a=i(68),n=i(124),r=(i(4),i(473),i(9)),o={name:"thread-content",components:{ThreadDialogs:n.default,Message:a.default,PendingBox:s.default},computed:{messages:function(){return this.$store.getters["messages/list"]},loaded:function(){return this.$store.getters["messages/loaded"]},participants:function(){return this.$store.getters["participants/list"]},thread:function(){return this.$store.getters["thread/thread"]},approval:function(){return this.$store.getters["thread-options/auth"].awaiting_my_approval},ThreadEcho:function(){return this.$store.getters["thread/echo"]}},data:function(){return{data:null}},mounted:function(){Object(r.scrollToBottom)(!0)}},l=i(1),c=i(2),d=i.n(c),u=i(738),h=i(739),p=Object(l.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-layout",{staticClass:"pa-2",staticStyle:{position:"relative"},attrs:{column:"","justify-center":""}},[i("thread-dialogs"),t._v(" "),t.loaded?i("v-flex",{attrs:{xs12:""}},[i("div",{staticClass:"text-center caption grey--text mt-3 mb-3"},[t._v("\n      Start of Conversation\n    ")])]):t._e(),t._v(" "),t._l(t.messages,(function(t){return i("v-flex",{key:"box-message-"+t.id,attrs:{xs12:"",shrink:"",id:"box-message-"+t.id}},[i("message",{attrs:{message:t}})],1)})),t._v(" "),t.approval?i("v-flex",[i("pending-box")],1):t._e()],2)}),[],!1,null,null,null);e.default=p.exports;d()(p,{VFlex:u.a,VLayout:h.a})},164:function(t,e,i){"use strict";var s=i(5),a=i.n(s);e.a=a.a.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!(this.xSmall||this.small||this.large||this.xLarge))},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}})},165:function(t,e,i){"use strict";i(423);var s,a=i(63),n=i(20),r=i(164),o=i(16),l=i(3),c=i(5),d=i.n(c),u=i(6);!function(t){t.xSmall="12px",t.small="16px",t.default="24px",t.medium="28px",t.large="36px",t.xLarge="40px"}(s||(s={}));const h=Object(u.a)(a.a,n.a,r.a,o.a).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium:()=>!1,hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),Object(l.w)(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=Object(l.t)(t).find(e=>t[e]);return e&&s[e]||Object(l.f)(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let a="material-icons";const n=t.indexOf("-"),r=n<=-1;r?i.push(t):(a=t.slice(0,n),function(t){return["fas","far","fal","fab","fad"].some(e=>t.includes(e))}(a)&&(a="")),s.class[a]=!0,s.class[t]=!r;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const a=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(a,i)])}},render(t){const e=this.getIcon();return"string"==typeof e?function(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});e.a=d.a.extend({name:"v-icon",$_wrapperFor:h,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(h,e,s?[s]:i)}})},17:function(t,e,i){"use strict";i.r(e);var s=i(32),a=i.n(s),n={name:"auth-img",props:["src","loader"],inheritAttrs:!1,methods:{avatarUrl:function(t){return t+"?token="+a.a.get("token")}}},r=i(1),o=i(2),l=i.n(o),c=i(234),d=i(725),u=Object(r.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("v-img",this._b({attrs:{src:this.avatarUrl(this.src)},scopedSlots:this._u([{key:"placeholder",fn:function(){return[e("v-skeleton-loader",{attrs:{type:"image",height:"100%",width:"100%"}})]},proxy:!0}])},"v-img",this.$attrs,!1))}),[],!1,null,null,null);e.default=u.exports;l()(u,{VImg:c.a,VSkeletonLoader:d.a})},195:function(t,e,i){"use strict";var s=i(35),a=i(3),n=i(5),r=i.n(n);e.a=r.a.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data:()=>({animationFrame:0,overlay:null}),watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new s.a({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=Object(a.p)(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(Object(a.a)(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[a.s.up,a.s.pageup],i=[a.s.down,a.s.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return["auto","scroll"].includes(e.overflowY)&&t.scrollHeight>t.clientHeight},shouldScroll:(t,e)=>0===t.scrollTop&&e<0||t.scrollTop+t.clientHeight===t.scrollHeight&&e>0,isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=t.path||this.composedPath(t),i=t.deltaY;if("keydown"===t.type&&e[0]===document.body){const t=this.$refs.dialog,e=window.getSelection().anchorNode;return!(t&&this.hasScrollbar(t)&&this.isInside(e,t))||this.shouldScroll(t,i)}for(let t=0;t<e.length;t++){const s=e[t];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return this.shouldScroll(s,i)}return!0},composedPath(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;for(;i;){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(Object(a.b)(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}})},256:function(t,e,i){"use strict";i(425);var s=i(20),a=i(16),n=i(25),r=i(6);e.a=Object(r.a)(s.a,a.a,n.a).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",class:this.classes,style:this.styles},e)}})},260:function(t,e,i){"use strict";i(431);var s=i(20),a=i(79),n=i(172),r=i(3),o=i(6);e.a=Object(o.a)(s.a,a.a,n.a).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:Object(r.f)(this.size),minWidth:Object(r.f)(this.size),width:Object(r.f)(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}})},261:function(t,e,i){"use strict";i(455);var s=i(56);e.a=s.a.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...s.a.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}})},263:function(t,e,i){"use strict";i(443);var s=i(56),a=i(234),n=i(3),r=i(13);e.a=s.a.extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const t=this.computedContentHeight;if(!this.isExtended)return t;const e=parseInt(this.extensionHeight);return this.isCollapsed?t:t+(isNaN(e)?0:e)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...s.a.options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:Object(n.f)(this.computedHeight)}}},created(){[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]].forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(r.a)(t,e,this)})},methods:{genBackground(){const t={height:Object(n.f)(this.computedHeight),src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img({props:t}):this.$createElement(a.a,{props:t});return this.$createElement("div",{staticClass:"v-toolbar__image"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:Object(n.f)(this.computedContentHeight)}},Object(n.n)(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:Object(n.f)(this.extensionHeight)}},Object(n.n)(this,"extension"))}},render(t){this.isExtended=this.extended||!!this.$scopedSlots.extension;const e=[this.genContent()],i=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&e.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&e.unshift(this.genBackground()),t(this.tag,i,e)}})},267:function(t,e,i){"use strict";i(438);var s=i(16);e.a=s.a.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})},268:function(t,e,i){(e=i(8)(!1)).push([t.i,".dark-theme .from.message[data-v-717d8e8e] {\n  background: #323232;\n  color: white;\n  /*background: #eeeeee;*/\n}\n.dark-theme .from.message .to.message[data-v-717d8e8e] {\n  background-color: var(--v-primary-darken1);\n}\n.to.message[data-v-717d8e8e] {\n  background-color: var(--v-primary-darken1);\n  /*background-image: linear-gradient(*/\n  /*  179.4deg,*/\n  /*  rgba(33, 150, 243, 1) 1.8%,*/\n  /*  rgba(22, 255, 245, 0.6) 97.1%*/\n  /*);*/\n  /*background: var(--v-primary-darken1);*/\n  color: white;\n  padding: 10px 20px;\n  /*background: #eeeeee;*/\n}\n.from.message[data-v-717d8e8e] {\n  background: #f0f0f0;\n}",""]),t.exports=e},271:function(t,e,i){(e=i(8)(!1)).push([t.i,".visible[data-v-11292b1e] {\n  visibility: visible;\n}\n.hidden[data-v-11292b1e] {\n  visibility: visible;\n}\n.v-skeleton-loader.v-skeleton-loader--is-loading .v-skeleton-loader__image[data-v-11292b1e] {\n  height: 100% !important;\n}",""]),t.exports=e},272:function(t,e,i){(e=i(8)(!1)).push([t.i,".react-icon[data-v-7f688c80] {\n  transition: all 0.3s;\n  font-size: 20px;\n}\n.react-icon[data-v-7f688c80]:hover {\n  font-size: 30px;\n}",""]),t.exports=e},273:function(t,e,i){(e=i(8)(!1)).push([t.i,".reply-message[data-v-3411ef38] {\n  border-left: 5px solid var(--v-primary-lighten1);\n  font-size: 14px;\n  width: 100%;\n  text-align: left;\n}",""]),t.exports=e},274:function(t,e,i){(e=i(8)(!1)).push([t.i,".mobile-view .message[data-v-21bc1adb] {\n  max-width: 90%;\n}\n.message[data-v-21bc1adb] {\n  position: relative;\n  padding: 10px;\n  width: 300px;\n  /*max-width: 60%;*/\n  display: inline-block;\n  color: #464646;\n  /*background-color: var(--v-secondary-darken3);*/\n  -ms-overflow-style: none !important;\n  /* IE and Edge */\n  scrollbar-width: none !important;\n  /* Firefox */\n  background-color: #f0f0f0;\n  border-radius: 13px;\n  transition: all 0.4s;\n}\n.message[data-v-21bc1adb] ::-webkit-scrollbar {\n  display: none;\n}\n.message.to[data-v-21bc1adb] {\n  /*background-color: black;*/\n  background-color: var(--v-primary-base);\n  color: #e8edff;\n  /*margin-right: 30px;*/\n  text-align: left;\n}\n.message.to.not-grouped[data-v-21bc1adb] {\n  border-top-right-radius: 0px;\n}\n.message.from[data-v-21bc1adb] {\n  /*margin-left: 10px;*/\n  text-align: left;\n}\n.message.from.not-grouped[data-v-21bc1adb] {\n  /*border-radius: 0;*/\n  border-top-left-radius: 0px;\n}\n.theme--dark .message[data-v-21bc1adb] {\n  background-color: #323232;\n  color: whitesmoke;\n}",""]),t.exports=e},280:function(t,e,i){(e=i(8)(!1)).push([t.i,".mobile-view .message[data-v-9bce0c0a],\n.mobile-view .reply-message[data-v-9bce0c0a] {\n  max-width: 300px;\n}\n.grouped .message[data-v-9bce0c0a] {\n  padding: 7px 15px;\n  margin-top: -1px;\n}\n.theme--dark[data-v-9bce0c0a] {\n  /*.reply-message {*/\n  /*  color: #373737;*/\n  /**/\n  /*  background-color: #161616;*/\n  /*}*/\n}\n.theme--dark .to .message[data-v-9bce0c0a] {\n  background-color: var(--v-primary-darken1);\n}\n\n/*.reply-message {*/\n/*  position: relative;*/\n/*  top: 32px;*/\n/*  background: white !important;*/\n/*  .message {*/\n/*    padding-bottom: 55px;*/\n/*  }*/\n/*}*/\n.reply-to-title[data-v-9bce0c0a] {\n  color: #7a7979;\n}\n.message[data-v-9bce0c0a] {\n  padding: 10px 15px;\n  max-width: 600px;\n  display: inline-block;\n  position: relative;\n  color: #4c4c4c;\n  line-height: 1.7;\n  font-size: 14px;\n  background-color: #f0f0f0;\n  /*border-radius: 25px;*/\n  border-radius: 10px !important;\n  transition: all 0.4s;\n}\n.to[data-v-9bce0c0a] {\n  /*&.first-in-group .message {*/\n  /*  border-top-right-radius: 25px !important;*/\n  /*}*/\n  /*&.last-in-group .message {*/\n  /*  border-bottom-right-radius: 25px !important;*/\n  /*}*/\n}\n.to .message[data-v-9bce0c0a] {\n  background-color: var(--v-primary-darken1);\n  /*background-color: var(--v-primary-darken1);*/\n  color: #e8edff;\n  text-align: left;\n  /*border-bottom-right-radius: 5px;*/\n  /*border-top-right-radius: 5px;*/\n}\n.to .reply-message .message[data-v-9bce0c0a] {\n  color: #6d6db3;\n}\n\n/*.first-in-group.from .message {*/\n/*  border-top-left-radius: 0px !important;*/\n/*}*/\n/*.to .message {*/\n/*  &.first-in-group {*/\n/*    border-top-right-radius: 0px !important;*/\n/*  }*/\n/*}*/\n.from[data-v-9bce0c0a] {\n  /*&.first-in-group .message {*/\n  /*  border-top-left-radius: 25px !important;*/\n  /*}*/\n  /*&.last-in-group .message {*/\n  /*  border-bottom-left-radius: 25px;*/\n  /*}*/\n}\n.from .message[data-v-9bce0c0a] {\n  /*border-bottom-left-radius: 5px;*/\n  /*border-top-left-radius: 5px;*/\n  text-align: left;\n  background: #dfdfdf;\n}\n.theme--dark .message[data-v-9bce0c0a] {\n  background-color: #323232;\n  color: whitesmoke;\n}\n.theme--dark .message.to[data-v-9bce0c0a] {\n  background-color: dodgerblue;\n}",""]),t.exports=e},281:function(t,e,i){(e=i(8)(!1)).push([t.i,"\n._2eVln3dt2l5B8PxNKuEzBF {\n  margin-top: 2px;\n}\n",""]),e.locals={"grouped-message":"_2eVln3dt2l5B8PxNKuEzBF"},t.exports=e},35:function(t,e,i){"use strict";var s=i(256);e.a=s.a},36:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var s=i(263),a=i(3);const n=Object(a.g)("v-toolbar__title"),r=Object(a.g)("v-toolbar__items");s.a},368:function(t,e,i){var s,a;a=this,void 0===(s=function(){return a.WaveSurfer=function(){"use strict";var t={defaultParams:{audioContext:null,audioRate:1,autoCenter:!0,backend:"WebAudio",container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,progressColor:"#555",normalize:!1,renderer:"MultiCanvas",scrollParent:!1,skipLength:2,splitChannels:!1,waveColor:"#999"},init:function(e){if(this.params=t.util.extend({},this.defaultParams,e),this.container="string"==typeof e.container?document.querySelector(this.params.container):this.params.container,!this.container)throw new Error("Container element not found");if(null==this.params.mediaContainer?this.mediaContainer=this.container:"string"==typeof this.params.mediaContainer?this.mediaContainer=document.querySelector(this.params.mediaContainer):this.mediaContainer=this.params.mediaContainer,!this.mediaContainer)throw new Error("Media Container element not found");this.savedVolume=0,this.isMuted=!1,this.tmpEvents=[],this.currentAjax=null,this.createDrawer(),this.createBackend(),this.createPeakCache(),this.isDestroyed=!1},createDrawer:function(){var e=this;this.drawer=Object.create(t.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("redraw",(function(){e.drawBuffer(),e.drawer.progress(e.backend.getPlayedPercents())})),this.drawer.on("click",(function(t,i){setTimeout((function(){e.seekTo(i)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))},createBackend:function(){var e=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||t.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(t[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){e.fireEvent("finish")})),this.backend.on("play",(function(){e.fireEvent("play")})),this.backend.on("pause",(function(){e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(t.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},getCurrentTime:function(){return this.backend.getCurrentTime()},play:function(t,e){this.fireEvent("interaction",this.play.bind(this,t,e)),this.backend.play(t,e)},pause:function(){this.backend.isPaused()||this.backend.pause()},playPause:function(){this.backend.isPaused()?this.play():this.pause()},isPlaying:function(){return!this.backend.isPaused()},skipBackward:function(t){this.skip(-t||-this.params.skipLength)},skipForward:function(t){this.skip(t||this.params.skipLength)},skip:function(t){var e=this.getCurrentTime()||0,i=this.getDuration()||1;e=Math.max(0,Math.min(i,e+(t||0))),this.seekAndCenter(e/i)},seekAndCenter:function(t){this.seekTo(t),this.drawer.recenter(t)},seekTo:function(t){this.fireEvent("interaction",this.seekTo.bind(this,t));var e=this.backend.isPaused();e||this.backend.pause();var i=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(t*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),e||this.backend.play(),this.params.scrollParent=i,this.fireEvent("seek",t)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(t){this.backend.setVolume(t)},getVolume:function(){return this.backend.getVolume()},setPlaybackRate:function(t){this.backend.setPlaybackRate(t)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(t){t!==this.isMuted&&(t?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0):(this.backend.setVolume(this.savedVolume),this.isMuted=!1))},getMute:function(){return this.isMuted},getFilters:function(){return this.backend.filters||[]},toggleScroll:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()},toggleInteraction:function(){this.params.interact=!this.params.interact},drawBuffer:function(){var t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),e=this.drawer.getWidth(),i=t,s=this.drawer.getScrollX(),a=Math.min(s+e,i);if(this.params.fillParent&&(!this.params.scrollParent||t<e)&&(s=0,a=i=e),this.params.partialRender)for(var n=this.peakCache.addRangeToPeakCache(i,s,a),r=0;r<n.length;r++){var o=this.backend.getPeaks(i,n[r][0],n[r][1]);this.drawer.drawPeaks(o,i,n[r][0],n[r][1])}else s=0,a=i,o=this.backend.getPeaks(i,s,a),this.drawer.drawPeaks(o,i,s,a);this.fireEvent("redraw",o,i)},zoom:function(t){this.params.minPxPerSec=t,this.params.scrollParent=!0,this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents()),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",t)},loadArrayBuffer:function(t){this.decodeArrayBuffer(t,function(t){this.isDestroyed||this.loadDecodedBuffer(t)}.bind(this))},loadDecodedBuffer:function(t){this.backend.load(t),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(t){var e=this,i=new FileReader;i.addEventListener("progress",(function(t){e.onProgress(t)})),i.addEventListener("load",(function(t){e.loadArrayBuffer(t.target.result)})),i.addEventListener("error",(function(){e.fireEvent("error","Error reading file")})),i.readAsArrayBuffer(t),this.empty()},load:function(t,e,i){switch(this.empty(),this.params.backend){case"WebAudio":return this.loadBuffer(t,e);case"MediaElement":return this.loadMediaElement(t,e,i)}},loadBuffer:function(t,e){var i=function(e){return e&&this.tmpEvents.push(this.once("ready",e)),this.getArrayBuffer(t,this.loadArrayBuffer.bind(this))}.bind(this);return e?(this.backend.setPeaks(e),this.drawBuffer(),void this.tmpEvents.push(this.once("interaction",i))):i()},loadMediaElement:function(t,e,i){var s=t;if("string"==typeof t)this.backend.load(s,this.mediaContainer,e,i);else{var a=t;this.backend.loadElt(a,e),s=a.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(t){this.fireEvent("error",t)}.bind(this))),e&&this.backend.setPeaks(e),e&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(s,function(t){this.decodeArrayBuffer(t,function(t){this.backend.buffer=t,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(t,e){this.arraybuffer=t,this.backend.decodeArrayBuffer(t,function(i){this.isDestroyed||this.arraybuffer!=t||(e(i),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(e,i){var s=this,a=t.util.ajax({url:e,responseType:"arraybuffer"});return this.currentAjax=a,this.tmpEvents.push(a.on("progress",(function(t){s.onProgress(t)})),a.on("success",(function(t,e){i(t),s.currentAjax=null})),a.on("error",(function(t){s.fireEvent("error","XHR error: "+t.target.statusText),s.currentAjax=null}))),a},onProgress:function(t){if(t.lengthComputable)var e=t.loaded/t.total;else e=t.loaded/(t.loaded+1e6);this.fireEvent("loading",Math.round(100*e),t.target)},exportPCM:function(t,e,i){t=t||1024,e=e||1e4,i=i||!1;var s=this.backend.getPeaks(t,e),a=[].map.call(s,(function(t){return Math.round(t*e)/e})),n=JSON.stringify(a);return i||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(n)),n},exportImage:function(t,e){return t||(t="image/png"),e||(e=1),this.drawer.getImage(t,e)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(t){t.un()}))},empty:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)},destroy:function(){this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),this.backend.destroy(),this.drawer.destroy(),this.isDestroyed=!0},create:function(e){var i=Object.create(t);return i.init(e),i}};return t.util={extend:function(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach((function(e){Object.keys(e).forEach((function(i){t[i]=e[i]}))})),t},debounce:function(t,e,i){var s,a,n,r=function(){n=null,i||t.apply(a,s)};return function(){a=this,s=arguments;var o=i&&!n;clearTimeout(n),(n=setTimeout(r,e))||(n=setTimeout(r,e)),o&&t.apply(a,s)}},min:function(t){var e=1/0;for(var i in t)t[i]<e&&(e=t[i]);return e},max:function(t){var e=-1/0;for(var i in t)t[i]>e&&(e=t[i]);return e},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(e){var i=Object.create(t.Observer),s=new XMLHttpRequest,a=!1;return s.open(e.method||"GET",e.url,!0),s.responseType=e.responseType||"json",s.addEventListener("progress",(function(t){i.fireEvent("progress",t),t.lengthComputable&&t.loaded==t.total&&(a=!0)})),s.addEventListener("load",(function(t){a||i.fireEvent("progress",t),i.fireEvent("load",t),200==s.status||206==s.status?i.fireEvent("success",s.response,t):i.fireEvent("error",t)})),s.addEventListener("error",(function(t){i.fireEvent("error",t)})),s.send(),i.xhr=s,i}},t.Observer={on:function(t,e){this.handlers||(this.handlers={});var i=this.handlers[t];return i||(i=this.handlers[t]=[]),i.push(e),{name:t,callback:e,un:this.un.bind(this,t,e)}},un:function(t,e){if(this.handlers){var i=this.handlers[t];if(i)if(e)for(var s=i.length-1;s>=0;s--)i[s]==e&&i.splice(s,1);else i.length=0}},unAll:function(){this.handlers=null},once:function(t,e){var i=this,s=function(){e.apply(this,arguments),setTimeout((function(){i.un(t,s)}),0)};return this.on(t,s)},fireEvent:function(t){if(this.handlers){var e=this.handlers[t],i=Array.prototype.slice.call(arguments,1);e&&e.forEach((function(t){t.apply(null,i)}))}}},t.util.extend(t,t.Observer),t.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return this.ac||(this.ac=new(window.AudioContext||window.webkitAudioContext)),this.ac},getOfflineAudioContext:function(e){return t.WebAudio.offlineAudioContext||(t.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),t.WebAudio.offlineAudioContext},init:function(e){this.params=e,this.ac=e.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(t.WebAudio.state.playing),Object.create(t.WebAudio.state.paused),Object.create(t.WebAudio.state.finished)],this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState(this.PAUSED_STATE),this.setPlaybackRate(this.params.audioRate),this.setLength(0)},disconnectFilters:function(){this.filters&&(this.filters.forEach((function(t){t&&t.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(t){this.state!==this.states[t]&&(this.state=this.states[t],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(t){this.disconnectFilters(),t&&t.length&&(this.filters=t,this.analyser.disconnect(),t.reduce((function(t,e){return t.connect(e),e}),this.analyser).connect(this.gainNode))},createScriptNode:function(){this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(this.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(this.scriptBufferSize),this.scriptNode.connect(this.ac.destination)},addOnAudioProcess:function(){var t=this;this.scriptNode.onaudioprocess=function(){var e=t.getCurrentTime();e>=t.getDuration()?(t.setState(t.FINISHED_STATE),t.fireEvent("pause")):e>=t.scheduledPause?t.pause():t.state===t.states[t.PLAYING_STATE]&&t.fireEvent("audioprocess",e)}},removeOnAudioProcess:function(){this.scriptNode.onaudioprocess=null},createAnalyserNode:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)},createVolumeNode:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)},setVolume:function(t){this.gainNode.gain.value=t},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(t,e,i){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(t,function(t){e(t)}.bind(this),i)},setPeaks:function(t){this.peaks=t},setLength:function(t){if(!this.mergedPeaks||t!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var e=this.buffer?this.buffer.numberOfChannels:1,i=0;i<e;i++)this.splitPeaks[i]=[],this.splitPeaks[i][2*(t-1)]=0,this.splitPeaks[i][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}},getPeaks:function(t,e,i){if(this.peaks)return this.peaks;this.setLength(t);for(var s=this.buffer.length/t,a=~~(s/10)||1,n=this.buffer.numberOfChannels,r=0;r<n;r++)for(var o=this.splitPeaks[r],l=this.buffer.getChannelData(r),c=e;c<=i;c++){for(var d=~~(c*s),u=~~(d+s),h=0,p=0,v=d;v<u;v+=a){var f=l[v];f>p&&(p=f),f<h&&(h=f)}o[2*c]=p,o[2*c+1]=h,(0==r||p>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=p),(0==r||h<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=h)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.audioContext||"function"==typeof this.ac.close&&this.ac.close()},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var i=this.seekTo(t,e);t=i.start,e=i.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,i,s){var a=document.createElement(this.mediaType);a.controls=this.params.mediaControls,a.autoplay=this.params.autoplay||!1,a.preload=null==s?"auto":s,a.src=t,a.style.width="100%";var n=e.querySelector(this.mediaType);n&&e.removeChild(n),e.appendChild(a),this._load(a,i)},loadElt:function(t,e){var i=t;i.controls=this.params.mediaControls,i.autoplay=this.params.autoplay||!1,this._load(i,e)},_load:function(t,e){var i=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){i.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){i.fireEvent("canplay")})),t.addEventListener("ended",(function(){i.fireEvent("finish")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e),this.fireEvent("play")},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd(),this.fireEvent("pause")},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(i){i>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,i,s){return this.buffer?t.WebAudio.getPeaks.call(this,e,i,s):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var i,s=t.targetTouches?t.targetTouches[0].clientX:t.clientX,a=this.wrapper.getBoundingClientRect(),n=this.width,r=this.getWidth();return!this.params.fillParent&&n<r?(i=(s-a.left)*this.params.pixelRatio/n||0)>1&&(i=1):i=(s-a.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,i},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var i=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=i){var s=t.wrapper.getBoundingClientRect();if(e.clientY>=s.bottom-i)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,i,s){this.setWidth(e),this.params.barWidth?this.drawBars(t,0,i,s):this.drawWave(t,0,i,s)},style:function(t,e){return Object.keys(e).forEach((function(i){t.style[i]!==e[i]&&(t.style[i]=e[i])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var i=this.wrapper.scrollLeft,s=~~(this.wrapper.clientWidth/2),a=t-s,n=a-i,r=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=r&&(!e&&-s<=n&&n<s&&(a=i+(n=Math.max(-5,Math.min(5,n)))),(a=Math.max(0,Math.min(r,a)))!=i&&(this.wrapper.scrollLeft=a))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize())},setHeight:function(t){t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize())},progress:function(t){var e=1/this.params.pixelRatio,i=Math.round(t*this.width)*e;if(i<this.lastPos||i-this.lastPos>=e){if(this.lastPos=i,this.params.scrollParent&&this.params.autoCenter){var s=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(s)}this.updateProgress(i)}},destroy:function(){this.unAll(),this.wrapper&&(this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:function(e,i,s,a){var n=this;if(e[0]instanceof Array){var r=e;if(this.params.splitChannels)return this.setHeight(r.length*this.params.height*this.params.pixelRatio),void r.forEach((function(t,e){n.drawBars(t,e,s,a)}));e=r[0]}var o=[].some.call(e,(function(t){return t<0})),l=1;o&&(l=2);var c=.5/this.params.pixelRatio,d=this.width,u=this.params.height*this.params.pixelRatio,h=u*i||0,p=u/2,v=e.length/l,f=this.params.barWidth*this.params.pixelRatio,m=Math.max(this.params.pixelRatio,~~(f/2)),g=f+m,x=1;if(this.params.normalize){var b=t.util.max(e),y=t.util.min(e);x=-y>b?-y:b}var w=v/d;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var i=s/w;i<a/w;i+=g){var n=e[Math.floor(i*w*l)]||0,r=Math.round(n/x*p);t.fillRect(i+c,p-r+h,f+c,2*r)}}),this)},drawWave:function(e,i,s,a){var n=this;if(e[0]instanceof Array){var r=e;if(this.params.splitChannels)return this.setHeight(r.length*this.params.height*this.params.pixelRatio),void r.forEach((function(t,e){n.drawWave(t,e,s,a)}));e=r[0]}if(![].some.call(e,(function(t){return t<0}))){for(var o=[],l=0,c=e.length;l<c;l++)o[2*l]=e[l],o[2*l+1]=-e[l];e=o}var d=.5/this.params.pixelRatio,u=this.params.height*this.params.pixelRatio,h=u*i||0,p=u/2,v=~~(e.length/2),f=1;this.params.fillParent&&this.width!=v&&(f=this.width/v);var m=1;if(this.params.normalize){var g=t.util.max(e),x=t.util.min(e);m=-x>g?-x:g}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){t.beginPath(),t.moveTo(s*f+d,p+h);for(var i=s;i<a;i++){var n=Math.round(e[2*i]/m*p);t.lineTo(i*f+d,p-n+h)}for(i=a-1;i>=s;i--)n=Math.round(e[2*i+1]/m*p),t.lineTo(i*f+d,p-n+h);t.closePath(),t.fill(),t.fillRect(0,p+h-d,this.width,d)}}),this)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})),this.addCanvas()},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();for(var i in this.canvases){var s=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);i==this.canvases.length-1&&(s=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(this.canvases[i],s,this.height),this.clearWaveForEntry(this.canvases[i])}},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,i){var s=Math.round(e/this.params.pixelRatio),a=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/a||0,t.end=t.start+s/a,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=i,this.style(t.waveCtx.canvas,{width:s+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=i,this.style(t.progressCtx.canvas,{width:s+"px"}))},clearWave:function(){for(var t in this.canvases)this.clearWaveForEntry(this.canvases[t])},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:function(e,i,s,a){var n=this;if(e[0]instanceof Array){var r=e;if(this.params.splitChannels)return this.setHeight(r.length*this.params.height*this.params.pixelRatio),void r.forEach((function(t,e){n.drawBars(t,e,s,a)}));e=r[0]}var o=1;[].some.call(e,(function(t){return t<0}))&&(o=2);var l=this.width,c=this.params.height*this.params.pixelRatio,d=c*i||0,u=c/2,h=e.length/o,p=this.params.barWidth*this.params.pixelRatio,v=p+Math.max(this.params.pixelRatio,~~(p/2)),f=1;if(this.params.normalize){var m=t.util.max(e),g=t.util.min(e);f=-g>m?-g:m}for(var x=h/l,b=s/x;b<a/x;b+=v){var y=e[Math.floor(b*x*o)]||0,w=Math.round(y/f*u);this.fillRect(b+this.halfPixel,u-w+d,p+this.halfPixel,2*w)}},drawWave:function(e,i,s,a){var n=this;if(e[0]instanceof Array){var r=e;if(this.params.splitChannels)return this.setHeight(r.length*this.params.height*this.params.pixelRatio),void r.forEach((function(t,e){n.drawWave(t,e,s,a)}));e=r[0]}if(![].some.call(e,(function(t){return t<0}))){for(var o=[],l=0,c=e.length;l<c;l++)o[2*l]=e[l],o[2*l+1]=-e[l];e=o}var d=this.params.height*this.params.pixelRatio,u=d*i||0,h=d/2,p=1;if(this.params.normalize){var v=t.util.max(e),f=t.util.min(e);p=-f>v?-f:v}this.drawLine(e,p,h,u,s,a),this.fillRect(0,h+u-this.halfPixel,this.width,this.halfPixel)},drawLine:function(t,e,i,s,a,n){for(var r in this.canvases){var o=this.canvases[r];this.setFillStyles(o),this.drawLineToContext(o,o.waveCtx,t,e,i,s,a,n),this.drawLineToContext(o,o.progressCtx,t,e,i,s,a,n)}},drawLineToContext:function(t,e,i,s,a,n,r,o){if(e){var l=i.length/2,c=1;this.params.fillParent&&this.width!=l&&(c=this.width/l);var d=Math.round(l*t.start),u=Math.round(l*t.end);if(!(d>o||u<r)){var h=Math.max(d,r),p=Math.min(u,o);e.beginPath(),e.moveTo((h-d)*c+this.halfPixel,a+n);for(var v=h;v<p;v++){var f=i[2*v]||0,m=Math.round(f/s*a);e.lineTo((v-d)*c+this.halfPixel,a-m+n)}for(v=p-1;v>=h;v--)f=i[2*v+1]||0,m=Math.round(f/s*a),e.lineTo((v-d)*c+this.halfPixel,a-m+n);e.closePath(),e.fill()}}},fillRect:function(t,e,i,s){for(var a=Math.floor(t/this.maxCanvasWidth),n=Math.min(Math.ceil((t+i)/this.maxCanvasWidth)+1,this.canvases.length),r=a;r<n;r++){var o=this.canvases[r],l=r*this.maxCanvasWidth,c={x1:Math.max(t,r*this.maxCanvasWidth),y1:e,x2:Math.min(t+i,r*this.maxCanvasWidth+o.waveCtx.canvas.width),y2:e+s};c.x1<c.x2&&(this.setFillStyles(o),this.fillRectToContext(o.waveCtx,c.x1-l,c.y1,c.x2-c.x1,c.y2-c.y1),this.fillRectToContext(o.progressCtx,c.x1-l,c.y1,c.x2-c.x1,c.y2-c.y1))}},fillRectToContext:function(t,e,i,s,a){t&&t.fillRect(e,i,s,a)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})}}),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,i){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var s=[],a=0;a<this.peakCacheRanges.length&&this.peakCacheRanges[a]<e;)a++;for(a%2==0&&s.push(e);a<this.peakCacheRanges.length&&this.peakCacheRanges[a]<=i;)s.push(this.peakCacheRanges[a]),a++;a%2==0&&s.push(i),s=s.filter((function(t,e,i){return 0==e?t!=i[e+1]:e==i.length-1?t!=i[e-1]:t!=i[e-1]&&t!=i[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(s),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,i){return 0==e?t!=i[e+1]:e==i.length-1?t!=i[e-1]:t!=i[e-1]&&t!=i[e+1]}));var n=[];for(a=0;a<s.length;a+=2)n.push([s[a],s[a+1]]);return n},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var i=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var s=t.create(i);if(e.dataset.peaks)var a=JSON.parse(e.dataset.peaks);s.load(e.dataset.url,a)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=s)},38:function(t,e,i){"use strict";i.r(e);var s={name:"emoji-picker",data:function(){return{show:!1}},components:{VEmojiPicker:i(173).a},methods:{selected:function(t){this.$emit("selected",t)}}},a=i(1),n=i(2),r=i.n(n),o=i(259),l=i(165),c=i(261),d=i(270),u=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"container"},[i("v-btn",{attrs:{icon:""},on:{click:function(e){t.show=!t.show}}},[i("v-icon",{class:{"primary--text":t.show}},[t._v("mdi-face")])],1),t._v(" "),i("v-menu",{attrs:{"close-on-content-click":!1,top:"",attach:t.$refs.container,"z-index":"500000000","max-width":"500px"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-list",[i("VEmojiPicker",{attrs:{dark:t.isDark},on:{select:t.selected}})],1)],1)],1)}),[],!1,null,null,null);e.default=u.exports;r()(u,{VBtn:o.a,VIcon:l.a,VList:c.a,VMenu:d.a})},423:function(t,e,i){var s=i(424);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("c9026f1c",s,!0,{})},424:function(t,e,i){(e=i(8)(!1)).push([t.i,'.theme--light.v-icon{color:rgba(0,0,0,.54)}.theme--light.v-icon:focus::after{opacity:.12}.theme--light.v-icon.v-icon.v-icon--disabled{color:rgba(0,0,0,.38) !important}.theme--dark.v-icon{color:#fff}.theme--dark.v-icon:focus::after{opacity:.24}.theme--dark.v-icon.v-icon.v-icon--disabled{color:rgba(255,255,255,.5) !important}.v-icon.v-icon{align-items:center;display:inline-flex;font-feature-settings:"liga";font-size:24px;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;transition:.3s cubic-bezier(0.25, 0.8, 0.5, 1),visibility 0s;vertical-align:middle;user-select:none}.v-icon.v-icon::after{background-color:currentColor;border-radius:50%;content:"";display:inline-block;height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform:scale(1.3);width:100%;transition:opacity .2s cubic-bezier(0.4, 0, 0.6, 1)}.v-icon.v-icon--dense{font-size:20px}.v-icon--right{margin-left:8px}.v-icon--left{margin-right:8px}.v-icon.v-icon.v-icon--link{cursor:pointer;outline:none}.v-icon--disabled{pointer-events:none}.v-icon--dense__component,.v-icon--dense__svg{height:20px}.v-icon__component{height:24px;width:24px}.v-icon__svg{height:24px;width:24px;fill:currentColor}',""]),t.exports=e},425:function(t,e,i){var s=i(426);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("719041d9",s,!0,{})},426:function(t,e,i){(e=i(8)(!1)).push([t.i,".theme--light.v-overlay{color:rgba(0,0,0,.87)}.theme--dark.v-overlay{color:#fff}.v-overlay{align-items:center;border-radius:inherit;display:flex;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:none;transition:.3s cubic-bezier(0.25, 0.8, 0.5, 1),z-index 1ms}.v-overlay__content{position:relative}.v-overlay__scrim{border-radius:inherit;bottom:0;height:100%;left:0;position:absolute;right:0;top:0;transition:inherit;width:100%;will-change:opacity}.v-overlay--absolute{position:absolute}.v-overlay--active{pointer-events:auto}",""]),t.exports=e},429:function(t,e,i){var s=i(430);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("c287033a",s,!0,{})},430:function(t,e,i){(e=i(8)(!1)).push([t.i,".v-dialog{border-radius:4px;margin:24px;overflow-y:auto;pointer-events:auto;transition:.3s cubic-bezier(0.25, 0.8, 0.25, 1);width:100%;z-index:inherit;box-shadow:0px 11px 15px -7px rgba(0,0,0,.2),0px 24px 38px 3px rgba(0,0,0,.14),0px 9px 46px 8px rgba(0,0,0,.12)}.v-dialog:not(.v-dialog--fullscreen){max-height:90%}.v-dialog>*{width:100%}.v-dialog>.v-card>.v-card__title{font-size:1.25rem;font-weight:500;letter-spacing:.0125em;padding:16px 24px 10px}.v-dialog>.v-card>.v-card__text{padding:0 24px 20px}.v-dialog>.v-card>.v-card__subtitle{padding:0 24px 20px}.v-dialog>.v-card>.v-card__actions{padding:8px 16px}.v-dialog__content{align-items:center;display:flex;height:100%;justify-content:center;left:0;pointer-events:none;position:fixed;top:0;transition:.2s cubic-bezier(0.25, 0.8, 0.25, 1),z-index 1ms;width:100%;z-index:6;outline:none}.v-dialog__container{display:none}.v-dialog__container--attached{display:inline}.v-dialog--animated{animation-duration:.15s;animation-name:animate-dialog;animation-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1)}.v-dialog--fullscreen{border-radius:0;margin:0;height:100%;position:fixed;overflow-y:auto;top:0;left:0}.v-dialog--fullscreen>.v-card{min-height:100%;min-width:100%;margin:0 !important;padding:0 !important}.v-dialog--scrollable,.v-dialog--scrollable>form{display:flex}.v-dialog--scrollable>.v-card,.v-dialog--scrollable>form>.v-card{display:flex;flex:1 1 100%;flex-direction:column;max-height:100%;max-width:100%}.v-dialog--scrollable>.v-card>.v-card__title,.v-dialog--scrollable>.v-card>.v-card__actions,.v-dialog--scrollable>form>.v-card>.v-card__title,.v-dialog--scrollable>form>.v-card>.v-card__actions{flex:0 0 auto}.v-dialog--scrollable>.v-card>.v-card__text,.v-dialog--scrollable>form>.v-card>.v-card__text{backface-visibility:hidden;flex:1 1 auto;overflow-y:auto}@keyframes animate-dialog{0%{transform:scale(1)}50%{transform:scale(1.03)}100%{transform:scale(1)}}",""]),t.exports=e},431:function(t,e,i){var s=i(432);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("4ee54a12",s,!0,{})},432:function(t,e,i){(e=i(8)(!1)).push([t.i,".v-avatar{align-items:center;border-radius:50%;display:inline-flex;justify-content:center;line-height:normal;position:relative;text-align:center;vertical-align:middle;overflow:hidden}.v-avatar img,.v-avatar svg,.v-avatar .v-icon,.v-avatar .v-image,.v-avatar .v-responsive__content{border-radius:inherit;display:inline-flex;height:inherit;width:inherit}",""]),t.exports=e},438:function(t,e,i){var s=i(439);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("b9a57c7c",s,!0,{})},439:function(t,e,i){(e=i(8)(!1)).push([t.i,".theme--light.v-divider{border-color:rgba(0,0,0,.12)}.theme--dark.v-divider{border-color:rgba(255,255,255,.12)}.v-divider{display:block;flex:1 1 0px;max-width:100%;height:0px;max-height:0px;border:solid;border-width:thin 0 0 0;transition:inherit}.v-divider--inset:not(.v-divider--vertical){max-width:calc(100% - 72px)}.v-application--is-ltr .v-divider--inset:not(.v-divider--vertical){margin-left:72px}.v-application--is-rtl .v-divider--inset:not(.v-divider--vertical){margin-right:72px}.v-divider--vertical{align-self:stretch;border:solid;border-width:0 thin 0 0;display:inline-flex;height:inherit;min-height:100%;max-height:100%;max-width:0px;width:0px;vertical-align:text-bottom;margin:0 -1px}.v-divider--vertical.v-divider--inset{margin-top:8px;min-height:0;max-height:calc(100% - 16px)}",""]),t.exports=e},443:function(t,e,i){var s=i(444);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("721df664",s,!0,{})},444:function(t,e,i){(e=i(8)(!1)).push([t.i,".theme--light.v-toolbar.v-sheet{background-color:#fff}.theme--dark.v-toolbar.v-sheet{background-color:#272727}.v-sheet.v-toolbar{border-radius:0}.v-sheet.v-toolbar:not(.v-sheet--outlined){box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12)}.v-sheet.v-toolbar.v-sheet--shaped{border-radius:24px 0}.v-toolbar{contain:layout;display:block;flex:1 1 auto;max-width:100%;transition:.2s cubic-bezier(0.4, 0, 0.2, 1) transform,.2s cubic-bezier(0.4, 0, 0.2, 1) background-color,.2s cubic-bezier(0.4, 0, 0.2, 1) left,.2s cubic-bezier(0.4, 0, 0.2, 1) right,280ms cubic-bezier(0.4, 0, 0.2, 1) box-shadow,.25s cubic-bezier(0.4, 0, 0.2, 1) max-width,.25s cubic-bezier(0.4, 0, 0.2, 1) width;position:relative;box-shadow:0px 2px 4px -1px rgba(0,0,0,.2),0px 4px 5px 0px rgba(0,0,0,.14),0px 1px 10px 0px rgba(0,0,0,.12)}.v-toolbar .v-input{padding-top:0;margin-top:0}.v-toolbar__content,.v-toolbar__extension{padding:4px 16px}.v-toolbar__content .v-btn.v-btn--icon.v-size--default,.v-toolbar__extension .v-btn.v-btn--icon.v-size--default{height:48px;width:48px}.v-application--is-ltr .v-toolbar__content>.v-btn.v-btn--icon:first-child,.v-application--is-ltr .v-toolbar__extension>.v-btn.v-btn--icon:first-child{margin-left:-12px}.v-application--is-rtl .v-toolbar__content>.v-btn.v-btn--icon:first-child,.v-application--is-rtl .v-toolbar__extension>.v-btn.v-btn--icon:first-child{margin-right:-12px}.v-application--is-ltr .v-toolbar__content>.v-btn.v-btn--icon:first-child+.v-toolbar__title,.v-application--is-ltr .v-toolbar__extension>.v-btn.v-btn--icon:first-child+.v-toolbar__title{padding-left:20px}.v-application--is-rtl .v-toolbar__content>.v-btn.v-btn--icon:first-child+.v-toolbar__title,.v-application--is-rtl .v-toolbar__extension>.v-btn.v-btn--icon:first-child+.v-toolbar__title{padding-right:20px}.v-application--is-ltr .v-toolbar__content>.v-btn.v-btn--icon:last-child,.v-application--is-ltr .v-toolbar__extension>.v-btn.v-btn--icon:last-child{margin-right:-12px}.v-application--is-rtl .v-toolbar__content>.v-btn.v-btn--icon:last-child,.v-application--is-rtl .v-toolbar__extension>.v-btn.v-btn--icon:last-child{margin-left:-12px}.v-toolbar__content>.v-tabs,.v-toolbar__extension>.v-tabs{height:inherit;margin-top:-4px;margin-bottom:-4px}.v-toolbar__content>.v-tabs>.v-slide-group.v-tabs-bar,.v-toolbar__extension>.v-tabs>.v-slide-group.v-tabs-bar{background-color:inherit;height:inherit}.v-toolbar__content>.v-tabs:first-child,.v-toolbar__extension>.v-tabs:first-child{margin-left:-16px}.v-toolbar__content>.v-tabs:last-child,.v-toolbar__extension>.v-tabs:last-child{margin-right:-16px}.v-toolbar__content,.v-toolbar__extension{align-items:center;display:flex;position:relative;z-index:0}.v-toolbar__image{border-radius:inherit;position:absolute;top:0;bottom:0;width:100%;z-index:0;contain:strict}.v-toolbar__image .v-image{border-radius:inherit}.v-toolbar__items{display:flex;height:inherit}.v-toolbar__items>.v-btn{border-radius:0;height:100% !important;max-height:none}.v-toolbar__title{font-size:1.25rem;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-toolbar.v-toolbar--absolute{position:absolute;top:0;z-index:1}.v-toolbar.v-toolbar--bottom{top:initial;bottom:0}.v-toolbar.v-toolbar--collapse .v-toolbar__title{white-space:nowrap}.v-toolbar.v-toolbar--collapsed{max-width:112px;overflow:hidden}.v-application--is-ltr .v-toolbar.v-toolbar--collapsed{border-bottom-right-radius:24px}.v-application--is-rtl .v-toolbar.v-toolbar--collapsed{border-bottom-left-radius:24px}.v-toolbar.v-toolbar--collapsed .v-toolbar__title,.v-toolbar.v-toolbar--collapsed .v-toolbar__extension{display:none}.v-toolbar--dense .v-toolbar__content,.v-toolbar--dense .v-toolbar__extension{padding-top:0;padding-bottom:0}.v-toolbar--flat{box-shadow:0px 0px 0px 0px rgba(0,0,0,.2),0px 0px 0px 0px rgba(0,0,0,.14),0px 0px 0px 0px rgba(0,0,0,.12) !important}.v-toolbar--floating{display:inline-flex}.v-toolbar--prominent .v-toolbar__content{align-items:flex-start}.v-toolbar--prominent .v-toolbar__title{font-size:1.5rem;padding-top:6px}.v-toolbar--prominent:not(.v-toolbar--bottom) .v-toolbar__title{align-self:flex-end;padding-bottom:6px;padding-top:0}",""]),t.exports=e},455:function(t,e,i){var s=i(456);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("6dde6766",s,!0,{})},456:function(t,e,i){(e=i(8)(!1)).push([t.i,".v-list.primary>.v-list-item,.v-list.secondary>.v-list-item,.v-list.accent>.v-list-item,.v-list.success>.v-list-item,.v-list.error>.v-list-item,.v-list.warning>.v-list-item,.v-list.info>.v-list-item{color:#fff}.theme--light.v-list{background:#fff;color:rgba(0,0,0,.87)}.theme--light.v-list .v-list--disabled{color:rgba(0,0,0,.38)}.theme--light.v-list .v-list-group--active:before,.theme--light.v-list .v-list-group--active:after{background:rgba(0,0,0,.12)}.theme--dark.v-list{background:#1e1e1e;color:#fff}.theme--dark.v-list .v-list--disabled{color:rgba(255,255,255,.5)}.theme--dark.v-list .v-list-group--active:before,.theme--dark.v-list .v-list-group--active:after{background:rgba(255,255,255,.12)}.v-sheet.v-list{border-radius:0}.v-sheet.v-list:not(.v-sheet--outlined){box-shadow:0px 0px 0px 0px rgba(0,0,0,.2),0px 0px 0px 0px rgba(0,0,0,.14),0px 0px 0px 0px rgba(0,0,0,.12)}.v-sheet.v-list.v-sheet--shaped{border-radius:0}.v-list{display:block;padding:8px 0;position:static;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);will-change:box-shadow}.v-list--disabled{pointer-events:none}.v-list--flat .v-list-item:before{display:none}.v-list--dense .v-subheader{font-size:.75rem;height:40px;padding:0 8px}.v-list--nav .v-list-item:not(:last-child):not(:only-child),.v-list--rounded .v-list-item:not(:last-child):not(:only-child){margin-bottom:8px}.v-list--nav.v-list--dense .v-list-item:not(:last-child):not(:only-child),.v-list--nav .v-list-item--dense:not(:last-child):not(:only-child),.v-list--rounded.v-list--dense .v-list-item:not(:last-child):not(:only-child),.v-list--rounded .v-list-item--dense:not(:last-child):not(:only-child){margin-bottom:4px}.v-list--nav{padding-left:8px;padding-right:8px}.v-list--nav .v-list-item{padding:0 8px}.v-list--nav .v-list-item,.v-list--nav .v-list-item:before{border-radius:4px}.v-application--is-ltr .v-list.v-sheet--shaped .v-list-item,.v-application--is-ltr .v-list.v-sheet--shaped .v-list-item::before,.v-application--is-ltr .v-list.v-sheet--shaped .v-list-item>.v-ripple__container{border-bottom-right-radius:32px !important;border-top-right-radius:32px !important}.v-application--is-rtl .v-list.v-sheet--shaped .v-list-item,.v-application--is-rtl .v-list.v-sheet--shaped .v-list-item::before,.v-application--is-rtl .v-list.v-sheet--shaped .v-list-item>.v-ripple__container{border-bottom-left-radius:32px !important;border-top-left-radius:32px !important}.v-application--is-ltr .v-list.v-sheet--shaped.v-list--two-line .v-list-item,.v-application--is-ltr .v-list.v-sheet--shaped.v-list--two-line .v-list-item::before,.v-application--is-ltr .v-list.v-sheet--shaped.v-list--two-line .v-list-item>.v-ripple__container{border-bottom-right-radius:42.6666666667px !important;border-top-right-radius:42.6666666667px !important}.v-application--is-rtl .v-list.v-sheet--shaped.v-list--two-line .v-list-item,.v-application--is-rtl .v-list.v-sheet--shaped.v-list--two-line .v-list-item::before,.v-application--is-rtl .v-list.v-sheet--shaped.v-list--two-line .v-list-item>.v-ripple__container{border-bottom-left-radius:42.6666666667px !important;border-top-left-radius:42.6666666667px !important}.v-application--is-ltr .v-list.v-sheet--shaped.v-list--three-line .v-list-item,.v-application--is-ltr .v-list.v-sheet--shaped.v-list--three-line .v-list-item::before,.v-application--is-ltr .v-list.v-sheet--shaped.v-list--three-line .v-list-item>.v-ripple__container{border-bottom-right-radius:58.6666666667px !important;border-top-right-radius:58.6666666667px !important}.v-application--is-rtl .v-list.v-sheet--shaped.v-list--three-line .v-list-item,.v-application--is-rtl .v-list.v-sheet--shaped.v-list--three-line .v-list-item::before,.v-application--is-rtl .v-list.v-sheet--shaped.v-list--three-line .v-list-item>.v-ripple__container{border-bottom-left-radius:58.6666666667px !important;border-top-left-radius:58.6666666667px !important}.v-application--is-ltr .v-list.v-sheet--shaped{padding-right:8px}.v-application--is-rtl .v-list.v-sheet--shaped{padding-left:8px}.v-list--rounded{padding:8px}.v-list--rounded .v-list-item,.v-list--rounded .v-list-item::before,.v-list--rounded .v-list-item>.v-ripple__container{border-radius:32px !important}.v-list--rounded.v-list--two-line .v-list-item,.v-list--rounded.v-list--two-line .v-list-item::before,.v-list--rounded.v-list--two-line .v-list-item>.v-ripple__container{border-radius:42.6666666667px !important}.v-list--rounded.v-list--three-line .v-list-item,.v-list--rounded.v-list--three-line .v-list-item::before,.v-list--rounded.v-list--three-line .v-list-item>.v-ripple__container{border-radius:58.6666666667px !important}.v-list--subheader{padding-top:0}",""]),t.exports=e},457:function(t,e,i){var s=i(458);"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(18).default)("23312b9e",s,!0,{})},458:function(t,e,i){(e=i(8)(!1)).push([t.i,".v-textarea textarea{align-self:stretch;flex:1 1 auto;line-height:1.75rem;max-width:100%;min-height:32px;outline:none;padding:0;width:100%}.v-textarea .v-text-field__prefix,.v-textarea .v-text-field__suffix{padding-top:2px;align-self:start}.v-textarea.v-text-field--box .v-text-field__prefix,.v-textarea.v-text-field--box textarea,.v-textarea.v-text-field--enclosed .v-text-field__prefix,.v-textarea.v-text-field--enclosed textarea{margin-top:24px}.v-textarea.v-text-field--box.v-text-field--single-line:not(.v-input--dense) .v-text-field__prefix,.v-textarea.v-text-field--box.v-text-field--single-line:not(.v-input--dense) .v-text-field__suffix,.v-textarea.v-text-field--box.v-text-field--single-line:not(.v-input--dense) textarea,.v-textarea.v-text-field--box.v-text-field--outlined:not(.v-input--dense) .v-text-field__prefix,.v-textarea.v-text-field--box.v-text-field--outlined:not(.v-input--dense) .v-text-field__suffix,.v-textarea.v-text-field--box.v-text-field--outlined:not(.v-input--dense) textarea,.v-textarea.v-text-field--enclosed.v-text-field--single-line:not(.v-input--dense) .v-text-field__prefix,.v-textarea.v-text-field--enclosed.v-text-field--single-line:not(.v-input--dense) .v-text-field__suffix,.v-textarea.v-text-field--enclosed.v-text-field--single-line:not(.v-input--dense) textarea,.v-textarea.v-text-field--enclosed.v-text-field--outlined:not(.v-input--dense) .v-text-field__prefix,.v-textarea.v-text-field--enclosed.v-text-field--outlined:not(.v-input--dense) .v-text-field__suffix,.v-textarea.v-text-field--enclosed.v-text-field--outlined:not(.v-input--dense) textarea{margin-top:10px}.v-textarea.v-text-field--box.v-text-field--single-line:not(.v-input--dense) .v-label,.v-textarea.v-text-field--box.v-text-field--outlined:not(.v-input--dense) .v-label,.v-textarea.v-text-field--enclosed.v-text-field--single-line:not(.v-input--dense) .v-label,.v-textarea.v-text-field--enclosed.v-text-field--outlined:not(.v-input--dense) .v-label{top:18px}.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-text-field__prefix,.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-text-field__suffix,.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense textarea,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-text-field__prefix,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-text-field__suffix,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense textarea,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-text-field__prefix,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-text-field__suffix,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense textarea,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-text-field__prefix,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-text-field__suffix,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense textarea{margin-top:6px}.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-input__prepend-inner,.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-input__prepend-outer,.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-input__append-inner,.v-textarea.v-text-field--box.v-text-field--single-line.v-input--dense .v-input__append-outer,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-input__prepend-inner,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-input__prepend-outer,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-input__append-inner,.v-textarea.v-text-field--box.v-text-field--outlined.v-input--dense .v-input__append-outer,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-input__prepend-inner,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-input__prepend-outer,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-input__append-inner,.v-textarea.v-text-field--enclosed.v-text-field--single-line.v-input--dense .v-input__append-outer,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-input__prepend-inner,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-input__prepend-outer,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-input__append-inner,.v-textarea.v-text-field--enclosed.v-text-field--outlined.v-input--dense .v-input__append-outer{align-self:flex-start;margin-top:8px}.v-textarea.v-text-field--solo{align-items:flex-start}.v-textarea.v-text-field--solo .v-input__prepend-inner,.v-textarea.v-text-field--solo .v-input__prepend-outer,.v-textarea.v-text-field--solo .v-input__append-inner,.v-textarea.v-text-field--solo .v-input__append-outer{align-self:flex-start;margin-top:12px}.v-application--is-ltr .v-textarea.v-text-field--solo .v-input__append-inner{padding-left:12px}.v-application--is-rtl .v-textarea.v-text-field--solo .v-input__append-inner{padding-right:12px}.v-textarea--auto-grow textarea{overflow:hidden}.v-textarea--no-resize textarea{resize:none}.v-textarea.v-text-field--enclosed .v-text-field__slot{align-self:stretch}.v-application--is-ltr .v-textarea.v-text-field--enclosed .v-text-field__slot{margin-right:-12px}.v-application--is-rtl .v-textarea.v-text-field--enclosed .v-text-field__slot{margin-left:-12px}.v-application--is-ltr .v-textarea.v-text-field--enclosed .v-text-field__slot textarea{padding-right:12px}.v-application--is-rtl .v-textarea.v-text-field--enclosed .v-text-field__slot textarea{padding-left:12px}",""]),t.exports=e},473:function(t,e,i){"use strict";var s,a,n,r,o,l,c,d,u=(s="https://api.spotify.com/v1",a=null,n=null,r=function(t,e){return t.abort=e,t},o=function(){var t=Array.prototype.slice.call(arguments),e=t[0],i=t.slice(1);return e=e||{},i.forEach((function(t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})),e},l=function(t,e){var i=new XMLHttpRequest,s=function(s,n){var r=t.type||"GET";if(i.open(r,function(t,e){var i="";for(var s in e)if(e.hasOwnProperty(s)){var a=e[s];i+=encodeURIComponent(s)+"="+encodeURIComponent(a)+"&"}return i.length>0&&(t=t+"?"+(i=i.substring(0,i.length-1))),t}(t.url,t.params)),a&&i.setRequestHeader("Authorization","Bearer "+a),i.onreadystatechange=function(){if(4===i.readyState){var t=null;try{t=i.responseText?JSON.parse(i.responseText):""}catch(t){console.error(t)}i.status>=200&&i.status<300?function(t){s&&s(t),e&&e(null,t)}(t):(n&&n(i),e&&e(i,null))}},"GET"===r)i.send(null);else{var o=null;t.postData&&("image/jpeg"===t.contentType?(o=t.postData,i.setRequestHeader("Content-Type",t.contentType)):(o=JSON.stringify(t.postData),i.setRequestHeader("Content-Type","application/json"))),i.send(o)}};return e?(s(),null):function(t,e){var i;if(null!==n){var s=n.defer();t((function(t){s.resolve(t)}),(function(t){s.reject(t)})),i=s.promise}else window.Promise&&(i=new window.Promise(t));return i?new r(i,e):null}(s,(function(){i.abort()}))},c=function(t,e,i,s){var a={},n=null;return"object"==typeof e?(a=e,n=i):"function"==typeof e&&(n=e),"GET"!==(t.type||"GET")&&t.postData&&!s?t.postData=o(t.postData,a):t.params=o(t.params,a),l(t,n)},((d=function(){}).prototype={constructor:u}).getGeneric=function(t,e){return c({url:t},e)},d.prototype.getMe=function(t,e){return c({url:s+"/me"},t,e)},d.prototype.getMySavedTracks=function(t,e){return c({url:s+"/me/tracks"},t,e)},d.prototype.addToMySavedTracks=function(t,e,i){return c({url:s+"/me/tracks",type:"PUT",postData:t},e,i)},d.prototype.removeFromMySavedTracks=function(t,e,i){return c({url:s+"/me/tracks",type:"DELETE",postData:t},e,i)},d.prototype.containsMySavedTracks=function(t,e,i){var a={url:s+"/me/tracks/contains",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getMySavedAlbums=function(t,e){return c({url:s+"/me/albums"},t,e)},d.prototype.addToMySavedAlbums=function(t,e,i){return c({url:s+"/me/albums",type:"PUT",postData:t},e,i)},d.prototype.removeFromMySavedAlbums=function(t,e,i){return c({url:s+"/me/albums",type:"DELETE",postData:t},e,i)},d.prototype.containsMySavedAlbums=function(t,e,i){var a={url:s+"/me/albums/contains",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getMyTopArtists=function(t,e){return c({url:s+"/me/top/artists"},t,e)},d.prototype.getMyTopTracks=function(t,e){return c({url:s+"/me/top/tracks"},t,e)},d.prototype.getMyRecentlyPlayedTracks=function(t,e){return c({url:s+"/me/player/recently-played"},t,e)},d.prototype.followUsers=function(t,e){var i={url:s+"/me/following/",type:"PUT",params:{ids:t.join(","),type:"user"}};return c(i,e)},d.prototype.followArtists=function(t,e){var i={url:s+"/me/following/",type:"PUT",params:{ids:t.join(","),type:"artist"}};return c(i,e)},d.prototype.followPlaylist=function(t,e,i){return c({url:s+"/playlists/"+t+"/followers",type:"PUT",postData:{}},e,i)},d.prototype.unfollowUsers=function(t,e){var i={url:s+"/me/following/",type:"DELETE",params:{ids:t.join(","),type:"user"}};return c(i,e)},d.prototype.unfollowArtists=function(t,e){var i={url:s+"/me/following/",type:"DELETE",params:{ids:t.join(","),type:"artist"}};return c(i,e)},d.prototype.unfollowPlaylist=function(t,e){return c({url:s+"/playlists/"+t+"/followers",type:"DELETE"},e)},d.prototype.isFollowingUsers=function(t,e){var i={url:s+"/me/following/contains",type:"GET",params:{ids:t.join(","),type:"user"}};return c(i,e)},d.prototype.isFollowingArtists=function(t,e){var i={url:s+"/me/following/contains",type:"GET",params:{ids:t.join(","),type:"artist"}};return c(i,e)},d.prototype.areFollowingPlaylist=function(t,e,i){var a={url:s+"/playlists/"+t+"/followers/contains",type:"GET",params:{ids:e.join(",")}};return c(a,i)},d.prototype.getFollowedArtists=function(t,e){return c({url:s+"/me/following",type:"GET",params:{type:"artist"}},t,e)},d.prototype.getUser=function(t,e,i){var a={url:s+"/users/"+encodeURIComponent(t)};return c(a,e,i)},d.prototype.getUserPlaylists=function(t,e,i){var a;return"string"==typeof t?a={url:s+"/users/"+encodeURIComponent(t)+"/playlists"}:(a={url:s+"/me/playlists"},i=e,e=t),c(a,e,i)},d.prototype.getPlaylist=function(t,e,i){return c({url:s+"/playlists/"+t},e,i)},d.prototype.getPlaylistTracks=function(t,e,i){return c({url:s+"/playlists/"+t+"/tracks"},e,i)},d.prototype.getPlaylistCoverImage=function(t,e){return c({url:s+"/playlists/"+t+"/images"},e)},d.prototype.createPlaylist=function(t,e,i){var a={url:s+"/users/"+encodeURIComponent(t)+"/playlists",type:"POST",postData:e};return c(a,e,i)},d.prototype.changePlaylistDetails=function(t,e,i){return c({url:s+"/playlists/"+t,type:"PUT",postData:e},e,i)},d.prototype.addTracksToPlaylist=function(t,e,i,a){return c({url:s+"/playlists/"+t+"/tracks",type:"POST",postData:{uris:e}},i,a,!0)},d.prototype.replaceTracksInPlaylist=function(t,e,i){return c({url:s+"/playlists/"+t+"/tracks",type:"PUT",postData:{uris:e}},{},i)},d.prototype.reorderTracksInPlaylist=function(t,e,i,a,n){return c({url:s+"/playlists/"+t+"/tracks",type:"PUT",postData:{range_start:e,insert_before:i}},a,n)},d.prototype.removeTracksFromPlaylist=function(t,e,i){var a=e.map((function(t){return"string"==typeof t?{uri:t}:t}));return c({url:s+"/playlists/"+t+"/tracks",type:"DELETE",postData:{tracks:a}},{},i)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(t,e,i,a){var n=e.map((function(t){return"string"==typeof t?{uri:t}:t}));return c({url:s+"/playlists/"+t+"/tracks",type:"DELETE",postData:{tracks:n,snapshot_id:i}},{},a)},d.prototype.removeTracksFromPlaylistInPositions=function(t,e,i,a){return c({url:s+"/playlists/"+t+"/tracks",type:"DELETE",postData:{positions:e,snapshot_id:i}},{},a)},d.prototype.uploadCustomPlaylistCoverImage=function(t,e,i){var a={url:s+"/playlists/"+t+"/images",type:"PUT",postData:e.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return c(a,{},i)},d.prototype.getAlbum=function(t,e,i){return c({url:s+"/albums/"+t},e,i)},d.prototype.getAlbumTracks=function(t,e,i){return c({url:s+"/albums/"+t+"/tracks"},e,i)},d.prototype.getAlbums=function(t,e,i){var a={url:s+"/albums/",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getTrack=function(t,e,i){var a={};return a.url=s+"/tracks/"+t,c(a,e,i)},d.prototype.getTracks=function(t,e,i){var a={url:s+"/tracks/",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getArtist=function(t,e,i){return c({url:s+"/artists/"+t},e,i)},d.prototype.getArtists=function(t,e,i){var a={url:s+"/artists/",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getArtistAlbums=function(t,e,i){return c({url:s+"/artists/"+t+"/albums"},e,i)},d.prototype.getArtistTopTracks=function(t,e,i,a){return c({url:s+"/artists/"+t+"/top-tracks",params:{country:e}},i,a)},d.prototype.getArtistRelatedArtists=function(t,e,i){return c({url:s+"/artists/"+t+"/related-artists"},e,i)},d.prototype.getFeaturedPlaylists=function(t,e){return c({url:s+"/browse/featured-playlists"},t,e)},d.prototype.getNewReleases=function(t,e){return c({url:s+"/browse/new-releases"},t,e)},d.prototype.getCategories=function(t,e){return c({url:s+"/browse/categories"},t,e)},d.prototype.getCategory=function(t,e,i){return c({url:s+"/browse/categories/"+t},e,i)},d.prototype.getCategoryPlaylists=function(t,e,i){return c({url:s+"/browse/categories/"+t+"/playlists"},e,i)},d.prototype.search=function(t,e,i,a){var n={url:s+"/search/",params:{q:t,type:e.join(",")}};return c(n,i,a)},d.prototype.searchAlbums=function(t,e,i){return this.search(t,["album"],e,i)},d.prototype.searchArtists=function(t,e,i){return this.search(t,["artist"],e,i)},d.prototype.searchTracks=function(t,e,i){return this.search(t,["track"],e,i)},d.prototype.searchPlaylists=function(t,e,i){return this.search(t,["playlist"],e,i)},d.prototype.searchShows=function(t,e,i){return this.search(t,["show"],e,i)},d.prototype.searchEpisodes=function(t,e,i){return this.search(t,["episode"],e,i)},d.prototype.getAudioFeaturesForTrack=function(t,e){var i={};return i.url=s+"/audio-features/"+t,c(i,{},e)},d.prototype.getAudioFeaturesForTracks=function(t,e){return c({url:s+"/audio-features",params:{ids:t}},{},e)},d.prototype.getAudioAnalysisForTrack=function(t,e){var i={};return i.url=s+"/audio-analysis/"+t,c(i,{},e)},d.prototype.getRecommendations=function(t,e){return c({url:s+"/recommendations"},t,e)},d.prototype.getAvailableGenreSeeds=function(t){return c({url:s+"/recommendations/available-genre-seeds"},{},t)},d.prototype.getMyDevices=function(t){return c({url:s+"/me/player/devices"},{},t)},d.prototype.getMyCurrentPlaybackState=function(t,e){return c({url:s+"/me/player"},t,e)},d.prototype.getMyCurrentPlayingTrack=function(t,e){return c({url:s+"/me/player/currently-playing"},t,e)},d.prototype.transferMyPlayback=function(t,e,i){var a=e||{};return a.device_ids=t,c({type:"PUT",url:s+"/me/player",postData:a},e,i)},d.prototype.play=function(t,e){var i="device_id"in(t=t||{})?{device_id:t.device_id}:null,a={};return["context_uri","uris","offset","position_ms"].forEach((function(e){e in t&&(a[e]=t[e])})),c({type:"PUT",url:s+"/me/player/play",params:i,postData:a},"function"==typeof t?t:{},e)},d.prototype.queue=function(t,e,i){var a="device_id"in(e=e||{})?{uri:t,device_id:e.device_id}:{uri:t};return c({type:"POST",url:s+"/me/player/queue",params:a},e,i)},d.prototype.pause=function(t,e){var i="device_id"in(t=t||{})?{device_id:t.device_id}:null;return c({type:"PUT",url:s+"/me/player/pause",params:i},t,e)},d.prototype.skipToNext=function(t,e){var i="device_id"in(t=t||{})?{device_id:t.device_id}:null;return c({type:"POST",url:s+"/me/player/next",params:i},t,e)},d.prototype.skipToPrevious=function(t,e){var i="device_id"in(t=t||{})?{device_id:t.device_id}:null;return c({type:"POST",url:s+"/me/player/previous",params:i},t,e)},d.prototype.seek=function(t,e,i){var a={position_ms:t};return"device_id"in(e=e||{})&&(a.device_id=e.device_id),c({type:"PUT",url:s+"/me/player/seek",params:a},e,i)},d.prototype.setRepeat=function(t,e,i){var a={state:t};return"device_id"in(e=e||{})&&(a.device_id=e.device_id),c({type:"PUT",url:s+"/me/player/repeat",params:a},e,i)},d.prototype.setVolume=function(t,e,i){var a={volume_percent:t};return"device_id"in(e=e||{})&&(a.device_id=e.device_id),c({type:"PUT",url:s+"/me/player/volume",params:a},e,i)},d.prototype.setShuffle=function(t,e,i){var a={state:t};return"device_id"in(e=e||{})&&(a.device_id=e.device_id),c({type:"PUT",url:s+"/me/player/shuffle",params:a},e,i)},d.prototype.getShow=function(t,e,i){var a={};return a.url=s+"/shows/"+t,c(a,e,i)},d.prototype.getShows=function(t,e,i){var a={url:s+"/shows/",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getMySavedShows=function(t,e){return c({url:s+"/me/shows"},t,e)},d.prototype.addToMySavedShows=function(t,e,i){return c({url:s+"/me/shows",type:"PUT",postData:t},e,i)},d.prototype.removeFromMySavedShows=function(t,e,i){return c({url:s+"/me/shows",type:"DELETE",postData:t},e,i)},d.prototype.containsMySavedShows=function(t,e,i){var a={url:s+"/me/shows/contains",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getShowEpisodes=function(t,e,i){return c({url:s+"/shows/"+t+"/episodes"},e,i)},d.prototype.getEpisode=function(t,e,i){var a={};return a.url=s+"/episodes/"+t,c(a,e,i)},d.prototype.getEpisodes=function(t,e,i){var a={url:s+"/episodes/",params:{ids:t.join(",")}};return c(a,e,i)},d.prototype.getAccessToken=function(){return a},d.prototype.setAccessToken=function(t){a=t},d.prototype.setPromiseImplementation=function(t){var e=!1;try{var i=new t((function(t){t()}));"function"==typeof i.then&&"function"==typeof i.catch&&(e=!0)}catch(t){console.error(t)}if(!e)throw new Error("Unsupported implementation of Promises/A+");n=t},d);"object"==typeof t.exports&&(t.exports=u)},52:function(t,e){t.exports=function(t,e){var i="function"==typeof t.exports?t.exports.extendOptions:t.options;for(var s in"function"==typeof t.exports&&(i.directives=t.exports.options.directives),i.directives=i.directives||{},e)i.directives[s]=i.directives[s]||e[s]}},54:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(4),r=i.n(n),o=i(9);function l(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var c={name:"document-message",props:["message","ownMessage"],data:function(){return{percent:0,downloaded:!1,loading:!1}},computed:{uploaded:function(){return this.message.uploaded},body:function(){var t=this.message.body.split(".").slice(0,-1).join(".");return t.length<25?t+".":t.substring(0,25)+"..."},ext:function(){return this.message.body.split(".").pop()}},methods:{download:function(){var t,e=this;return(t=a.a.mark((function t(){var i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,r()({url:e.message.document,method:"GET",responseType:"blob",onDownloadProgress:function(t){e.percent=Math.round(100*t.loaded/t.total),100===e.percent&&(e.downloaded=!0,e.percent=0)}});case 3:i=t.sent,s=i.data,Object(o.FileDownload)(s,e.message.body),e.loading=!1;case 7:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(s,a){var n=t.apply(e,i);function r(t){l(n,s,a,r,o,"next",t)}function o(t){l(n,s,a,r,o,"throw",t)}r(void 0)}))})()}}},d=i(11),u=i.n(d),h=i(268),p=i.n(h),v={insert:"head",singleton:!1},f=(u()(p.a,v),p.a.locals,i(1)),m=i(2),g=i.n(m),x=i(165),b=i(739),y=i(360),w=Object(f.a)(c,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",{staticStyle:{position:"relative",cursor:"pointer"},on:{click:t.download}},[i("v-layout",{attrs:{"align-content-center":"","align-center":""}},[i("span",{staticClass:"darkgrey",staticStyle:{"font-size":"15px","white-space":"nowrap"}},[t._v(t._s(t.body))]),t._v(" "),i("v-icon",{staticClass:"ml-2",attrs:{dark:t.ownMessage,small:""}},[t._v("mdi-file-document-multiple")]),t._v(" "),t.message.percent?i("span",[t._v(" % "+t._s(t.message.percent)+" ")]):t._e(),t._v(" "),t.message.percent&&100!==t.message.percent||t.percent&&100!==t.percent?i("v-progress-linear",{attrs:{"buffer-value":t.message.percent?t.message.percent:t.percent}}):t._e()],1)],1)}),[],!1,null,"717d8e8e",null);e.default=w.exports;g()(w,{VIcon:x.a,VLayout:b.a,VProgressLinear:y.a})},62:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));var s=i(78);function a(t,e,i){return Object(s.a)(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data:()=>({isActive:!1}),computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}a("itemGroup")},66:function(t,e,i){"use strict";i.r(e);var s={name:"message-action-btn",props:["name","icon","size","loading"]},a=i(1),n=i(2),r=i.n(n),o=i(259),l=i(165),c=i(733),d=Object(a.a)(s,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-tooltip",{attrs:{top:""},scopedSlots:t._u([{key:"activator",fn:function(e){var s=e.on,a=e.attrs;return[i("v-btn",{staticClass:"mr-1 ml-1",attrs:{loading:!!t.loading&&t.loading,"x-small":"",icon:""},on:{click:function(e){return t.$emit("clicked")}}},[i("v-icon",t._g(t._b({attrs:{size:t.size?t.size:"15"}},"v-icon",a,!1),s),[t._v(t._s(t.icon))])],1)]}}])},[t._v(" "),i("span",[t._v(t._s(t.name))])])}),[],!1,null,null,null);e.default=d.exports;r()(d,{VBtn:o.a,VIcon:l.a,VTooltip:c.a})},67:function(t,e,i){"use strict";i.r(e);var s=i(32),a=i.n(s),n={name:"thread-image",props:["src","init"],data:function(){return{loaded:!1}},methods:{avatarUrl:function(t){return t+"?token="+a.a.get("token")},scroll:function(){this.init?this.scrollToBottom(!0):this.scrollToBottom(),this.loaded=!0}}},r=i(11),o=i.n(r),l=i(271),c=i.n(l),d={insert:"head",singleton:!1},u=(o()(c.a,d),c.a.locals,i(1)),h=i(2),p=i.n(h),v=i(739),f=i(256),m=i(193),g=Object(u.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[i("v-layout",{staticStyle:{"min-height":"200px","min-width":"200px"},attrs:{"align-center":"","justify-center":""}},[i("img",{staticClass:"rounded-lg hidden",class:{visible:t.loaded},style:t.isMobile?"max-width:100%":"max-width:500px",attrs:{height:"auto",src:t.avatarUrl(t.src)},on:{load:t.scroll}}),t._v(" "),t.loaded?t._e():i("v-overlay",{attrs:{absolute:"",opacity:"0"}},[i("v-progress-circular",{attrs:{indeterminate:""}})],1)],1)],1)}),[],!1,null,"11292b1e",null);e.default=g.exports;p()(g,{VLayout:v.a,VOverlay:f.a,VProgressCircular:m.a})},68:function(t,e,i){"use strict";i.r(e);var s=i(102),a=i(103),n=i(116),r=i(109),o=(i(9),{name:"message",components:{MessageHeader:r.default,MessageContent:n.default,MessageAvatar:a.default,MessageReaders:s.default},props:["message"],computed:{ownMessage:function(){return!this.message.from_bot&&this.message.owner_id===this.$store.getters["messengerAuth/user"].provider_id},participants:function(){return this.$store.getters["participants/list"]},thread:function(){return this.$store.getters["thread/thread"]}}}),l=i(11),c=i.n(l),d=i(281),u=i.n(d),h={insert:"head",singleton:!1},p=(c()(u.a,h),u.a.locals,i(1)),v=i(2),f=i.n(v),m=i(738),g=i(739),x=Object(p.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.participants.length?i("v-layout",{staticClass:"ml-0 mr-0 mb-0",class:{"text-right pr-2":t.ownMessage&&!t.message.system_message,"pl-2":!t.ownMessage&&!t.message.system_message&&2===t.thread.type,"mt-5":!t.message.grouped&&!t.message.system_message,"mt-2":t.message.system_message,"mt-1":t.message.grouped,"mt-6":t.message.extra&&"youtube"===t.message.extra.type&&t.message.extra.video},style:t.message.grouped?"margin-top:1px":"",attrs:{reverse:t.ownMessage,row:"",wrap:""}},[t.ownMessage||t.isMobile||2!==t.thread.type||t.message.system_message?t._e():i("v-flex",{class:{"text-center":!t.isMobile},attrs:{xs1:""}},[i("message-avatar",{attrs:{message:t.message}})],1),t._v(" "),t.message.system_message?i("v-flex",{attrs:{xs12:""}},[i("div",{staticClass:"text-center caption grey--text"},[t.message.owner?i("span",[t._v(t._s(t.message.owner.name+" "))]):t._e(),t._v("\n      "+t._s(t.message.body)+"\n    ")])]):i("v-flex",{class:{"grouped-message":t.message.grouped,"pl-2":!t.isMobile&&2===t.thread.type,"text-right":t.ownMessage},attrs:{xs11:""}},[!t.message.grouped&&2===t.thread.type&&!t.ownMessage&&!t.message.system_message||t.message.from_bot?i("message-header",{attrs:{message:t.message}}):t._e(),t._v(" "),i("message-content",{attrs:{message:t.message,ownMessage:t.ownMessage}})],1),t._v(" "),i("v-flex",{attrs:{xs12:""}},[i("message-readers",{attrs:{message:t.message,participants:t.participants}})],1)],1):t._e()}),[],!1,null,null,null);e.default=x.exports;f()(x,{VFlex:m.a,VLayout:g.a})},711:function(t,e,i){"use strict";i(429);var s=i(366),a=i(74),n=i(64),r=i(169),o=i(195),l=i(230),c=i(231),d=i(25),u=i(44),h=i(6),p=i(13),v=i(3);const f=Object(h.a)(a.a,n.a,r.a,o.a,l.a,c.a,d.a);e.a=f.extend({name:"v-dialog",directives:{ClickOutside:u.a},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:{type:[String,Number],default:"none"},noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:{type:[String,Number],default:"auto"}},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,isActive:!!this.value,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null==(e=this.previousActiveElement)||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&Object(p.e)("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!=typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):o.a.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{this.previousActiveElement=document.activeElement,this.$refs.content.focus(),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===v.s.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&![document,this.$refs.content].includes(e)&&!this.$refs.content.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=[...this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')].find(t=>!t.hasAttribute("disabled"));t&&t.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(s.a,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"document",tabindex:this.isActive?0:void 0,...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:"none"===this.maxWidth?void 0:Object(v.f)(this.maxWidth),width:"auto"===this.width?void 0:Object(v.f)(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach},attrs:{role:"dialog"}},[this.genActivator(),this.genContent()])}})},721:function(t,e,i){"use strict";i(457);var s=i(40),a=i(6);const n=Object(a.a)(s.a);e.a=n.extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:t=>!isNaN(parseFloat(t))},rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseInt(t,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...s.a.options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout(()=>{this.autoGrow&&this.calculateInputHeight()},0)},methods:{calculateInputHeight(){const t=this.$refs.input;if(!t)return;t.style.height="0";const e=t.scrollHeight,i=parseInt(this.rows,10)*parseFloat(this.rowHeight);t.style.height=Math.max(i,e)+"px"},genInput(){const t=s.a.options.methods.genInput.call(this);return t.tag="textarea",delete t.data.attrs.type,t.data.attrs.rows=this.rows,t},onInput(t){s.a.options.methods.onInput.call(this,t),this.autoGrow&&this.calculateInputHeight()},onKeyDown(t){this.isFocused&&13===t.keyCode&&t.stopPropagation(),this.$emit("keydown",t)}}})},78:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return l}));var s=i(5),a=i.n(s),n=i(13);function r(t,e){return()=>Object(n.c)(`The ${t} component must be used inside a ${e}`)}function o(t,e,i){const s=e&&i?{register:r(e,i),unregister:r(e,i)}:null;return a.a.extend({name:"registrable-inject",inject:{[t]:{default:s}}})}function l(t,e=!1){return a.a.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}},88:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(66),r=i(4),o=i.n(r),l=i(9);function c(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var d={name:"message-reactions-picker",props:["message","ownMessage"],data:function(){return{show:!1,emojis:["😂","👍","👎","👏","😮","😱","😡","😢","😎"]}},watch:{show:function(t){this.$emit("show",t)}},components:{MessageActionBtn:n.default},methods:{ownReaction:function(t){var e=this;return t=l.joypixels.toShort(t),!!(this.message.reactions&&this.message.reactions.data[t]&&this.message.reactions.data[t].some((function(t){return t.owner_id===e.messengerAuth.provider_id})))},close:function(){!0===this.show&&(this.show=!1)},submit:function(t){var e,i=this;return(e=a.a.mark((function e(){var s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.joypixels.toShort(t),!(i.message.reactions&&i.message.reactions.data[t]&&i.message.reactions.data[t].some((function(t){return t.owner_id===i.messengerAuth.provider_id})))){e.next=7;break}return s=i.message.reactions.data[t].find((function(t){return t.owner_id===i.messengerAuth.provider_id})),e.next=5,o.a.delete("/api/messenger/threads/".concat(i.message.thread_id,"/messages/").concat(i.message.id,"/reactions/").concat(s.id));case 5:e.next=9;break;case 7:return e.next=9,o.a.post("/api/messenger/threads/".concat(i.message.thread_id,"/messages/").concat(i.message.id,"/reactions"),{reaction:t});case 9:i.show=!1;case 10:case"end":return e.stop()}}),e)})),function(){var t=this,i=arguments;return new Promise((function(s,a){var n=e.apply(t,i);function r(t){c(n,s,a,r,o,"next",t)}function o(t){c(n,s,a,r,o,"throw",t)}r(void 0)}))})()}}},u=i(11),h=i.n(u),p=i(272),v=i.n(p),f={insert:"head",singleton:!1},m=(h()(v.a,f),v.a.locals,i(1)),g=i(2),x=i.n(g),b=i(265),y=i(738),w=i(739),_=i(22),k=i(52),C=i.n(k),P=i(44),E=Object(m.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",{ref:"container",staticStyle:{display:"inline-block"}},[i("span",[t.ownMessage?t._e():i("message-action-btn",{attrs:{name:"React",icon:"mdi-face"},on:{clicked:function(e){t.show=!t.show}}}),t._v(" "),i("v-slide-y-transition",[t.show?i("div",{staticStyle:{position:"absolute",width:"100px",bottom:"6px",left:"10px","z-index":"10"}},[i("v-card",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.close,expression:"close"}],staticClass:"pa-3 text-center",staticStyle:{"font-size":"20px"}},[i("v-layout",{attrs:{wrap:"","align-center":"","fill-height":"",row:"","justify-space-between":""}},t._l(t.emojis,(function(e,s){return i("v-flex",{key:s,attrs:{shrink:""}},[i("span",{staticClass:"pr-1 pl-1",class:{"grey lighten-2":!t.isDark&&t.ownReaction(e),"grey darken-3":t.isDark&&t.ownReaction(e)},staticStyle:{cursor:"pointer",display:"inline-block"},on:{click:function(i){return t.submit(e)}}},[t._v(t._s(e))])])})),1)],1)],1):t._e()])],1)])}),[],!1,null,"7f688c80",null);e.default=E.exports;x()(E,{VCard:b.a,VFlex:y.a,VLayout:w.a,VSlideYTransition:_.i}),C()(E,{ClickOutside:P.a})},89:function(t,e,i){"use strict";i.r(e);var s={name:"reader-bubble",components:{AuthImg:i(17).default},props:["reader"]},a=i(1),n=i(2),r=i.n(n),o=i(260),l=Object(a.a)(s,(function(){var t=this.$createElement,e=this._self._c||t;return e("v-avatar",{attrs:{size:"15"}},[e("auth-img",{staticClass:"rounded-circle",attrs:{height:"15",width:"15",src:this.reader.owner.avatar.sm}})],1)}),[],!1,null,null,null);e.default=l.exports;r()(l,{VAvatar:o.a})},98:function(t,e,i){"use strict";i.r(e);var s=i(67),a={name:"reply-message",components:{AuthImg:i(17).default,ThreadImage:s.default},props:["message","ownMessage"],methods:{textMessage:function(){return this.message.body.length<200?this.message.body+".":this.message.body.substring(0,200)+"..."}},computed:{type:function(){var t=this.message.type;return 0===t?this.message.body.endsWith("gif")?"gif":"text":1===t?"image":2===t?"document":"audio"}}},n=i(11),r=i.n(n),o=i(273),l=i.n(o),c={insert:"head",singleton:!1},d=(r()(l.a,c),l.a.locals,i(1)),u=i(2),h=i.n(u),p=i(265),v=Object(d.a)(a,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"pa-2 pt-0 pb-0 mt-3 mb-2 overflow-hidden caption reply-message"},[t._v("\n  "+t._s(t.message.owner.name)+"\n\n  "),t._v(" "),i("div",{class:t.ownMessage?"text-right":"text-left"},[["document","audio","text"].includes(t.type)?i("v-card",{class:{"grey--text darken-4":t.isDark,"grey--text ":!t.isDark},attrs:{elevation:"0",color:"transparent"}},[t._v("\n      "+t._s(t.textMessage())+"\n    ")]):["image","gif"].includes(t.type)?i("div",["image"===t.type?i("auth-img",{attrs:{width:"50",height:"50",src:t.message.image.md}}):i("auth-img",{attrs:{width:"50",height:"50",src:t.message.body}})],1):t._e()],1)])}),[],!1,null,"3411ef38",null);e.default=v.exports;h()(v,{VCard:p.a})},99:function(t,e,i){"use strict";i.r(e);var s=i(0),a=i.n(s),n=i(368),r=i.n(n),o=i(32),l=i.n(o),c=i(4),d=i.n(c),u=i(9);function h(t,e,i,s,a,n,r){try{var o=t[n](r),l=o.value}catch(t){return void i(t)}o.done?e(l):Promise.resolve(l).then(s,a)}var p={name:"audio-message",props:["message","ownMessage"],data:function(){return{audio:!1,wavesurfer:null,width:0,playing:!1}},mounted:function(){this.getAudio(),this.scrollToBottom()},watch:{dark:function(){this.getAudio()}},computed:{dark:function(){return this.$vuetify.theme.dark}},methods:{progressColor:function(){return this.dark||this.ownMessage?"white":Object(u.lightenDarkenColor)(this.$vuetify.theme.themes.light.primary,-10)},submit:function(){this.playing?this.pause():this.play()},play:function(){this.wavesurfer.play(),this.playing=!0},pause:function(){this.wavesurfer.pause(),this.playing=!1},getAudio:function(){var t,e=this;return(t=a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.wavesurfer&&(e.wavesurfer.destroy(),e.audio=!1,e.playing=!1),e.wavesurfer=new r.a.create({container:Object(u.selectById)("audio-".concat(e.message.id)),height:30,barWidth:2,barRadius:3,hideScrollbar:!0,backed:"MediaElement",normalize:!0,fillParent:!0,partialRender:!0,responsive:!0,xhr:{cache:"default",method:"GET",redirect:"follow",referrer:"client",headers:[{key:"Authorization",value:"Bearer "+l.a.get("token")}]},waveColor:Object(u.lightenDarkenColor)(e.$vuetify.theme.themes.light.primary,70),cursorWidth:0,progressColor:e.progressColor(),barHeight:1,barGap:3}),e.message.loading?e.wavesurfer.load(e.message.audio):d()({url:e.message.audio,method:"GET",responseType:"blob"}).then((function(t){e.wavesurfer.loadBlob(t.data)})),e.wavesurfer.on("ready",(function(){e.audio=!0})),e.wavesurfer.on("dblclick",(function(){e.pause()}));case 5:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(s,a){var n=t.apply(e,i);function r(t){h(n,s,a,r,o,"next",t)}function o(t){h(n,s,a,r,o,"throw",t)}r(void 0)}))})()}}},v=i(11),f=i.n(v),m=i(274),g=i.n(m),x={insert:"head",singleton:!1},b=(f()(g.a,x),g.a.locals,i(1)),y=i(2),w=i.n(y),_=i(259),k=i(22),C=i(738),P=i(165),E=i(739),T=i(256),S=i(193),A=Object(b.a)(p,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"message",staticClass:"message",class:{to:t.ownMessage,from:!t.ownMessage,"not-grouped":!t.message.grouped},attrs:{disabled:!t.audio||t.message.percent&&t.message.percent<100}},[i("div",{staticClass:"pa-3"},[i("v-layout",{attrs:{"align-center":""}},[i("v-flex",{staticClass:"mr-3",attrs:{shrink:""}},[t.audio?i("v-btn",{attrs:{small:"",fab:"",color:"primary lighten-2",elevation:"0"},on:{click:t.submit}},[i("v-icon",[t._v(t._s(t.playing?"mdi-pause":"mdi-play"))])],1):t._e()],1),t._v(" "),i("v-flex",{staticClass:"text-center",staticStyle:{width:"200px","max-width":"200px",overflow:"hidden"}},[i("div",{staticClass:"overflow-hidden",attrs:{id:"audio-"+t.message.id}}),t._v(" "),t.audio?t._e():i("v-overlay",{attrs:{opacity:"0",absolute:""}},[i("v-progress-circular",{attrs:{absolute:"",color:"primary lighten-4",indeterminate:"",size:"20"}})],1),t._v(" "),i("v-fade-transition",[t.message.percent&&100!==t.message.percent?i("v-overlay",{staticStyle:{"border-radius":"13px"},attrs:{opacity:".7",absolute:""}},[i("v-progress-circular",{attrs:{rotate:360,size:60,width:8,value:t.message.percent,color:"primary lighten-4"}},[t._v("\n              "+t._s(t.message.percent)+" %\n            ")])],1):t._e()],1)],1)],1)],1)])}),[],!1,null,"21bc1adb",null);e.default=A.exports;w()(A,{VBtn:_.a,VFadeTransition:k.d,VFlex:C.a,VIcon:P.a,VLayout:E.a,VOverlay:T.a,VProgressCircular:S.a})}}]);