From de33e9d6f6bb0fe01b64bbdb14401a8d1fcc630d Mon Sep 17 00:00:00 2001 From: r4sas Date: Sat, 20 Oct 2018 14:34:08 +0000 Subject: [PATCH] cosmetic change in html --- public/static/js/app.js | 2 +- public/static/js/vendor.js | 14 +++++++------- .../src/components/ReCast/Streams/SetupStream.vue | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/static/js/app.js b/public/static/js/app.js index d1a88e0..2db0f95 100644 --- a/public/static/js/app.js +++ b/public/static/js/app.js @@ -1 +1 @@ -webpackJsonp([0],{"+586":function(t,e){},"+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("v3Yq")}var n=a("2RsT"),i=a("93Sd"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"/x95":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},"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}}},"1gfG":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("5Jsr")}var n=a("zTLC"),i=a("tCjS"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"3K4Y":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},"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:""+t.response.data.message+""};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)}}}},"5FAv":function(t,e,a){"use strict";var s=a("eAxr"),n=a("pZsM"),i=a("VU/8"),r=i(s.a,n.a,!1,null,null,null);e.a=r.exports},"5Jsr":function(t,e){},"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:""+t.response.data.message+""};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("B6fM")}var n=a("3Q3N"),i=a("sbTa"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},"7e3i":function(t,e){},"90Q8":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},"93Sd":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},"947H":function(t,e){},AUmh:function(t,e){},B6fM: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},"D+5F":function(t,e){},DNaQ: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},"Df/f":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},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){},Lwjl: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",disabled:"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",disabled:"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},M93x:function(t,e,a){"use strict";function s(t){a("+586")}var n=a("xJD8"),i=a("/x95"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},MDtD:function(t,e){},MZ8R:function(t,e,a){"use strict";function s(t){a("lzvs")}var n=a("0FOK"),i=a("3K4Y"),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("o06X")}var n=a("k+ET"),i=a("qPdO"),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("Z7ks")}var n=a("oQcq"),i=a("Df/f"),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("D+5F")}var n=a("eU1q"),i=a("WA7w"),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"}},R5Ta:function(t,e,a){"use strict";function s(t){a("nblu")}var n=a("Mca5"),i=a("poRU"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},RJyU: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},RdIe:function(t,e,a){"use strict";function s(t){a("1gfG")}var n=a("tQko"),i=a("iGQM"),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)}}}},UJsn:function(t,e){},VnhA:function(t,e,a){"use strict";e.a={}},WA7w: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},Z7ks:function(t,e){},ZQf1:function(t,e,a){"use strict";function s(t){a("dCs8")}var n=a("sQGm"),i=a("l4gp"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,"data-v-22c919e6",null);e.a=c.exports},bkap: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},"bqJ/":function(t,e,a){"use strict";function s(t){a("7e3i")}var n=a("JMTP"),i=a("Lwjl"),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("UJsn")}var n=a("VnhA"),i=a("of1H"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},dCs8:function(t,e){},eAxr:function(t,e,a){"use strict";e.a={}},eCSI:function(t,e,a){"use strict";function s(t){a("eys8")}var n=a("TQ5B"),i=a("DNaQ"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},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}}}},eys8:function(t,e){},fX9i:function(t,e){},iGQM: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},"jEp+":function(t,e,a){"use strict";function s(t){a("kYOY")}var n=a("QDyf"),i=a("90Q8"),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:"Login failed"};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:"Passwords are not equal"};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:"Registration was successfully. You can login now"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"success"}),e.toggleRegistration()}).catch(function(t){var a={template:""+t.response.data.message+""};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("MDtD")}var n=a("uEKC"),i=a("mLyp"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},kYOY:function(t,e){},l4gp: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},lzvs:function(t,e){},m9dM: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},mLyp: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},nblu:function(t,e){},o06X:function(t,e){},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}}}},of1H: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},p4sG:function(t,e){},pZsM: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},poRU: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},qPdO: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},qttZ:function(t,e,a){"use strict";function s(t){a("fX9i")}var n=a("3LD9"),i=a("m9dM"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},rYUj:function(t,e){},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)}}}},sbTa: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},tCjS: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},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:"New Passwords are not equal"};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:""+t.response.data.message+""};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)}}},v3Yq:function(t,e){},vNb6:function(t,e,a){"use strict";function s(t){a("AUmh")}var n=a("0XqQ"),i=a("RJyU"),r=a("VU/8"),o=s,c=r(n.a,i.a,!1,o,null,null);e.a=c.exports},xJD8:function(t,e,a){"use strict";e.a={}},"z/GT":function(t,e,a){"use strict";function s(t){a("rYUj")}var n=a("69r5"),i=a("bkap"),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"}})}}}}},["NHnr"]); \ No newline at end of file +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:""+t.response.data.message+""};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:""+t.response.data.message+""};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:"Login failed"};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:"Passwords are not equal"};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:"Registration was successfully. You can login now"};e.$notify({component:a,icon:"fa fa-exclamation-triangle",horizontalAlign:"right",verticalAlign:"top",type:"success"}),e.toggleRegistration()}).catch(function(t){var a={template:""+t.response.data.message+""};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:"New Passwords are not equal"};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:""+t.response.data.message+""};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"]); \ No newline at end of file diff --git a/public/static/js/vendor.js b/public/static/js/vendor.js index a1d982d..4c5d9f2 100644 --- a/public/static/js/vendor.js +++ b/public/static/js/vendor.js @@ -1,24 +1,24 @@ -webpackJsonp([1],{"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(t,e,n){var r=n("lOnJ");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"/ocq":function(t,e,n){"use strict";function r(t,e){}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function i(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){void 0===e&&(e={});var r,o=n||c;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}function c(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Bt(n.shift()),o=n.length>0?Bt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function u(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ft(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ft(e)):r.push(Ft(e)+"="+Ft(t)))}),r.join("&")}return Ft(e)+"="+Ft(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=l(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:d(e,o),matched:t?p(t):[]};return n&&(a.redirectedFrom=d(n,o)),Object.freeze(a)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function d(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||u;return(n||"/")+i(r)+o}function h(t,e){return e===Ht?t===e:!!e&&(t.path&&e.path?t.path.replace(Ut,"")===e.path.replace(Ut,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?v(r,o):String(r)===String(o)})}function m(t,e){return 0===t.path.replace(Ut,"/").indexOf(e.path.replace(Ut,"/"))&&(!e.hash||t.hash===e.hash)&&y(t.query,e.query)}function y(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function b(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function O(t){return t.replace(/\/\//g,"/")}function C(t,e){for(var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";null!=(n=Zt.exec(t));){var c=n[0],u=n[1],f=n.index;if(a+=t.slice(i,f),i=f+c.length,u)a+=u[1];else{var l=t[i],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=l&&l!==p,b="+"===m||"*"===m,_="?"===m||"*"===m,w=n[2]||s,x=h||v;r.push({name:d||o++,prefix:p||"",delimiter:w,optional:_,repeat:b,partial:g,asterisk:!!y,pattern:x?S(x):y?".*":"[^"+T(w)+"]+?"})}}return i-1&&(o.params[p]=n.params[p]);if(s)return o.path=M(s.path,o.params,'named route "'+i+'"'),a(s,o,r)}else if(o.path){o.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function ft(t){return function(e,n,r){var i=!1,a=0,s=null;lt(t,function(t,e,n,c){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var u,f=ht(function(e){dt(e)&&(e=e.default),t.resolved="function"==typeof e?e:Nt.extend(e),n.components[c]=e,--a<=0&&r()}),l=ht(function(t){var e="Failed to resolve async component "+c+": "+t;s||(s=o(t)?t:new Error(e),r(s))});try{u=t(f,l)}catch(t){l(t)}if(u)if("function"==typeof u.then)u.then(f,l);else{var p=u.component;p&&"function"==typeof p.then&&p.then(f,l)}}}),i||r()}}function lt(t,e){return pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function pt(t){return Array.prototype.concat.apply([],t)}function dt(t){return t.__esModule||ie&&"Module"===t[Symbol.toStringTag]}function ht(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function vt(t){if(!t)if(Gt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function mt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function St(t){ne?st(Tt(t)):window.location.hash=t}function jt(t){ne?ct(Tt(t)):window.location.replace(Tt(t))}function Lt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Pt(t,e,n){var r="hash"===n?"#"+e:e;return t?O(t+"/"+r):r}var Nt,It={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,s=e.data;s.routerView=!0;for(var c=o.$createElement,u=n.name,f=o.$route,l=o._routerViewCache||(o._routerViewCache={}),p=0,d=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&p++,o._inactive&&(d=!0),o=o.$parent;if(s.routerViewDepth=p,d)return c(l[u],s,r);var h=f.matched[p];if(!h)return l[u]=null,c();var v=l[u]=h.components[u];s.registerRouteInstance=function(t,e){var n=h.instances[u];(e&&n!==t||!e&&n===t)&&(h.instances[u]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){h.instances[u]=e.componentInstance};var m=s.props=i(f,h.props&&h.props[u]);if(m){m=s.props=a({},m);var y=s.attrs=s.attrs||{};for(var g in m)v.props&&g in v.props||(y[g]=m[g],delete m[g])}return c(v,s,r)}},Dt=/[!'()*]/g,Rt=function(t){return"%"+t.charCodeAt(0).toString(16)},Mt=/%2C/g,Ft=function(t){return encodeURIComponent(t).replace(Dt,Rt).replace(Mt,",")},Bt=decodeURIComponent,Ut=/\/?$/,Ht=f(null,{path:"/"}),qt=[String,Object],Vt=[String,Array],zt={name:"router-link",props:{to:{type:qt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Vt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,d=null==l?"router-link-exact-active":l,v=null==this.activeClass?p:this.activeClass,y=null==this.exactActiveClass?d:this.exactActiveClass,_=i.path?f(null,i,null,n):a;c[y]=h(r,_),c[v]=this.exact?c[y]:m(r,_);var w=function(t){g(t)&&(e.replace?n.replace(i):n.push(i))},x={click:g};Array.isArray(this.event)?this.event.forEach(function(t){x[t]=w}):x[this.event]=w;var O={class:c};if("a"===this.tag)O.on=x,O.attrs={href:s};else{var C=b(this.$slots.default);if(C){C.isStatic=!1;var k=Nt.util.extend;(C.data=k({},C.data)).on=x;(C.data.attrs=k({},C.data.attrs)).href=s}else O.on=x}return t(this.tag,O,this.$slots.default)}},Gt="undefined"!=typeof window,Wt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Jt=R,Kt=C,Xt=k,Yt=A,Qt=D,Zt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Jt.parse=Kt,Jt.compile=Xt,Jt.tokensToFunction=Yt,Jt.tokensToRegExp=Qt;var te=Object.create(null),ee=Object.create(null),ne=Gt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),re=Gt&&window.performance&&window.performance.now?window.performance:Date,oe=ot(),ie="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ae=function(t,e){this.router=t,this.base=vt(e),this.current=Ht,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};ae.prototype.listen=function(t){this.cb=t},ae.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ae.prototype.onError=function(t){this.errorCbs.push(t)},ae.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},ae.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current,s=function(t){o(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(h(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var c=mt(this.current.matched,t.matched),u=c.updated,f=c.deactivated,l=c.activated,p=[].concat(bt(f),this.router.beforeHooks,_t(u),l.map(function(t){return t.beforeEnter}),ft(l));this.pending=t;var d=function(e,n){if(i.pending!==t)return s();try{e(t,a,function(t){!1===t||o(t)?(i.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)})}catch(t){s(t)}};ut(p,d,function(){var n=[];ut(xt(l,n,function(){return i.current===t}).concat(i.router.resolveHooks),d,function(){if(i.pending!==t)return s();i.pending=null,e(t),i.router.app&&i.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},ae.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var se=function(t){function e(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior;o&&J();var i=kt(this.base);window.addEventListener("popstate",function(t){var n=r.current,a=kt(r.base);r.current===Ht&&a===i||r.transitionTo(a,function(t){o&&K(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){st(O(r.base+t.fullPath)),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){ct(O(r.base+t.fullPath)),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(kt(this.base)!==this.current.fullPath){var e=O(this.base+this.current.fullPath);t?st(e):ct(e)}},e.prototype.getCurrentLocation=function(){return kt(this.base)},e}(ae),ce=function(t){function e(e,n,r){t.call(this,e,n),r&&$t(this.base)||Et()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ne&&n;r&&J(),window.addEventListener(ne?"popstate":"hashchange",function(){var e=t.current;Et()&&t.transitionTo(At(),function(n){r&&K(t.router,n,e,!0),ne||jt(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){St(t.fullPath),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){jt(t.fullPath),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;At()!==e&&(t?St(e):jt(e))},e.prototype.getCurrentLocation=function(){return At()},e}(ae),ue=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ae),fe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=z(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ne&&!1!==t.fallback,this.fallback&&(e="hash"),Gt||(e="abstract"),this.mode=e,e){case"history":this.history=new se(this,t.base);break;case"hash":this.history=new ce(this,t.base,this.fallback);break;case"abstract":this.history=new ue(this,t.base)}},le={currentRoute:{configurable:!0}};fe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},le.currentRoute.get=function(){return this.history&&this.history.current},fe.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof se)n.transitionTo(n.getCurrentLocation());else if(n instanceof ce){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},fe.prototype.beforeEach=function(t){return Lt(this.beforeHooks,t)},fe.prototype.beforeResolve=function(t){return Lt(this.resolveHooks,t)},fe.prototype.afterEach=function(t){return Lt(this.afterHooks,t)},fe.prototype.onReady=function(t,e){this.history.onReady(t,e)},fe.prototype.onError=function(t){this.history.onError(t)},fe.prototype.push=function(t,e,n){this.history.push(t,e,n)},fe.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},fe.prototype.go=function(t){this.history.go(t)},fe.prototype.back=function(){this.go(-1)},fe.prototype.forward=function(){this.go(1)},fe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},fe.prototype.resolve=function(t,e,n){var r=q(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:Pt(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},fe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ht&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(fe.prototype,le),fe.install=_,fe.version="3.0.1",Gt&&window.Vue&&window.Vue.use(fe),e.a=fe},"162o":function(t,e,n){(function(t){function r(t,e){this._id=t,this._clearFn=e}var o=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n("mypn"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n("DuR2"))},"1SRG":function(t,e,n){"use strict";/*! +webpackJsonp([1],{"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+ZMJ":function(t,e,n){var r=n("lOnJ");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"/ocq":function(t,e,n){"use strict";function r(t,e){}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function i(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e,n){void 0===e&&(e={});var r,o=n||c;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}function c(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Bt(n.shift()),o=n.length>0?Bt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function u(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ft(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ft(e)):r.push(Ft(e)+"="+Ft(t)))}),r.join("&")}return Ft(e)+"="+Ft(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=l(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:d(e,o),matched:t?p(t):[]};return n&&(a.redirectedFrom=d(n,o)),Object.freeze(a)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function d(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||u;return(n||"/")+i(r)+o}function h(t,e){return e===Ht?t===e:!!e&&(t.path&&e.path?t.path.replace(Ut,"")===e.path.replace(Ut,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?v(r,o):String(r)===String(o)})}function m(t,e){return 0===t.path.replace(Ut,"/").indexOf(e.path.replace(Ut,"/"))&&(!e.hash||t.hash===e.hash)&&y(t.query,e.query)}function y(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){if(/\b_blank\b/i.test(t.currentTarget.getAttribute("target")))return}return t.preventDefault&&t.preventDefault(),!0}}function b(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function O(t){return t.replace(/\/\//g,"/")}function C(t,e){for(var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";null!=(n=Zt.exec(t));){var c=n[0],u=n[1],f=n.index;if(a+=t.slice(i,f),i=f+c.length,u)a+=u[1];else{var l=t[i],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=l&&l!==p,b="+"===m||"*"===m,_="?"===m||"*"===m,w=n[2]||s,x=h||v;r.push({name:d||o++,prefix:p||"",delimiter:w,optional:_,repeat:b,partial:g,asterisk:!!y,pattern:x?S(x):y?".*":"[^"+A(w)+"]+?"})}}return i-1&&(o.params[p]=n.params[p]);if(s)return o.path=M(s.path,o.params,'named route "'+i+'"'),a(s,o,r)}else if(o.path){o.params={};for(var d=0;d=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function ft(t){return function(e,n,r){var i=!1,a=0,s=null;lt(t,function(t,e,n,c){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var u,f=ht(function(e){dt(e)&&(e=e.default),t.resolved="function"==typeof e?e:Pt.extend(e),n.components[c]=e,--a<=0&&r()}),l=ht(function(t){var e="Failed to resolve async component "+c+": "+t;s||(s=o(t)?t:new Error(e),r(s))});try{u=t(f,l)}catch(t){l(t)}if(u)if("function"==typeof u.then)u.then(f,l);else{var p=u.component;p&&"function"==typeof p.then&&p.then(f,l)}}}),i||r()}}function lt(t,e){return pt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function pt(t){return Array.prototype.concat.apply([],t)}function dt(t){return t.__esModule||ie&&"Module"===t[Symbol.toStringTag]}function ht(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function vt(t){if(!t)if(Gt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function mt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e)+"#"+t}function St(t){ne?st(At(t)):window.location.hash=t}function jt(t){ne?ct(At(t)):window.location.replace(At(t))}function Lt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Nt(t,e,n){var r="hash"===n?"#"+e:e;return t?O(t+"/"+r):r}var Pt,Dt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,s=e.data;s.routerView=!0;for(var c=o.$createElement,u=n.name,f=o.$route,l=o._routerViewCache||(o._routerViewCache={}),p=0,d=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&p++,o._inactive&&(d=!0),o=o.$parent;if(s.routerViewDepth=p,d)return c(l[u],s,r);var h=f.matched[p];if(!h)return l[u]=null,c();var v=l[u]=h.components[u];s.registerRouteInstance=function(t,e){var n=h.instances[u];(e&&n!==t||!e&&n===t)&&(h.instances[u]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){h.instances[u]=e.componentInstance};var m=s.props=i(f,h.props&&h.props[u]);if(m){m=s.props=a({},m);var y=s.attrs=s.attrs||{};for(var g in m)v.props&&g in v.props||(y[g]=m[g],delete m[g])}return c(v,s,r)}},It=/[!'()*]/g,Rt=function(t){return"%"+t.charCodeAt(0).toString(16)},Mt=/%2C/g,Ft=function(t){return encodeURIComponent(t).replace(It,Rt).replace(Mt,",")},Bt=decodeURIComponent,Ut=/\/?$/,Ht=f(null,{path:"/"}),qt=[String,Object],zt=[String,Array],Vt={name:"router-link",props:{to:{type:qt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:zt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,p=null==u?"router-link-active":u,d=null==l?"router-link-exact-active":l,v=null==this.activeClass?p:this.activeClass,y=null==this.exactActiveClass?d:this.exactActiveClass,_=i.path?f(null,i,null,n):a;c[y]=h(r,_),c[v]=this.exact?c[y]:m(r,_);var w=function(t){g(t)&&(e.replace?n.replace(i):n.push(i))},x={click:g};Array.isArray(this.event)?this.event.forEach(function(t){x[t]=w}):x[this.event]=w;var O={class:c};if("a"===this.tag)O.on=x,O.attrs={href:s};else{var C=b(this.$slots.default);if(C){C.isStatic=!1;var k=Pt.util.extend;(C.data=k({},C.data)).on=x;(C.data.attrs=k({},C.data.attrs)).href=s}else O.on=x}return t(this.tag,O,this.$slots.default)}},Gt="undefined"!=typeof window,Wt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Jt=R,Kt=C,Xt=k,Yt=T,Qt=I,Zt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Jt.parse=Kt,Jt.compile=Xt,Jt.tokensToFunction=Yt,Jt.tokensToRegExp=Qt;var te=Object.create(null),ee=Object.create(null),ne=Gt&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),re=Gt&&window.performance&&window.performance.now?window.performance:Date,oe=ot(),ie="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ae=function(t,e){this.router=t,this.base=vt(e),this.current=Ht,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};ae.prototype.listen=function(t){this.cb=t},ae.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ae.prototype.onError=function(t){this.errorCbs.push(t)},ae.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},ae.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current,s=function(t){o(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(h(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var c=mt(this.current.matched,t.matched),u=c.updated,f=c.deactivated,l=c.activated,p=[].concat(bt(f),this.router.beforeHooks,_t(u),l.map(function(t){return t.beforeEnter}),ft(l));this.pending=t;var d=function(e,n){if(i.pending!==t)return s();try{e(t,a,function(t){!1===t||o(t)?(i.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)})}catch(t){s(t)}};ut(p,d,function(){var n=[];ut(xt(l,n,function(){return i.current===t}).concat(i.router.resolveHooks),d,function(){if(i.pending!==t)return s();i.pending=null,e(t),i.router.app&&i.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},ae.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var se=function(t){function e(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior;o&&J();var i=kt(this.base);window.addEventListener("popstate",function(t){var n=r.current,a=kt(r.base);r.current===Ht&&a===i||r.transitionTo(a,function(t){o&&K(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){st(O(r.base+t.fullPath)),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){ct(O(r.base+t.fullPath)),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(kt(this.base)!==this.current.fullPath){var e=O(this.base+this.current.fullPath);t?st(e):ct(e)}},e.prototype.getCurrentLocation=function(){return kt(this.base)},e}(ae),ce=function(t){function e(e,n,r){t.call(this,e,n),r&&$t(this.base)||Et()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ne&&n;r&&J(),window.addEventListener(ne?"popstate":"hashchange",function(){var e=t.current;Et()&&t.transitionTo(Tt(),function(n){r&&K(t.router,n,e,!0),ne||jt(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){St(t.fullPath),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){jt(t.fullPath),K(r.router,t,i,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Tt()!==e&&(t?St(e):jt(e))},e.prototype.getCurrentLocation=function(){return Tt()},e}(ae),ue=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ae),fe=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=V(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ne&&!1!==t.fallback,this.fallback&&(e="hash"),Gt||(e="abstract"),this.mode=e,e){case"history":this.history=new se(this,t.base);break;case"hash":this.history=new ce(this,t.base,this.fallback);break;case"abstract":this.history=new ue(this,t.base)}},le={currentRoute:{configurable:!0}};fe.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},le.currentRoute.get=function(){return this.history&&this.history.current},fe.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof se)n.transitionTo(n.getCurrentLocation());else if(n instanceof ce){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},fe.prototype.beforeEach=function(t){return Lt(this.beforeHooks,t)},fe.prototype.beforeResolve=function(t){return Lt(this.resolveHooks,t)},fe.prototype.afterEach=function(t){return Lt(this.afterHooks,t)},fe.prototype.onReady=function(t,e){this.history.onReady(t,e)},fe.prototype.onError=function(t){this.history.onError(t)},fe.prototype.push=function(t,e,n){this.history.push(t,e,n)},fe.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},fe.prototype.go=function(t){this.history.go(t)},fe.prototype.back=function(){this.go(-1)},fe.prototype.forward=function(){this.go(1)},fe.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},fe.prototype.resolve=function(t,e,n){var r=q(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:Nt(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},fe.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==Ht&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(fe.prototype,le),fe.install=_,fe.version="3.0.1",Gt&&window.Vue&&window.Vue.use(fe),e.a=fe},"162o":function(t,e,n){(function(t){function r(t,e){this._id=t,this._clearFn=e}var o=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,o,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,o,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(o,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n("mypn"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n("DuR2"))},"1SRG":function(t,e,n){"use strict";/*! * vue-notifyjs v0.2.0 * (c) 2017-present cristij * Released under the MIT License. */ -var r={name:"notification",props:{message:String,title:String,icon:String,verticalAlign:{type:String,default:"top",validator:function(t){return-1!==["top","bottom"].indexOf(t)}},horizontalAlign:{type:String,default:"right",validator:function(t){return-1!==["left","center","right"].indexOf(t)}},type:{type:String,default:"info",validator:function(t){return-1!==["info","primary","danger","warning","success"].indexOf(t)}},timeout:{type:Number,default:5e3,validator:function(t){return t>0}},timestamp:{type:Date,default:function(){return new Date}},component:{type:[Object,Function]}},data:function(){return{elmHeight:0}},computed:{hasIcon:function(){return this.icon&&this.icon.length>0},alertType:function(){return"alert-"+this.type},customPosition:function(){var t=this,e=this.elmHeight+10,n=this.$notifications.state.filter(function(e){return e.horizontalAlign===t.horizontalAlign&&e.verticalAlign===t.verticalAlign&&e.timestamp<=t.timestamp}).length;this.$notifications.settings.overlap&&(n=1);var r=(n-1)*e+20,o={};return"top"===this.verticalAlign?o.top=r+"px":o.bottom=r+"px",o}},methods:{close:function(){this.$emit("close",this.timestamp)}},mounted:function(){this.elmHeight=this.$el.clientHeight,this.timeout&&setTimeout(this.close,this.timeout)},render:function(t){this.component;return t("div",{on:{click:this.close},attrs:{"data-notify":"container",role:"alert","data-notify-position":"top-center"},class:["alert open ",{"alert-with-icon":this.icon},this.verticalAlign,this.horizontalAlign,this.alertType],style:this.customPosition},[t("button",{attrs:{type:"button","aria-hidden":"true","data-notify":"dismiss"},class:"close col-xs-1",on:{click:this.close}},["×"]),this.icon&&t("span",{attrs:{"data-notify":"icon"},class:["alert-icon",this.icon]},[]),t("span",{attrs:{"data-notify":"message"}},[void 0!==this.title&&t("span",{class:"title"},[t("b",null,[this.title,t("br",null,[])])]),void 0!==this.message&&this.message,void 0!==this.component&&t(this.component,null,[])])])}},o={props:{transitionName:{type:String,default:"list"},transitionMode:{type:String,default:"in-out"},overlap:{type:Boolean,default:!1}},data:function(){return{notifications:this.$notifications.state}},methods:{removeNotification:function(t){this.$notifications.removeNotification(t)}},created:function(){this.$notifications.settings.overlap=this.overlap},render:function(){var t=this,e=arguments[0],n=this.$notifications.state.map(function(n,o){return e(r,{attrs:{horizontalAlign:n.horizontalAlign,verticalAlign:n.verticalAlign,icon:n.icon,message:n.message,title:n.title,timeout:n.timeout,type:n.type,component:n.component,timestamp:n.timestamp},key:n.timestamp.getTime(),on:{close:t.removeNotification}},[])});return e("div",{class:"notifications vue-notifyjs"},[e("transition-group",{attrs:{name:this.transitionName,mode:this.transitionMode}},[n])])},watch:{overlap:function(t){this.$notifications.settings.overlap=t}}},i={state:[],settings:{overlap:!1,verticalAlign:"top",horizontalAlign:"right",type:"info",timeout:5e3},setOptions:function(t){this.settings=Object.assign({},this.settings,t)},removeNotification:function(t){var e=this.state.findIndex(function(e){return e.timestamp===t});-1!==e&&this.state.splice(e,1)},addNotification:function(t){("string"==typeof t||t instanceof String)&&(t={message:t}),t.timestamp=new Date,t.timestamp.setMilliseconds(t.timestamp.getMilliseconds()+this.state.length),t=Object.assign({},this.settings,t),this.state.push(t)},notify:function(t){var e=this;Array.isArray(t)?t.forEach(function(t){e.addNotification(t)}):this.addNotification(t)}},a={install:function(t,e){t.mixin({data:function(){return{notificationStore:i}},methods:{notify:function(t){this.notificationStore.notify(t)}}}),Object.defineProperty(t.prototype,"$notify",{get:function(){return this.$root.notify}}),Object.defineProperty(t.prototype,"$notifications",{get:function(){return this.$root.notificationStore}}),t.component("Notifications",o),e&&i.setOptions(e)}};t.exports=a},"21It":function(t,e,n){"use strict";var r=n("FtD3");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"34au":function(t,e,n){var r=n("xtII"),o=n("tV4z"),i=n("D4+/");t.exports=function(){function t(t,e){var n=this,o=e.success;return e=r.extend(this.options[t+"Data"],[e]),e.success=function(r){e.success=o,n.options[t+"Process"].call(n,r,e)},this.options.http._http.call(this,e)}function e(t,e){var n=this.$auth;return n.options[t+"Perform"].call(n,n.options.router._bindData.call(n,e,this))}function n(t){return null===this.watch.authenticated&&o.get.call(this)?i.exists.call(this)?(this.watch.authenticated=!1,this.options.fetchData.enabled?void this.options.fetchPerform.call(this,{success:t,error:t,enabled:!0}):(this.options.fetchProcess.call(this,{},{}),t.call(this))):(this.options.logoutProcess.call(this,null,{}),this.watch.loaded=!0,t.call(this)):(this.watch.loaded=!0,t.call(this))}function a(t){var e=this;if(this.watch.authenticated&&!o.get.call(this)&&this.options.logoutProcess.call(this,null,{}),this.options.refreshData.enabled&&!this.watch.loaded&&o.get.call(this))return void this.options.refreshPerform.call(this,{success:function(){this.options.checkAuthenticated.call(e,t)}});n.call(this,t)}function s(t,e,n){var o=(e||"").redirect||this.options.authRedirect,i=(e||"").forbiddenRedirect||(e||"").redirect||this.options.forbiddenRedirect,a=(e||"").redirect||this.options.notFoundRedirect;if((e=r.toArray(void 0!==(e||"").roles?e.roles:e))&&(!0===e||e.constructor===Array||r.isObject(e)))if(this.check()){if(e.constructor!==Array&&!r.isObject(e)||r.compare(e,this.watch.data[this.options.rolesVar]))return this.watch.redirect=R?{type:R,from:I,to:D}:null,R=null,n();R=403,n.call(this,i)}else R=401,n.call(this,o);else{if(!1!==e||!this.check())return this.watch.redirect=R?{type:R,from:I,to:D}:null,R=null,n();R=404,n.call(this,a)}}function c(t){var e,n;return t.ignoreVueAuth?t:(!1===t.impersonating&&this.impersonating()&&(n=this.options.tokenDefaultName),e=o.get.call(this,n),e&&this.options.auth.request.call(this,t,e),t)}function u(t,e){var n;e&&e.ignoreVueAuth||(g.call(this,t,D),(n=this.options.auth.response.call(this,t))&&o.set.call(this,null,n))}function f(t){return t.data||{}}function l(t){return JSON.parse(decodeURIComponent(t))}function p(t){return!0===this.watch.authenticated&&(!t||r.compare(t,this.watch.data[this.options.rolesVar]))}function d(){return!o.get.call(this)}function h(){return window.location.hostname}function v(){var t=window.location.port;return window.location.protocol+"//"+window.location.hostname+(t?":"+t:"")}function m(t){var e,n;return t.to?e=t.to.auth:(n=t.matched.filter(function(t){return t.meta.hasOwnProperty("auth")}),n.length&&(e=n[n.length-1].meta.auth)),e}function y(t){I=D,D=t}function g(t,e){var n,r,o="",i=e&&e.path;if(i&&e.query){for(n in e.query)e.query[n]&&(o+="&"+n+"="+e.query[n]);i+="?"+o.substring(1)}this.options.http._invalidToken&&this.options.http._invalidToken.call(this,t)&&(e&&(r=this.options.getAuthMeta(e)),r&&(i=r.redirect||this.options.authRedirect),this.options.logoutProcess.call(this,t,{redirect:i}))}function b(e){var n=this,r=e.error;if(e.error=function(t){n.watch.loaded=!0,this.options.fetchData.error&&this.options.fetchData.error.call(this,t),r&&r.call(n,t)},!0===this.watch.authenticated||e.enabled)return t.call(this,"fetch",e);_.call(this,{},e)}function _(t,e){this.watch.authenticated=!0,this.watch.data=this.options.parseUserData.call(this,this.options.http._httpData.call(this,t)),this.watch.loaded=!0,this.options.fetchData.success&&this.options.fetchData.success.call(this,t),e.success&&e.success.call(this,t)}function w(e){return t.call(this,"refresh",e)}function x(t,e){e.success&&e.success.call(this,t)}function O(e){return t.call(this,"register",e)}function C(t,e){!0===e.autoLogin?(e=r.extend(e,[this.options.loginData,{redirect:e.redirect}]),this.options.loginPerform.call(this,e)):(e.success&&e.success.call(this,t),e.redirect&&this.options.router._routerGo.call(this,e.redirect))}function k(e){return t.call(this,"login",e)}function $(t,e){var n=this;i.remember.call(this,e.rememberMe),this.authenticated=null,this.options.fetchPerform.call(this,{enabled:e.fetchUser,success:function(){e.success&&e.success.call(this,t),e.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,e.redirect)}})}function E(e){if(e=r.extend(this.options.logoutData,[e||{}]),e.makeRequest)return t.call(this,"logout",e);this.options.logoutProcess.call(this,null,e)}function A(t,e){i.remove.call(this,"rememberMe"),i.remove.call(this,this.options.tokenImpersonateName),i.remove.call(this,this.options.tokenDefaultName),o.remove.call(this,this.options.tokenImpersonateName),o.remove.call(this,this.options.tokenDefaultName),this.watch.authenticated=!1,this.watch.data=null,e.success&&e.success.call(this,t,e),e.redirect&&this.options.router._routerGo.call(this,e.redirect)}function T(e){var n,r=this.token.call(this);return e=e||{},n=e.success,e.success=function(t){o.set.call(this,this.options.tokenImpersonateName,this.token.call(this)),o.set.call(this,this.options.tokenDefaultName,r),n&&n.call(this,t)},t.call(this,"impersonate",e)}function S(t,e){var n=this;this.options.fetchPerform.call(this,{enabled:!0,success:function(){e.success&&e.success.call(this,t),e.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,e.redirect)}})}function j(e){if(e=r.extend(this.options.unimpersonateData,[e||{}]),e.makeRequest)return t.call(this,"unimpersonate",e);this.options.unimpersonateProcess.call(this,null,e)}function L(t,e){o.remove.call(this,this.options.tokenImpersonateName),this.options.fetchPerform.call(this,{enabled:!0,success:function(){e.success&&e.success.call(this,t,e),e.redirect&&this.options.router._routerGo.call(this,e.redirect)}})}function P(t){var e,n={},o="";if(t=t||{},!0===t.code){t=r.extend(this.options[t.provider+"Data"],[t]);try{t.query.state&&(n=this.options.parseOauthState(t.query.state))}catch(t){console.error("vue-auth:error There was an issue retrieving the state data."),n={}}t.rememberMe=!0===n.rememberMe,t.state=n,this.options.loginPerform.call(this,t)}else{t.params=r.extend(this.options[t.provider+"Oauth2Data"].params,[t.params||{}]),t=r.extend(this.options[t.provider+"Oauth2Data"],[t]),t.params.redirect_uri=t.redirect||t.params.redirect_uri,t.params.client_id=t.clientId||t.params.client_id,t.params.response_type=t.response_type||t.params.response_type||"code",t.params.scope=t.scope||t.params.scope,t.params.state=t.state||t.params.state||{},"function"==typeof t.params.redirect_uri&&(t.params.redirect_uri=t.params.redirect_uri.call(this)),t.params.state.rememberMe=!0===t.rememberMe,t.params.state=encodeURIComponent(JSON.stringify(t.params.state));for(e in t.params)o+="&"+e+"="+t.params[e];window.location=t.url+"?"+o}}function N(t,e){var n,o,i,a=this,s=["auth","http","router"];for(this.currentToken=null,this.options=r.extend(M,[e||{}]),this.options.Vue=t,this.watch=new this.options.Vue({data:function(){return{data:null,loaded:!1,redirect:null,authenticated:null}},watch:{loaded:function(t){!0===t&&a.options.readyCallback&&a.options.readyCallback()}}}),n=0,o=s.length;n0&&setInterval(function(){this.options.refreshData.enabled&&!this.options.tokenExpired.call(this)&&this.options.refreshPerform.call(this,{})}.bind(this),1e3*this.options.refreshData.interval*60),this.options.router._beforeEach.call(this,this.options.routerBeforeEach,this.options.transitionEach),this.options.http._interceptor.call(this,this.options.requestIntercept,this.options.responseIntercept)}var I=null,D=null,R=null,M={rolesVar:"roles",tokenImpersonateName:"impersonate_auth_token",tokenDefaultName:"default_auth_token",tokenStore:["localStorage","cookie"],authRedirect:{path:"/login"},forbiddenRedirect:{path:"/403"},notFoundRedirect:{path:"/404"},registerData:{url:"auth/register",method:"POST",redirect:"/login"},loginData:{url:"auth/login",method:"POST",redirect:"/",fetchUser:!0},logoutData:{url:"auth/logout",method:"POST",redirect:"/",makeRequest:!1},oauth1Data:{url:"auth/login",method:"POST"},fetchData:{url:"auth/user",method:"GET",enabled:!0},refreshData:{url:"auth/refresh",method:"GET",enabled:!0,interval:30},impersonateData:{url:"auth/impersonate",method:"POST",redirect:"/"},unimpersonateData:{url:"auth/unimpersonate",method:"POST",redirect:"/admin",makeRequest:!1},facebookData:{url:"auth/facebook",method:"POST",redirect:"/"},googleData:{url:"auth/google",method:"POST",redirect:"/"},facebookOauth2Data:{url:"https://www.facebook.com/v2.5/dialog/oauth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/facebook"},scope:"email"}},googleOauth2Data:{url:"https://accounts.google.com/o/oauth2/auth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/google"},scope:"https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.profile.emails.read"}},getUrl:v,cookieDomain:h,parseUserData:f,parseOauthState:l,tokenExpired:d,check:p,checkAuthenticated:n,getAuthMeta:m,setTransitions:y,readyCallback:null,transitionEach:s,routerBeforeEach:a,requestIntercept:c,responseIntercept:u,registerPerform:O,registerProcess:C,loginPerform:k,loginProcess:$,logoutPerform:E,logoutProcess:A,fetchPerform:b,fetchProcess:_,refreshPerform:w,refreshProcess:x,impersonatePerform:T,impersonateProcess:S,unimpersonatePerform:j,unimpersonateProcess:L,oauth2Perform:P};return N.prototype.ready=function(t){return void 0!==t&&(this.$auth.options.readyCallback=t.bind(this)),this.$auth.watch.loaded},N.prototype.redirect=function(){return this.watch.redirect},N.prototype.user=function(t){return t&&(this.watch.data=t),this.watch.data||{}},N.prototype.check=function(t){return this.options.check.call(this,t)},N.prototype.impersonating=function(){return this.watch.data,!!o.get.call(this,this.options.tokenImpersonateName)},N.prototype.token=function(t,e){return e&&o.set.call(this,t,e),o.get.call(this,t)},N.prototype.fetch=function(t){return e.call(this,"fetch",t)},N.prototype.refresh=function(t){return e.call(this,"refresh",t)},N.prototype.register=function(t){return e.call(this,"register",t)},N.prototype.login=function(t){return e.call(this,"login",t)},N.prototype.logout=function(t){return e.call(this,"logout",t)},N.prototype.impersonate=function(t){return e.call(this,"impersonate",t)},N.prototype.unimpersonate=function(t){return e.call(this,"unimpersonate",t)},N.prototype.oauth2=function(t){return e.call(this,"oauth2",t)},N.prototype.enableImpersonate=function(){this.impersonating()&&(this.currentToken=null)},N.prototype.disableImpersonate=function(){this.impersonating()&&(this.currentToken=this.options.tokenDefaultName)},N}},"3Eo+":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5VQ+":function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},"77Pl":function(t,e,n){var r=n("EqjI");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"7GwW":function(t,e,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),c=n("FtD3"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+u(m+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,f,i),d=null}},d.onerror=function(){f(c("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("p1b6"),b=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},"7KvD":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},Cdx3:function(t,e,n){var r=n("sB3e"),o=n("lktj");n("uqUo")("keys",function(){return function(t){return o(r(t))}})},D2L2:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"D4+/":function(t,e){t.exports=function(){function t(t,e,n){var r=this.options.cookieDomain(),o=new Date((new Date).getTime()+n).toUTCString(),i=t+"="+e+"; Expires="+o+";";"localhost"!==r&&(i+=" Path=/; Domain="+r+";"),document.cookie=i}return{remember:function(e){t.call(this,"rememberMe",!0===e?"true":"false",!0===e?12096e5:void 0)},set:function(e,n,r){n&&t.call(this,e,n,12096e5)},get:function(t){var e,n,r=document.cookie;for(r=r.replace(/;\s+/g,";").split(";").map(function(t){return t.replace(/\s+\=\s+/g,"=").split("=")}),e=0,n=r.length;e=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function m(t,e){return li.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function b(t,e){return t.bind(e)}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function w(t,e){for(var n in e)t[n]=e[n];return t}function x(t){for(var e={},n=0;n-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===mi(t)){var c=nt(String,o.type);(c<0||s0&&(a=bt(a,(e||"")+"_"+n),gt(a[0])&>(u)&&(f[c]=P(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?gt(u)?f[c]=P(u.text+a):""!==a&&f.push(P(a)):gt(a)&>(u)?f[c]=P(u.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function _t(t,e){return(t.__esModule||Ui&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function wt(t,e,n,r,o){var i=Ji();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function xt(t,e,n){if(i(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;if(i(t.loading)&&o(t.loadingComp))return t.loadingComp;if(!o(t.contexts)){var a=t.contexts=[n],s=!0,u=function(){for(var t=0,e=a.length;tba&&ha[n].id>t.id;)n--;ha.splice(n+1,0,t)}else ha.push(t);ya||(ya=!0,ct(Bt))}}function zt(t,e,n){xa.get=function(){return this[e][n]},xa.set=function(t){this[e][n]=t},Object.defineProperty(t,n,xa)}function Gt(t){t._watchers=[];var e=t.$options;e.props&&Wt(t,e.props),e.methods&&Zt(t,e.methods),e.data?Jt(t):M(t._data={},!0),e.computed&&Xt(t,e.computed),e.watch&&e.watch!==Ni&&te(t,e.watch)}function Wt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];!t.$parent||I(!1);for(var i in e)!function(i){o.push(i);var a=Q(i,e,n,t);F(r,i,a),i in t||zt(t,"_props",i)}(i);I(!0)}function Jt(t){var e=t.$options.data;e=t._data="function"==typeof e?Kt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&m(r,i)||E(i)||zt(t,"_data",i)}M(e,!0)}function Kt(t,e){j();try{return t.call(e,e)}catch(t){return rt(t,e,"data()"),{}}finally{L()}}function Xt(t,e){var n=t._computedWatchers=Object.create(null),r=Fi();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new wa(t,a||O,O,Oa)),o in t||Yt(t,o,i)}}function Yt(t,e,n){var r=!Fi();"function"==typeof n?(xa.get=r?Qt(e):n,xa.set=O):(xa.get=n.get?r&&!1!==n.cache?Qt(e):n.get:O,xa.set=n.set?n.set:O),Object.defineProperty(t,e,xa)}function Qt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Vi.target&&e.depend(),e.value}}function Zt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?O:yi(e[n],t)}function te(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function Ne(t){this._init(t)}function Ie(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function De(t){t.mixin=function(t){return this.options=X(this.options,t),this}}function Re(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=X(n.options,t),a.super=n,a.options.props&&Me(a),a.options.computed&&Fe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,wi.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=w({},a.options),o[r]=a,a}}function Me(t){var e=t.options.props;for(var n in e)zt(t.prototype,"_props",n)}function Fe(t){var e=t.options.computed;for(var n in e)Yt(t.prototype,n,e[n])}function Be(t){wi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ue(t){return t&&(t.Ctor.options.name||t.tag)}function He(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function qe(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Ue(a.componentOptions);s&&!e(s)&&Ve(n,i,r,o)}}}function Ve(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}function ze(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Ge(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Ge(e,n.data));return We(e.staticClass,e.class)}function Ge(t,e){return{staticClass:Je(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function We(t,e){return o(t)||o(e)?Je(t,Ke(e)):""}function Je(t,e){return t?e?t+" "+e:t:e||""}function Ke(t){return Array.isArray(t)?Xe(t):c(t)?Ye(t):"string"==typeof t?t:""}function Xe(t){for(var e,n="",r=0,i=t.length;r-1?es[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:es[t]=/HTMLUnknownElement/.test(e.toString())}function tn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function en(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(t,e){return document.createElementNS(Xa[t],e)}function rn(t){return document.createTextNode(t)}function on(t){return document.createComment(t)}function an(t,e,n){t.insertBefore(e,n)}function sn(t,e){t.removeChild(e)}function cn(t,e){t.appendChild(e)}function un(t){return t.parentNode}function fn(t){return t.nextSibling}function ln(t){return t.tagName}function pn(t,e){t.textContent=e}function dn(t,e){t.setAttribute(e,"")}function hn(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?v(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}function vn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&mn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function mn(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||ns(r)&&ns(i)}function yn(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function gn(t,e){(t.data.directives||e.data.directives)&&bn(t,e)}function bn(t,e){var n,r,o,i=t===is,a=e===is,s=_n(t.data.directives,t.context),c=_n(e.data.directives,e.context),u=[],f=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,xn(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(xn(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var l=function(){for(var n=0;n-1?kn(t,e,n):za(e)?Ka(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Va(e)?t.setAttribute(e,Ka(n)||"false"===n?"false":"true"):Wa(e)?Ka(n)?t.removeAttributeNS(Ga,Ja(e)):t.setAttributeNS(Ga,e,n):kn(t,e,n)}function kn(t,e,n){if(Ka(n))t.removeAttribute(e);else{if(Si&&!ji&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function $n(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=ze(e),c=n._transitionClasses;o(c)&&(s=Je(s,Ke(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function En(t){function e(){(a||(a=[])).push(t.slice(h,o).trim()),h=o+1}var n,r,o,i,a,s=!1,c=!1,u=!1,f=!1,l=0,p=0,d=0,h=0;for(o=0;o=0&&" "===(m=t.charAt(v));v--);m&&ps.test(m)||(f=!0)}}else void 0===i?(h=o+1,i=t.slice(0,o).trim()):e();if(void 0===i?i=t.slice(0,o).trim():0!==h&&e(),a)for(o=0;o-1?{exp:t.slice(0,Ia),key:'"'+t.slice(Ia+1)+'"'}:{exp:t,key:null};for(Pa=t,Ia=Da=Ra=0;!Hn();)Na=Un(),qn(Na)?zn(Na):91===Na&&Vn(Na);return{exp:t.slice(0,Da),key:t.slice(Da+1,Ra)}}function Un(){return Pa.charCodeAt(++Ia)}function Hn(){return Ia>=La}function qn(t){return 34===t||39===t}function Vn(t){var e=1;for(Da=Ia;!Hn();)if(t=Un(),qn(t))zn(t);else if(91===t&&e++,93===t&&e--,0===e){Ra=Ia;break}}function zn(t){for(var e=t;!Hn()&&(t=Un())!==e;);}function Gn(t,e,n){Ma=n;var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Mn(t,r,o),!1;if("select"===i)Kn(t,r,o);else if("input"===i&&"checkbox"===a)Wn(t,r,o);else if("input"===i&&"radio"===a)Jn(t,r,o);else if("input"===i||"textarea"===i)Xn(t,r,o);else if(!Oi.isReservedTag(i))return Mn(t,r,o),!1;return!0}function Wn(t,e,n){var r=n&&n.number,o=Dn(t,"value")||"null",i=Dn(t,"true-value")||"true",a=Dn(t,"false-value")||"false";jn(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),In(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fn(e,"$$c")+"}",null,!0)}function Jn(t,e,n){var r=n&&n.number,o=Dn(t,"value")||"null";o=r?"_n("+o+")":o,jn(t,"checked","_q("+e+","+o+")"),In(t,"change",Fn(e,o),null,!0)}function Kn(t,e,n){var r=n&&n.number,o='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="var $$selectedVal = "+o+";";i=i+" "+Fn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),In(t,"change",i,null,!0)}function Xn(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?ds:"input",f="$event.target.value";s&&(f="$event.target.value.trim()"),a&&(f="_n("+f+")");var l=Fn(e,f);c&&(l="if($event.target.composing)return;"+l),jn(t,"value","("+e+")"),In(t,u,l,null,!0),(s||a)&&In(t,"blur","$forceUpdate()")}function Yn(t){if(o(t[ds])){var e=Si?"change":"input";t[e]=[].concat(t[ds],t[e]||[]),delete t[ds]}o(t[hs])&&(t.change=[].concat(t[hs],t.change||[]),delete t[hs])}function Qn(t,e,n){var r=Fa;return function o(){null!==t.apply(null,arguments)&&tr(e,o,n,r)}}function Zn(t,e,n,r,o){e=st(e),n&&(e=Qn(e,t,r)),Fa.addEventListener(t,e,Ii?{capture:r,passive:o}:r)}function tr(t,e,n,r){(r||Fa).removeEventListener(t,e._withTask||e,n)}function er(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},o=t.data.on||{};Fa=e.elm,Yn(n),pt(n,o,Zn,tr,e.context),Fa=void 0}}function nr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};o(c.__ob__)&&(c=e.data.domProps=w({},c));for(n in s)r(c[n])&&(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var u=r(i)?"":String(i);rr(a,u)&&(a.value=u)}else a[n]=i}}}function rr(t,e){return!t.composing&&("OPTION"===t.tagName||or(t,e)||ir(t,e))}function or(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function ir(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function ar(t){var e=sr(t.style);return t.staticStyle?w(t.staticStyle,e):e}function sr(t){return Array.isArray(t)?x(t):"string"==typeof t?ys(t):t}function cr(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ar(o.data))&&w(r,n);(n=ar(t.data))&&w(r,n);for(var i=t;i=i.parent;)i.data&&(n=ar(i.data))&&w(r,n);return r}function ur(t,e){var n=e.data,i=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=e.elm,u=i.staticStyle,f=i.normalizedStyle||i.style||{},l=u||f,p=sr(e.data.style)||{};e.data.normalizedStyle=o(p.__ob__)?w({},p):p;var d=cr(e,!0);for(s in l)r(d[s])&&_s(c,s,"");for(s in d)(a=d[s])!==l[s]&&_s(c,s,null==a?"":a)}}function fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function lr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function pr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&w(e,Cs(t.name||"v")),w(e,t),e}return"string"==typeof t?Cs(t):void 0}}function dr(t){Ls(function(){Ls(t)})}function hr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),fr(t,e))}function vr(t,e){t._transitionClasses&&v(t._transitionClasses,e),lr(t,e)}function mr(t,e,n){var r=yr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===$s?Ts:js,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=$s,f=a,l=i.length):e===Es?u>0&&(n=Es,f=u,l=c.length):(f=Math.max(a,u),n=f>0?a>u?$s:Es:null,l=n?n===$s?i.length:c.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===$s&&Ps.test(r[As+"Property"])}}function gr(t,e){for(;t.length1}function Cr(t,e){!0!==e.data.show&&_r(e)}function kr(t,e,n){$r(t,e,n),(Si||Li)&&setTimeout(function(){$r(t,e,n)},0)}function $r(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(C(Ar(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Er(t,e){return e.every(function(e){return!C(e,t)})}function Ar(t){return"_value"in t?t._value:t.value}function Tr(t){t.target.composing=!0}function Sr(t){t.target.composing&&(t.target.composing=!1,jr(t.target,"input"))}function jr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Lr(t){return!t.componentInstance||t.data&&t.data.transition?t:Lr(t.componentInstance._vnode)}function Pr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Pr(Ct(e.children)):t}function Nr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[di(i)]=o[i];return e}function Ir(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Dr(t){for(;t=t.parent;)if(t.data.transition)return!0}function Rr(t,e){return e.key===t.key&&e.tag===t.tag}function Mr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Fr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Br(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function Ur(t,e){var n=e?Ks(e):Ws;if(n.test(t)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){o=r.index,o>c&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=En(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)e.end&&e.end(a[c].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var o,i,a=[],s=e.expectHTML,c=e.isUnaryTag||gi,u=e.canBeLeftOpenTag||gi,f=0;t;){if(o=t,i&&Oc(i)){var l=0,p=i.toLowerCase(),d=Cc[p]||(Cc[p]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=t.replace(d,function(t,n,r){return l=r.length,Oc(p)||"noscript"===p||(n=n.replace(//g,"$1").replace(//g,"$1")),Tc(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});f+=t.length-h.length,t=h,r(p,f-l,f)}else{var v=t.indexOf("<");if(0===v){if(uc.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m)),n(m+3);continue}}if(fc.test(t)){var y=t.indexOf("]>");if(y>=0){n(y+2);continue}}var g=t.match(cc);if(g){n(g[0].length);continue}var b=t.match(sc);if(b){var _=f;n(b[0].length),r(b[1],_,f);continue}var w=function(){var e=t.match(ic);if(e){var r={tagName:e[1],attrs:[],start:f};n(e[0].length);for(var o,i;!(o=t.match(ac))&&(i=t.match(nc));)n(i[0].length),r.attrs.push(i);if(o)return r.unarySlash=o[1],n(o[0].length),r.end=f,r}}();if(w){!function(t){var n=t.tagName,o=t.unarySlash;s&&("p"===i&&ec(n)&&r(i),u(n)&&i===n&&r(n));for(var f=c(n)||!!o,l=t.attrs.length,p=new Array(l),d=0;d=0){for(O=t.slice(v);!(sc.test(O)||ic.test(O)||uc.test(O)||fc.test(O)||(C=O.indexOf("<",1))<0);)v+=C,O=t.slice(v);x=t.substring(0,v),n(v)}v<0&&(x=t,t=""),e.chars&&x&&e.chars(x)}if(t===o){e.chars&&e.chars(t);break}}r()}function Jr(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ho(e),parent:n,children:[]}}function Kr(t,e){function n(t){t.pre&&(s=!1),yc(t.tag)&&(c=!1);for(var n=0;n':'
',xc.innerHTML.indexOf(" ")>0}function ai(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}/*! - * Vue.js v2.5.16 +var r={name:"notification",props:{message:String,title:String,icon:String,verticalAlign:{type:String,default:"top",validator:function(t){return-1!==["top","bottom"].indexOf(t)}},horizontalAlign:{type:String,default:"right",validator:function(t){return-1!==["left","center","right"].indexOf(t)}},type:{type:String,default:"info",validator:function(t){return-1!==["info","primary","danger","warning","success"].indexOf(t)}},timeout:{type:Number,default:5e3,validator:function(t){return t>0}},timestamp:{type:Date,default:function(){return new Date}},component:{type:[Object,Function]}},data:function(){return{elmHeight:0}},computed:{hasIcon:function(){return this.icon&&this.icon.length>0},alertType:function(){return"alert-"+this.type},customPosition:function(){var t=this,e=this.elmHeight+10,n=this.$notifications.state.filter(function(e){return e.horizontalAlign===t.horizontalAlign&&e.verticalAlign===t.verticalAlign&&e.timestamp<=t.timestamp}).length;this.$notifications.settings.overlap&&(n=1);var r=(n-1)*e+20,o={};return"top"===this.verticalAlign?o.top=r+"px":o.bottom=r+"px",o}},methods:{close:function(){this.$emit("close",this.timestamp)}},mounted:function(){this.elmHeight=this.$el.clientHeight,this.timeout&&setTimeout(this.close,this.timeout)},render:function(t){this.component;return t("div",{on:{click:this.close},attrs:{"data-notify":"container",role:"alert","data-notify-position":"top-center"},class:["alert open ",{"alert-with-icon":this.icon},this.verticalAlign,this.horizontalAlign,this.alertType],style:this.customPosition},[t("button",{attrs:{type:"button","aria-hidden":"true","data-notify":"dismiss"},class:"close col-xs-1",on:{click:this.close}},["×"]),this.icon&&t("span",{attrs:{"data-notify":"icon"},class:["alert-icon",this.icon]},[]),t("span",{attrs:{"data-notify":"message"}},[void 0!==this.title&&t("span",{class:"title"},[t("b",null,[this.title,t("br",null,[])])]),void 0!==this.message&&this.message,void 0!==this.component&&t(this.component,null,[])])])}},o={props:{transitionName:{type:String,default:"list"},transitionMode:{type:String,default:"in-out"},overlap:{type:Boolean,default:!1}},data:function(){return{notifications:this.$notifications.state}},methods:{removeNotification:function(t){this.$notifications.removeNotification(t)}},created:function(){this.$notifications.settings.overlap=this.overlap},render:function(){var t=this,e=arguments[0],n=this.$notifications.state.map(function(n,o){return e(r,{attrs:{horizontalAlign:n.horizontalAlign,verticalAlign:n.verticalAlign,icon:n.icon,message:n.message,title:n.title,timeout:n.timeout,type:n.type,component:n.component,timestamp:n.timestamp},key:n.timestamp.getTime(),on:{close:t.removeNotification}},[])});return e("div",{class:"notifications vue-notifyjs"},[e("transition-group",{attrs:{name:this.transitionName,mode:this.transitionMode}},[n])])},watch:{overlap:function(t){this.$notifications.settings.overlap=t}}},i={state:[],settings:{overlap:!1,verticalAlign:"top",horizontalAlign:"right",type:"info",timeout:5e3},setOptions:function(t){this.settings=Object.assign({},this.settings,t)},removeNotification:function(t){var e=this.state.findIndex(function(e){return e.timestamp===t});-1!==e&&this.state.splice(e,1)},addNotification:function(t){("string"==typeof t||t instanceof String)&&(t={message:t}),t.timestamp=new Date,t.timestamp.setMilliseconds(t.timestamp.getMilliseconds()+this.state.length),t=Object.assign({},this.settings,t),this.state.push(t)},notify:function(t){var e=this;Array.isArray(t)?t.forEach(function(t){e.addNotification(t)}):this.addNotification(t)}},a={install:function(t,e){t.mixin({data:function(){return{notificationStore:i}},methods:{notify:function(t){this.notificationStore.notify(t)}}}),Object.defineProperty(t.prototype,"$notify",{get:function(){return this.$root.notify}}),Object.defineProperty(t.prototype,"$notifications",{get:function(){return this.$root.notificationStore}}),t.component("Notifications",o),e&&i.setOptions(e)}};t.exports=a},"21It":function(t,e,n){"use strict";var r=n("FtD3");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"34au":function(t,e,n){var r=n("xtII"),o=n("tV4z"),i=n("D4+/");t.exports=function(){function t(t,e){var n=this,o=e.success;return e=r.extend(this.options[t+"Data"],[e]),e.success=function(r){e.success=o,n.options[t+"Process"].call(n,r,e)},this.options.http._http.call(this,e)}function e(t,e){var n=this.$auth;return n.options[t+"Perform"].call(n,n.options.router._bindData.call(n,e,this))}function n(t){return null===this.watch.authenticated&&o.get.call(this)?i.exists.call(this)?(this.watch.authenticated=!1,this.options.fetchData.enabled?void this.options.fetchPerform.call(this,{success:t,error:t,enabled:!0}):(this.options.fetchProcess.call(this,{},{}),t.call(this))):(this.options.logoutProcess.call(this,null,{}),this.watch.loaded=!0,t.call(this)):(this.watch.loaded=!0,t.call(this))}function a(t){var e=this;if(this.watch.authenticated&&!o.get.call(this)&&this.options.logoutProcess.call(this,null,{}),this.options.refreshData.enabled&&!this.watch.loaded&&o.get.call(this))return void this.options.refreshPerform.call(this,{success:function(){this.options.checkAuthenticated.call(e,t)}});n.call(this,t)}function s(t,e,n){var o=(e||"").redirect||this.options.authRedirect,i=(e||"").forbiddenRedirect||(e||"").redirect||this.options.forbiddenRedirect,a=(e||"").redirect||this.options.notFoundRedirect;if((e=r.toArray(void 0!==(e||"").roles?e.roles:e))&&(!0===e||e.constructor===Array||r.isObject(e)))if(this.check()){if(e.constructor!==Array&&!r.isObject(e)||r.compare(e,this.watch.data[this.options.rolesVar]))return this.watch.redirect=R?{type:R,from:D,to:I}:null,R=null,n();R=403,n.call(this,i)}else R=401,n.call(this,o);else{if(!1!==e||!this.check())return this.watch.redirect=R?{type:R,from:D,to:I}:null,R=null,n();R=404,n.call(this,a)}}function c(t){var e,n;return t.ignoreVueAuth?t:(!1===t.impersonating&&this.impersonating()&&(n=this.options.tokenDefaultName),e=o.get.call(this,n),e&&this.options.auth.request.call(this,t,e),t)}function u(t,e){var n;e&&e.ignoreVueAuth||(g.call(this,t,I),(n=this.options.auth.response.call(this,t))&&o.set.call(this,null,n))}function f(t){return t.data||{}}function l(t){return JSON.parse(decodeURIComponent(t))}function p(t){return!0===this.watch.authenticated&&(!t||r.compare(t,this.watch.data[this.options.rolesVar]))}function d(){return!o.get.call(this)}function h(){return window.location.hostname}function v(){var t=window.location.port;return window.location.protocol+"//"+window.location.hostname+(t?":"+t:"")}function m(t){var e,n;return t.to?e=t.to.auth:(n=t.matched.filter(function(t){return t.meta.hasOwnProperty("auth")}),n.length&&(e=n[n.length-1].meta.auth)),e}function y(t){D=I,I=t}function g(t,e){var n,r,o="",i=e&&e.path;if(i&&e.query){for(n in e.query)e.query[n]&&(o+="&"+n+"="+e.query[n]);i+="?"+o.substring(1)}this.options.http._invalidToken&&this.options.http._invalidToken.call(this,t)&&(e&&(r=this.options.getAuthMeta(e)),r&&(i=r.redirect||this.options.authRedirect),this.options.logoutProcess.call(this,t,{redirect:i}))}function b(e){var n=this,r=e.error;if(e.error=function(t){n.watch.loaded=!0,this.options.fetchData.error&&this.options.fetchData.error.call(this,t),r&&r.call(n,t)},!0===this.watch.authenticated||e.enabled)return t.call(this,"fetch",e);_.call(this,{},e)}function _(t,e){this.watch.authenticated=!0,this.watch.data=this.options.parseUserData.call(this,this.options.http._httpData.call(this,t)),this.watch.loaded=!0,this.options.fetchData.success&&this.options.fetchData.success.call(this,t),e.success&&e.success.call(this,t)}function w(e){return t.call(this,"refresh",e)}function x(t,e){e.success&&e.success.call(this,t)}function O(e){return t.call(this,"register",e)}function C(t,e){!0===e.autoLogin?(e=r.extend(e,[this.options.loginData,{redirect:e.redirect}]),this.options.loginPerform.call(this,e)):(e.success&&e.success.call(this,t),e.redirect&&this.options.router._routerGo.call(this,e.redirect))}function k(e){return t.call(this,"login",e)}function $(t,e){var n=this;i.remember.call(this,e.rememberMe),this.authenticated=null,this.options.fetchPerform.call(this,{enabled:e.fetchUser,success:function(){e.success&&e.success.call(this,t),e.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,e.redirect)}})}function E(e){if(e=r.extend(this.options.logoutData,[e||{}]),e.makeRequest)return t.call(this,"logout",e);this.options.logoutProcess.call(this,null,e)}function T(t,e){i.remove.call(this,"rememberMe"),i.remove.call(this,this.options.tokenImpersonateName),i.remove.call(this,this.options.tokenDefaultName),o.remove.call(this,this.options.tokenImpersonateName),o.remove.call(this,this.options.tokenDefaultName),this.watch.authenticated=!1,this.watch.data=null,e.success&&e.success.call(this,t,e),e.redirect&&this.options.router._routerGo.call(this,e.redirect)}function A(e){var n,r=this.token.call(this);return e=e||{},n=e.success,e.success=function(t){o.set.call(this,this.options.tokenImpersonateName,this.token.call(this)),o.set.call(this,this.options.tokenDefaultName,r),n&&n.call(this,t)},t.call(this,"impersonate",e)}function S(t,e){var n=this;this.options.fetchPerform.call(this,{enabled:!0,success:function(){e.success&&e.success.call(this,t),e.redirect&&n.options.check.call(n)&&n.options.router._routerGo.call(n,e.redirect)}})}function j(e){if(e=r.extend(this.options.unimpersonateData,[e||{}]),e.makeRequest)return t.call(this,"unimpersonate",e);this.options.unimpersonateProcess.call(this,null,e)}function L(t,e){o.remove.call(this,this.options.tokenImpersonateName),this.options.fetchPerform.call(this,{enabled:!0,success:function(){e.success&&e.success.call(this,t,e),e.redirect&&this.options.router._routerGo.call(this,e.redirect)}})}function N(t){var e,n={},o="";if(t=t||{},!0===t.code){t=r.extend(this.options[t.provider+"Data"],[t]);try{t.query.state&&(n=this.options.parseOauthState(t.query.state))}catch(t){console.error("vue-auth:error There was an issue retrieving the state data."),n={}}t.rememberMe=!0===n.rememberMe,t.state=n,this.options.loginPerform.call(this,t)}else{t.params=r.extend(this.options[t.provider+"Oauth2Data"].params,[t.params||{}]),t=r.extend(this.options[t.provider+"Oauth2Data"],[t]),t.params.redirect_uri=t.redirect||t.params.redirect_uri,t.params.client_id=t.clientId||t.params.client_id,t.params.response_type=t.response_type||t.params.response_type||"code",t.params.scope=t.scope||t.params.scope,t.params.state=t.state||t.params.state||{},"function"==typeof t.params.redirect_uri&&(t.params.redirect_uri=t.params.redirect_uri.call(this)),t.params.state.rememberMe=!0===t.rememberMe,t.params.state=encodeURIComponent(JSON.stringify(t.params.state));for(e in t.params)o+="&"+e+"="+t.params[e];window.location=t.url+"?"+o}}function P(t,e){var n,o,i,a=this,s=["auth","http","router"];for(this.currentToken=null,this.options=r.extend(M,[e||{}]),this.options.Vue=t,this.watch=new this.options.Vue({data:function(){return{data:null,loaded:!1,redirect:null,authenticated:null}},watch:{loaded:function(t){!0===t&&a.options.readyCallback&&a.options.readyCallback()}}}),n=0,o=s.length;n0&&setInterval(function(){this.options.refreshData.enabled&&!this.options.tokenExpired.call(this)&&this.options.refreshPerform.call(this,{})}.bind(this),1e3*this.options.refreshData.interval*60),this.options.router._beforeEach.call(this,this.options.routerBeforeEach,this.options.transitionEach),this.options.http._interceptor.call(this,this.options.requestIntercept,this.options.responseIntercept)}var D=null,I=null,R=null,M={rolesVar:"roles",tokenImpersonateName:"impersonate_auth_token",tokenDefaultName:"default_auth_token",tokenStore:["localStorage","cookie"],authRedirect:{path:"/login"},forbiddenRedirect:{path:"/403"},notFoundRedirect:{path:"/404"},registerData:{url:"auth/register",method:"POST",redirect:"/login"},loginData:{url:"auth/login",method:"POST",redirect:"/",fetchUser:!0},logoutData:{url:"auth/logout",method:"POST",redirect:"/",makeRequest:!1},oauth1Data:{url:"auth/login",method:"POST"},fetchData:{url:"auth/user",method:"GET",enabled:!0},refreshData:{url:"auth/refresh",method:"GET",enabled:!0,interval:30},impersonateData:{url:"auth/impersonate",method:"POST",redirect:"/"},unimpersonateData:{url:"auth/unimpersonate",method:"POST",redirect:"/admin",makeRequest:!1},facebookData:{url:"auth/facebook",method:"POST",redirect:"/"},googleData:{url:"auth/google",method:"POST",redirect:"/"},facebookOauth2Data:{url:"https://www.facebook.com/v2.5/dialog/oauth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/facebook"},scope:"email"}},googleOauth2Data:{url:"https://accounts.google.com/o/oauth2/auth",params:{client_id:"",redirect_uri:function(){return this.options.getUrl()+"/login/google"},scope:"https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/plus.profile.emails.read"}},getUrl:v,cookieDomain:h,parseUserData:f,parseOauthState:l,tokenExpired:d,check:p,checkAuthenticated:n,getAuthMeta:m,setTransitions:y,readyCallback:null,transitionEach:s,routerBeforeEach:a,requestIntercept:c,responseIntercept:u,registerPerform:O,registerProcess:C,loginPerform:k,loginProcess:$,logoutPerform:E,logoutProcess:T,fetchPerform:b,fetchProcess:_,refreshPerform:w,refreshProcess:x,impersonatePerform:A,impersonateProcess:S,unimpersonatePerform:j,unimpersonateProcess:L,oauth2Perform:N};return P.prototype.ready=function(t){return void 0!==t&&(this.$auth.options.readyCallback=t.bind(this)),this.$auth.watch.loaded},P.prototype.redirect=function(){return this.watch.redirect},P.prototype.user=function(t){return t&&(this.watch.data=t),this.watch.data||{}},P.prototype.check=function(t){return this.options.check.call(this,t)},P.prototype.impersonating=function(){return this.watch.data,!!o.get.call(this,this.options.tokenImpersonateName)},P.prototype.token=function(t,e){return e&&o.set.call(this,t,e),o.get.call(this,t)},P.prototype.fetch=function(t){return e.call(this,"fetch",t)},P.prototype.refresh=function(t){return e.call(this,"refresh",t)},P.prototype.register=function(t){return e.call(this,"register",t)},P.prototype.login=function(t){return e.call(this,"login",t)},P.prototype.logout=function(t){return e.call(this,"logout",t)},P.prototype.impersonate=function(t){return e.call(this,"impersonate",t)},P.prototype.unimpersonate=function(t){return e.call(this,"unimpersonate",t)},P.prototype.oauth2=function(t){return e.call(this,"oauth2",t)},P.prototype.enableImpersonate=function(){this.impersonating()&&(this.currentToken=null)},P.prototype.disableImpersonate=function(){this.impersonating()&&(this.currentToken=this.options.tokenDefaultName)},P}},"3Eo+":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5VQ+":function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},"77Pl":function(t,e,n){var r=n("EqjI");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"7GwW":function(t,e,n){"use strict";var r=n("cGG2"),o=n("21It"),i=n("DQCr"),a=n("oJlt"),s=n("GHBc"),c=n("FtD3"),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n("thJu");t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;r.isFormData(l)&&delete p["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",y=t.auth.password||"";p.Authorization="Basic "+u(m+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?d.response:d.responseText,i={data:r,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,f,i),d=null}},d.onerror=function(){f(c("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("p1b6"),b=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}if("setRequestHeader"in d&&r.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===l&&(l=null),d.send(l)})}},"7KvD":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},Cdx3:function(t,e,n){var r=n("sB3e"),o=n("lktj");n("uqUo")("keys",function(){return function(t){return o(r(t))}})},D2L2:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"D4+/":function(t,e){t.exports=function(){function t(t,e,n){var r=this.options.cookieDomain(),o=new Date((new Date).getTime()+n).toUTCString(),i=t+"="+e+"; Expires="+o+";";"localhost"!==r&&(i+=" Path=/; Domain="+r+";"),document.cookie=i}return{remember:function(e){t.call(this,"rememberMe",!0===e?"true":"false",!0===e?12096e5:void 0)},set:function(e,n,r){n&&t.call(this,e,n,12096e5)},get:function(t){var e,n,r=document.cookie;for(r=r.replace(/;\s+/g,";").split(";").map(function(t){return t.replace(/\s+\=\s+/g,"=").split("=")}),e=0,n=r.length;e=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function m(t,e){return li.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function b(t,e){return t.bind(e)}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function w(t,e){for(var n in e)t[n]=e[n];return t}function x(t){for(var e={},n=0;n-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===mi(t)){var c=nt(String,o.type);(c<0||s0&&(a=bt(a,(e||"")+"_"+n),gt(a[0])&>(u)&&(f[c]=N(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?gt(u)?f[c]=N(u.text+a):""!==a&&f.push(N(a)):gt(a)&>(u)?f[c]=N(u.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function _t(t,e){return(t.__esModule||Ui&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function wt(t,e,n,r,o){var i=Ji();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function xt(t,e,n){if(i(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;if(i(t.loading)&&o(t.loadingComp))return t.loadingComp;if(!o(t.contexts)){var a=t.contexts=[n],s=!0,u=function(){for(var t=0,e=a.length;tba&&ha[n].id>t.id;)n--;ha.splice(n+1,0,t)}else ha.push(t);ya||(ya=!0,ct(Bt))}}function Vt(t,e,n){xa.get=function(){return this[e][n]},xa.set=function(t){this[e][n]=t},Object.defineProperty(t,n,xa)}function Gt(t){t._watchers=[];var e=t.$options;e.props&&Wt(t,e.props),e.methods&&Zt(t,e.methods),e.data?Jt(t):M(t._data={},!0),e.computed&&Xt(t,e.computed),e.watch&&e.watch!==Pi&&te(t,e.watch)}function Wt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];!t.$parent||D(!1);for(var i in e)!function(i){o.push(i);var a=Q(i,e,n,t);F(r,i,a),i in t||Vt(t,"_props",i)}(i);D(!0)}function Jt(t){var e=t.$options.data;e=t._data="function"==typeof e?Kt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&m(r,i)||E(i)||Vt(t,"_data",i)}M(e,!0)}function Kt(t,e){j();try{return t.call(e,e)}catch(t){return rt(t,e,"data()"),{}}finally{L()}}function Xt(t,e){var n=t._computedWatchers=Object.create(null),r=Fi();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new wa(t,a||O,O,Oa)),o in t||Yt(t,o,i)}}function Yt(t,e,n){var r=!Fi();"function"==typeof n?(xa.get=r?Qt(e):n,xa.set=O):(xa.get=n.get?r&&!1!==n.cache?Qt(e):n.get:O,xa.set=n.set?n.set:O),Object.defineProperty(t,e,xa)}function Qt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),zi.target&&e.depend(),e.value}}function Zt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?O:yi(e[n],t)}function te(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function Pe(t){this._init(t)}function De(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ie(t){t.mixin=function(t){return this.options=X(this.options,t),this}}function Re(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=X(n.options,t),a.super=n,a.options.props&&Me(a),a.options.computed&&Fe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,wi.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=w({},a.options),o[r]=a,a}}function Me(t){var e=t.options.props;for(var n in e)Vt(t.prototype,"_props",n)}function Fe(t){var e=t.options.computed;for(var n in e)Yt(t.prototype,n,e[n])}function Be(t){wi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ue(t){return t&&(t.Ctor.options.name||t.tag)}function He(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function qe(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Ue(a.componentOptions);s&&!e(s)&&ze(n,i,r,o)}}}function ze(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}function Ve(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Ge(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Ge(e,n.data));return We(e.staticClass,e.class)}function Ge(t,e){return{staticClass:Je(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function We(t,e){return o(t)||o(e)?Je(t,Ke(e)):""}function Je(t,e){return t?e?t+" "+e:t:e||""}function Ke(t){return Array.isArray(t)?Xe(t):c(t)?Ye(t):"string"==typeof t?t:""}function Xe(t){for(var e,n="",r=0,i=t.length;r-1?es[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:es[t]=/HTMLUnknownElement/.test(e.toString())}function tn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function en(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(t,e){return document.createElementNS(Xa[t],e)}function rn(t){return document.createTextNode(t)}function on(t){return document.createComment(t)}function an(t,e,n){t.insertBefore(e,n)}function sn(t,e){t.removeChild(e)}function cn(t,e){t.appendChild(e)}function un(t){return t.parentNode}function fn(t){return t.nextSibling}function ln(t){return t.tagName}function pn(t,e){t.textContent=e}function dn(t,e){t.setAttribute(e,"")}function hn(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?v(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}function vn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&mn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function mn(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||ns(r)&&ns(i)}function yn(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function gn(t,e){(t.data.directives||e.data.directives)&&bn(t,e)}function bn(t,e){var n,r,o,i=t===is,a=e===is,s=_n(t.data.directives,t.context),c=_n(e.data.directives,e.context),u=[],f=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,xn(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(xn(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var l=function(){for(var n=0;n-1?kn(t,e,n):Va(e)?Ka(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):za(e)?t.setAttribute(e,Ka(n)||"false"===n?"false":"true"):Wa(e)?Ka(n)?t.removeAttributeNS(Ga,Ja(e)):t.setAttributeNS(Ga,e,n):kn(t,e,n)}function kn(t,e,n){if(Ka(n))t.removeAttribute(e);else{if(Si&&!ji&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function $n(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Ve(e),c=n._transitionClasses;o(c)&&(s=Je(s,Ke(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function En(t){function e(){(a||(a=[])).push(t.slice(h,o).trim()),h=o+1}var n,r,o,i,a,s=!1,c=!1,u=!1,f=!1,l=0,p=0,d=0,h=0;for(o=0;o=0&&" "===(m=t.charAt(v));v--);m&&ps.test(m)||(f=!0)}}else void 0===i?(h=o+1,i=t.slice(0,o).trim()):e();if(void 0===i?i=t.slice(0,o).trim():0!==h&&e(),a)for(o=0;o-1?{exp:t.slice(0,Da),key:'"'+t.slice(Da+1)+'"'}:{exp:t,key:null};for(Na=t,Da=Ia=Ra=0;!Hn();)Pa=Un(),qn(Pa)?Vn(Pa):91===Pa&&zn(Pa);return{exp:t.slice(0,Ia),key:t.slice(Ia+1,Ra)}}function Un(){return Na.charCodeAt(++Da)}function Hn(){return Da>=La}function qn(t){return 34===t||39===t}function zn(t){var e=1;for(Ia=Da;!Hn();)if(t=Un(),qn(t))Vn(t);else if(91===t&&e++,93===t&&e--,0===e){Ra=Da;break}}function Vn(t){for(var e=t;!Hn()&&(t=Un())!==e;);}function Gn(t,e,n){Ma=n;var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return Mn(t,r,o),!1;if("select"===i)Kn(t,r,o);else if("input"===i&&"checkbox"===a)Wn(t,r,o);else if("input"===i&&"radio"===a)Jn(t,r,o);else if("input"===i||"textarea"===i)Xn(t,r,o);else if(!Oi.isReservedTag(i))return Mn(t,r,o),!1;return!0}function Wn(t,e,n){var r=n&&n.number,o=In(t,"value")||"null",i=In(t,"true-value")||"true",a=In(t,"false-value")||"false";jn(t,"checked","Array.isArray("+e+")?_i("+e+","+o+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Dn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fn(e,"$$c")+"}",null,!0)}function Jn(t,e,n){var r=n&&n.number,o=In(t,"value")||"null";o=r?"_n("+o+")":o,jn(t,"checked","_q("+e+","+o+")"),Dn(t,"change",Fn(e,o),null,!0)}function Kn(t,e,n){var r=n&&n.number,o='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="var $$selectedVal = "+o+";";i=i+" "+Fn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Dn(t,"change",i,null,!0)}function Xn(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?ds:"input",f="$event.target.value";s&&(f="$event.target.value.trim()"),a&&(f="_n("+f+")");var l=Fn(e,f);c&&(l="if($event.target.composing)return;"+l),jn(t,"value","("+e+")"),Dn(t,u,l,null,!0),(s||a)&&Dn(t,"blur","$forceUpdate()")}function Yn(t){if(o(t[ds])){var e=Si?"change":"input";t[e]=[].concat(t[ds],t[e]||[]),delete t[ds]}o(t[hs])&&(t.change=[].concat(t[hs],t.change||[]),delete t[hs])}function Qn(t,e,n){var r=Fa;return function o(){null!==t.apply(null,arguments)&&tr(e,o,n,r)}}function Zn(t,e,n,r,o){e=st(e),n&&(e=Qn(e,t,r)),Fa.addEventListener(t,e,Di?{capture:r,passive:o}:r)}function tr(t,e,n,r){(r||Fa).removeEventListener(t,e._withTask||e,n)}function er(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},o=t.data.on||{};Fa=e.elm,Yn(n),pt(n,o,Zn,tr,e.context),Fa=void 0}}function nr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};o(c.__ob__)&&(c=e.data.domProps=w({},c));for(n in s)r(c[n])&&(a[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var u=r(i)?"":String(i);rr(a,u)&&(a.value=u)}else a[n]=i}}}function rr(t,e){return!t.composing&&("OPTION"===t.tagName||or(t,e)||ir(t,e))}function or(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function ir(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function ar(t){var e=sr(t.style);return t.staticStyle?w(t.staticStyle,e):e}function sr(t){return Array.isArray(t)?x(t):"string"==typeof t?ys(t):t}function cr(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ar(o.data))&&w(r,n);(n=ar(t.data))&&w(r,n);for(var i=t;i=i.parent;)i.data&&(n=ar(i.data))&&w(r,n);return r}function ur(t,e){var n=e.data,i=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,c=e.elm,u=i.staticStyle,f=i.normalizedStyle||i.style||{},l=u||f,p=sr(e.data.style)||{};e.data.normalizedStyle=o(p.__ob__)?w({},p):p;var d=cr(e,!0);for(s in l)r(d[s])&&_s(c,s,"");for(s in d)(a=d[s])!==l[s]&&_s(c,s,null==a?"":a)}}function fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function lr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function pr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&w(e,Cs(t.name||"v")),w(e,t),e}return"string"==typeof t?Cs(t):void 0}}function dr(t){Ls(function(){Ls(t)})}function hr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),fr(t,e))}function vr(t,e){t._transitionClasses&&v(t._transitionClasses,e),lr(t,e)}function mr(t,e,n){var r=yr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===$s?As:js,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=$s,f=a,l=i.length):e===Es?u>0&&(n=Es,f=u,l=c.length):(f=Math.max(a,u),n=f>0?a>u?$s:Es:null,l=n?n===$s?i.length:c.length:0),{type:n,timeout:f,propCount:l,hasTransform:n===$s&&Ns.test(r[Ts+"Property"])}}function gr(t,e){for(;t.length1}function Cr(t,e){!0!==e.data.show&&_r(e)}function kr(t,e,n){$r(t,e,n),(Si||Li)&&setTimeout(function(){$r(t,e,n)},0)}function $r(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(C(Tr(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Er(t,e){return e.every(function(e){return!C(e,t)})}function Tr(t){return"_value"in t?t._value:t.value}function Ar(t){t.target.composing=!0}function Sr(t){t.target.composing&&(t.target.composing=!1,jr(t.target,"input"))}function jr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Lr(t){return!t.componentInstance||t.data&&t.data.transition?t:Lr(t.componentInstance._vnode)}function Nr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Nr(Ct(e.children)):t}function Pr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[di(i)]=o[i];return e}function Dr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ir(t){for(;t=t.parent;)if(t.data.transition)return!0}function Rr(t,e){return e.key===t.key&&e.tag===t.tag}function Mr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Fr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Br(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function Ur(t,e){var n=e?Ks(e):Ws;if(n.test(t)){for(var r,o,i,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){o=r.index,o>c&&(s.push(i=t.slice(c,o)),a.push(JSON.stringify(i)));var u=En(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=o+r[0].length}return c=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)e.end&&e.end(a[c].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var o,i,a=[],s=e.expectHTML,c=e.isUnaryTag||gi,u=e.canBeLeftOpenTag||gi,f=0;t;){if(o=t,i&&Oc(i)){var l=0,p=i.toLowerCase(),d=Cc[p]||(Cc[p]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=t.replace(d,function(t,n,r){return l=r.length,Oc(p)||"noscript"===p||(n=n.replace(//g,"$1").replace(//g,"$1")),Ac(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});f+=t.length-h.length,t=h,r(p,f-l,f)}else{var v=t.indexOf("<");if(0===v){if(uc.test(t)){var m=t.indexOf("--\x3e");if(m>=0){e.shouldKeepComment&&e.comment(t.substring(4,m)),n(m+3);continue}}if(fc.test(t)){var y=t.indexOf("]>");if(y>=0){n(y+2);continue}}var g=t.match(cc);if(g){n(g[0].length);continue}var b=t.match(sc);if(b){var _=f;n(b[0].length),r(b[1],_,f);continue}var w=function(){var e=t.match(ic);if(e){var r={tagName:e[1],attrs:[],start:f};n(e[0].length);for(var o,i;!(o=t.match(ac))&&(i=t.match(nc));)n(i[0].length),r.attrs.push(i);if(o)return r.unarySlash=o[1],n(o[0].length),r.end=f,r}}();if(w){!function(t){var n=t.tagName,o=t.unarySlash;s&&("p"===i&&ec(n)&&r(i),u(n)&&i===n&&r(n));for(var f=c(n)||!!o,l=t.attrs.length,p=new Array(l),d=0;d=0){for(O=t.slice(v);!(sc.test(O)||ic.test(O)||uc.test(O)||fc.test(O)||(C=O.indexOf("<",1))<0);)v+=C,O=t.slice(v);x=t.substring(0,v),n(v)}v<0&&(x=t,t=""),e.chars&&x&&e.chars(x)}if(t===o){e.chars&&e.chars(t);break}}r()}function Jr(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ho(e),parent:n,children:[]}}function Kr(t,e){function n(t){t.pre&&(s=!1),yc(t.tag)&&(c=!1);for(var n=0;n':'
',xc.innerHTML.indexOf(" ")>0}function ai(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}/*! + * Vue.js v2.5.17 * (c) 2014-2018 Evan You * Released under the MIT License. */ -var si=Object.freeze({}),ci=Object.prototype.toString,ui=h("slot,component",!0),fi=h("key,ref,slot,slot-scope,is"),li=Object.prototype.hasOwnProperty,pi=/-(\w)/g,di=y(function(t){return t.replace(pi,function(t,e){return e?e.toUpperCase():""})}),hi=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),vi=/\B([A-Z])/g,mi=y(function(t){return t.replace(vi,"-$1").toLowerCase()}),yi=Function.prototype.bind?b:g,gi=function(t,e,n){return!1},bi=function(t){return t},_i="data-server-rendered",wi=["component","directive","filter"],xi=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Oi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:gi,isReservedAttr:gi,isUnknownElement:gi,getTagNamespace:O,parsePlatformTagName:bi,mustUseProp:gi,_lifecycleHooks:xi},Ci=/[^\w.$]/,ki="__proto__"in{},$i="undefined"!=typeof window,Ei="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Ai=Ei&&WXEnvironment.platform.toLowerCase(),Ti=$i&&window.navigator.userAgent.toLowerCase(),Si=Ti&&/msie|trident/.test(Ti),ji=Ti&&Ti.indexOf("msie 9.0")>0,Li=Ti&&Ti.indexOf("edge/")>0,Pi=(Ti&&Ti.indexOf("android"),Ti&&/iphone|ipad|ipod|ios/.test(Ti)||"ios"===Ai),Ni=(Ti&&/chrome\/\d+/.test(Ti),{}.watch),Ii=!1;if($i)try{var Di={};Object.defineProperty(Di,"passive",{get:function(){Ii=!0}}),window.addEventListener("test-passive",null,Di)}catch(t){}var Ri,Mi,Fi=function(){return void 0===Ri&&(Ri=!$i&&!Ei&&void 0!==e&&"server"===e.process.env.VUE_ENV),Ri},Bi=$i&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ui="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys);Mi="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hi=O,qi=0,Vi=function(){this.id=qi++,this.subs=[]};Vi.prototype.addSub=function(t){this.subs.push(t)},Vi.prototype.removeSub=function(t){v(this.subs,t)},Vi.prototype.depend=function(){Vi.target&&Vi.target.addDep(this)},Vi.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1?_(n):n;for(var r=_(arguments,1),o=0,i=n.length;oparseInt(this.max)&&Ve(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},ja={KeepAlive:Sa};!function(t){var e={};e.get=function(){return Oi},Object.defineProperty(t,"config",e),t.util={warn:Hi,extend:w,mergeOptions:X,defineReactive:F},t.set=B,t.delete=U,t.nextTick=ct,t.options=Object.create(null),wi.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,w(t.options.components,ja),Ie(t),De(t),Re(t),Be(t)}(Ne),Object.defineProperty(Ne.prototype,"$isServer",{get:Fi}),Object.defineProperty(Ne.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ne,"FunctionalRenderContext",{value:ye}),Ne.version="2.5.16";var La,Pa,Na,Ia,Da,Ra,Ma,Fa,Ba,Ua=h("style,class"),Ha=h("input,textarea,option,select,progress"),qa=function(t,e,n){return"value"===n&&Ha(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Va=h("contenteditable,draggable,spellcheck"),za=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ga="http://www.w3.org/1999/xlink",Wa=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ja=function(t){return Wa(t)?t.slice(6,t.length):""},Ka=function(t){return null==t||!1===t},Xa={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ya=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Qa=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Za=function(t){return"pre"===t},ts=function(t){return Ya(t)||Qa(t)},es=Object.create(null),ns=h("text,number,password,search,email,tel,url"),rs=Object.freeze({createElement:en,createElementNS:nn,createTextNode:rn,createComment:on,insertBefore:an,removeChild:sn,appendChild:cn,parentNode:un,nextSibling:fn,tagName:ln,setTextContent:pn,setStyleScope:dn}),os={create:function(t,e){hn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(hn(t,!0),hn(e))},destroy:function(t){hn(t,!0)}},is=new Gi("",{},[]),as=["create","activate","update","remove","destroy"],ss={create:gn,update:gn,destroy:function(t){gn(t,is)}},cs=Object.create(null),us=[os,ss],fs={create:On,update:On},ls={create:$n,update:$n},ps=/[\w).+\-_$\]]/,ds="__r",hs="__c",vs={create:er,update:er},ms={create:nr,update:nr},ys=y(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),gs=/^--/,bs=/\s*!important$/,_s=function(t,e,n){if(gs.test(e))t.style.setProperty(e,n);else if(bs.test(n))t.style.setProperty(e,n.replace(bs,""),"important");else{var r=xs(e);if(Array.isArray(n))for(var o=0,i=n.length;oh?(l=r(n[y+1])?null:n[y+1].elm,g(t,l,n,d,y,i)):d>y&&_(t,e,p,h)}function O(t,e,n,r){for(var i=n;i\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,rc="[a-zA-Z_][\\w\\-\\.]*",oc="((?:"+rc+"\\:)?"+rc+")",ic=new RegExp("^<"+oc),ac=/^\s*(\/?)>/,sc=new RegExp("^<\\/"+oc+"[^>]*>"),cc=/^]+>/i,uc=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},$c=/&(?:lt|gt|quot|amp);/g,Ec=/&(?:lt|gt|quot|amp|#10|#9);/g,Ac=h("pre,textarea",!0),Tc=function(t,e){return t&&Ac(t)&&"\n"===e[0]},Sc=/^@|^v-on:/,jc=/^v-|^@|^:/,Lc=/([^]*?)\s+(?:in|of)\s+([^]*)/,Pc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nc=/^\(|\)$/g,Ic=/:(.*)$/,Dc=/^:|^v-bind:/,Rc=/\.[^.]+/g,Mc=y(Qs.decode),Fc=/^xmlns:NS\d+/,Bc=/^NS\d+:/,Uc={preTransformNode:go},Hc=[Xs,Ys,Uc],qc={model:Gn,text:_o,html:wo},Vc={expectHTML:!0,modules:Hc,directives:qc,isPreTag:Za,isUnaryTag:Zs,mustUseProp:qa,canBeLeftOpenTag:tc,isReservedTag:ts,getTagNamespace:Qe,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Hc)},zc=y(Oo),Gc=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Wc=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Jc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Kc={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},Xc=function(t){return"if("+t+")return null;"},Yc={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Xc("$event.target !== $event.currentTarget"),ctrl:Xc("!$event.ctrlKey"),shift:Xc("!$event.shiftKey"),alt:Xc("!$event.altKey"),meta:Xc("!$event.metaKey"),left:Xc("'button' in $event && $event.button !== 0"),middle:Xc("'button' in $event && $event.button !== 1"),right:Xc("'button' in $event && $event.button !== 2")},Qc={on:Lo,bind:Po,cloak:O},Zc=function(t){this.options=t,this.warn=t.warn||Tn,this.transforms=Sn(t.modules,"transformCode"),this.dataGenFns=Sn(t.modules,"genData"),this.directives=w(w({},Qc),t.directives);var e=t.isReservedTag||gi;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]},tu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,r){var o=Object.create(e),i=[],a=[];if(o.warn=function(t,e){(e?a:i).push(t)},r){r.modules&&(o.modules=(e.modules||[]).concat(r.modules)),r.directives&&(o.directives=w(Object.create(e.directives||null),r.directives));for(var s in r)"modules"!==s&&"directives"!==s&&(o[s]=r[s])}var c=t(n,o);return c.errors=i,c.tips=a,c}return{compile:n,compileToFunctions:oi(n)}}}(function(t,e){var n=Kr(t.trim(),e);!1!==e.optimize&&xo(n,e);var r=No(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}})),eu=tu(Vc),nu=eu.compileToFunctions,ru=!!$i&&ii(!1),ou=!!$i&&ii(!0),iu=y(function(t){var e=tn(t);return e&&e.innerHTML}),au=Ne.prototype.$mount;Ne.prototype.$mount=function(t,e){if((t=t&&tn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=iu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ai(t));if(r){var o=nu(r,{shouldDecodeNewlines:ru,shouldDecodeNewlinesForHref:ou,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return au.call(this,t,e)},Ne.compile=nu,t.exports=Ne}).call(e,n("DuR2"),n("162o").setImmediate)},Ibhu:function(t,e,n){var r=n("D2L2"),o=n("TcQ7"),i=n("vFc/")(!1),a=n("ax3d")("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},"JP+z":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){s.headers[t]={}}),o.forEach(["post","put","patch"],function(t){s.headers[t]=o.merge(a)}),t.exports=s}).call(e,n("W2nU"))},LFDJ:function(t,e){t.exports={_init:function(){if(!this.options.Vue.router)return"vue-router.2.x.js : Vue.router must be set."},_bindData:function(t,e){var n,r;return t=t||{},n=t.error,r=t.success,t.query=e.$route.query||{},t.success&&(t.success=function(t){r.call(e,t)}),t.error&&(t.error=function(t){n.call(e,t)}),t},_beforeEach:function(t,e){var n=this;this.options.Vue.router.beforeEach(function(r,o,i){n.options.setTransitions.call(this,r),t.call(n,function(){var t=n.options.getAuthMeta(r);e.call(n,r,t,function(t){if(!t)return void(i||r.next)();i?i(t):this.options.router._routerReplace.call(this,t)})})})},_routerReplace:function(t){var e=this.options.Vue.router;e.replace.call(e,t)},_routerGo:function(t){var e=this.options.Vue.router;(e.push||e.go).call(e,t)}}},MLZB:function(t,e,n){var r=n("34au")();t.exports=function(){return function(t,e){var n=new r(t,e),o=n.ready,i=n.login,a=n.fetch,s=n.logout,c=n.oauth2,u=n.refresh,f=n.register,l=n.impersonate,p=n.unimpersonate;t.auth=n,Object.defineProperties(t.prototype,{$auth:{get:function(){return n.ready=o.bind(this),n.login=i.bind(this),n.fetch=a.bind(this),n.logout=s.bind(this),n.oauth2=c.bind(this),n.refresh=u.bind(this),n.register=f.bind(this),n.impersonate=l.bind(this),n.unimpersonate=p.bind(this),n}}})}}()},MU5D:function(t,e,n){var r=n("R9M2");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},MU8w:function(t,e,n){"use strict";t.exports=n("hKoQ").polyfill()},MmMw:function(t,e,n){var r=n("EqjI");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},ON07:function(t,e,n){var r=n("EqjI"),o=n("7KvD").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},QRG4:function(t,e,n){var r=n("UuGF"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},R9M2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},Re3r:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function r(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}/*! +var si=Object.freeze({}),ci=Object.prototype.toString,ui=h("slot,component",!0),fi=h("key,ref,slot,slot-scope,is"),li=Object.prototype.hasOwnProperty,pi=/-(\w)/g,di=y(function(t){return t.replace(pi,function(t,e){return e?e.toUpperCase():""})}),hi=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),vi=/\B([A-Z])/g,mi=y(function(t){return t.replace(vi,"-$1").toLowerCase()}),yi=Function.prototype.bind?b:g,gi=function(t,e,n){return!1},bi=function(t){return t},_i="data-server-rendered",wi=["component","directive","filter"],xi=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Oi={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:gi,isReservedAttr:gi,isUnknownElement:gi,getTagNamespace:O,parsePlatformTagName:bi,mustUseProp:gi,_lifecycleHooks:xi},Ci=/[^\w.$]/,ki="__proto__"in{},$i="undefined"!=typeof window,Ei="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Ti=Ei&&WXEnvironment.platform.toLowerCase(),Ai=$i&&window.navigator.userAgent.toLowerCase(),Si=Ai&&/msie|trident/.test(Ai),ji=Ai&&Ai.indexOf("msie 9.0")>0,Li=Ai&&Ai.indexOf("edge/")>0,Ni=(Ai&&Ai.indexOf("android"),Ai&&/iphone|ipad|ipod|ios/.test(Ai)||"ios"===Ti),Pi=(Ai&&/chrome\/\d+/.test(Ai),{}.watch),Di=!1;if($i)try{var Ii={};Object.defineProperty(Ii,"passive",{get:function(){Di=!0}}),window.addEventListener("test-passive",null,Ii)}catch(t){}var Ri,Mi,Fi=function(){return void 0===Ri&&(Ri=!$i&&!Ei&&void 0!==e&&"server"===e.process.env.VUE_ENV),Ri},Bi=$i&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ui="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys);Mi="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hi=O,qi=0,zi=function(){this.id=qi++,this.subs=[]};zi.prototype.addSub=function(t){this.subs.push(t)},zi.prototype.removeSub=function(t){v(this.subs,t)},zi.prototype.depend=function(){zi.target&&zi.target.addDep(this)},zi.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1?_(n):n;for(var r=_(arguments,1),o=0,i=n.length;oparseInt(this.max)&&ze(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},ja={KeepAlive:Sa};!function(t){var e={};e.get=function(){return Oi},Object.defineProperty(t,"config",e),t.util={warn:Hi,extend:w,mergeOptions:X,defineReactive:F},t.set=B,t.delete=U,t.nextTick=ct,t.options=Object.create(null),wi.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,w(t.options.components,ja),De(t),Ie(t),Re(t),Be(t)}(Pe),Object.defineProperty(Pe.prototype,"$isServer",{get:Fi}),Object.defineProperty(Pe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Pe,"FunctionalRenderContext",{value:ye}),Pe.version="2.5.17";var La,Na,Pa,Da,Ia,Ra,Ma,Fa,Ba,Ua=h("style,class"),Ha=h("input,textarea,option,select,progress"),qa=function(t,e,n){return"value"===n&&Ha(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},za=h("contenteditable,draggable,spellcheck"),Va=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ga="http://www.w3.org/1999/xlink",Wa=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ja=function(t){return Wa(t)?t.slice(6,t.length):""},Ka=function(t){return null==t||!1===t},Xa={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ya=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Qa=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Za=function(t){return"pre"===t},ts=function(t){return Ya(t)||Qa(t)},es=Object.create(null),ns=h("text,number,password,search,email,tel,url"),rs=Object.freeze({createElement:en,createElementNS:nn,createTextNode:rn,createComment:on,insertBefore:an,removeChild:sn,appendChild:cn,parentNode:un,nextSibling:fn,tagName:ln,setTextContent:pn,setStyleScope:dn}),os={create:function(t,e){hn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(hn(t,!0),hn(e))},destroy:function(t){hn(t,!0)}},is=new Gi("",{},[]),as=["create","activate","update","remove","destroy"],ss={create:gn,update:gn,destroy:function(t){gn(t,is)}},cs=Object.create(null),us=[os,ss],fs={create:On,update:On},ls={create:$n,update:$n},ps=/[\w).+\-_$\]]/,ds="__r",hs="__c",vs={create:er,update:er},ms={create:nr,update:nr},ys=y(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),gs=/^--/,bs=/\s*!important$/,_s=function(t,e,n){if(gs.test(e))t.style.setProperty(e,n);else if(bs.test(n))t.style.setProperty(e,n.replace(bs,""),"important");else{var r=xs(e);if(Array.isArray(n))for(var o=0,i=n.length;oh?(l=r(n[y+1])?null:n[y+1].elm,g(t,l,n,d,y,i)):d>y&&_(t,e,p,h)}function O(t,e,n,r){for(var i=n;i\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,rc="[a-zA-Z_][\\w\\-\\.]*",oc="((?:"+rc+"\\:)?"+rc+")",ic=new RegExp("^<"+oc),ac=/^\s*(\/?)>/,sc=new RegExp("^<\\/"+oc+"[^>]*>"),cc=/^]+>/i,uc=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},$c=/&(?:lt|gt|quot|amp);/g,Ec=/&(?:lt|gt|quot|amp|#10|#9);/g,Tc=h("pre,textarea",!0),Ac=function(t,e){return t&&Tc(t)&&"\n"===e[0]},Sc=/^@|^v-on:/,jc=/^v-|^@|^:/,Lc=/([^]*?)\s+(?:in|of)\s+([^]*)/,Nc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Pc=/^\(|\)$/g,Dc=/:(.*)$/,Ic=/^:|^v-bind:/,Rc=/\.[^.]+/g,Mc=y(Qs.decode),Fc=/^xmlns:NS\d+/,Bc=/^NS\d+:/,Uc={preTransformNode:go},Hc=[Xs,Ys,Uc],qc={model:Gn,text:_o,html:wo},zc={expectHTML:!0,modules:Hc,directives:qc,isPreTag:Za,isUnaryTag:Zs,mustUseProp:qa,canBeLeftOpenTag:tc,isReservedTag:ts,getTagNamespace:Qe,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Hc)},Vc=y(Oo),Gc=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Wc=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Jc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Kc={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},Xc=function(t){return"if("+t+")return null;"},Yc={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Xc("$event.target !== $event.currentTarget"),ctrl:Xc("!$event.ctrlKey"),shift:Xc("!$event.shiftKey"),alt:Xc("!$event.altKey"),meta:Xc("!$event.metaKey"),left:Xc("'button' in $event && $event.button !== 0"),middle:Xc("'button' in $event && $event.button !== 1"),right:Xc("'button' in $event && $event.button !== 2")},Qc={on:Lo,bind:No,cloak:O},Zc=function(t){this.options=t,this.warn=t.warn||An,this.transforms=Sn(t.modules,"transformCode"),this.dataGenFns=Sn(t.modules,"genData"),this.directives=w(w({},Qc),t.directives);var e=t.isReservedTag||gi;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]},tu=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,r){var o=Object.create(e),i=[],a=[];if(o.warn=function(t,e){(e?a:i).push(t)},r){r.modules&&(o.modules=(e.modules||[]).concat(r.modules)),r.directives&&(o.directives=w(Object.create(e.directives||null),r.directives));for(var s in r)"modules"!==s&&"directives"!==s&&(o[s]=r[s])}var c=t(n,o);return c.errors=i,c.tips=a,c}return{compile:n,compileToFunctions:oi(n)}}}(function(t,e){var n=Kr(t.trim(),e);!1!==e.optimize&&xo(n,e);var r=Po(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}})),eu=tu(zc),nu=eu.compileToFunctions,ru=!!$i&&ii(!1),ou=!!$i&&ii(!0),iu=y(function(t){var e=tn(t);return e&&e.innerHTML}),au=Pe.prototype.$mount;Pe.prototype.$mount=function(t,e){if((t=t&&tn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=iu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ai(t));if(r){var o=nu(r,{shouldDecodeNewlines:ru,shouldDecodeNewlinesForHref:ou,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return au.call(this,t,e)},Pe.compile=nu,t.exports=Pe}).call(e,n("DuR2"),n("162o").setImmediate)},Ibhu:function(t,e,n){var r=n("D2L2"),o=n("TcQ7"),i=n("vFc/")(!1),a=n("ax3d")("IE_PROTO");t.exports=function(t,e){var n,s=o(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},"JP+z":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){s.headers[t]={}}),o.forEach(["post","put","patch"],function(t){s.headers[t]=o.merge(a)}),t.exports=s}).call(e,n("W2nU"))},LFDJ:function(t,e){t.exports={_init:function(){if(!this.options.Vue.router)return"vue-router.2.x.js : Vue.router must be set."},_bindData:function(t,e){var n,r;return t=t||{},n=t.error,r=t.success,t.query=e.$route.query||{},t.success&&(t.success=function(t){r.call(e,t)}),t.error&&(t.error=function(t){n.call(e,t)}),t},_beforeEach:function(t,e){var n=this;this.options.Vue.router.beforeEach(function(r,o,i){n.options.setTransitions.call(this,r),t.call(n,function(){var t=n.options.getAuthMeta(r);e.call(n,r,t,function(t){if(!t)return void(i||r.next)();i?i(t):this.options.router._routerReplace.call(this,t)})})})},_routerReplace:function(t){var e=this.options.Vue.router;e.replace.call(e,t)},_routerGo:function(t){var e=this.options.Vue.router;(e.push||e.go).call(e,t)}}},MLZB:function(t,e,n){var r=n("34au")();t.exports=function(){return function(t,e){var n=new r(t,e),o=n.ready,i=n.login,a=n.fetch,s=n.logout,c=n.oauth2,u=n.refresh,f=n.register,l=n.impersonate,p=n.unimpersonate;t.auth=n,Object.defineProperties(t.prototype,{$auth:{get:function(){return n.ready=o.bind(this),n.login=i.bind(this),n.fetch=a.bind(this),n.logout=s.bind(this),n.oauth2=c.bind(this),n.refresh=u.bind(this),n.register=f.bind(this),n.impersonate=l.bind(this),n.unimpersonate=p.bind(this),n}}})}}()},MU5D:function(t,e,n){var r=n("R9M2");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},MU8w:function(t,e,n){"use strict";t.exports=n("hKoQ").polyfill()},MmMw:function(t,e,n){var r=n("EqjI");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},O4g8:function(t,e){t.exports=!0},ON07:function(t,e,n){var r=n("EqjI"),o=n("7KvD").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},QRG4:function(t,e,n){var r=n("UuGF"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},R9M2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},Re3r:function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function r(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ -t.exports=function(t){return null!=t&&(n(t)||r(t)||!!t._isBuffer)}},Rf8U:function(t,e,n){"use strict";var r,o,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(){function n(t,e){if(!n.installed){if(n.installed=!0,!e)return void console.error("You have to install axios");t.axios=e,Object.defineProperties(t.prototype,{axios:{get:function(){return e}},$http:{get:function(){return e}}})}}"object"==i(e)?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},S82l:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},SfB7:function(t,e,n){t.exports=!n("+E39")&&!n("S82l")(function(){return 7!=Object.defineProperty(n("ON07")("div"),"a",{get:function(){return 7}}).a})},TNV1:function(t,e,n){"use strict";var r=n("cGG2");t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},TcQ7:function(t,e,n){var r=n("MU5D"),o=n("52gC");t.exports=function(t){return r(o(t))}},UuGF:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},VN6J:function(t,e,n){"use strict";(function(t){function n(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Lt))}}function o(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,r=e.overflowX;return/(auto|scroll)/.test(n+e.overflowY+r)?t:s(a(t))}function c(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===i(e,"position")?c(e):e:t?t.ownerDocument.documentElement:document.documentElement}function u(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||c(t.firstElementChild)===t)}function f(t){return null!==t.parentNode?f(t.parentNode):t}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(t!==a&&e!==a||r.contains(o))return u(a)?a:c(a);var s=f(t);return s.host?l(s.host,e):l(t,f(e).host)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[n]}return t[n]}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(e,"top"),o=p(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function h(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Rt()?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function m(){var t=document.body,e=document.documentElement,n=Rt()&&getComputedStyle(e);return{height:v("Height",t,e,n),width:v("Width",t,e,n)}}function y(t){return Ut({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var e={};if(Rt())try{e=t.getBoundingClientRect();var n=p(t,"top"),r=p(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}catch(t){}else e=t.getBoundingClientRect();var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a="HTML"===t.nodeName?m():{},s=a.width||t.clientWidth||o.right-o.left,c=a.height||t.clientHeight||o.bottom-o.top,u=t.offsetWidth-s,f=t.offsetHeight-c;if(u||f){var l=i(t);u-=h(l,"x"),f-=h(l,"y"),o.width-=u,o.height-=f}return y(o)}function b(t,e){var n=Rt(),r="HTML"===e.nodeName,o=g(t),a=g(e),c=s(t),u=i(e),f=parseFloat(u.borderTopWidth,10),l=parseFloat(u.borderLeftWidth,10),p=y({top:o.top-a.top-f,left:o.left-a.left-l,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!n&&r){var h=parseFloat(u.marginTop,10),v=parseFloat(u.marginLeft,10);p.top-=f-h,p.bottom-=f-h,p.left-=l-v,p.right-=l-v,p.marginTop=h,p.marginLeft=v}return(n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=d(p,e)),p}function _(t){var e=t.ownerDocument.documentElement,n=b(t,e),r=Math.max(e.clientWidth,window.innerWidth||0),o=Math.max(e.clientHeight,window.innerHeight||0),i=p(e),a=p(e,"left");return y({top:i-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:r,height:o})}function w(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===i(t,"position")||w(a(t)))}function x(t,e,n,r){var o={top:0,left:0},i=l(t,e);if("viewport"===r)o=_(i);else{var c=void 0;"scrollParent"===r?(c=s(a(e)),"BODY"===c.nodeName&&(c=t.ownerDocument.documentElement)):c="window"===r?t.ownerDocument.documentElement:r;var u=b(c,i);if("HTML"!==c.nodeName||w(i))o=u;else{var f=m(),p=f.height,d=f.width;o.top+=u.top-u.marginTop,o.bottom=p+u.top,o.left+=u.left-u.marginLeft,o.right=d+u.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function O(t){return t.width*t.height}function C(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=x(n,r,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map(function(t){return Ut({key:t},s[t],{area:O(s[t])})}).sort(function(t,e){return e.area-t.area}),u=c.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),f=u.length>0?u[0].key:c[0].key,l=t.split("-")[1];return f+(l?"-"+l:"")}function k(t,e,n){return b(n,l(e,n))}function $(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function E(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function A(t,e,n){n=n.split("-")[0];var r=$(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",u=i?"width":"height";return o[a]=e[a]+e[c]/2-r[c]/2,o[s]=n===s?e[s]-r[u]:e[E(s)],o}function T(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function S(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=T(t,function(t){return t[e]===n});return t.indexOf(r)}function j(t,e,n){return(void 0===n?t:t.slice(0,S(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=y(e.offsets.popper),e.offsets.reference=y(e.offsets.reference),e=n(e,t))}),e}function L(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=k(this.state,this.popper,this.reference),t.placement=C(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=A(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function P(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function N(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;rs[h]&&(t.offsets.popper[p]+=c[p]+v-s[h]),t.offsets.popper=y(t.offsets.popper);var m=c[p]+c[f]/2-v/2,g=i(t.instance.popper),b=parseFloat(g["margin"+l],10),_=parseFloat(g["border"+l+"Width"],10),w=m-t.offsets.popper[p]-b-_;return w=Math.max(Math.min(s[f]-v,w),0),t.arrowElement=r,t.offsets.arrow=(n={},Bt(n,p,Math.round(w)),Bt(n,d,""),n),t}function X(t){return"end"===t?"start":"start"===t?"end":t}function Y(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=qt.indexOf(t),r=qt.slice(n+1).concat(qt.slice(0,n));return e?r.reverse():r}function Q(t,e){if(P(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=x(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),r=t.placement.split("-")[0],o=E(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Vt.FLIP:a=[r,o];break;case Vt.CLOCKWISE:a=Y(r);break;case Vt.COUNTERCLOCKWISE:a=Y(r,!0);break;default:a=e.behavior}return a.forEach(function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],o=E(r);var u=t.offsets.popper,f=t.offsets.reference,l=Math.floor,p="left"===r&&l(u.right)>l(f.left)||"right"===r&&l(u.left)l(f.top)||"bottom"===r&&l(u.top)l(n.right),v=l(u.top)l(n.bottom),y="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&m,g=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&v||!g&&"end"===i&&m);(p||y||b)&&(t.flipped=!0,(p||y)&&(r=a[c+1]),b&&(i=X(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=Ut({},t.offsets.popper,A(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))}),t}function Z(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]i(r[s])&&(t.offsets.popper[c]=i(r[s])),t}function tt(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return y(s)[e]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}function et(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(T(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return tt(t,o,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,r){H(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))})}),o}function nt(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],c=void 0;return c=H(+n)?[+n,0]:et(n,i,a,s),"left"===s?(i.top+=c[0],i.left-=c[1]):"right"===s?(i.top+=c[0],i.left+=c[1]):"top"===s?(i.left+=c[0],i.top-=c[1]):"bottom"===s&&(i.left+=c[0],i.top+=c[1]),t.popper=i,t}function rt(t,e){var n=e.boundariesElement||c(t.instance.popper);t.instance.reference===n&&(n=c(n));var r=x(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=r;var o=e.priority,i=t.offsets.popper,a={primary:function(t){var n=i[t];return i[t]r[t]&&!e.escapeWithReference&&(o=Math.min(i[n],r[t]-("right"===t?i.width:i.height))),Bt({},n,o)}};return o.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";i=Ut({},i,a[e](t))}),t.offsets.popper=i,t}function ot(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",f={start:Bt({},c,i[c]),end:Bt({},c,i[c]+i[u]-a[u])};t.offsets.popper=Ut({},a,f[r])}return t}function it(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=T(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{},r=pt(e),o=void 0!==e.classes?e.classes:se.options.defaultClass,i=Zt({title:r,html:!0},ft(Zt({},e,{placement:lt(e,n)}))),a=t._tooltip=new ne(t,i);a.setClasses(o),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:se.options.defaultTargetClass;return t._tooltipTargetClasses=s,ct(t,s),a}function ht(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(ut(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function vt(t,e){var n=e.value,r=(e.oldValue,e.modifiers),o=pt(n);if(o&&oe.enabled){var i=void 0;t._tooltip?(i=t._tooltip,i.setContent(o),i.setOptions(Zt({},n,{placement:lt(n,r)}))):i=dt(t,n,r),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?i.show():i.hide())}else ht(t)}function mt(t){t.addEventListener("click",gt),t.addEventListener("touchstart",bt,!!Jt&&{passive:!0})}function yt(t){t.removeEventListener("click",gt),t.removeEventListener("touchstart",bt),t.removeEventListener("touchend",_t),t.removeEventListener("touchcancel",wt)}function gt(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function bt(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",_t),e.addEventListener("touchcancel",wt)}}function _t(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function wt(t){t.currentTarget.$_vclosepopover_touch=!1}function xt(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}function Ot(){Ot.init||(Ot.init=!0,ue=-1!==xt())}function Ct(t){t.component("resize-observer",fe)}function kt(t){var e=se.options.popover[t];return void 0===e?se.options[t]:e}function $t(t){At(t)}function Et(t){At(t,!0)}function At(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=void 0,r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(!Tt.installed){Tt.installed=!0;var n={};ye(n,ae,e),ge.options=n,se.options=n,t.directive("tooltip",se),t.directive("close-popover",ce),t.component("v-popover",ve)}}for(var St="undefined"!=typeof window&&"undefined"!=typeof document,jt=["Edge","Trident","Firefox"],Lt=0,Pt=0;Pt=0){Lt=1;break}var Nt=St&&window.Promise,It=Nt?n:r,Dt=void 0,Rt=function(){return void 0===Dt&&(Dt=-1!==navigator.appVersion.indexOf("MSIE 10")),Dt},Mt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ft=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};Mt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=It(this.update.bind(this)),this.options=Ut({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ut({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=Ut({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Ut({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Ft(t,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return I.call(this)}},{key:"enableEventListeners",value:function(){return F.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();Wt.Utils=("undefined"!=typeof window?window:t).PopperUtils,Wt.placements=Ht,Wt.Defaults=Gt;var Jt=!1;if("undefined"!=typeof window){Jt=!1;try{var Kt=Object.defineProperty({},"passive",{get:function(){Jt=!0}});window.addEventListener("test",null,Kt)}catch(t){}}var Xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Qt=function(){function t(t,e){for(var n=0;n
',trigger:"hover focus",offset:0},ee=[],ne=function(){function t(e,n){Yt(this,t),re.call(this),n=Zt({},te,n),e.jquery&&(e=e[0]),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return Qt(t,[{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||se.options.defaultClass;this._classes!==n&&(this.setClasses(n),e=!0),t=ft(t);var r=!1,o=!1;this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(o=!0);for(var i in t)this.options[i]=t[i];if(this._tooltipNode)if(o){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),this._setEventListeners(this.reference,t,this.options)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var r=n.childNodes[0];return r.id="tooltip_"+Math.random().toString(36).substr(2,10),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",this.hide),r.addEventListener("click",this.hide)),r}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then(function(){n.popperInstance.update()})}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise(function(r,o){var i=e.html,a=n._tooltipNode,s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(i){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var c=t();return void(c&&"function"==typeof c.then?(n.asyncContent=!0,e.loadingClass&&ct(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),c.then(function(t){return e.loadingClass&&ut(a,e.loadingClass),n._applyContent(t,e)}).then(r).catch(o)):n._applyContent(c,e).then(r).catch(o))}i?s.innerHTML=t:s.innerText=t}r()})}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container){if(!document.querySelector(e.container))return}clearTimeout(this._disposeTimer),e=Object.assign({},e),delete e.offset;var n=!0;this._tooltipNode&&(ct(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&ct(this._tooltipNode,this._classes),r}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,ee.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var r=t.getAttribute("title")||e.title;if(!r)return this;var o=this._create(t,e.template);this._tooltipNode=o,this._setContent(r,e),t.setAttribute("aria-describedby",o.id);var i=this._findContainer(e.container,t);this._append(o,i);var a=Zt({},e.popperOptions,{placement:e.placement});return a.modifiers=Zt({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new Wt(t,o,a),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&o.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var t=ee.indexOf(this);-1!==t&&ee.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=se.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout(function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._tooltipNode.parentNode.removeChild(t._tooltipNode),t._tooltipNode=null)},e)),this}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this._events.forEach(function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,o=[],i=[];e.forEach(function(t){switch(t){case"hover":o.push("mouseenter"),i.push("mouseleave");break;case"focus":o.push("focus"),i.push("blur");break;case"click":o.push("click"),i.push("click")}}),o.forEach(function(e){var o=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:o}),t.addEventListener(e,o)}),i.forEach(function(e){var o=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:o}),t.addEventListener(e,o)})}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,o=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return r._show(t,n)},o)}},{key:"_scheduleHide",value:function(t,e,n,r){var o=this,i=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==o._isOpen&&document.body.contains(o._tooltipNode)){if("mouseleave"===r.type){if(o._setTooltipNodeEvent(r,t,e,n))return}o._hide(t,n)}},i)}}]),t}(),re=function(){var t=this;this.show=function(){t._show(t.reference,t.options)},this.hide=function(){t._hide()},this.dispose=function(){t._dispose()},this.toggle=function(){return t._isOpen?t.hide():t.show()},this._events=[],this._setTooltipNodeEvent=function(e,n,r,o){var i=e.relatedreference||e.toElement,a=function r(i){var a=i.relatedreference||i.toElement;t._tooltipNode.removeEventListener(e.type,r),n.contains(a)||t._scheduleHide(n,o.delay,o,i)};return!!t._tooltipNode.contains(i)&&(t._tooltipNode.addEventListener(e.type,a),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(t){for(var e=0;e
',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}},se={options:ae,bind:vt,update:vt,unbind:function(t){ht(t)}},ce={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&mt(t)},update:function(t,e){var n=e.value,r=e.oldValue,o=e.modifiers;t.$_closePopoverModifiers=o,n!==r&&(void 0===n||n?mt(t):yt(t))},unbind:function(t){yt(t)}},ue=void 0,fe={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!ue&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var t=this;Ot(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),e.setAttribute("aria-hidden","true"),e.onload=this.addResizeHandlers,e.type="text/html",ue&&this.$el.appendChild(e),e.data="about:blank",ue||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}},le={version:"0.4.3",install:Ct},pe=null;"undefined"!=typeof window?pe=window.Vue:void 0!==t&&(pe=t.Vue),pe&&pe.use(le);var de=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(de=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var he=[],ve={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.popoverId}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{display:t.isOpen?"":"none"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true"}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"arrow",class:t.popoverArrowClass}),t._v(" "),n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[t._t("popover")],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1)])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:fe},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return kt("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return kt("defaultDelay")}},offset:{type:[String,Number],default:function(){return kt("defaultOffset")}},trigger:{type:String,default:function(){return kt("defaultTrigger")}},container:{type:[String,Object,Element],default:function(){return kt("defaultContainer")}},boundariesElement:{type:Element,default:function(){return kt("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return kt("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return kt("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return se.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return se.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return se.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return se.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return se.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return se.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.update()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},offset:function(t){var e=this;this.$_updatePopper(function(){if(t){var n=e.$_getOffset();e.popperInstance.options.modifiers.offset={offset:n}}else e.popperInstance.options.modifiers.offset=void 0})},placement:function(t){var e=this;this.$_updatePopper(function(){e.popperInstance.options.placement=t})},boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event,n=(t.skipDelay,t.force);!(void 0!==n&&n)&&this.disabled||(this.$_scheduleShow(e),this.$emit("show")),this.$emit("update:open",!0)},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.update()),!this.$_mounted){var r=this.$_findContainer(this.container,e);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var o=Zt({},this.popperOptions,{placement:this.placement});if(o.modifiers=Zt({},o.modifiers,{arrow:{element:this.$refs.arrow}}),this.offset){var i=this.$_getOffset();o.modifiers.offset={offset:i}}this.boundariesElement&&(o.modifiers.preventOverflow={boundariesElement:this.boundariesElement}),this.popperInstance=new Wt(e,n,o),requestAnimationFrame(function(){!t.$_isDisposed&&t.popperInstance?(t.popperInstance.update(),requestAnimationFrame(function(){t.$_isDisposed?t.dispose():t.isOpen=!0})):t.dispose()})}var a=this.openGroup;if(a)for(var s=void 0,c=0;c1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(t.isOpen){if(e&&"mouseleave"===e.type){if(t.$_setTooltipNodeEvent(e))return}t.$_hide()}},r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,o=t.relatedreference||t.toElement,i=function o(i){var a=i.relatedreference||i.toElement;r.removeEventListener(t.type,o),n.contains(a)||e.hide({event:i})};return!!r.contains(o)&&(r.addEventListener(t.type,i),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach(function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)}),this.$_events=[]},$_updatePopper:function(t){this.isOpen&&this.popperInstance&&(t(),this.popperInstance.update())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_init(),t&&this.show()}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){e.$_preventOpen=!1},300))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.update(),this.$emit("resize"))}}};"undefined"!=typeof document&&"undefined"!=typeof window&&(de?document.addEventListener("touchend",Et,!!Jt&&{passive:!0}):window.addEventListener("click",$t));var me="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},ye=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){function n(t,e){return t.set(e[0],e[1]),t}function r(t,e){return t.add(e),t}function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function i(t,e){for(var n=-1,r=t?t.length:0;++n-1}function k(t,e){var n=this.__data__,r=U(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function $(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=Bt}function St(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function jt(t){return!!t&&"object"==typeof t}function Lt(t){if(!jt(t)||Ie.call(t)!=Jt||f(t))return!1;var e=Be(t);if(null===e)return!0;var n=Pe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Le.call(n)==Ne}function Pt(t){return ut(t,It(t))}function Nt(t){return $t(t)?M(t):K(t)}function It(t){return $t(t)?M(t,!0):X(t)}function Dt(){return[]}function Rt(){return!1}var Mt=200,Ft="__lodash_hash_undefined__",Bt=9007199254740991,Ut="[object Arguments]",Ht="[object Boolean]",qt="[object Date]",Vt="[object Function]",zt="[object GeneratorFunction]",Gt="[object Map]",Wt="[object Number]",Jt="[object Object]",Kt="[object RegExp]",Xt="[object Set]",Yt="[object String]",Qt="[object Symbol]",Zt="[object WeakMap]",te="[object ArrayBuffer]",ee="[object DataView]",ne="[object Float32Array]",re="[object Float64Array]",oe="[object Int8Array]",ie="[object Int16Array]",ae="[object Int32Array]",se="[object Uint8Array]",ce="[object Uint8ClampedArray]",ue="[object Uint16Array]",fe="[object Uint32Array]",le=/[\\^$.*+?()[\]{}|]/g,pe=/\w*$/,de=/^\[object .+?Constructor\]$/,he=/^(?:0|[1-9]\d*)$/,ve={};ve[ne]=ve[re]=ve[oe]=ve[ie]=ve[ae]=ve[se]=ve[ce]=ve[ue]=ve[fe]=!0,ve[Ut]=ve["[object Array]"]=ve[te]=ve[Ht]=ve[ee]=ve[qt]=ve["[object Error]"]=ve[Vt]=ve[Gt]=ve[Wt]=ve[Jt]=ve[Kt]=ve[Xt]=ve[Yt]=ve[Zt]=!1;var ye={};ye[Ut]=ye["[object Array]"]=ye[te]=ye[ee]=ye[Ht]=ye[qt]=ye[ne]=ye[re]=ye[oe]=ye[ie]=ye[ae]=ye[Gt]=ye[Wt]=ye[Jt]=ye[Kt]=ye[Xt]=ye[Yt]=ye[Qt]=ye[se]=ye[ce]=ye[ue]=ye[fe]=!0,ye["[object Error]"]=ye[Vt]=ye[Zt]=!1;var ge="object"==typeof me&&me&&me.Object===Object&&me,be="object"==typeof self&&self&&self.Object===Object&&self,_e=ge||be||Function("return this")(),we=e&&!e.nodeType&&e,xe=we&&!0&&t&&!t.nodeType&&t,Oe=xe&&xe.exports===we,Ce=Oe&&ge.process,ke=function(){try{return Ce&&Ce.binding("util")}catch(t){}}(),$e=ke&&ke.isTypedArray,Ee=Array.prototype,Ae=Function.prototype,Te=Object.prototype,Se=_e["__core-js_shared__"],je=function(){var t=/[^.]+$/.exec(Se&&Se.keys&&Se.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Le=Ae.toString,Pe=Te.hasOwnProperty,Ne=Le.call(Object),Ie=Te.toString,De=RegExp("^"+Le.call(Pe).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Re=Oe?_e.Buffer:void 0,Me=_e.Symbol,Fe=_e.Uint8Array,Be=p(Object.getPrototypeOf,Object),Ue=Object.create,He=Te.propertyIsEnumerable,qe=Ee.splice,Ve=Object.getOwnPropertySymbols,ze=Re?Re.isBuffer:void 0,Ge=p(Object.keys,Object),We=Math.max,Je=dt(_e,"DataView"),Ke=dt(_e,"Map"),Xe=dt(_e,"Promise"),Ye=dt(_e,"Set"),Qe=dt(_e,"WeakMap"),Ze=dt(Object,"create"),tn=Ot(Je),en=Ot(Ke),nn=Ot(Xe),rn=Ot(Ye),on=Ot(Qe),an=Me?Me.prototype:void 0,sn=an?an.valueOf:void 0;h.prototype.clear=v,h.prototype.delete=m,h.prototype.get=y,h.prototype.has=g,h.prototype.set=b,_.prototype.clear=w,_.prototype.delete=x,_.prototype.get=O,_.prototype.has=C,_.prototype.set=k,$.prototype.clear=E,$.prototype.delete=A,$.prototype.get=T,$.prototype.has=S,$.prototype.set=j,L.prototype.clear=P,L.prototype.delete=N,L.prototype.get=I,L.prototype.has=D,L.prototype.set=R;var cn=Ve?p(Ve,Object):Dt,un=G;(Je&&un(new Je(new ArrayBuffer(1)))!=ee||Ke&&un(new Ke)!=Gt||Xe&&"[object Promise]"!=un(Xe.resolve())||Ye&&un(new Ye)!=Xt||Qe&&un(new Qe)!=Zt)&&(un=function(t){var e=Ie.call(t),n=e==Jt?t.constructor:void 0,r=n?Ot(n):void 0;if(r)switch(r){case tn:return ee;case en:return Gt;case nn:return"[object Promise]";case rn:return Xt;case on:return Zt}return e});var fn=Array.isArray,ln=ze||Rt,pn=$e?function(t){return function(e){return t(e)}}($e):J,dn=function(t){return Z(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&>(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r1)for(var n=1;n0?r:n)(t)}},VN6J:function(t,e,n){"use strict";(function(t){function n(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function r(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Pt))}}function o(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,r=e.overflowX;return/(auto|scroll|overlay)/.test(n+e.overflowY+r)?t:s(a(t))}function c(t){return 11===t?Mt:10===t?Ft:Mt||Ft}function u(t){if(!t)return document.documentElement;for(var e=c(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function f(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function l(t){return null!==t.parentNode?l(t.parentNode):t}function p(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(t!==a&&e!==a||r.contains(o))return f(a)?a:u(a);var s=l(t);return s.host?p(s.host,e):p(t,l(e).host)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[n]}return t[n]}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=d(e,"top"),o=d(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function v(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function m(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],c(10)?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function y(){var t=document.body,e=document.documentElement,n=c(10)&&getComputedStyle(e);return{height:m("Height",t,e,n),width:m("Width",t,e,n)}}function g(t){return qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function b(t){var e={};try{if(c(10)){e=t.getBoundingClientRect();var n=d(t,"top"),r=d(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a="HTML"===t.nodeName?y():{},s=a.width||t.clientWidth||o.right-o.left,u=a.height||t.clientHeight||o.bottom-o.top,f=t.offsetWidth-s,l=t.offsetHeight-u;if(f||l){var p=i(t);f-=v(p,"x"),l-=v(p,"y"),o.width-=f,o.height-=l}return g(o)}function _(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=c(10),o="HTML"===e.nodeName,a=b(t),u=b(e),f=s(t),l=i(e),p=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&"HTML"===e.nodeName&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var v=g({top:a.top-u.top-p,left:a.left-u.left-d,width:a.width,height:a.height});if(v.marginTop=0,v.marginLeft=0,!r&&o){var m=parseFloat(l.marginTop,10),y=parseFloat(l.marginLeft,10);v.top-=p-m,v.bottom-=p-m,v.left-=d-y,v.right-=d-y,v.marginTop=m,v.marginLeft=y}return(r&&!n?e.contains(f):e===f&&"BODY"!==f.nodeName)&&(v=h(v,e)),v}function w(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=_(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:d(n),s=e?0:d(n,"left");return g({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}function x(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===i(t,"position")||x(a(t)))}function O(t){if(!t||!t.parentElement||c())return document.documentElement;for(var e=t.parentElement;e&&"none"===i(e,"transform");)e=e.parentElement;return e||document.documentElement}function C(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},c=o?O(t):p(t,e);if("viewport"===r)i=w(c,o);else{var u=void 0;"scrollParent"===r?(u=s(a(e)),"BODY"===u.nodeName&&(u=t.ownerDocument.documentElement)):u="window"===r?t.ownerDocument.documentElement:r;var f=_(u,c,o);if("HTML"!==u.nodeName||x(c))i=f;else{var l=y(),d=l.height,h=l.width;i.top+=f.top-f.marginTop,i.bottom=d+f.top,i.left+=f.left-f.marginLeft,i.right=h+f.left}}return i.left+=n,i.top+=n,i.right-=n,i.bottom-=n,i}function k(t){return t.width*t.height}function $(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=C(n,r,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},c=Object.keys(s).map(function(t){return qt({key:t},s[t],{area:k(s[t])})}).sort(function(t,e){return e.area-t.area}),u=c.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),f=u.length>0?u[0].key:c[0].key,l=t.split("-")[1];return f+(l?"-"+l:"")}function E(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(n,r?O(e):p(e,n),r)}function T(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function A(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function S(t,e,n){n=n.split("-")[0];var r=T(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",u=i?"width":"height";return o[a]=e[a]+e[c]/2-r[c]/2,o[s]=n===s?e[s]-r[u]:e[A(s)],o}function j(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function L(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=j(t,function(t){return t[e]===n});return t.indexOf(r)}function N(t,e,n){return(void 0===n?t:t.slice(0,L(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=g(e.offsets.popper),e.offsets.reference=g(e.offsets.reference),e=n(e,t))}),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=S(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=N(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function D(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function I(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;rs[h]&&(t.offsets.popper[p]+=c[p]+v-s[h]),t.offsets.popper=g(t.offsets.popper);var m=c[p]+c[f]/2-v/2,y=i(t.instance.popper),b=parseFloat(y["margin"+l],10),_=parseFloat(y["border"+l+"Width"],10),w=m-t.offsets.popper[p]-b-_;return w=Math.max(Math.min(s[f]-v,w),0),t.arrowElement=r,t.offsets.arrow=(n={},Ht(n,p,Math.round(w)),Ht(n,d,""),n),t}function Q(t){return"end"===t?"start":"start"===t?"end":t}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Vt.indexOf(t),r=Vt.slice(n+1).concat(Vt.slice(0,n));return e?r.reverse():r}function tt(t,e){if(D(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=C(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=A(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Gt.FLIP:a=[r,o];break;case Gt.CLOCKWISE:a=Z(r);break;case Gt.COUNTERCLOCKWISE:a=Z(r,!0);break;default:a=e.behavior}return a.forEach(function(s,c){if(r!==s||a.length===c+1)return t;r=t.placement.split("-")[0],o=A(r);var u=t.offsets.popper,f=t.offsets.reference,l=Math.floor,p="left"===r&&l(u.right)>l(f.left)||"right"===r&&l(u.left)l(f.top)||"bottom"===r&&l(u.top)l(n.right),v=l(u.top)l(n.bottom),y="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&m,g=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&v||!g&&"end"===i&&m);(p||y||b)&&(t.flipped=!0,(p||y)&&(r=a[c+1]),b&&(i=Q(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=qt({},t.offsets.popper,S(t.instance.popper,t.offsets.reference,t.placement)),t=N(t.instance.modifiers,t,"flip"))}),t}function et(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",c=a?"left":"top",u=a?"width":"height";return n[s]i(r[s])&&(t.offsets.popper[c]=i(r[s])),t}function nt(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return g(s)[e]/100*i}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i}return i}function rt(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(j(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return nt(t,o,e,n)})}),u.forEach(function(t,e){t.forEach(function(n,r){z(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))})}),o}function ot(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],c=void 0;return c=z(+n)?[+n,0]:rt(n,i,a,s),"left"===s?(i.top+=c[0],i.left-=c[1]):"right"===s?(i.top+=c[0],i.left+=c[1]):"top"===s?(i.left+=c[0],i.top-=c[1]):"bottom"===s&&(i.left+=c[0],i.top+=c[1]),t.popper=i,t}function it(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=I("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var c=C(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=s,e.boundaries=c;var f=e.priority,l=t.offsets.popper,p={primary:function(t){var n=l[t];return l[t]c[t]&&!e.escapeWithReference&&(r=Math.min(l[n],c[t]-("right"===t?l.width:l.height))),Ht({},n,r)}};return f.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=qt({},l,p[e](t))}),t.offsets.popper=l,t}function at(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",u=s?"width":"height",f={start:Ht({},c,i[c]),end:Ht({},c,i[c]+i[u]-a[u])};t.offsets.popper=qt({},a,f[r])}return t}function st(t){if(!X(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=j(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{},r=ht(e),o=void 0!==e.classes?e.classes:fe.options.defaultClass,i=ne({title:r},pt(ne({},e,{placement:dt(e,n)}))),a=t._tooltip=new ie(t,i);a.setClasses(o),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:fe.options.defaultTargetClass;return t._tooltipTargetClasses=s,ft(t,s),a}function mt(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(lt(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function yt(t,e){var n=e.value,r=(e.oldValue,e.modifiers),o=ht(n);if(o&&se.enabled){var i=void 0;t._tooltip?(i=t._tooltip,i.setContent(o),i.setOptions(ne({},n,{placement:dt(n,r)}))):i=vt(t,n,r),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?i.show():i.hide())}else mt(t)}function gt(t){t.addEventListener("click",_t),t.addEventListener("touchstart",wt,!!Yt&&{passive:!0})}function bt(t){t.removeEventListener("click",_t),t.removeEventListener("touchstart",wt),t.removeEventListener("touchend",xt),t.removeEventListener("touchcancel",Ot)}function _t(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function wt(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",xt),e.addEventListener("touchcancel",Ot)}}function xt(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Ot(t){t.currentTarget.$_vclosepopover_touch=!1}function Ct(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}function kt(){kt.init||(kt.init=!0,pe=-1!==Ct())}function $t(t){t.component("resize-observer",de)}function Et(t){var e=fe.options.popover[t];return void 0===e?fe.options[t]:e}function Tt(t){St(t)}function At(t){St(t,!0)}function St(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame(function(){for(var n=void 0,r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(!jt.installed){jt.installed=!0;var n={};we(n,ue,e),xe.options=n,fe.options=n,t.directive("tooltip",fe),t.directive("close-popover",le),t.component("v-popover",be)}}for(var Lt="undefined"!=typeof window&&"undefined"!=typeof document,Nt=["Edge","Trident","Firefox"],Pt=0,Dt=0;Dt=0){Pt=1;break}var It=Lt&&window.Promise,Rt=It?n:r,Mt=Lt&&!(!window.MSInputMethodContext||!document.documentMode),Ft=Lt&&/MSIE 10/.test(navigator.userAgent),Bt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Ut=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};Bt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Rt(this.update.bind(this)),this.options=qt({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(qt({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=qt({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return qt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return Ut(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return R.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return q.call(this)}}]),t}();Kt.Utils=("undefined"!=typeof window?window:t).PopperUtils,Kt.placements=zt,Kt.Defaults=Jt;var Xt=function(){};"undefined"!=typeof window&&(Xt=window.SVGAnimatedString);var Yt=!1;if("undefined"!=typeof window){Yt=!1;try{var Qt=Object.defineProperty({},"passive",{get:function(){Yt=!0}});window.addEventListener("test",null,Qt)}catch(t){}}var Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},te=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ee=function(){function t(t,e){for(var n=0;n
',trigger:"hover focus",offset:0},oe=[],ie=function(){function t(e,n){te(this,t),ae.call(this),n=ne({},re,n),e.jquery&&(e=e[0]),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return ee(t,[{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||fe.options.defaultClass;this._classes!==n&&(this.setClasses(n),e=!0),t=pt(t);var r=!1,o=!1;this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(o=!0);for(var i in t)this.options[i]=t[i];if(this._tooltipNode)if(o){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),this._setEventListeners(this.reference,t,this.options)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var r=n.childNodes[0];return r.id="tooltip_"+Math.random().toString(36).substr(2,10),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",this.hide),r.addEventListener("click",this.hide)),r}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then(function(){n.popperInstance.update()})}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise(function(r,o){var i=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(i){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var c=t();return void(c&&"function"==typeof c.then?(n.asyncContent=!0,e.loadingClass&&ft(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),c.then(function(t){return e.loadingClass&<(a,e.loadingClass),n._applyContent(t,e)}).then(r).catch(o)):n._applyContent(c,e).then(r).catch(o))}i?s.innerHTML=t:s.innerText=t}r()}})}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container){if(!document.querySelector(e.container))return}clearTimeout(this._disposeTimer),e=Object.assign({},e),delete e.offset;var n=!0;this._tooltipNode&&(ft(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&ft(this._tooltipNode,this._classes),ft(t,["v-tooltip-open"]),r}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,oe.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var r=t.getAttribute("title")||e.title;if(!r)return this;var o=this._create(t,e.template);this._tooltipNode=o,this._setContent(r,e),t.setAttribute("aria-describedby",o.id);var i=this._findContainer(e.container,t);this._append(o,i);var a=ne({},e.popperOptions,{placement:e.placement});return a.modifiers=ne({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new Kt(t,o,a),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&o.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var t=oe.indexOf(this);-1!==t&&oe.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=fe.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout(function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._tooltipNode.parentNode.removeChild(t._tooltipNode),t._tooltipNode=null)},e)),lt(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this._events.forEach(function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,o=[],i=[];e.forEach(function(t){switch(t){case"hover":o.push("mouseenter"),i.push("mouseleave"),r.options.hideOnTargetClick&&i.push("click");break;case"focus":o.push("focus"),i.push("blur"),r.options.hideOnTargetClick&&i.push("click");break;case"click":o.push("click"),i.push("click")}}),o.forEach(function(e){var o=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:o}),t.addEventListener(e,o)}),i.forEach(function(e){var o=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:o}),t.addEventListener(e,o)})}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,o=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return r._show(t,n)},o)}},{key:"_scheduleHide",value:function(t,e,n,r){var o=this,i=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==o._isOpen&&document.body.contains(o._tooltipNode)){if("mouseleave"===r.type){if(o._setTooltipNodeEvent(r,t,e,n))return}o._hide(t,n)}},i)}}]),t}(),ae=function(){var t=this;this.show=function(){t._show(t.reference,t.options)},this.hide=function(){t._hide()},this.dispose=function(){t._dispose()},this.toggle=function(){return t._isOpen?t.hide():t.show()},this._events=[],this._setTooltipNodeEvent=function(e,n,r,o){var i=e.relatedreference||e.toElement||e.relatedTarget,a=function r(i){var a=i.relatedreference||i.toElement||i.relatedTarget;t._tooltipNode.removeEventListener(e.type,r),n.contains(a)||t._scheduleHide(n,o.delay,o,i)};return!!t._tooltipNode.contains(i)&&(t._tooltipNode.addEventListener(e.type,a),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(t){for(var e=0;e
',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}},fe={options:ue,bind:yt,update:yt,unbind:function(t){mt(t)}},le={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&>(t)},update:function(t,e){var n=e.value,r=e.oldValue,o=e.modifiers;t.$_closePopoverModifiers=o,n!==r&&(void 0===n||n?gt(t):bt(t))},unbind:function(t){bt(t)}},pe=void 0,de={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!pe&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var t=this;kt(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",pe&&this.$el.appendChild(e),e.data="about:blank",pe||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}},he={version:"0.4.4",install:$t},ve=null;"undefined"!=typeof window?ve=window.Vue:void 0!==t&&(ve=t.Vue),ve&&ve.use(he);var me=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(me=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var ye=[],ge=function(){};"undefined"!=typeof window&&(ge=window.Element);var be={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.popoverId,tabindex:-1!==t.trigger.indexOf("focus")?0:-1}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{visibility:t.isOpen?"visible":"hidden"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true"}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[t._t("popover")],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1),t._v(" "),n("div",{ref:"arrow",class:t.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:de},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return Et("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return Et("defaultDelay")}},offset:{type:[String,Number],default:function(){return Et("defaultOffset")}},trigger:{type:String,default:function(){return Et("defaultTrigger")}},container:{type:[String,Object,ge,Boolean],default:function(){return Et("defaultContainer")}},boundariesElement:{type:[String,ge],default:function(){return Et("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return Et("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return Et("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return fe.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return fe.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return fe.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return fe.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return fe.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return fe.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper(function(){e.popperInstance.options.placement=t})},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,r=(e.skipDelay,e.force);!(void 0!==r&&r)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame(function(){t.$_beingShowed=!1})},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var r=this.$_findContainer(this.container,e);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var o=ne({},this.popperOptions,{placement:this.placement});if(o.modifiers=ne({},o.modifiers,{arrow:ne({},o.modifiers&&o.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var i=this.$_getOffset();o.modifiers.offset=ne({},o.modifiers&&o.modifiers.offset,{offset:i})}this.boundariesElement&&(o.modifiers.preventOverflow=ne({},o.modifiers&&o.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new Kt(e,n,o),requestAnimationFrame(function(){!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame(function(){t.$_isDisposed?t.dispose():t.isOpen=!0})):t.dispose()})}var a=this.openGroup;if(a)for(var s=void 0,c=0;c1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(t.isOpen){if(e&&"mouseleave"===e.type){if(t.$_setTooltipNodeEvent(e))return}t.$_hide()}},r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,o=t.relatedreference||t.toElement||t.relatedTarget,i=function o(i){var a=i.relatedreference||i.toElement||i.relatedTarget;r.removeEventListener(t.type,o),n.contains(a)||e.hide({event:i})};return!!r.contains(o)&&(r.addEventListener(t.type,i),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach(function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)}),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){e.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};"undefined"!=typeof document&&"undefined"!=typeof window&&(me?document.addEventListener("touchend",At,!Yt||{passive:!0,capture:!0}):window.addEventListener("click",Tt,!0));var _e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},we=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function r(t,e){for(var n=-1,r=Array(t);++n-1}function y(t,e){var n=this.__data__,r=N(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function g(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=Ct}function pt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function dt(t){return null!=t&&"object"==typeof t}function ht(t){if(!dt(t)||D(t)!=St)return!1;var e=ae(t);if(null===e)return!0;var n=Yt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Xt.call(n)==te}function vt(t){return W(t,mt(t))}function mt(t){return ct(t)?S(t,!0):F(t)}function yt(t){return function(){return t}}function gt(t){return t}function bt(){return!1}var _t=200,wt="__lodash_hash_undefined__",xt=800,Ot=16,Ct=9007199254740991,kt="[object Arguments]",$t="[object AsyncFunction]",Et="[object Function]",Tt="[object GeneratorFunction]",At="[object Null]",St="[object Object]",jt="[object Proxy]",Lt="[object Undefined]",Nt=/[\\^$.*+?()[\]{}|]/g,Pt=/^\[object .+?Constructor\]$/,Dt=/^(?:0|[1-9]\d*)$/,It={};It["[object Float32Array]"]=It["[object Float64Array]"]=It["[object Int8Array]"]=It["[object Int16Array]"]=It["[object Int32Array]"]=It["[object Uint8Array]"]=It["[object Uint8ClampedArray]"]=It["[object Uint16Array]"]=It["[object Uint32Array]"]=!0,It[kt]=It["[object Array]"]=It["[object ArrayBuffer]"]=It["[object Boolean]"]=It["[object DataView]"]=It["[object Date]"]=It["[object Error]"]=It[Et]=It["[object Map]"]=It["[object Number]"]=It[St]=It["[object RegExp]"]=It["[object Set]"]=It["[object String]"]=It["[object WeakMap]"]=!1;var Rt="object"==typeof _e&&_e&&_e.Object===Object&&_e,Mt="object"==typeof self&&self&&self.Object===Object&&self,Ft=Rt||Mt||Function("return this")(),Bt=e&&!e.nodeType&&e,Ut=Bt&&!0&&t&&!t.nodeType&&t,Ht=Ut&&Ut.exports===Bt,qt=Ht&&Rt.process,zt=function(){try{return qt&&qt.binding&&qt.binding("util")}catch(t){}}(),Vt=zt&&zt.isTypedArray,Gt=Array.prototype,Wt=Function.prototype,Jt=Object.prototype,Kt=Ft["__core-js_shared__"],Xt=Wt.toString,Yt=Jt.hasOwnProperty,Qt=function(){var t=/[^.]+$/.exec(Kt&&Kt.keys&&Kt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Zt=Jt.toString,te=Xt.call(Object),ee=RegExp("^"+Xt.call(Yt).replace(Nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=Ht?Ft.Buffer:void 0,re=Ft.Symbol,oe=Ft.Uint8Array,ie=ne?ne.allocUnsafe:void 0,ae=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object),se=Object.create,ce=Jt.propertyIsEnumerable,ue=Gt.splice,fe=re?re.toStringTag:void 0,le=function(){try{var t=K(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),pe=ne?ne.isBuffer:void 0,de=Math.max,he=Date.now,ve=K(Ft,"Map"),me=K(Object,"create"),ye=function(){function t(){}return function(e){if(!pt(e))return{};if(se)return se(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();a.prototype.clear=s,a.prototype.delete=c,a.prototype.get=u,a.prototype.has=f,a.prototype.set=l,p.prototype.clear=d,p.prototype.delete=h,p.prototype.get=v,p.prototype.has=m,p.prototype.set=y,g.prototype.clear=b,g.prototype.delete=_,g.prototype.get=w,g.prototype.has=x,g.prototype.set=O,C.prototype.clear=k,C.prototype.delete=$,C.prototype.get=E,C.prototype.has=T,C.prototype.set=A;var ge=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var c=a[t?s:++o];if(!1===n(i[c],c,i))break}return e}}(),be=le?function(t,e){return le(t,"toString",{configurable:!0,enumerable:!1,value:yt(e),writable:!0})}:gt,we=function(t){var e=0,n=0;return function(){var r=he(),o=Ot-(r-n);if(n=r,o>0){if(++e>=xt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(be),xe=I(function(){return arguments}())?I:function(t){return dt(t)&&Yt.call(t,"callee")&&!ce.call(t,"callee")},Oe=Array.isArray,Ce=pe||bt,ke=Vt?function(t){return function(e){return t(e)}}(Vt):M,$e=function(t){return H(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&Z(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=Object(e);++r1)for(var n=1;n=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},p1b6:function(t,e,n){"use strict";var r=n("cGG2");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},pBtG:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},pxG4:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},qRfI:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},rjj0:function(t,e,n){function r(t){for(var e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new r;e=e<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},uqUo:function(t,e,n){var r=n("kM2E"),o=n("FeBl"),i=n("S82l");t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},"vFc/":function(t,e,n){var r=n("TcQ7"),o=n("QRG4"),i=n("fkB2");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),f=i(a,u);if(t&&n!=n){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},xLtR:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n("cGG2"),i=n("TNV1"),a=n("pBtG"),s=n("KCLY"),c=n("dIwP"),u=n("qRfI");t.exports=function(t){return r(t),t.baseURL&&!c(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xnc9:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},xtII:function(t,e){t.exports=function(){function t(t){return null!==t&&"object"==typeof t&&t.constructor!==Array}function e(t){return"string"==typeof t||"number"==typeof t?[t]:t}function n(e,r){var o,i,a,s={};for(a in e)t(e[a])&&"FormData"!==e[a].constructor.name?s[a]=n(e[a],{}):s[a]=e[a];for(o=0,i=r.length;o=0)return!0;return!1}return{extend:n,toArray:e,isObject:t,compare:r}}()}}); \ No newline at end of file +!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function r(t){return"function"==typeof t}function o(t){U=t}function i(t){H=t}function a(){return void 0!==B?function(){B(c)}:s()}function s(){var t=setTimeout;return function(){return t(c,1)}}function c(){for(var t=0;t=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},p1b6:function(t,e,n){"use strict";var r=n("cGG2");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},pBtG:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},pxG4:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},qRfI:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},rjj0:function(t,e,n){function r(t){for(var e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new r;e=e<<8|n}return a}var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=o},uqUo:function(t,e,n){var r=n("kM2E"),o=n("FeBl"),i=n("S82l");t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},"vFc/":function(t,e,n){var r=n("TcQ7"),o=n("QRG4"),i=n("fkB2");t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),f=i(a,u);if(t&&n!=n){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},xLtR:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n("cGG2"),i=n("TNV1"),a=n("pBtG"),s=n("KCLY"),c=n("dIwP"),u=n("qRfI");t.exports=function(t){return r(t),t.baseURL&&!c(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xnc9:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},xtII:function(t,e){t.exports=function(){function t(t){return null!==t&&"object"==typeof t&&t.constructor!==Array}function e(t){return"string"==typeof t||"number"==typeof t?[t]:t}function n(e,r){var o,i,a,s={};for(a in e)t(e[a])&&"FormData"!==e[a].constructor.name?s[a]=n(e[a],{}):s[a]=e[a];for(o=0,i=r.length;o=0)return!0;return!1}return{extend:n,toArray:e,isObject:t,compare:r}}()}}); \ No newline at end of file diff --git a/public/theme/src/components/ReCast/Streams/SetupStream.vue b/public/theme/src/components/ReCast/Streams/SetupStream.vue index 4834073..01de5db 100644 --- a/public/theme/src/components/ReCast/Streams/SetupStream.vue +++ b/public/theme/src/components/ReCast/Streams/SetupStream.vue @@ -5,8 +5,8 @@

Setup

- - + +

Stream Statistics