pixelfed/public/js/live-player.js
2023-01-30 23:02:21 -07:00

1 line
26 KiB
JavaScript
Vendored

(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4479],{38248:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>f});s(95539);var a=s(21443),i=s.n(a),n=s(67631),r=s.n(n),o=s(78657),d=s(52526),l=s(23952),c=s(80041),u=s(39169),m=s(65981);const f={props:{id:{type:String}},components:{"stream-loading":o.default,"stream-offline":d.default,"profile-card":l.default,"stream-info-card":c.default,"stream-comments":u.default,"settings-card":m.default},data:function(){return{loggedIn:!1,enabled:!0,isLoaded:!1,user:void 0,profile:void 0,stream:{name:"Offline",description:void 0},streamState:"loading",streamSource:void 0,showSettingsCard:!1,streamInvokeInterval:void 0,streamInvokeIntervalLength:2e3}},mounted:function(){this.fetchProfile()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/"+this.id).then((function(e){t.profile=e.data,t.user=e.data,t.fetchAuthState()}))},fetchAuthState:function(){var t=this;axios.get("/api/v1/accounts/verify_credentials").then((function(e){window._sharedData.curUser=e.data,window._sharedData.user=e.data,t.loggedIn=!0,t.fetchInitialStreamState(!0)})).catch((function(e){t.fetchInitialStreamState(!1)}))},fetchInitialStreamState:function(t){var e=this;if("ready"!==this.streamState){var s=1==t?"/api/live/accounts/stream":"/api/live/accounts/stream/guest";axios.get(s,{params:{profile_id:this.profile.id}}).then((function(t){if(e.isLoaded=!0,t.data&&t.data.hls_url&&t.data.hls_url.length){e.stream=t.data;var s=t.data.hls_url;axios.head(t.data.hls_url).then((function(t){e.streamState="ready",e.streamSource=s,e.initVideo(),clearInterval(e.streamInvokeInterval)})).catch((function(t){e.streamState="offline"}))}else e.streamState="offline"})).catch((function(t){e.isLoaded=!0}))}else clearInterval(this.streamInvokeInterval)},initVideo:function(){var t=this;this.$nextTick((function(){var e=t.$refs.liveVid,s=(new(i())(e,{autoplay:!0,controls:["play","mute","volume","fullscreen"]}),t.streamSource);if(r().isSupported())try{e.muted=!0;var a=new(r());a.loadSource(s),a.attachMedia(e),window.hls=a}catch(t){console.log("Error loading manifest")}else e.src=s}))},openSettings:function(){this.showSettingsCard=!this.showSettingsCard},closeSettings:function(){this.showSettingsCard=!1},triggerStreamStart:function(){"ready"!==this.streamState&&this.setStreamInvokeInterval()},triggerStreamEnd:function(){this.streamState="offline"},setStreamInvokeInterval:function(){var t=this;this.streamInvokeInterval=setInterval((function(){t.fetchInitialStreamState(t.loggedIn)}),this.streamInvokeIntervalLength)}}}},49597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},stream:{type:Object},showSettings:{type:Boolean,default:!1}},computed:{isOwner:function(){return window._sharedData.user.id===this.profile.id&&this.stream.hls_url}},methods:{openSettings:function(){event.currentTarget.blur(),this.$emit("settings")}}}},30719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},stream:{type:Object}},data:function(){return{hasChanged:!1}},watch:{stream:{deep:!0,handler:function(t,e){this.hasChanged=JSON.stringify(t)===JSON.stringify(this.getOriginal)}}},computed:{getOriginal:function(){return this.originalStream}},mounted:function(){this.originalStream=this.stream},methods:{closeSettings:function(){event.currentTarget.blur(),this.$emit("close")},updateSettings:function(){var t=this;event.currentTarget.blur(),axios.post("/api/live/stream/edit",{name:this.stream.name,description:this.stream.description}).then((function(e){t.$emit("close")}))}}}},95790:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(84554);window.Pusher=s(86606),window.Echo=new a.default({broadcaster:"pusher",key:window._pushr.key,wsHost:window._pushr.host,wsPort:window._pushr.port,wssPort:window._pushr.port,disableStats:!0,enabledTransports:["ws","wss"],forceTLS:!1});const i={props:{show:{type:String},profile:{type:Object},stream:{type:Object}},data:function(){return{user:{id:-1},comment:void 0,comments:[],state:"loading",modMode:!1,viewerCount:1,isBannedFromChat:!1,commentMenuIndex:void 0,commentMenuObject:void 0,pinnedMessage:void 0,commentFormDisabled:!1,isUnpinning:!1,formError:void 0}},computed:{isOwner:function(){return!!window._sharedData.curUser&&window._sharedData.curUser.id==this.profile.id}},watch:{show:{handler:function(t,e){"offline"==t&&(this.state="offline"),"ready"==t&&(this.state="loaded")}}},mounted:function(){this.user=window._sharedData.curUser?window._sharedData.curUser:{id:-1},this.fetchComments(),this.bootWebsockets()},methods:{addComment:function(t){var e=this;t.currentTarget.blur(),this.commentFormDisabled=!0,axios.post("/api/live/chat/message",{profile_id:this.profile.id,message:this.comment}).then((function(t){e.comment=void 0,setTimeout((function(){e.commentFormDisabled=!1}),1e3)})).catch((function(t){e.formError=t.response.data.errors.message[0],setTimeout((function(){e.formError=void 0}),5e3),e.commentFormDisabled=!1}))},fetchComments:function(){var t=this;axios.get("/api/live/chat/latest",{params:{profile_id:this.profile.id}}).then((function(e){t.comments=e.data,t.state=t.stream.hls_url?"loaded":"offline"}))},toggleModMode:function(){event.currentTarget.blur(),this.modMode=!this.modMode},deleteComment:function(t){var e=this;event.currentTarget.blur(),axios.post("/api/live/chat/delete",{profile_id:this.profile.id,message:this.comments[t]}).then((function(s){e.comments.splice(t,1),e.commentMenuObject&&e.closeMenu()}))},banUser:function(t){confirm("Are you sure you want to ban this user? This will remove all messages from them and prevent them from commenting again.");axios.post("/api/live/chat/ban-user",{profile_id:this.comments[t].pid})},bootWebsockets:function(){var t=this;window.Echo.channel("live.chat.".concat(this.profile.id)).listen(".chat.new-message",(function(e){t.comments.unshift(e.msg)})).listen(".chat.delete-message",(function(e){t.comments=t.comments.filter((function(t){return t.id!=e.id}))})).listen(".chat.ban-user",(function(e){t.comments=t.comments.filter((function(t){return t.pid!=e.id})),e.id==window._sharedData.curUser.id&&(t.isBannedFromChat=!0)})).listen(".chat.pin-message",(function(e){t.pinnedMessage=e})).listen(".chat.unpin-message",(function(e){t.pinnedMessage=void 0})).listen(".stream.start",(function(e){t.$emit("stream-start")})).listen(".stream.end",(function(e){t.$emit("stream-end")})),window.Echo.join("live.presence.".concat(this.profile.id)).here((function(e){t.viewerCount=e.length})).joining((function(e){t.viewerCount++})).leaving((function(e){t.viewerCount--}))},openMenu:function(t){var e=this;event.currentTarget.blur(),this.commentMenuIndex=t,this.commentMenuObject=this.comments[t],this.$nextTick((function(){return e.$refs.commentMenu.show()}))},closeMenu:function(){var t=this;this.$nextTick((function(){t.$refs.commentMenu.hide(),t.commentMenuIndex=void 0,t.commentMenuObject=void 0}))},pinMessage:function(t){this.closeMenu(),axios.post("/api/live/chat/pin",{profile_id:this.profile.id,message:this.comments[t]})},unpinMessage:function(){var t=this;this.isUnpinning=!0,axios.post("/api/live/chat/unpin",{profile_id:this.profile.id,message:this.pinnedMessage}).then((function(e){t.pinnedMessage=void 0,setTimeout((function(){t.isUnpinning=!1}),2e3)}))}}}},11263:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},stream:{type:Object}}}},35305:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"livestream-player web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[t.enabled?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-md-8"},[t._m(0),t._v(" "),e("div",{staticClass:"d-block d-md-flex justify-content-center"},[e("div",{staticStyle:{"min-width":"300px","min-height":"80vh",position:"relative"}},[e("div",{staticStyle:{width:"100%",position:"absolute",top:"0",left:"0","z-index":"2",padding:"10px 0 4px 10px","background-color":"rgba(0,0,0,0.3)"}},[e("profile-card",{attrs:{profile:t.profile,stream:t.stream,showSettings:t.showSettingsCard},on:{settings:t.openSettings}})],1),t._v(" "),e("div",{staticStyle:{width:"100%",position:"absolute",top:"0"}},["loading"===t.streamState?e("stream-loading"):"offline"===t.streamState?e("stream-offline"):"ready"===t.streamState?e("div",{staticClass:"d-flex"},[e("div",{staticStyle:{width:"100%"}},[t._m(1)])]):t._e()],1)]),t._v(" "),e("stream-comments",{attrs:{show:t.streamState,profile:t.profile,stream:t.stream},on:{"stream-start":function(e){return t.triggerStreamStart()},"stream-end":function(e){return t.triggerStreamEnd()}}})],1)])]):e("div",[e("p",{staticClass:"font-weight-bold text-center"},[t._v("Live Streaming is not enabled on this instance.")]),t._v(" "),e("p",{staticClass:"text-center"},[e("router-link",{staticClass:"btn btn-primary rounded-pill font-weight-bold",attrs:{to:"/i/web?x=1&src=hls"}},[t._v("Go back home")])],1)])]):t._e()])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center header-badge"},[e("div",{staticClass:"media align-items-center"},[e("a",{attrs:{href:"/"}},[e("img",{attrs:{src:"/img/pixelfed-icon-color.png",width:"50"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"live-badge"},[t._v("Live")])])])])},function(){return(0,this._self._c)("video",{ref:"liveVid",attrs:{id:"lplyr",playsinline:"",controls:""}})}]},74448:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-2 align-items-center"},[e("img",{staticClass:"rounded-circle mr-2",attrs:{src:t.profile.avatar,width:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-n2"},[t._v(t._s(t.stream.name))]),t._v(" "),e("div",{staticClass:"small"},[t._v("\n\t\t\tby "),e("span",[t._v("@"+t._s(t.profile.acct))])])])])},i=[]},67407:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-sm livestream-settings"},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between"},[e("div",{staticClass:"align-items-center"},[e("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:t.closeSettings}},[e("i",{staticClass:"fas fa-chevron-left"})]),t._v(" "),e("span",{staticClass:"mb-0 font-weight-bold"},[t._v("Livestream Settings")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold rounded-pill mb-0",attrs:{disabled:!t.hasChanged},on:{click:t.updateSettings}},[t._v("Save")])]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"streamName"}},[t._v("Stream Name")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.stream.name,expression:"stream.name"}],staticClass:"form-control",attrs:{type:"text",id:"streamName"},domProps:{value:t.stream.name},on:{input:function(e){e.target.composing||t.$set(t.stream,"name",e.target.value)}}}),t._v(" "),e("div",{staticClass:"help-text small text-muted d-flex justify-content-between"},[e("div",[t._v("An optional stream name")]),t._v(" "),e("div",[t._v(t._s(t.stream.name?t.stream.name.length:0)+"/80")])])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold",attrs:{for:"streamDescription"}},[t._v("Description")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.stream.description,expression:"stream.description"}],staticClass:"form-control",attrs:{id:"streamDescription",rows:"3"},domProps:{value:t.stream.description},on:{input:function(e){e.target.composing||t.$set(t.stream,"description",e.target.value)}}}),t._v(" "),e("div",{staticClass:"help-text small text-muted d-flex justify-content-between"},[e("div",[t._v("An optional description")]),t._v(" "),e("div",[t._v(t._s(t.stream.description?t.stream.description.length:0)+"/140")])])]),t._v(" "),e("hr"),t._v(" "),t._m(0)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"streamChat",checked:"",disabled:""}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-bold",attrs:{for:"streamChat"}},[t._v("Enable live chat")])])}]},21393:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:"ready"===t.show,expression:"show === 'ready'"}],staticClass:"card shadow-sm live-chat"},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between"},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Live Chat")]),t._v(" "),e("div",[t.isOwner?e("button",{staticClass:"btn btn-sm rounded-pill",class:[t.modMode?"btn-danger font-weight-bold":"btn-light"],on:{click:t.toggleModMode}},[e("i",{staticClass:"far fa-badge-sheriff"}),t._v(" Moderate\n\t\t\t")]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-dark disabled btn-sm rounded-pill"},[e("i",{staticClass:"far fa-user"}),t._v(" "),e("span",{staticClass:"font-weight-bold ml-1"},[t._v(t._s(t.viewerCount))])])])]),t._v(" "),e("div",{staticClass:"card-body d-flex flex-column-reverse pl-0 pr-1",staticStyle:{height:"40vh","overflow-y":"auto"}},["loaded"===t.state?t._l(t.comments,(function(s,a){return e("div",{staticClass:"media rounded-lg p-1 live-chat-msg align-items-start"},[t.modMode?[e("a",{staticClass:"text-danger mr-2",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[e("i",{staticClass:"far fa-map-pin"})]),t._v(" "),s.pid!=t.profile.id?e("a",{staticClass:"text-danger mr-2",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.banUser(a)}}},[e("i",{staticClass:"far fa-ban"})]):t._e()]:t._e(),t._v(" "),e("img",{staticClass:"rounded-circle mr-1",attrs:{src:s.avatar,width:"20"}}),t._v(" "),e("div",{staticClass:"media-body"},[s.pid===t.profile.id?[e("span",{staticClass:"font-weight-bold",style:{color:"red"}},[t._v(t._s(s.username))]),t._v(":\n\t\t\t\t\t")]:[e("span",{staticClass:"font-weight-bold primary"},[t._v(t._s(s.username))]),t._v(":\n\t\t\t\t\t")],t._v(" "),e("span",{staticClass:"ml-1 text-break"},[t._v("\n\t\t\t\t\t\t"+t._s(s.text)+"\n\t\t\t\t\t")])],2),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm ml-1",on:{click:function(e){return t.openMenu(a)}}},[e("i",{staticClass:"fas fa-ellipsis-v text-lighter"})])],2)})):"loading"===t.state?[e("div",{staticClass:"text-center"},[e("b-spinner",{attrs:{type:"grow"}}),t._v(" "),e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Loading comments...")])],1)]:"offline"===t.state?e("div",{staticClass:"align-items-center"},[t._m(0)]):t._e()],2),t._v(" "),t.pinnedMessage?[e("div",{staticClass:"card-body d-flex pl-0 pr-1 mt-n3 py-0 mb-3 align-items-start pinned-msg"},[e("div",{staticClass:"media rounded-lg p-1 live-chat-msg"},[e("img",{staticClass:"rounded-circle mr-1",attrs:{src:t.pinnedMessage.avatar,width:"20"}}),t._v(" "),e("div",{staticClass:"media-body"},[t.pinnedMessage.pid===t.profile.id?[e("span",{staticClass:"font-weight-bold",style:{color:"red"}},[t._v(t._s(t.pinnedMessage.username))]),t._v(":\n\t\t\t\t\t")]:[e("span",{staticClass:"font-weight-bold primary"},[t._v(t._s(t.pinnedMessage.username))]),t._v(":\n\t\t\t\t\t")],t._v(" "),e("span",{staticClass:"ml-1 text-break"},[t._v("\n\t\t\t\t\t\t"+t._s(t.pinnedMessage.text)+"\n\t\t\t\t\t")])],2)])]),t._v(" "),t.isOwner?e("div",{staticClass:"mb-3 mt-n4"},[e("button",{staticClass:"btn btn-dark btn-sm font-weight-bold small text-muted rounded-pill",attrs:{disabled:t.isUnpinning},on:{click:function(e){return t.unpinMessage()}}},[e("i",{staticClass:"far fa-times-circle mr-1"}),t._v("Remove pin\n\t\t\t")])]):t._e()]:t._e(),t._v(" "),"loaded"===t.state?e("div",{staticClass:"card-body pt-0 px-2 pb-2"},[t.isBannedFromChat?e("div",[t._m(1)]):[e("div",{staticClass:"d-flex"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.comment,expression:"comment"}],staticClass:"form-control rounded-pill bg-light",attrs:{type:"text",placeholder:"Add a comment...",disabled:t.commentFormDisabled},domProps:{value:t.comment},on:{input:function(e){e.target.composing||(t.comment=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary rounded-circle ml-2",attrs:{disabled:t.commentFormDisabled},on:{click:t.addComment}},[e("i",{staticClass:"far fa-paper-plane"})])]),t._v(" "),t.formError?e("p",{staticClass:"text-danger font-weight-bold mb-0 small mt-1"},[t._v(t._s(t.formError))]):t._e()]],2):t._e(),t._v(" "),t.commentMenuObject?e("b-modal",{ref:"commentMenu",attrs:{size:"sm","hide-header":"","hide-footer":"",centered:"","return-focus":"body","body-class":"list-group list-group-flush p-0 text-center"}},[t.commentMenuIndex?e("div",{staticClass:"list-group-item border-dark bg-dark p-4"},[e("div",{staticClass:"media rounded-lg p-1 live-chat-msg text-left"},[e("img",{staticClass:"rounded-circle mr-1",attrs:{src:t.comments[t.commentMenuIndex].avatar,width:"20"}}),t._v(" "),e("div",{staticClass:"media-body"},[t.comments[t.commentMenuIndex].pid===t.profile.id?[e("span",{staticClass:"font-weight-bold",style:{color:"red"}},[t._v(t._s(t.comments[t.commentMenuIndex].username))]),t._v(":\n\t\t\t\t\t")]:[e("span",{staticClass:"font-weight-bold primary"},[t._v(t._s(t.comments[t.commentMenuIndex].username))]),t._v(":\n\t\t\t\t\t")],t._v(" "),e("span",{staticClass:"ml-1 text-break"},[t._v("\n\t\t\t\t\t\t"+t._s(t.comments[t.commentMenuIndex].text)+"\n\t\t\t\t\t")])],2)])]):t._e(),t._v(" "),t.isOwner||t.commentMenuObject.pid===t.user.id?t._e():e("li",{staticClass:"list-group-item border-dark"},[t._v("Report")]),t._v(" "),t.isOwner?e("a",{staticClass:"list-group-item border-dark text-warning text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.pinMessage(t.commentMenuIndex)}}},[t._v("\n\t\t\tPin\n\t\t")]):t._e(),t._v(" "),t.isOwner?e("a",{staticClass:"list-group-item border-dark text-danger text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.banUser(t.commentMenuIndex)}}},[t._v("\n\t\t\tBan User\n\t\t")]):t._e(),t._v(" "),t.isOwner||t.commentMenuObject.pid==t.user.id?e("a",{staticClass:"list-group-item border-dark text-danger text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.commentMenuIndex)}}},[t._v("\n\t\t\tDelete\n\t\t")]):t._e()]):t._e()],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"text-center"},[t("p",{staticClass:"font-weight-bold mb-0"},[this._v("Comments are disabled as the stream is offline")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"font-weight-bold mb-0 small"},[t._v("\n\t\t\t\tBanned from this live stream chat by the streamer. For more info, visit the "),e("a",{attrs:{href:"/site/kb/stories"}},[t._v("help center")])])}]},95533:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return t.stream.description&&t.stream.description.length?e("div",{staticClass:"card mt-3 shadow-none"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.stream.description)+"\n\t\t\t\t")])])])])]):t._e()},i=[]},50145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-light d-flex align-items-center justify-content-center",staticStyle:{"min-height":"385px","border-radius":"20px"}},[e("div",{staticClass:"text-center"},[e("b-spinner",{attrs:{type:"grow"}}),t._v(" "),e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Loading stream...")])],1)])},i=[]},52694:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-dark text-light d-flex align-items-center justify-content-center",staticStyle:{"min-height":"600px","border-radius":"20px"}},[e("div",{staticClass:"text-center"},[e("p",[e("i",{staticClass:"far fa-eye-slash fa-3x"})]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("Stream offline")])])])}]},81853:(t,e,s)=>{Vue.component("live-player",s(27365).default)},63473:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".livestream-player .plyr--video{border-radius:20px;box-shadow:0 1rem 3rem rgba(0,0,0,.18)!important}.livestream-player .header-badge{margin-bottom:1rem}.livestream-player .header-badge .live-badge{border:2px solid #fff;border-radius:10px;color:#fff;font-size:14px;font-weight:700;margin-left:1rem;padding:5px 10px}",""]);const n=i},4034:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".media[data-v-656eef2a]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.media .btn-outline-primary[data-v-656eef2a]{background-color:transparent;border-color:var(--primary);color:var(--primary)}.media-body[data-v-656eef2a]{color:#fff}",""]);const n=i},97454:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".livestream-settings{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.livestream-settings,.livestream-settings .card-header{border-top-left-radius:10px;border-top-right-radius:10px}.livestream-settings .card-footer{border-bottom-left-radius:10px;border-bottom-right-radius:10px}",""]);const n=i},91802:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".live-chat{border-bottom-left-radius:10px;border-bottom-right-radius:10px;border-top-left-radius:10px;border-top-right-radius:10px;height:-moz-fit-content;height:fit-content;margin-left:10px;max-width:350px;min-width:300px}.live-chat .form-control{color:var(--body-color)}.live-chat .card-header{border-top-left-radius:10px;border-top-right-radius:10px}.live-chat .card-footer{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.live-chat-msg{font-size:13px}.live-chat .pinned-msg{background-color:rgba(253,224,71,.1);border:1px solid rgba(253,224,71,.3);border-radius:2px}.live-chat .pinned-msg .live-chat-msg{margin:10px 4px}",""]);const n=i},79988:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(93379),i=s.n(a),n=s(63473),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},17447:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(93379),i=s.n(a),n=s(4034),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},61900:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(93379),i=s.n(a),n=s(97454),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},45720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(93379),i=s.n(a),n=s(91802),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},27365:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17072),i=s(7197),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(95970);const r=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},23952:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97576),i=s(29111),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(9731);const r=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"656eef2a",null).exports},65981:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(38812),i=s(97288),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(64841);const r=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},39169:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(87357),i=s(1510),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(31745);const r=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80041:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(94666),i=s(3386),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const r=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78657:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(67920);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},52526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(32927);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},7197:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(38248),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},29111:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(49597),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},97288:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(30719),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},1510:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(95790),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},3386:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(11263),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},17072:(t,e,s)=>{"use strict";s.r(e);var a=s(35305),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},97576:(t,e,s)=>{"use strict";s.r(e);var a=s(74448),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38812:(t,e,s)=>{"use strict";s.r(e);var a=s(67407),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87357:(t,e,s)=>{"use strict";s.r(e);var a=s(21393),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},94666:(t,e,s)=>{"use strict";s.r(e);var a=s(95533),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67920:(t,e,s)=>{"use strict";s.r(e);var a=s(50145),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32927:(t,e,s)=>{"use strict";s.r(e);var a=s(52694),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95970:(t,e,s)=>{"use strict";s.r(e);var a=s(79988),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},9731:(t,e,s)=>{"use strict";s.r(e);var a=s(17447),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},64841:(t,e,s)=>{"use strict";s.r(e);var a=s(61900),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},31745:(t,e,s)=>{"use strict";s.r(e);var a=s(45720),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}},t=>{t.O(0,[8898],(()=>{return e=81853,t(t.s=e);var e}));t.O()}]);