You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
40 KiB
1 lines
40 KiB
webpackJsonp([0],{"+KYZ":function(t,e,a){"use strict";var s=a("WEHx"),n=(a.n(s),{install:function(t){t.directive("click-outside",s.directive)}});e.a=n},"/4dZ":function(t,e){},"/Zdx":function(t,e,a){"use strict";function s(t){a("7qEd")}var n=a("2RsT"),i=a("ISlS"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"0FOK":function(t,e,a){"use strict";e.a={}},"0XqQ":function(t,e,a){"use strict";var s=a("jEp+");e.a={name:"stats-card",components:{Card:s.a}}},"1AJi":function(t,e){},"1lSy":function(t,e,a){"use strict";var s=a("Ond/"),n=a("ZQf1"),i={install:function(t){t.component("fg-input",s.a),t.component("drop-down",n.a)}};e.a=i},"28ys":function(t,e,a){"use strict";var s=a("VN6J"),n=a("1SRG"),i=a.n(n),r=a("1lSy"),o=a("+KYZ"),c=a("Crv8"),l=a("Jmt5"),d=(a.n(l),a("Sczw")),u=(a.n(d),a("/4dZ")),v=(a.n(u),a("947H")),p=(a.n(v),a("MU8w"));a.n(p);e.a={install:function(t){t.use(r.a),t.use(o.a),t.use(c.a),t.use(i.a),t.use(s.a)}}},"2RsT":function(t,e,a){"use strict";var s=a("vNb6");e.a={components:{StatsCard:s.a},mounted:function(){var t=this;this.axios.get("/stats").then(function(e){t.stats=e.data})},data:function(){return{stats:{streams:0,liveStreams:0,users:0,endpoints:0}}}}},"2aTV":function(t,e,a){"use strict";function s(t){a("HfJy")}var n=a("zTLC"),i=a("4ua+"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"2iD/":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},["add"==t.$route.params.id?a("h4",[t._v("Create a new Endpoint")]):t._e(),t._v(" "),"add"!=t.$route.params.id?a("h4",[t._v('Edit "'+t._s(t.endpoint.name)+'"')]):t._e(),t._v(" "),a("card",[a("form",{on:{submit:t.save}},[a("fg-input",{attrs:{label:"Name"},model:{value:t.endpoint.name,callback:function(e){t.$set(t.endpoint,"name",e)},expression:"endpoint.name"}}),t._v(" "),a("div",{staticClass:"form-group"},[a("p-checkbox",{model:{value:t.endpoint.active,callback:function(e){t.$set(t.endpoint,"active",e)},expression:"endpoint.active"}},[t._v("Active")])],1),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"control-label"},[t._v("\n Type\n ")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.endpoint.type,expression:"endpoint.type"}],staticClass:"form-control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.$set(t.endpoint,"type",e.target.multiple?a:a[0])}}},t._l(t.serviceNames,function(e){return a("option",{domProps:{value:e}},[t._v(t._s(e))])}))]),t._v(" "),t.serverData.length?a("div",{staticClass:"form-group"},[a("label",{staticClass:"control-label"},[t._v("\n Server\n ")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.endpoint.server,expression:"endpoint.server"}],staticClass:"form-control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.$set(t.endpoint,"server",e.target.multiple?a:a[0])}}},t._l(t.serverData,function(e){return a("option",{domProps:{value:e.value}},[t._v(t._s(e.name))])}))]):t._e(),t._v(" "),t.serverData.length?t._e():a("fg-input",{attrs:{label:"Server"},model:{value:t.endpoint.server,callback:function(e){t.$set(t.endpoint,"server",e)},expression:"endpoint.server"}}),t._v(" "),a("fg-input",{attrs:{label:"Stream-Key"},model:{value:t.endpoint.streamKey,callback:function(e){t.$set(t.endpoint,"streamKey",e)},expression:"endpoint.streamKey"}}),t._v(" "),a("fg-input",{attrs:{label:"Channel Name"},model:{value:t.endpoint.channelName,callback:function(e){t.$set(t.endpoint,"channelName",e)},expression:"endpoint.channelName"}}),t._v(" "),a("button",{staticClass:"btn btn-primary"},[t._v("Save")])],1)])],1)])])])},n=[],i={render:s,staticRenderFns:n};e.a=i},"3LD9":function(t,e,a){"use strict";var s=a("kVx9"),n=a("jEp+");e.a={components:{PCheckbox:s.a,Card:n.a},data:function(){return{stream:{active:!1,name:""},endpoints:[]}},mounted:function(){var t=this;"add"!==this.$route.params.id&&(this.axios.get("/streams/one?id="+this.$route.params.id).then(function(e){t.stream=e.data}),this.axios.get("/streams/"+this.$route.params.id+"/endpoints/").then(function(e){t.endpoints=e.data}))},methods:{save:function(t){var e=this;t.preventDefault(),this.axios.post("/streams/update",this.stream).then(function(){e.$router.push("/ucp/streams/")}).catch(function(t){var a={template:"<span>"+t.response.data.message+"</span>"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})})},deleteEndpoint:function(t){this.endpoints.splice(this.endpoints.indexOf(t),1),this.axios.post("/streams/deleteEndpoint",{id:t.id})},toggleEndpoint:function(t){var e=this;this.axios.post("/streams/toggleEndpoint",{id:t.id}).then(function(t){e.axios.get("/streams/"+e.$route.params.id+"/endpoints/").then(function(t){e.endpoints=t.data})})}}}},"3Q3N":function(t,e,a){"use strict";e.a={inheritAttrs:!1,inject:{autoClose:{default:!0}},props:{link:{type:[String,Object],default:function(){return{name:"",path:"",icon:""}}},tag:{type:String,default:"router-link"}},methods:{hideSidebar:function(){this.autoClose&&this.$sidebar&&!0===this.$sidebar.showSidebar&&this.$sidebar.displaySidebar(!1)}}}},"4ua+":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("nav",{staticClass:"navbar navbar-expand-lg"},[a("div",{staticClass:"container-fluid"},[a("a",{staticClass:"navbar-brand",attrs:{href:"#"}}),t._v(" "),a("button",{staticClass:"navbar-toggler navbar-toggler-right",class:{toggled:t.$sidebar.showSidebar},attrs:{type:"button","aria-controls":"navigation-index","aria-expanded":"false","aria-label":"Toggle navigation"},on:{click:t.toggleSidebar}},[a("span",{staticClass:"navbar-toggler-bar burger-lines"}),t._v(" "),a("span",{staticClass:"navbar-toggler-bar burger-lines"}),t._v(" "),a("span",{staticClass:"navbar-toggler-bar burger-lines"})]),t._v(" "),a("div",{staticClass:"collapse navbar-collapse justify-content-end"},[a("ul",{staticClass:"navbar-nav ml-auto"},[a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"#/ucp/settings"}},[t._v("\n Account Settings\n ")]),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"#"},on:{click:t.logout}},[t._v("\n Log out\n ")])])])])])])},n=[],i={render:s,staticRenderFns:n};e.a=i},"5FAv":function(t,e,a){"use strict";var s=a("eAxr"),n=a("grfR"),i=a("VU/8"),r=i(s.a,n.a,!1,null,null,null);e.a=r.exports},"5FD+":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("h3",[t._v("Setup")]),t._v(" "),a("fg-input",{attrs:{label:"URL",readonly:"true"},model:{value:t.stream.streamUrl,callback:function(e){t.$set(t.stream,"streamUrl",e)},expression:"stream.streamUrl"}}),t._v(" "),a("fg-input",{attrs:{label:"Stream Key",readonly:"true"},model:{value:t.stream.streamKey,callback:function(e){t.$set(t.stream,"streamKey",e)},expression:"stream.streamKey"}}),t._v(" "),t.stats.active?a("div",[a("h3",[t._v("Stream Statistics")]),t._v(" "),a("p",[a("strong",[t._v("Bytes received")]),t._v(" "+t._s(t._f("toNumber")(t.stats.bytes_in/1048576))+" MiB"),a("br"),t._v(" "),a("strong",[t._v("Bytes sent")]),t._v(" "+t._s(t._f("toNumber")(t.stats.bytes_out/1048576))+" MiB"),a("br"),t._v(" "),a("strong",[t._v("Current bandwidth in")]),t._v(" "+t._s(t._f("toNumber")(t.stats.bw_in/1e6))+" Mb/s"),a("br"),t._v(" "),a("strong",[t._v("Current bandwidth out")]),t._v(" "+t._s(t._f("toNumber")(t.stats.bw_out/1e6))+" Mb/s"),a("br"),t._v(" "),a("strong",[t._v("Res: ")]),t._v(" "+t._s(t.stats.meta.video.width)+"x"+t._s(t.stats.meta.video.height)),a("br"),t._v(" "),a("strong",[t._v("FPS: ")]),t._v(" "+t._s(t.stats.meta.video.frame_rate)+"\n ")])]):t._e(),t._v(" "),a("h4",[t._v("OBS")]),t._v(" "),t._m(0),t._v(" "),a("img",{attrs:{src:"https://i.imgur.com/ltaKXiy.png"}})],1)])])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",[a("li",[t._v('Go to File, Settings, Stream and choose as Stream Type "Custom Streaming Server"')]),t._v(" "),a("li",[t._v("Fill the Server and Stream Key in")])])}],i={render:s,staticRenderFns:n};e.a=i},"69r5":function(t,e,a){"use strict";var s=a("fZjL"),n=a.n(s),i=a("kVx9"),r=a("jEp+");e.a={components:{PCheckbox:i.a,Card:r.a},data:function(){return{endpoint:{name:"",active:!1,type:"Mixer",server:"",streamKey:"",channelName:""},services:{},serviceNames:[]}},mounted:function(){var t=this;this.axios.get("/streams/services").then(function(e){t.serviceNames=n()(e.data),t.services=e.data}),"add"!==this.$route.params.id&&this.axios.get("/streams/endpoint/"+this.$route.params.id).then(function(e){t.endpoint=e.data})},methods:{save:function(t){var e=this;t.preventDefault(),this.axios.post("/streams/"+this.$route.params.streamId+"/endpoints/update",this.endpoint).then(function(){e.$router.push("/ucp/streams/"+e.$route.params.streamId+"/")}).catch(function(t){var a={template:"<span>"+t.response.data.message+"</span>"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})})}},computed:{serverData:function(){var t=this,e=[];if(this.endpoint.type.length&&this.services[this.endpoint.type]){n()(this.services[this.endpoint.type]).forEach(function(a){e.push({name:a,value:t.services[t.endpoint.type][a]})})}return e}}}},"7SdG":function(t,e,a){"use strict";function s(t){a("BCuV")}var n=a("3Q3N"),i=a("UvUG"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"7mwj":function(t,e){},"7qEd":function(t,e){},"8UYp":function(t,e){},"947H":function(t,e){},AxoN:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(t.tag,{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeDropDown,expression:"closeDropDown"}],tag:"li",staticClass:"dropdown nav-item",class:{show:t.isOpen},attrs:{"aria-haspopup":"true","aria-expanded":t.isOpen},on:{click:t.toggleDropDown}},[a("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown"}},[t._t("title",[a("i",{class:t.icon}),t._v(" "),a("span",{staticClass:"no-icon"},[t._v(t._s(t.title))]),t._v(" "),a("b",{staticClass:"caret"})])],2),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],staticClass:"dropdown-menu"},[t._t("default")],2)])},n=[],i={render:s,staticRenderFns:n};e.a=i},BCuV:function(t,e){},Crv8:function(t,e,a){"use strict";var s=a("R5Ta"),n=a("7SdG"),i={showSidebar:!1,sidebarLinks:[{name:"Dashboard",icon:"ti-panel",path:"/admin/overview"}],displaySidebar:function(t){this.showSidebar=t}},r={install:function(t){t.mixin({data:function(){return{sidebarStore:i}}}),Object.defineProperty(t.prototype,"$sidebar",{get:function(){return this.$root.sidebarStore}}),t.component("side-bar",s.a),t.component("sidebar-link",n.a)}};e.a=r},DMp6:function(t,e){},Dt4y:function(t,e){},FGMu:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)},n=[],i={render:s,staticRenderFns:n};e.a=i},HfJy:function(t,e){},ISlS:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-3 col-md-6"},[a("stats-card",[a("div",{staticClass:"icon-warning",attrs:{slot:"header"},slot:"header"},[a("i",{staticClass:"fa fa-signal text-warning"})]),t._v(" "),a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"card-category"},[t._v("Created streams")]),t._v(" "),a("h4",{staticClass:"card-title"},[t._v(t._s(t.stats.streams))])]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("i",{staticClass:"fa fa-refresh"}),t._v(" Updated now\n ")])])],1),t._v(" "),a("div",{staticClass:"col-xl-3 col-md-6"},[a("stats-card",[a("div",{staticClass:"icon-success",attrs:{slot:"header"},slot:"header"},[a("i",{staticClass:"fa fa-signal text-success"})]),t._v(" "),a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"card-category"},[t._v("Live streams")]),t._v(" "),a("h4",{staticClass:"card-title"},[t._v(t._s(t.stats.liveStreams))])]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("i",{staticClass:"fa fa-refresh"}),t._v(" Updated now\n ")])])],1),t._v(" "),a("div",{staticClass:"col-xl-3 col-md-6"},[a("stats-card",[a("div",{staticClass:"icon-danger",attrs:{slot:"header"},slot:"header"},[a("i",{staticClass:"fa fa-user text-danger"})]),t._v(" "),a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"card-category"},[t._v("Registered users")]),t._v(" "),a("h4",{staticClass:"card-title"},[t._v(t._s(t.stats.users))])]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("i",{staticClass:"fa fa-refresh"}),t._v(" Updated now\n ")])])],1),t._v(" "),a("div",{staticClass:"col-xl-3 col-md-6"},[a("stats-card",[a("div",{staticClass:"icon-info",attrs:{slot:"header"},slot:"header"},[a("i",{staticClass:"fa fa-server text-primary"})]),t._v(" "),a("div",{attrs:{slot:"content"},slot:"content"},[a("p",{staticClass:"card-category"},[t._v("Supported endpoints")]),t._v(" "),a("h4",{staticClass:"card-title"},[t._v(t._s(t.stats.endpoints))])]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("i",{staticClass:"fa fa-refresh"}),t._v(" Updated now\n ")])])],1)])])])},n=[],i={render:s,staticRenderFns:n};e.a=i},JMTP:function(t,e,a){"use strict";e.a={data:function(){return{stream:{},stats:{}}},mounted:function(){var t=this;this.axios.get("/streams/one?id="+this.$route.params.id).then(function(e){t.stream=e.data}),this.axios.get("/streams/"+this.$route.params.id+"/stats").then(function(e){t.stats=e.data})},filters:{toNumber:function(t){return t.toFixed(2)}}}},Jmt5:function(t,e){},"L/ta":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:{"nav-open":t.$sidebar.showSidebar}},[a("notifications"),t._v(" "),a("router-view")],1)},n=[],i={render:s,staticRenderFns:n};e.a=i},LrzN:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},[a("div",{staticClass:"bg-white p-3"},[a("a",{staticClass:"btn btn-primary mb-3",attrs:{href:"#/ucp/streams/add"}},[t._v("Add a new Stream")]),t._v(" "),a("table",{staticClass:"table"},[t._m(0),t._v(" "),a("tbody",t._l(t.streams,function(e){return a("tr",[a("td",[a("i",{staticClass:"fa fa-circle",class:e.live?"text-success":"text-danger",attrs:{"aria-hidden":"true"}})]),t._v(" "),a("td",[a("i",{staticClass:"fa fa-circle",class:e.active?"text-success":"text-danger",attrs:{"aria-hidden":"true"}})]),t._v(" "),a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(t.getProviders(e)))]),t._v(" "),a("td",[a("a",{staticClass:"btn btn-info",attrs:{href:"#/ucp/streams/"+e.id+"/setup"}},[t._v("Setup")]),t._v(" "),a("a",{staticClass:"btn btn-secondary",attrs:{href:"#/ucp/streams/"+e.id+"/"}},[t._v("Edit")]),t._v(" "),a("a",{staticClass:"btn btn-danger",on:{click:function(a){t.regenerateKey(e)}}},[t._v("Regenerate Stream Key")]),t._v(" "),a("a",{staticClass:"btn btn-danger",on:{click:function(a){t.deleteStream(e)}}},[t._v("Delete")])])])}))])])])])])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",{staticClass:"thead-dark"},[a("tr",[a("th",[t._v("Live")]),t._v(" "),a("th",[t._v("Active")]),t._v(" "),a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Endpoints")]),t._v(" "),a("th",[t._v("Action")])])])}],i={render:s,staticRenderFns:n};e.a=i},M93x:function(t,e,a){"use strict";function s(t){a("zjbl")}var n=a("xJD8"),i=a("L/ta"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},MZ8R:function(t,e,a){"use strict";function s(t){a("vJSI")}var n=a("0FOK"),i=a("x8SE"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},Mca5:function(t,e,a){"use strict";var s=a("7SdG");e.a={components:{SidebarLink:s.a},props:{title:{type:String,default:"ReCast"},backgroundColor:{type:String,default:"purple",validator:function(t){return-1!==["","blue","azure","green","orange","red","purple","black"].indexOf(t)}},backgroundImage:{type:String,default:"static/img/sidebar-5.jpg"},activeColor:{type:String,default:"success",validator:function(t){return-1!==["primary","info","success","warning","danger"].indexOf(t)}},sidebarLinks:{type:Array,default:function(){return[]}},autoClose:{type:Boolean,default:!0}},provide:function(){return{autoClose:this.autoClose}},computed:{sidebarStyle:function(){return{backgroundImage:"url("+this.backgroundImage+")"}}}}},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("I3G/"),n=a.n(s),i=a("/ocq"),r=a("M93x"),o=a("mtWM"),c=a.n(o),l=a("Rf8U"),d=a.n(l),u=a("MLZB"),v=a.n(u),p=a("1SRG"),f=a.n(p),m=a("p4sG"),_=(a.n(m),a("28ys")),h=a("T1vP");n.a.use(i.a),n.a.use(_.a);var g=new i.a({routes:h.a,linkActiveClass:"nav-item active"});n.a.router=g,c.a.defaults.baseURL="undefined"==typeof appUrl?"http://localhost/api":appUrl,n.a.use(d.a,c.a),n.a.use(f.a),n.a.use(v.a,{auth:{request:function(t,e){this.options.http._setHeaders.call(this,t,{Authorization:"Bearer "+localStorage.getItem("token")})},response:function(t){if(t.data.token)return localStorage.setItem("token",t.data.token),t.data.token}},http:a("E/+Z"),router:a("LFDJ")}),new n.a({el:"#app",render:function(t){return t(r.a)},router:g})},OJ7e:function(t,e,a){"use strict";function s(t){a("Dt4y")}var n=a("k+ET"),i=a("XHx6"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},Ofcx:function(t,e,a){"use strict";function s(t){a("eGb9")}var n=a("oQcq"),i=a("LrzN"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"Ond/":function(t,e,a){"use strict";function s(t){a("hXN0")}var n=a("eU1q"),i=a("WOE+"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},QDyf:function(t,e,a){"use strict";e.a={name:"card"}},QXFZ:function(t,e){},R5Ta:function(t,e,a){"use strict";function s(t){a("DMp6")}var n=a("Mca5"),i=a("oGYD"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},RdIe:function(t,e,a){"use strict";function s(t){a("1AJi")}var n=a("tQko"),i=a("aKUz"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},Sczw:function(t,e){},T1vP:function(t,e,a){"use strict";var s=a("OJ7e"),n=a("eCSI"),i=a("5FAv"),r=a("/Zdx"),o=a("Ofcx"),c=a("qttZ"),l=a("bqJ/"),d=a("z/GT"),u=a("RdIe"),v=[{path:"/",redirect:"/ucp/overview"},{name:"login",path:"/login",component:s.a},{path:"/ucp",component:n.a,redirect:"/ucp/overview",meta:{auth:!0},children:[{path:"overview",name:"Overview",component:r.a,meta:{auth:!0}},{path:"settings",component:u.a,meta:{auth:!0}},{path:"streams",name:"My Streams",component:o.a,meta:{auth:!0}},{path:"streams/:id/",component:c.a,meta:{auth:!0}},{path:"streams/:id/setup",component:l.a,meta:{auth:!0}},{path:"streams/:streamId/endpoints/:id",component:d.a,meta:{auth:!0}}]},{path:"*",component:i.a}];e.a=v},TQ5B:function(t,e,a){"use strict";var s=a("2aTV"),n=a("MZ8R"),i=a("bwpC");e.a={components:{TopNavbar:s.a,ContentFooter:n.a,DashboardContent:i.a},methods:{toggleSidebar:function(){this.$sidebar.showSidebar&&this.$sidebar.displaySidebar(!1)}}}},UvUG:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(t.tag,t._b({tag:"component",attrs:{tag:"li"},nativeOn:{click:function(e){return t.hideSidebar(e)}}},"component",t.$attrs,!1),[a("a",{staticClass:"nav-link"},[t._t("default",[t.link.icon?a("i",{class:t.link.icon}):t._e(),t._v(" "),a("p",[t._v(t._s(t.link.name))])])],2)])},n=[],i={render:s,staticRenderFns:n};e.a=i},VnhA:function(t,e,a){"use strict";e.a={}},"WOE+":function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group",class:{"input-group":t.hasIcon}},[t._t("label",[t.label?a("label",{staticClass:"control-label"},[t._v("\n "+t._s(t.label)+"\n ")]):t._e()]),t._v(" "),t._t("addonLeft",[t.addonLeftIcon?a("span",{staticClass:"input-group-addon"},[a("i",{class:t.addonLeftIcon})]):t._e()]),t._v(" "),a("input",t._b({staticClass:"form-control",attrs:{"aria-describedby":"addon-right addon-left"},domProps:{value:t.value},on:{input:function(e){t.$emit("input",e.target.value)}}},"input",t.$attrs,!1)),t._v(" "),t._t("default"),t._v(" "),t._t("addonRight",[t.addonRightIcon?a("span",{staticClass:"input-group-addon"},[a("i",{class:t.addonRightIcon})]):t._e()])],2)},n=[],i={render:s,staticRenderFns:n};e.a=i},Wava:function(t,e){},"X/O0":function(t,e){},XHx6:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"loginWrapper"},[a("div",{staticClass:"sidebarBanner"}),t._v(" "),t.showRegistration?t._e():a("div",{staticClass:"loginForm"},[a("h4",[t._v("Login")]),t._v(" "),t.authFailed?a("div",{staticClass:"alert alert-danger"},[t._v("Bad credentials")]):t._e(),t._v(" "),a("form",{on:{submit:t.onLogin}},[a("fg-input",{attrs:{type:"text",label:"Username",placeholder:"Username"},model:{value:t.login._username,callback:function(e){t.$set(t.login,"_username",e)},expression:"login._username"}}),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"control-label"},[t._v("Password")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.login._password,expression:"login._password"}],staticClass:"form-control",attrs:{type:"password",placeholder:"Password"},domProps:{value:t.login._password},on:{input:function(e){e.target.composing||t.$set(t.login,"_password",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-group"},[a("p-checkbox",{model:{value:t.rememberMe,callback:function(e){t.rememberMe=e},expression:"rememberMe"}},[t._v("Remember Me")])],1),t._v(" "),a("button",{staticClass:"btn btn-primary"},[t._v("Login")]),t._v(" "),t.settings.registrationEnabled?a("div",[a("hr"),t._v(" "),a("div",{staticClass:"text-center"},[a("a",{attrs:{href:"#"},on:{click:t.toggleRegistration}},[t._v("Create a new Account")])])]):t._e()],1)]),t._v(" "),t.showRegistration?a("div",{staticClass:"loginForm"},[a("h4",[t._v("Registration")]),t._v(" "),a("form",{on:{submit:t.onRegister}},[a("fg-input",{attrs:{type:"text",label:"Username",placeholder:"Username",pattern:".{3,}"},model:{value:t.register.username,callback:function(e){t.$set(t.register,"username",e)},expression:"register.username"}}),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"control-label"},[t._v("Password")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.register.password,expression:"register.password"}],staticClass:"form-control",attrs:{type:"password",pattern:".{6,}",placeholder:"Password"},domProps:{value:t.register.password},on:{input:function(e){e.target.composing||t.$set(t.register,"password",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"form-group"},[a("label",{staticClass:"control-label"},[t._v("Password Confirmation")]),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.register.passwordConfirm,expression:"register.passwordConfirm"}],staticClass:"form-control",attrs:{type:"password",pattern:".{6,}",placeholder:"Password Confirmation"},domProps:{value:t.register.passwordConfirm},on:{input:function(e){e.target.composing||t.$set(t.register,"passwordConfirm",e.target.value)}}})]),t._v(" "),a("fg-input",{attrs:{type:"email",label:"Email",placeholder:"Email"},model:{value:t.register.email,callback:function(e){t.$set(t.register,"email",e)},expression:"register.email"}}),t._v(" "),a("button",{staticClass:"btn btn-primary"},[t._v("Register")]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"text-center"},[a("a",{attrs:{href:"#"},on:{click:t.toggleRegistration}},[t._v("I have already a account")])])],1)]):t._e()])},n=[],i={render:s,staticRenderFns:n};e.a=i},Y4ad:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-check",class:{disabled:t.disabled}},[a("label",{staticClass:"form-check-label",attrs:{for:t.cbId}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"form-check-input",attrs:{id:t.cbId,type:"checkbox",disabled:t.disabled},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t.model},on:{change:function(e){var a=t.model,s=e.target,n=!!s.checked;if(Array.isArray(a)){var i=t._i(a,null);s.checked?i<0&&(t.model=a.concat([null])):i>-1&&(t.model=a.slice(0,i).concat(a.slice(i+1)))}else t.model=n}}}),t._v(" "),a("span",{staticClass:"form-check-sign"})]),t._v(" "),a("span",[t._t("default")],2)])},n=[],i={render:s,staticRenderFns:n};e.a=i},ZQf1:function(t,e,a){"use strict";function s(t){a("X/O0")}var n=a("sQGm"),i=a("AxoN"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,"data-v-874b0e5a",null);e.a=c.exports},aKUz:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("card",[a("h4",[t._v("Change Password")]),t._v(" "),a("form",{on:{submit:t.changePassword}},[a("fg-input",{attrs:{label:"Current Password",type:"password",required:"required"},model:{value:t.resetPassword.currentPassword,callback:function(e){t.$set(t.resetPassword,"currentPassword",e)},expression:"resetPassword.currentPassword"}}),t._v(" "),a("fg-input",{attrs:{label:"New Password",pattern:".{6,}",type:"password",required:"required"},model:{value:t.resetPassword.newPassword,callback:function(e){t.$set(t.resetPassword,"newPassword",e)},expression:"resetPassword.newPassword"}}),t._v(" "),a("small",[t._v("Passwords must have at minimum 6 characters")]),t._v(" "),a("fg-input",{attrs:{label:"New Password Repeat",pattern:".{6,}",type:"password",required:"required"},model:{value:t.resetPassword.newPassword2,callback:function(e){t.$set(t.resetPassword,"newPassword2",e)},expression:"resetPassword.newPassword2"}}),t._v(" "),a("button",{staticClass:"btn btn-primary"},[t._v("Change Password")])],1)])],1)])},n=[],i={render:s,staticRenderFns:n};e.a=i},"bqJ/":function(t,e,a){"use strict";function s(t){a("xANA")}var n=a("JMTP"),i=a("5FD+"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},bwpC:function(t,e,a){"use strict";function s(t){a("Wava")}var n=a("VnhA"),i=a("FGMu"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},cxu9:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-stats"},[a("div",{staticClass:"row"},[t.$slots.header?a("div",{staticClass:"col-5"},[a("div",{staticClass:"icon-big text-center"},[t._t("header")],2)]):t._e(),t._v(" "),t.$slots.content?a("div",{staticClass:"col-7"},[a("div",{staticClass:"numbers"},[t._t("content")],2)]):t._e()]),t._v(" "),t.$slots.footer?a("div",{staticClass:"stats",attrs:{slot:"footer"},slot:"footer"},[t._t("footer")],2):t._e()])},n=[],i={render:s,staticRenderFns:n};e.a=i},e47L:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrapper"},[a("side-bar",[a("sidebar-link",{attrs:{to:"/ucp/overview"}},[a("i",{staticClass:"fa fa-line-chart"}),t._v(" "),a("p",[t._v("Dashboard")])]),t._v(" "),a("sidebar-link",{attrs:{to:"/ucp/streams"}},[a("i",{staticClass:"fa fa-signal"}),t._v(" "),a("p",[t._v("My Streams")])])],1),t._v(" "),a("div",{staticClass:"main-panel"},[a("top-navbar"),t._v(" "),a("dashboard-content",{on:{click:t.toggleSidebar}}),t._v(" "),a("content-footer")],1)],1)},n=[],i={render:s,staticRenderFns:n};e.a=i},eAxr:function(t,e,a){"use strict";e.a={}},eCSI:function(t,e,a){"use strict";function s(t){a("7mwj")}var n=a("TQ5B"),i=a("e47L"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},eGb9:function(t,e){},eU1q:function(t,e,a){"use strict";e.a={inheritAttrs:!1,name:"fg-input",props:{label:String,value:[String,Number],addonRightIcon:String,addonLeftIcon:String},computed:{hasIcon:function(){var t=this.$slots,e=t.addonRight,a=t.addonLeft;return void 0!==e||void 0!==a||void 0!==this.addonRightIcon||void 0!==this.addonLeftIcon}}}},eYZw:function(t,e){},fWLj:function(t,e){},grfR:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"contact-us full-screen"},[a("nav",{staticClass:"navbar navbar-ct-default",attrs:{role:"navigation-demo"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"navbar-header"},[t._m(0),t._v(" "),a("router-link",{staticClass:"navbar-brand",attrs:{to:{path:"/"}}},[t._v("Site title")])],1),t._v(" "),a("div",{staticClass:"collapse navbar-collapse",attrs:{id:"navigation-example-2"}},[a("ul",{staticClass:"nav navbar-nav navbar-right"},[a("li",[a("router-link",{attrs:{to:{path:"/"}}},[t._v("Home")])],1)])])])]),t._v(" "),t._m(1),t._v(" "),a("footer",{staticClass:"footer-demo"},[a("div",{staticClass:"container"},[a("nav",{staticClass:"pull-left"},[a("ul",[a("li",[a("router-link",{attrs:{to:{path:"/"}}},[t._v("Home")])],1),t._v(" "),a("li",[a("router-link",{attrs:{to:{path:"/register"}}},[t._v("Register")])],1)])]),t._v(" "),t._m(2)])])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"navbar-toggle",attrs:{type:"button","data-toggle":"collapse","data-target":"#navigation-example-2"}},[a("span",{staticClass:"sr-only"},[t._v("Toggle navigation")]),t._v(" "),a("span",{staticClass:"icon-bar"}),t._v(" "),a("span",{staticClass:"icon-bar"}),t._v(" "),a("span",{staticClass:"icon-bar"})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"wrapper wrapper-full-page section content"},[a("div",{},[a("div",{staticClass:"container"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-8 col-md-offset-2 text-center"},[a("h2",{staticClass:"title text-danger"},[t._v("404 Not Found")]),t._v(" "),a("h2",{staticClass:"title"},[t._v("Oops! It seems that this page does not exist.")])])])])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"copyright pull-right"},[t._v("\n © 2017, made with\n "),a("i",{staticClass:"fa fa-heart heart"}),t._v(" by Paper admin\n ")])}],i={render:s,staticRenderFns:n};e.a=i},hXN0:function(t,e){},"jEp+":function(t,e,a){"use strict";function s(t){a("QXFZ")}var n=a("QDyf"),i=a("pLT5"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"k+ET":function(t,e,a){"use strict";var s=a("kVx9"),n=a("jEp+");e.a={mounted:function(){var t=this;this.axios.get("/settings").then(function(e){t.settings=e.data})},components:{Card:n.a,PCheckbox:s.a},data:function(){return{login:{_username:"",_password:""},register:{username:"",password:"",passwordConfirm:"",email:""},rememberMe:!1,authFailed:!1,settings:{registrationEnabled:!1},showRegistration:!1}},methods:{onLogin:function(t){var e=this;t.preventDefault();var a=new FormData;a.set("_username",this.login._username),a.set("_password",this.login._password),this.$auth.login({data:a,rememberMe:this.rememberMe,redirect:{name:"Overview"},error:function(){var t={template:"<span>Login failed</span>"};e.$notify({component:t,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})}})},onRegister:function(t){var e=this;if(t.preventDefault(),this.register.password!==this.register.passwordConfirm){var a={template:"<span>Passwords are not equal</span>"};this.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})}else this.axios.post("/register",this.register).then(function(t){var a={template:"<span>Registration was successfully. You can login now</span>"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"success"}),e.toggleRegistration()}).catch(function(t){var a={template:"<span>"+t.response.data.message+"</span>"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})})},toggleRegistration:function(){this.showRegistration=!this.showRegistration}}}},kVx9:function(t,e,a){"use strict";function s(t){a("tPCi")}var n=a("uEKC"),i=a("Y4ad"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},oGYD:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"sidebar",style:t.sidebarStyle,attrs:{"data-color":t.backgroundColor,"data-image":t.backgroundImage}},[a("div",{staticClass:"sidebar-wrapper"},[a("div",{staticClass:"logo"},[a("a",{staticClass:"simple-text",attrs:{href:"#"}},[a("img",{attrs:{src:"static/img/logo.png",alt:""}}),t._v("\n "+t._s(t.title)+"\n ")])]),t._v(" "),t._t("content"),t._v(" "),a("ul",{staticClass:"nav"},[t._t("default",t._l(t.sidebarLinks,function(e,s){return a("sidebar-link",{key:e.name+s,attrs:{to:e.path,link:e},on:{click:t.closeNavbar}},[a("i",{class:e.icon}),t._v(" "),a("p",[t._v(t._s(e.name))])])}))],2)],2)])},n=[],i={render:s,staticRenderFns:n};e.a=i},oQcq:function(t,e,a){"use strict";e.a={data:function(){return{streams:[]}},mounted:function(){var t=this;this.axios.get("/streams/list").then(function(e){t.streams=e.data})},methods:{deleteStream:function(t){this.streams.splice(this.streams.indexOf(t),1),this.axios.post("/streams/delete",{id:t.id})},regenerateKey:function(t){this.axios.post("/streams/regenerate",{id:t.id}).then(function(t){window.location.reload()})},getProviders:function(t){var e="";return t.endpoints.forEach(function(t){e+=t.type+", "}),e.length&&(e=e.substr(0,e.length-2)),e}}}},p4sG:function(t,e){},pLT5:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[t.$slots.image?a("div",{staticClass:"card-image"},[t._t("image")],2):t._e(),t._v(" "),t.$slots.header?a("div",{staticClass:"card-header"},[t._t("header")],2):t._e(),t._v(" "),a("div",{staticClass:"card-body"},[t._t("default")],2),t._v(" "),t.$slots.footer?a("div",{staticClass:"card-footer"},[a("hr"),t._v(" "),t._t("footer")],2):t._e()])},n=[],i={render:s,staticRenderFns:n};e.a=i},qttZ:function(t,e,a){"use strict";function s(t){a("8UYp")}var n=a("3LD9"),i=a("vw6k"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},sQGm:function(t,e,a){"use strict";e.a={name:"drop-down",props:{title:String,icon:String,tag:{type:String,default:"li"}},data:function(){return{isOpen:!1}},methods:{toggleDropDown:function(){this.isOpen=!this.isOpen,this.$emit("change",this.isOpen)},closeDropDown:function(){this.isOpen=!1,this.$emit("change",this.isOpen)}}}},tPCi:function(t,e){},tQko:function(t,e,a){"use strict";var s=a("jEp+");e.a={components:{Card:s.a},data:function(){return{resetPassword:{currentPassword:"",newPassword:"",newPassword2:""}}},methods:{changePassword:function(t){var e=this;if(t.preventDefault(),this.resetPassword.newPassword!==this.resetPassword.newPassword2){var a={template:"<span>New Passwords are not equal</span>"};this.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})}else this.axios.post("/auth/changePassword",{currentPassword:this.resetPassword.currentPassword,newPassword:this.resetPassword.newPassword}).then(function(t){e.$auth.logout({redirect:{name:"login"}})}).catch(function(t){var a={template:"<span>"+t.response.data.message+"</span>"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"danger"})})}}}},uEKC:function(t,e,a){"use strict";e.a={name:"p-checkbox",model:{prop:"checked"},props:{checked:[Array,Boolean],disabled:[Boolean,String],inline:Boolean},data:function(){return{cbId:""}},computed:{model:{get:function(){return this.checked},set:function(t){this.$emit("input",t)}},inlineClass:function(){if(this.inline)return"checkbox-inline"}},created:function(){this.cbId=Math.random().toString(16).slice(2)}}},vJSI:function(t,e){},vNb6:function(t,e,a){"use strict";function s(t){a("eYZw")}var n=a("0XqQ"),i=a("cxu9"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},vw6k:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-12"},["add"==t.$route.params.id?a("h4",[t._v("Create a new Stream")]):t._e(),t._v(" "),"add"!=t.$route.params.id?a("h4",[t._v('Edit "'+t._s(t.stream.name)+'"')]):t._e(),t._v(" "),a("card",[a("form",{on:{submit:t.save}},[a("fg-input",{attrs:{label:"Name"},model:{value:t.stream.name,callback:function(e){t.$set(t.stream,"name",e)},expression:"stream.name"}}),t._v(" "),a("div",{staticClass:"form-group"},[a("p-checkbox",{model:{value:t.stream.active,callback:function(e){t.$set(t.stream,"active",e)},expression:"stream.active"}},[t._v("Active")])],1),t._v(" "),a("button",{staticClass:"btn btn-primary"},[t._v("Save")])],1)]),t._v(" "),"add"!==this.$route.params.id?a("div",[a("h4",[t._v("Endpoints")]),t._v(" "),a("div",{staticClass:"bg-white p-3"},[a("a",{staticClass:"btn btn-primary mb-3",attrs:{href:"#/ucp/streams/"+t.$route.params.id+"/endpoints/add"}},[t._v("Add a new Endpoint")]),t._v(" "),a("table",{staticClass:"table"},[t._m(0),t._v(" "),a("tbody",t._l(t.endpoints,function(e){return a("tr",[a("td",[a("i",{staticClass:"fa fa-circle",class:e.active?"text-success":"text-danger",attrs:{"aria-hidden":"true"}})]),t._v(" "),a("td",[t._v(t._s(e.name))]),t._v(" "),a("td",[t._v(t._s(e.type))]),t._v(" "),a("td",[t._v(t._s(e.server))]),t._v(" "),a("td",[a("a",{staticClass:"btn btn-secondary",attrs:{href:"#/ucp/streams/"+t.$route.params.id+"/endpoints/"+e.id}},[t._v("Edit")]),t._v(" "),a("a",{staticClass:"btn btn-info",on:{click:function(a){t.toggleEndpoint(e)}}},[t._v(t._s(e.active?"Disable":"Enable"))]),t._v(" "),a("a",{staticClass:"btn btn-danger",on:{click:function(a){t.deleteEndpoint(e)}}},[t._v("Delete")])])])}))])])]):t._e()],1)])])])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",{staticClass:"thead-dark"},[a("tr",[a("th",[t._v("Active")]),t._v(" "),a("th",[t._v("Name")]),t._v(" "),a("th",[t._v("Service")]),t._v(" "),a("th",[t._v("Location")]),t._v(" "),a("th",[t._v("Action")])])])}],i={render:s,staticRenderFns:n};e.a=i},x8SE:function(t,e,a){"use strict";var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("footer",{staticClass:"footer"},[a("div",{staticClass:"container-fluid"},[a("nav",[a("ul",{staticClass:"footer-menu"})]),t._v(" "),a("div",{staticClass:"copyright text-left"},[t._v("\n © 2018 ReCast"),a("br"),t._v("\n Theme by\n "),a("a",{attrs:{href:"https://github.com/cristijora",target:"_blank"}},[t._v("Cristi Jora")]),t._v(".\n Designed by "),a("a",{attrs:{href:"https://www.creative-tim.com/?ref=pdf-vuejs",target:"_blank"}},[t._v("Creative Tim")]),t._v(".\n ")])])])}],i={render:s,staticRenderFns:n};e.a=i},xANA:function(t,e){},xJD8:function(t,e,a){"use strict";e.a={}},"z/GT":function(t,e,a){"use strict";function s(t){a("fWLj")}var n=a("69r5"),i=a("2iD/"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},zTLC:function(t,e,a){"use strict";e.a={computed:{routeName:function(){var t=this.$route.name;return this.capitalizeFirstLetter(t)}},data:function(){return{activeNotifications:!1}},methods:{capitalizeFirstLetter:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},toggleNotificationDropDown:function(){this.activeNotifications=!this.activeNotifications},closeDropDown:function(){this.activeNotifications=!1},toggleSidebar:function(){this.$sidebar.displaySidebar(!this.$sidebar.showSidebar)},hideSidebar:function(){this.$sidebar.displaySidebar(!1)},logout:function(){localStorage.removeItem("token"),this.$auth.logout({redirect:{name:"login"}})}}}},zjbl:function(t,e){}},["NHnr"]); |