pixelfed/public/js/direct.js

1 wiersz
40 KiB
JavaScript

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6205],{32836:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(2e4),i=(a(87980),a(74692));const n={components:{Autocomplete:s.default},data:function(){return{config:window.App.config,loaded:!1,profile:{},page:"browse",pages:["browse","add","read"],tab:"inbox",tabs:["inbox","sent","filtered"],inboxPage:1,sentPage:1,filteredPage:1,threads:[],thread:!1,threadIndex:!1,replyText:"",composeUsername:"",ctxContext:null,ctxIndex:null,uploading:!1,uploadProgress:null,messages:{inbox:[],sent:[],filtered:[]},newType:"select",composeLoading:!1}},mounted:function(){var t=this;this.fetchProfile();var e=this;axios.get("/api/direct/browse",{params:{a:"inbox"}}).then((function(a){e.loaded=!0,t.threads=a.data,t.messages.inbox=a.data}))},updated:function(){i('[data-toggle="tooltip"]').tooltip()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()}))},goto:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"browse";this.page=t},loadMessage:function(t){var e="/account/direct/t/"+t;window.location.href=e},truncate:function(t){return _.truncate(t)},switchTab:function(t){var e=this;switch(t){case"inbox":this.messages.inbox.length;break;case"sent":0==this.messages.sent.length&&axios.get("/api/direct/browse",{params:{a:"sent"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.sent=t.data}));break;case"filtered":0==this.messages.filtered.length&&axios.get("/api/direct/browse",{params:{a:"filtered"}}).then((function(t){e.loaded=!0,e.threads=t.data,e.messages.filtered=t.data}))}this.tab=t},composeSearch:function(t){if(t.length<1)return[];return axios.post("/api/direct/lookup",{q:t}).then((function(t){return t.data}))},getTagResultValue:function(t){return t.local?"@"+t.name:t.name},onTagSubmitLocation:function(t){this.composeLoading=!0,window.location.href="/account/direct/t/"+t.id},messagePagination:function(t,e){var a=this;"inbox"==t&&(this.inboxPage="prev"==e?this.inboxPage-1:this.inboxPage+1,axios.get("/api/direct/browse",{params:{a:"inbox",page:this.inboxPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.inbox=t.data}))),"sent"==t&&(this.sentPage="prev"==e?this.sentPage-1:this.sentPage+1,axios.get("/api/direct/browse",{params:{a:"sent",page:this.sentPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.sent=t.data}))),"filtered"==t&&(this.filteredPage="prev"==e?this.filteredPage-1:this.filteredPage+1,axios.get("/api/direct/browse",{params:{a:"filtered",page:this.filteredPage}}).then((function(t){self.loaded=!0,a.threads=t.data,a.messages.filtered=t.data})))}}}},27943:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(74692);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=new Array(e);a<e;a++)s[a]=t[a];return s}const r={props:["accountId"],data:function(){return{config:window.App.config,hideAvatars:!0,hideTimestamps:!1,largerText:!1,autoRefresh:!1,mutedNotifications:!1,blocked:!1,loaded:!1,profile:{},page:"read",pages:["browse","add","read"],threads:[],thread:!1,threadIndex:!1,replyText:"",composeUsername:"",ctxContext:null,ctxIndex:null,uploading:!1,uploadProgress:null,min_id:null,max_id:null,loadingMessages:!1,showLoadMore:!0}},mounted:function(){var t=this;this.fetchProfile();var e=this;axios.get("/api/direct/thread",{params:{pid:e.accountId}}).then((function(a){e.loaded=!0;var s=a.data;s.messages.reverse(),t.thread=s,t.threads=[s],t.threadIndex=0;var n=s.messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,i(n)),t.min_id=Math.min.apply(Math,i(n)),t.mutedNotifications=s.muted,t.markAsRead(),setTimeout((function(){var t=document.querySelector(".dm-wrapper");t.scrollTop=t.scrollHeight}),300)}));var a=localStorage.getItem("px_dm_options");a&&(a=JSON.parse(a),this.hideAvatars=a.hideAvatars,this.hideTimestamps=a.hideTimestamps,this.largerText=a.largerText)},watch:{mutedNotifications:function(t){t?axios.post("/api/direct/mute",{id:this.accountId}).then((function(t){})):axios.post("/api/direct/unmute",{id:this.accountId}).then((function(t){})),this.mutedNotifications=t},hideAvatars:function(t){this.hideAvatars=t,this.updateOptions()},hideTimestamps:function(t){this.hideTimestamps=t,this.updateOptions()},largerText:function(t){this.largerText=t,this.updateOptions()}},updated:function(){s('[data-toggle="tooltip"]').tooltip()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,window._sharedData.curUser=e.data,window.App.util.navatar()}))},sendMessage:function(){var t=this,e=this,a=this.replyText;axios.post("/api/direct/create",{to_id:this.threads[this.threadIndex].id,message:a,type:e.isEmoji(a)&&a.length<10?"emoji":"text"}).then((function(a){var s=a.data;e.threads[e.threadIndex].messages.push(s);var n=e.threads[e.threadIndex].messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,i(n)),t.min_id=Math.min.apply(Math,i(n)),setTimeout((function(){var t=document.querySelector(".dm-wrapper");t.scrollTop=t.scrollHeight}),300)})).catch((function(t){403==t.response.status&&(e.blocked=!0,swal("Profile Unavailable","You cannot message this profile at this time.","error"))})),this.replyText=""},openCtxMenu:function(t,e){this.ctxIndex=e,this.ctxContext=t,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.$refs.ctxModal.hide()},truncate:function(t){return _.truncate(t)},deleteMessage:function(){var t=this;window.confirm("Are you sure you want to delete this message?")?axios.delete("/api/direct/message",{params:{id:t.ctxContext.reportId}}).then((function(e){t.threads[t.threadIndex].messages.splice(t.ctxIndex,1),t.closeCtxMenu()})):t.closeCtxMenu()},reportMessage:function(){this.closeCtxMenu();var t="/i/report?type=post&id="+this.ctxContext.reportId;window.location.href=t},uploadMedia:function(t){var e=this;s(document).on("change","#uploadMedia",(function(t){e.handleUpload()}));var a=s(t.target);a.attr("disabled",""),s("#uploadMedia").click(),a.blur(),a.removeAttr("disabled")},handleUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#uploadMedia");e.files.length||(this.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,a){var i=e.type,n=t.config.uploader.media_types.split(",");if(-1==s.inArray(i,n))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),void(t.uploading=!1);var r=new FormData;r.append("file",e),r.append("to_id",t.threads[t.threadIndex].id);var o={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/direct/media",r,o).then((function(e){t.uploadProgress=100,t.uploading=!1;var a={id:e.data.id,type:e.data.type,reportId:e.data.reportId,isAuthor:!0,text:null,media:e.data.url,timeAgo:"1s",seen:null};t.threads[t.threadIndex].messages.push(a),setTimeout((function(){var t=document.querySelector(".dm-wrapper");t.scrollTop=t.scrollHeight}),300)})).catch((function(a){if(451===a.response.status)t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error");else t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error")})),e.value=null,t.uploadProgress=0}))},viewOriginal:function(){var t=this.ctxContext.media;window.location.href=t},isEmoji:function(t){var e=t.replace(new RegExp("[\0-ữf]","g"),""),a=t.replace(new RegExp("[\n\rs]+|( )+","g"),"");return e.length===a.length},copyText:function(){window.App.util.clipboard(this.ctxContext.text),this.closeCtxMenu()},clickLink:function(){var t=this.ctxContext.text;1!=this.ctxContext.meta.local&&(t="/i/redirect?url="+encodeURI(this.ctxContext.text)),window.location.href=t},markAsRead:function(){},loadOlderMessages:function(){var t=this,e=this;this.loadingMessages=!0,axios.get("/api/direct/thread",{params:{pid:this.accountId,max_id:this.min_id}}).then((function(a){var s,n=a.data;if(!n.messages.length)return t.showLoadMore=!1,void(t.loadingMessages=!1);var r=t.thread.messages.map((function(t){return t.id})),o=n.messages.filter((function(t){return-1==r.indexOf(t.id)})).reverse(),l=o.map((function(t){return t.id})),d=Math.min.apply(Math,i(l));if(d==t.min_id)return t.showLoadMore=!1,void(t.loadingMessages=!1);t.min_id=d,(s=t.thread.messages).unshift.apply(s,i(o)),setTimeout((function(){e.loadingMessages=!1}),500)})).catch((function(e){t.loadingMessages=!1}))},messagePoll:function(){var t=this;setInterval((function(){axios.get("/api/direct/thread",{params:{pid:t.accountId,min_id:t.thread.messages[t.thread.messages.length-1].id}}).then((function(t){}))}),5e3)},showOptions:function(){this.page="options"},updateOptions:function(){var t={v:1,hideAvatars:this.hideAvatars,hideTimestamps:this.hideTimestamps,largerText:this.largerText};window.localStorage.setItem("px_dm_options",JSON.stringify(t))}}}},6916:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.loaded&&"browse"==t.page?e("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"50vh"}},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[e("div",{staticClass:"card shadow-none border mt-4"},[e("div",{staticClass:"card-header bg-white py-4"},[e("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Direct Messages")]),t._v(" "),e("span",{staticClass:"float-right"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold py-0 rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goto("add")}}},[t._v("New Message")])])]),t._v(" "),e("div",{staticClass:"card-header bg-white"},[e("ul",{staticClass:"nav nav-pills nav-fill"},[e("li",{staticClass:"nav-item"},[e("a",{class:["inbox"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("inbox")}}},[t._v("Inbox")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{class:["sent"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("sent")}}},[t._v("Sent")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{class:["filtered"==t.tab?"nav-link px-4 font-weight-bold rounded-pill active":"nav-link px-4 font-weight-bold rounded-pill"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("filtered")}}},[t._v("Filtered")])])])]),t._v(" "),"inbox"==t.tab?e("ul",{staticClass:"list-group list-group-flush"},[t.messages.inbox.length?t._l(t.messages.inbox,(function(a,s){return e("div",{key:"dm_inbox"+s},[e("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"/account/direct/t/"+a.id}},[e("div",{staticClass:"media d-flex align-items-center"},[t._o(e("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:a.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),0,"dm_inbox"+s),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.isLocal?"@"+a.username:a.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(0,!0),t._v(" "),e("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tReceived\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(1,!0)])])])})):e("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[e("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"sent"==t.tab?e("ul",{staticClass:"list-group list-group-flush"},[t.messages.sent.length?t._l(t.messages.sent,(function(a,s){return e("div",{key:"dm_sent"+s},[e("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.loadMessage(a.id)}}},[e("div",{staticClass:"media d-flex align-items-center"},[t._o(e("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:a.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),1,"dm_sent"+s),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.isLocal?"@"+a.username:a.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(2,!0),t._v(" "),e("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelivered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(3,!0)])])])})):e("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[e("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e(),t._v(" "),"filtered"==t.tab?e("ul",{staticClass:"list-group list-group-flush"},[t.messages.filtered.length?t._l(t.messages.filtered,(function(a,s){return e("div",{key:"dm_filtered"+s},[e("a",{staticClass:"list-group-item text-dark text-decoration-none border-left-0 border-right-0 border-top-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.loadMessage(a.id)}}},[e("div",{staticClass:"media d-flex align-items-center"},[t._o(e("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:a.avatar,width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),2,"dm_filtered"+s),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"pl-1 text-muted small text-truncate",staticStyle:{"font-weight":"500"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.isLocal?"@"+a.username:a.username)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-size":"13px","font-weight":"500"}},[t._m(4,!0),t._v(" "),e("span",{staticClass:"pl-1 pr-3"},[t._v("\n\t\t\t\t\t\t\t\t\t\tFiltered\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.timeAgo)+"\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),t._m(5,!0)])])])})):e("div",{staticClass:"list-group-item d-flex justify-content-center align-items-center",staticStyle:{"min-height":"40vh"}},[e("p",{staticClass:"lead mb-0"},[t._v("No messages found :(")])])],2):t._e()]),t._v(" "),"inbox"==t.tab?e("div",{staticClass:"mt-3 text-center"},[e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.inboxPage},on:{click:function(e){return t.messagePagination("inbox","prev")}}},[t._v("Prev")]),t._v(" "),e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.inbox.length},on:{click:function(e){return t.messagePagination("inbox","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"sent"==t.tab?e("div",{staticClass:"mt-3 text-center"},[e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.sentPage},on:{click:function(e){return t.messagePagination("sent","prev")}}},[t._v("Prev")]),t._v(" "),e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.sent.length},on:{click:function(e){return t.messagePagination("sent","next")}}},[t._v("Next")])]):t._e(),t._v(" "),"filtered"==t.tab?e("div",{staticClass:"mt-3 text-center"},[e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:1==t.filteredPage},on:{click:function(e){return t.messagePagination("filtered","prev")}}},[t._v("Prev")]),t._v(" "),e("button",{staticClass:"btn btn-outline-primary rounded-pill btn-sm",attrs:{disabled:8!=t.messages.filtered.length},on:{click:function(e){return t.messagePagination("filtered","next")}}},[t._v("Next")])]):t._e()])]):t._e(),t._v(" "),t.loaded&&"add"==t.page?e("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[e("div",{staticClass:"card shadow-none border mt-4"},[e("div",{staticClass:"card-header bg-white py-4 d-flex justify-content-between"},[e("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return t.goto("browse")}}},[e("i",{staticClass:"fas fa-chevron-left"})]),t._v(" "),e("span",{staticClass:"h4 font-weight-bold mb-0"},[t._v("New Direct Message")]),t._v(" "),t._m(6)]),t._v(" "),e("div",{staticClass:"card-body d-flex align-items-center justify-content-center",staticStyle:{height:"60vh"}},[e("div",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Select Recipient")]),t._v(" "),e("autocomplete",{ref:"autocomplete",attrs:{search:t.composeSearch,disabled:t.composeLoading,placeholder:"@dansup","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),e("div",{staticStyle:{width:"300px"}})],1)])])])]):t._e()])},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"far fa-comment text-primary"})])},function(){var t=this._self._c;return t("span",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this._self._c;return t("span",[t("i",{staticClass:"far fa-paper-plane text-primary"})])},function(){var t=this._self._c;return t("span",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-shield-alt",staticStyle:{color:"#fd9426"}})])},function(){var t=this._self._c;return t("span",{staticClass:"float-right"},[t("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-white"})])}]},26663:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.loaded&&"read"==t.page?e("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[e("div",{staticClass:"card shadow-none border mt-4"},[e("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),e("span",[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,width:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.name))])]),t._v(" "),e("p",{staticClass:"mb-0"},[t.thread.isLocal?e("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v("@"+t._s(t.thread.username))]):e("a",{staticClass:"text-decoration-none text-muted",attrs:{href:"/"+t.thread.username}},[t._v(t._s(t.thread.username))])])])])]),t._v(" "),e("span",[e("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showOptions()}}},[e("i",{staticClass:"fas fa-cog fa-lg"})])])]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"60vh","overflow-y":"scroll"}},[e("li",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center small text-muted"},[t._v("\n\t\t\t\t\t\t\tConversation with "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])]),t._v(" "),e("hr")]),t._v(" "),t.showLoadMore&&t.thread.messages&&t.thread.messages.length>5?e("li",{staticClass:"list-group-item border-0 mt-n4"},[e("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(e){return t.loadOlderMessages()}}},[t._v("Load Older Messages")])])]):t._e(),t._v(" "),t._l(t.thread.messages,(function(a,s){return e("li",{staticClass:"list-group-item border-0 chat-msg cursor-pointer",on:{click:function(e){return t.openCtxMenu(a,s)}}},[a.isAuthor?e("div",{staticClass:"media d-inline-flex float-right mb-0 mr-2"},[e("div",{staticClass:"media-body"},["photo"==a.type?e("p",{staticClass:"pill-from p-0 shadow"},[e("img",{staticStyle:{"border-radius":"20px"},attrs:{src:a.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==a.type?e("div",{staticClass:"media d-inline-flex float-right mb-0 cursor-pointer"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:a.text}},[e("div",{staticClass:"card-body p-0"},[e("div",{staticClass:"media d-flex align-items-center"},[a.meta.local?e("div",{staticClass:"bg-primary mr-3 border-right p-3"},[e("i",{staticClass:"fas fa-link text-white fa-2x"})]):e("div",{staticClass:"bg-light mr-3 border-right p-3"},[e("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.meta.local?a.text.substr(8):a.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==a.type?e("p",{staticClass:"pill-from p-0 shadow"},[t._m(2,!0)]):"emoji"==a.type?e("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==a.type?e("p",{staticClass:"pill-from p-0 shadow",staticStyle:{"margin-bottom":"10px",position:"relative",width:"fit-content"}},[e("img",{staticStyle:{"border-radius":"20px"},attrs:{src:a.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",right:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-end","margin-bottom":"10px",position:"relative"}},[e("span",{staticClass:"d-flex align-items-end flex-column"},[e("img",{staticClass:"d-block pill-from p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:a.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("span",{staticClass:"pill-from shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(a.meta.caption))])])]):e("p",{class:[t.largerText?"pill-from shadow larger-text text-break":"pill-from shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==a.type?e("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou reacted to "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==a.type?e("p",{staticClass:"small text-muted text-right mb-0 mr-0"},[t._v("\n\t\t\t\t\t\t\t\t\tYou replied to "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.meta.story_username))]),t._v("'s story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?e("p",[t._v(" ")]):e("p",{staticClass:"small text-muted font-weight-bold text-right"},[a.hidden?e("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(a.timeAgo)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.hideAvatars?t._e():e("img",{staticClass:"ml-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.profile.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]):e("div",{staticClass:"media d-inline-flex mb-0"},[t.hideAvatars?t._e():e("img",{staticClass:"mr-3 mt-2 rounded-circle img-thumbnail",attrs:{src:t.thread.avatar,alt:"avatar",width:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}}),t._v(" "),e("div",{staticClass:"media-body"},["photo"==a.type?e("p",{staticClass:"pill-to p-0 shadow"},[e("img",{staticStyle:{"border-radius":"20px"},attrs:{src:a.media,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})]):"link"==a.type?e("div",{staticClass:"media d-inline-flex mb-0 cursor-pointer"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"card mb-2 rounded border shadow",staticStyle:{width:"240px"},attrs:{title:a.text}},[e("div",{staticClass:"card-body p-0"},[e("div",{staticClass:"media d-flex align-items-center"},[a.meta.local?e("div",{staticClass:"bg-primary mr-3 border-right p-3"},[e("i",{staticClass:"fas fa-link text-white fa-2x"})]):e("div",{staticClass:"bg-light mr-3 border-right p-3"},[e("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.meta.local?a.text.substr(8):a.meta.domain)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")])])])])])]):"video"==a.type?e("p",{staticClass:"pill-to p-0 shadow"},[t._m(1,!0)]):"emoji"==a.type?e("p",{staticClass:"p-0 emoji-msg"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.text)+"\n\t\t\t\t\t\t\t\t")]):"story:react"==a.type?e("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[e("img",{staticStyle:{"border-radius":"20px"},attrs:{src:a.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(a.meta.reaction)+"\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[e("span",{},[e("img",{staticClass:"d-block pill-to p-0 mr-0 pr-0 mb-n1",staticStyle:{"border-radius":"20px"},attrs:{src:a.meta.story_media_url,width:"140",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(a.meta.caption))])])]):e("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.text)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"story:react"==a.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.meta.story_actor_username))]),t._v(" reacted your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),"story:comment"==a.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.meta.story_actor_username))]),t._v(" replied to your story\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.hideTimestamps?e("p",[t._v(" ")]):e("p",{staticClass:"small text-muted font-weight-bold d-flex align-items-center justify-content-start",attrs:{"data-timestamp":"timestamp"}},[a.hidden?e("span",{staticClass:"mr-2 small",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "+t._s(a.timeAgo))])])])])}))],2),t._v(" "),e("div",{staticClass:"card-footer bg-white p-0"},[e("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"#"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{height:"86px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"115.22px"},attrs:{name:"comment",placeholder:"Reply ...",autocomplete:"off",autocorrect:"off",disabled:t.blocked},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}}),t._v(" "),e("input",{class:[t.replyText.length?"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase":"d-inline-block btn btn-sm btn-primary rounded-pill font-weight-bold reply-btn text-decoration-none text-uppercase disabled"],attrs:{type:"button",value:"Send",disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.sendMessage.apply(null,arguments)}}})])]),t._v(" "),e("div",{staticClass:"card-footer p-0"},[e("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[e("span",[e("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[e("i",{staticClass:"fas fa-upload mr-1"}),t._v("\n\t\t\t\t\t\t\t\tAdd Photo/Video\n\t\t\t\t\t\t\t")])]),t._v(" "),e("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),e("span",{staticClass:"text-muted font-weight-bold"},[t._v(t._s(t.replyText.length)+"/600")])])])])])]):t._e(),t._v(" "),t.loaded&&"options"==t.page?e("div",{staticClass:"container messages-page p-0 p-md-2 mt-n4",staticStyle:{"min-height":"60vh"}},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 p-0 px-md-2"},[e("div",{staticClass:"card shadow-none border mt-4"},[e("div",{staticClass:"card-header bg-white d-flex justify-content-between align-items-center"},[e("span",[e("a",{staticClass:"text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.page="read"}}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})])]),t._v(" "),t._m(3),t._v(" "),t._m(4)]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush dm-wrapper",staticStyle:{height:"698px"}},[e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAvatars,expression:"hideAvatars"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch0"},domProps:{checked:Array.isArray(t.hideAvatars)?t._i(t.hideAvatars,null)>-1:t.hideAvatars},on:{change:function(e){var a=t.hideAvatars,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideAvatars=a.concat([null])):n>-1&&(t.hideAvatars=a.slice(0,n).concat(a.slice(n+1)))}else t.hideAvatars=i}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),e("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Avatars\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.hideTimestamps,expression:"hideTimestamps"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"},domProps:{checked:Array.isArray(t.hideTimestamps)?t._i(t.hideTimestamps,null)>-1:t.hideTimestamps},on:{change:function(e){var a=t.hideTimestamps,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.hideTimestamps=a.concat([null])):n>-1&&(t.hideTimestamps=a.slice(0,n).concat(a.slice(n+1)))}else t.hideTimestamps=i}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),e("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tHide Timestamps\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.largerText,expression:"largerText"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"},domProps:{checked:Array.isArray(t.largerText)?t._i(t.largerText,null)>-1:t.largerText},on:{change:function(e){var a=t.largerText,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.largerText=a.concat([null])):n>-1&&(t.largerText=a.slice(0,n).concat(a.slice(n+1)))}else t.largerText=i}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),e("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tLarger Text\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.mutedNotifications,expression:"mutedNotifications"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch4"},domProps:{checked:Array.isArray(t.mutedNotifications)?t._i(t.mutedNotifications,null)>-1:t.mutedNotifications},on:{change:function(e){var a=t.mutedNotifications,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&(t.mutedNotifications=a.concat([null])):n>-1&&(t.mutedNotifications=a.slice(0,n).concat(a.slice(n+1)))}else t.mutedNotifications=i}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),e("div",{staticClass:"d-inline-block ml-3 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tMute Notifications \n\t\t\t\t\t\t\t"),e("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),e("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])])])])])]):t._e(),t._v(" "),e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[t.ctxContext&&"photo"==t.ctxContext.type?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("View Original")]):t._e(),t._v(" "),t.ctxContext&&"video"==t.ctxContext.type?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold text-dark",on:{click:function(e){return t.viewOriginal()}}},[t._v("Play")]):t._e(),t._v(" "),t.ctxContext&&"link"==t.ctxContext.type?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.clickLink()}}},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\tNavigate to \n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-bold text-dark"},[t._v("\n\t\t\t\t"+t._s(this.ctxContext.meta.domain)+"\n\t\t\t")])]):t._e(),t._v(" "),!t.ctxContext||"text"!=t.ctxContext.type&&"emoji"!=t.ctxContext.type&&"link"!=t.ctxContext.type?t._e():e("div",{staticClass:"list-group-item rounded cursor-pointer text-dark",on:{click:function(e){return t.copyText()}}},[t._v("Copy")]),t._v(" "),t.ctxContext&&!t.ctxContext.isAuthor?e("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.reportMessage()}}},[t._v("Report")]):t._e(),t._v(" "),t.ctxContext&&t.ctxContext.isAuthor?e("div",{staticClass:"list-group-item rounded cursor-pointer text-muted",on:{click:function(e){return t.deleteMessage()}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])])],1)},i=[function(){var t=this._self._c;return t("span",[t("a",{staticClass:"text-muted",attrs:{href:"/account/direct"}},[t("i",{staticClass:"fas fa-chevron-left fa-lg"})])])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-block bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px","border-radius":"20px"}},[e("div",{staticClass:"text-center"},[e("p",{staticClass:"mb-1"},[e("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),e("p",{staticClass:"mb-0 small font-weight-bold text-white"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this,e=t._self._c;return e("span",{staticClass:"rounded-pill bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"200px",height:"110px"}},[e("div",{staticClass:"text-center"},[e("p",{staticClass:"mb-1"},[e("i",{staticClass:"fas fa-play fa-2x text-white"})]),t._v(" "),e("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPlay\n\t\t\t\t\t\t\t\t\t\t\t")])])])},function(){var t=this._self._c;return t("span",[t("p",{staticClass:"mb-0 lead font-weight-bold py-2"},[this._v("Message Settings")])])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:"Have a nice day!"}},[t("i",{staticClass:"far fa-smile fa-lg"})])}]},9591:(t,e,a)=>{Vue.component("direct-component",a(18360).default),Vue.component("direct-message",a(83117).default)},68611:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".reply-btn[data-v-8f1cc6ce]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-8f1cc6ce]{background:#edf2f7;margin-right:3rem}.pill-from[data-v-8f1cc6ce],.pill-to[data-v-8f1cc6ce]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-8f1cc6ce]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-msg[data-v-8f1cc6ce]:hover{background:#f7fbfd}.no-focus[data-v-8f1cc6ce]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-8f1cc6ce]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-8f1cc6ce]{font-size:22px}",""]);const n=i},97858:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(68611),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},18360:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(98629),i=a(41819),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"45828156",null).exports},83117:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var s=a(22864),i=a(4878),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(87955);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"8f1cc6ce",null).exports},41819:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(32836),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},4878:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var s=a(27943),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},98629:(t,e,a)=>{"use strict";a.r(e);var s=a(6916),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22864:(t,e,a)=>{"use strict";a.r(e);var s=a(26663),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87955:(t,e,a)=>{"use strict";a.r(e);var s=a(97858),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}},t=>{t.O(0,[3660],(()=>{return e=9591,t(t.s=e);var e}));t.O()}]);