text: (function(t){function e(e){for(var n,r,o=e[0],l=e[1],c=e[2],u=0,p=[];u<o.length;u++)r=o[u],s[r]&&p.push(s[r][0]),s[r]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(t[n]=l[n]);d&&d(e);while(p.length)p.shift()();return i.push.apply(i,c||[]),a()}function a(){for(var t,e=0;e<i.length;e++){for(var a=i[e],n=!0,o=1;o<a.length;o++){var l=a[o];0!==s[l]&&(n=!1)}n&&(i.splice(e--,1),t=r(r.s=a[0]))}return t}var n={},s={app:0},i=[];function r(e){if(n[e])return n[e].exports;var a=n[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=n,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],l=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var d=l;i.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"034f":function(t,e,a){"use strict";var n=a("04f5"),s=a.n(n);s.a},"04f5":function(t,e,a){},"0ab0":function(t,e,a){"use strict";var n=a("7046"),s=a.n(n);s.a},"177a":function(t,e,a){"use strict";var n=a("d9fa"),s=a.n(n);s.a},"1edf":function(t,e,a){"use strict";var n=a("b5fc"),s=a.n(n);s.a},"23ad":function(t,e,a){},"253a":function(t,e,a){"use strict";var n=a("3707"),s=a.n(n);s.a},3707:function(t,e,a){},4592:function(t,e,a){},"4d1c":function(t,e,a){},"56d7":function(t,e,a){"use strict";a.r(e);a("cadf"),a("551c");var n=a("2b0e"),s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"app"}},[a("router-view",{attrs:{name:"header"}}),a("main",[a("fade-transition",{attrs:{origin:"center",mode:"out-in",duration:250}},[a("router-view")],1)],1),a("router-view",{attrs:{name:"footer"}})],1)},i=[],r=a("7c76"),o={components:{FadeTransition:r["a"]}},l=o,c=(a("034f"),a("2877")),d=Object(c["a"])(l,s,i,!1,null,null,null),u=d.exports,p=a("8c4f"),f=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"header-global"},[a("base-nav",{staticClass:"navbar-main",attrs:{transparent:"",type:"",effect:"light",expand:""},scopedSlots:t._u([{key:"content-header",fn:function(t){var e=t.closeMenu;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-6 collapse-brand"},[a("a",{attrs:{href:"/"}},[a("img",{staticStyle:{background:"rgb(119, 149, 248)","border-radius":"5px",padding:"1px"},attrs:{src:"img/brand/fibos.team.png"}})])]),a("div",{staticClass:"col-6 collapse-close"},[a("close-button",{on:{click:e}})],1)])}}])},[a("a",{staticClass:"navbar-brand mr-lg-5",attrs:{slot:"brand",href:"/"},slot:"brand"},[a("img",{attrs:{src:"img/brand/fibos.team.png"}})]),a("ul",{staticClass:"navbar-nav navbar-nav-hover align-items-lg-center"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link nav-link-icon",attrs:{to:"/"}},[t._v("\n                    数据备份\n                ")])],1),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link nav-link-icon",attrs:{to:"/about"}},[t._v("BP 信息")])],1)]),a("ul",{staticClass:"navbar-nav align-items-lg-center ml-lg-auto"},[a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link nav-link-icon",attrs:{href:"javascript:void(0)",target:"_blank","data-toggle":"tooltip",title:"推特还没有开通不要点！"}},[a("i",{staticClass:"fa fa-twitter-square"}),a("span",{staticClass:"nav-link-inner--text d-lg-none"},[t._v("Twitter")])])]),a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link nav-link-icon",attrs:{href:"https://weibo.com/fibosteam",target:"_blank","data-toggle":"tooltip",title:"快来微博给东哥涨粉"}},[a("i",{staticClass:"fa fa-weibo"}),a("span",{staticClass:"nav-link-inner--text d-lg-none"},[t._v("微博")])])]),a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link nav-link-icon",attrs:{href:"https://github.com/fibos-team",target:"_blank","data-toggle":"tooltip",title:"Github 来 Star 一波?"}},[a("i",{staticClass:"fa fa-github"}),a("span",{staticClass:"nav-link-inner--text d-lg-none"},[t._v("Github")])])])])])],1)},g=[],h=function(){var t,e,a=this,n=a.$createElement,s=a._self._c||n;return s("nav",{staticClass:"navbar",class:[{"navbar-expand-lg":a.expand},(t={},t["navbar-"+a.effect]=a.effect,t),{"navbar-transparent":a.transparent},(e={},e["bg-"+a.type]=a.type,e),{rounded:a.round}]},[s("div",{staticClass:"container"},[a._t("container-pre"),a._t("brand",[s("a",{staticClass:"navbar-brand",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),a.onTitleClick(t)}}},[a._v("\n                "+a._s(a.title)+"\n            ")])]),s("navbar-toggle-button",{attrs:{toggled:a.toggled,target:a.contentId},nativeOn:{click:function(t){t.stopPropagation(),a.toggled=!a.toggled}}}),a._t("container-after"),s("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:a.closeMenu,expression:"closeMenu"}],staticClass:"collapse navbar-collapse",class:{show:a.toggled},attrs:{id:a.contentId}},[s("div",{staticClass:"navbar-collapse-header"},[a._t("content-header",null,{closeMenu:a.closeMenu})],2),a._t("default",null,{closeMenu:a.closeMenu})],2)],2)])},v=[],m=(a("6b54"),a("c5f6"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"navbar-toggler",attrs:{type:"button","data-toggle":"collapse","data-target":t.target,"aria-controls":t.target,"aria-expanded":t.toggled,"aria-label":"Toggle navigation"}},[a("span",{staticClass:"navbar-toggler-icon"})])}),b=[],y={props:{target:{type:[String,Number],description:"Button target element"},toggled:{type:Boolean,default:!1,description:"Whether button is toggled"}}},_=y,C=(a("b2d3"),Object(c["a"])(_,m,b,!1,null,null,null)),w=C.exports,k={name:"base-nav",components:{FadeTransition:r["a"],NavbarToggleButton:w},props:{type:{type:String,default:"primary",description:"Navbar type (e.g default, primary etc)"},title:{type:String,default:"",description:"Title of navbar"},contentId:{type:[String,Number],default:Math.random().toString(),description:"Explicit id for the menu. By default it's a generated random number"},effect:{type:String,default:"dark",description:"Effect of the navbar (light|dark)"},round:{type:Boolean,default:!1,description:"Whether nav has rounded corners"},transparent:{type:Boolean,default:!1,description:"Whether navbar is transparent"},expand:{type:Boolean,default:!1,description:"Whether navbar should contain `navbar-expand-lg` class"}},data:function(){return{toggled:!1}},methods:{onTitleClick:function(t){this.$emit("title-click",t)},closeMenu:function(){this.toggled=!1}}},x=k,S=(a("dcd2"),Object(c["a"])(x,h,v,!1,null,null,null)),$=S.exports,B=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:"component",staticClass:"dropdown",class:[{show:t.isOpen},{dropdown:"down"===t.direction},{dropup:"up"===t.direction}],attrs:{"aria-haspopup":"true","aria-expanded":t.isOpen},on:{click:t.toggleDropDown}},[t._t("title",[a("a",{staticClass:"dropdown-toggle nav-link",class:{"no-caret":t.hideArrow},attrs:{"data-toggle":"dropdown"}},[a("i",{class:t.icon}),a("span",{staticClass:"no-icon"},[t._v(t._s(t.title))])])]),a("ul",{staticClass:"dropdown-menu",class:[{"dropdown-menu-right":"right"===t.position},{show:t.isOpen},t.menuClasses]},[t._t("default")],2)],2)},O=[],P={name:"base-dropdown",props:{direction:{type:String,default:"down"},title:{type:String,description:"Dropdown title"},icon:{type:String,description:"Icon for dropdown title"},position:{type:String,description:"Position of dropdown menu (e.g right|left)"},menuClasses:{type:[String,Object],description:"Dropdown menu classes"},hideArrow:{type:Boolean,description:"Whether dropdown arrow should be hidden"},tag:{type:String,default:"li",description:"Dropdown html tag (e.g div, li etc)"}},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)}}},j=P,I=(a("f364"),Object(c["a"])(j,B,O,!1,null,null,null)),A=I.exports,E=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",{staticClass:"navbar-toggler",attrs:{type:"button","data-toggle":"collapse","data-target":"#"+t.target,"aria-controls":t.target,"aria-expanded":t.expanded,"aria-label":"Toggle navigation"},on:{click:t.handleClick}},[a("span"),a("span")])},T=[],W={name:"close-button",props:{target:{type:[String,Number],description:"Close button target element"},expanded:{type:Boolean,description:"Whether button is expanded (aria-expanded attribute)"}},methods:{handleClick:function(t){this.$emit("click",t)}}},D=W,z=(a("253a"),Object(c["a"])(D,E,T,!1,null,null,null)),q=z.exports,M={components:{BaseNav:$,CloseButton:q,BaseDropdown:A}},N=M,F=(a("c653"),Object(c["a"])(N,f,g,!1,null,null,null)),L=F.exports,R=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("footer",{staticClass:"footer has-cards"},[a("div",{staticClass:"container container-lg"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-6 mb-5 mb-md-0"},[a("div",{staticClass:"card card-lift--hover shadow border-0"},[a("router-link",{attrs:{to:"/",title:"Backups Page"}},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"1.png",expression:"'1.png'"}],staticClass:"card-img"})])],1)]),a("div",{staticClass:"col-md-6 mb-5 mb-lg-0"},[a("div",{staticClass:"card card-lift--hover shadow border-0"},[a("router-link",{attrs:{to:"/about",title:"About Page"}},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"2.png",expression:"'2.png'"}],staticClass:"card-img"})])],1)])])]),t._m(0)])},U=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container"},[a("div",{staticClass:"row row-grid align-items-center my-md"},[a("div",{staticClass:"col-lg-6"},[a("h3",{staticClass:"text-primary font-weight-light mb-2"},[t._v("支持我们请投票给 "),a("code",[t._v("liuqiangdong")])]),a("blockquote",{staticClass:"mb-0 font-weight-light"},[t._v("为东哥打尻，新主页很漂亮!")])]),a("div",{staticClass:"col-lg-6 text-lg-center btn-wrapper"},[a("a",{staticClass:"btn btn-neutral btn-icon-only btn-twitter btn-round btn-lg",attrs:{target:"_blank",href:"javascript:void(0)","data-toggle":"tooltip","data-original-title":"Twitter 还没开通，开通了也不会更新"}},[a("i",{staticClass:"fa fa-twitter"})]),a("a",{staticClass:"btn btn-neutral btn-icon-only  btn-round btn-lg btn-facebook btn-round btn-lg",attrs:{target:"_blank",href:"https://weibo.com/fibos.team","data-toggle":"tooltip","data-original-title":"Like us"}},[a("i",{staticClass:"fa fa-weixin"})]),a("a",{staticClass:"btn btn-neutral btn-icon-only  btn-round btn-lg btn-dribbble btn-lg btn-round",attrs:{target:"_blank",href:"https://weibo.com/fibos.team","data-toggle":"tooltip","data-original-title":"Like us"}},[a("i",{staticClass:"fa fa-weibo"})]),a("a",{staticClass:"btn btn-neutral btn-icon-only btn-github btn-round btn-lg",attrs:{target:"_blank",href:"https://github.com/fibos-team","data-toggle":"tooltip","data-original-title":"Star on Github"}},[a("i",{staticClass:"fa fa-github"})])])]),a("hr"),a("div",{staticClass:"row align-items-center justify-content-center"},[a("div",{staticClass:"col-6"},[a("div",{staticClass:"copyright"},[t._v("\n                    © 2018\n                    "),a("a",{attrs:{href:"https://fibos.team",target:"_blank"}},[t._v("FIBOS TEAM")]),t._v(".\n                ")])]),a("div",{staticClass:"col-6"},[a("ul",{staticClass:"nav nav-footer justify-content-end"},[a("li",{staticClass:"nav-item"},[a("a",{staticClass:"nav-link",attrs:{href:"/producer.json",target:"_blank"}},[t._v("producer.json")])])])])])])}],G={},H=G,J=(a("841c"),Object(c["a"])(H,R,U,!1,null,null,null)),Q=J.exports,V=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"position-relative"},[a("section",{staticClass:"section-shaped my-0"},[t._m(0),a("div",{staticClass:"container shape-container",staticStyle:{"padding-bottom":"4rem"}},[t._m(1),a("div",{staticClass:"card card-profile shadow"},[a("div",{staticClass:"px-4 table-responsive"},[a("table",{staticClass:"table"},[t._m(2),a("tbody",{staticStyle:{"min-height":"200px"}},t._l(t.backups,function(e,n){return n<5?a("tr",{key:e.md5chksum},[a("td",[t._v(t._s(e.name))]),a("td",[a("a",{attrs:{href:e.s3url}},[t._v("AWS S3 ")]),t._v("|"),a("a",{attrs:{href:e.qingUrl}},[t._v("QingStor")])]),a("td",[t._v(t._s(e.size))]),a("td",[t._v(t._s(e.md5chksum))])]):t._e()}))]),t.loading?a("content-placeholders",{staticStyle:{width:"100%"},attrs:{rounded:""}},[a("content-placeholders-text",{attrs:{lines:5}})],1):t._e()],1)])]),t._m(3)])])])},K=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"shape shape-style-1 shape-default shape-skew"},[a("span"),a("span"),a("span"),a("span"),a("span"),a("span"),a("span"),a("span"),a("span")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"col px-0",staticStyle:{"margin-bottom":"20px"}},[a("div",{staticClass:"row justify-content-center",staticStyle:{width:"90%","margin-left":"5%"}},[a("h1",{staticClass:"display-6 text-white text-center",staticStyle:{width:"100%"}},[t._v("\n                          FIBOS 主网全节点区块数据备份\n                        ")]),a("br"),a("p",{staticClass:"lead  text-white"},[t._v("东哥每日定时备份，AWS S3 / 青云加速下载，助你快速同步")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v("文件名")]),a("th",{attrs:{scope:"col"}},[t._v("下载")]),a("th",{attrs:{scope:"col"}},[t._v("大小")]),a("th",{attrs:{scope:"col"}},[t._v("MD5 Checksum")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"container row-container"},[a("div",{staticClass:"row"},[a("div",{staticClass:"row-left"},[a("h3",{staticStyle:{"padding-bottom":"2rem"}},[a("i",{staticClass:"fa fa-code",staticStyle:{"margin-top":"-4px","margin-right":"12px","vertical-align":"middle","font-size":"150%",color:"#0098ef"}}),t._v("如何使用")]),a("p",[t._v("备份数据同步压缩于节点 "),a("code",[t._v("liuqiangdong")]),t._v(" 的 API Server，在 "),a("strong",[t._v("Ubuntu 16.04")]),t._v(" 系统下测试使用正常，其他操作系统未经测试。")]),a("p",[t._v("请根据自己的网络情况，墙外服务器请选择 AWS S3，墙内服务器请选择 qingStor，选择最新的备份区块数据链接进行下载，再解压缩到你的数据存储目录，然后重新 启动 fibos server 即可。")]),a("p",[t._v("除了 wget 下载外，AWS S3 下载也可以使用 "),a("a",{attrs:{href:"https://docs.aws.amazon.com/zh_cn/cli/latest/userguide/installing.html"}},[t._v("AWS CLI")]),t._v("，如："),a("br"),a("code",[t._v("aws s3 cp s3://fibos.team/data-20181111.tar.gz")]),t._v(";")]),a("p",[t._v("QingStor 下载也可以使用 "),a("a",{attrs:{href:"https://docs.qingcloud.com/qingstor/developer_tools/qsctl.html"}},[t._v("qsctl")]),t._v("，如："),a("br"),a("code",[t._v("qsctl cp qs://liuqiangdong/data-20181111.tar.gz")]),t._v("。")]),a("p",[t._v("有任何问题，请 memo 留言转账 FO 至 "),a("code",[t._v("liuqiangdong")]),t._v("。祝你好运，FO bless you! ")])]),a("div",{staticClass:"row-right"},[a("pre",[t._v("                      "),a("span",[t._v("# 进入自己的启动目录，将自己已损坏的数据目录删除")]),t._v("\n                      "),a("span",[t._v("cd /fibos-starter")]),t._v("\n                      "),a("span",[t._v("rm -rf liuqiangdong_Dir")]),t._v("\n                      "),a("span"),t._v("\n                      "),t._v("\n                      "),a("span",[t._v("# 根据你的网络情况，选择最新的 AWS S3 或青云备份数据 URL，进行下载")]),t._v("\n                      "),a("span",[t._v("wget https://liuqiangdong.pek3b.qingstor.com/2018-backup.tar.gz")]),t._v("\n                      "),a("span"),t._v("\n                      "),a("span",[t._v("# 解压缩会生成 liuqiangdong_Dir 目录，建议添加-S参数，可高效处理稀疏文件的解压，降低解压时间")]),t._v("\n                      "),a("span",[t._v("tar xvzSf 2018-backup.tar.gz")]),t._v("\n                      "),a("span"),t._v("\n                      "),a("span",[t._v("# 重新启动 fibos server")]),t._v("\n                      "),a("span",[t._v("nohup fibos server.js &")]),t._v("\n                      "),a("span"),t._v("\n                      "),a("span",[t._v("# 查看日志是否正确同步")]),t._v("\n                      "),a("span",[t._v("tail -f nohup.log")]),t._v("\n                      ")])])])])}],X=(a("55dd"),a("7f7f"),a("28a5"),a("d722")),Y={name:"backups",data:function(){return{backups:[],loading:!0}},mounted:function(){this.getBackups()},methods:{getBackups:function(){var t=this;X.getBackups().then(function(e){var a=e.map(function(t){var e=t.name.split("_");return t.name=e[0]+"_"+e[1]+"_"+e[2].slice(0,8)+"_"+e[2].slice(8),t});t.backups=a.sort(function(t,e){return new Date(e.updated)-new Date(t.updated)}),t.loading=!1})}},components:{}},Z=Y,tt=(a("1edf"),Object(c["a"])(Z,V,K,!1,null,"5eb7a822",null)),et=tt.exports,at=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"profile-page"},[t._m(0),a("section",{staticClass:"section section-skew"},[a("div",{staticClass:"container"},[a("card",{staticClass:"card-profile mt--300",attrs:{shadow:"","no-body":""}},[a("div",{staticClass:"px-4"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"card-profile-image align-center"},[a("a",{attrs:{href:"#"}},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:"img/theme/fibos.team.png",expression:"'img/theme/fibos.team.png'"}],staticClass:"rounded-circle",staticStyle:{"background-color":"#fff",width:"180px",height:"180px"}})])])]),a("div",{staticClass:"text-center",staticStyle:{"margin-top":"-2rem"}},[a("h3",{staticClass:"display-3"},[t._v("FIBOS TEAM")]),a("div",{staticClass:"h6 mt-3"},[t._v("FIBOS 超级节点竞选者")]),a("div",{staticClass:"font-weight-300 mt-2"},[t._v("北京 · 中国")])]),a("div",{staticClass:"mt-5 py-5 border-top text-center"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-lg-10  justify-content-md-center"},[a("p",[t._v("FIBOS TEAM 是由全栈工程师 PaddingMe 于 2018 年 9 月 4 日发起，")]),a("p",[t._v("维护 FIBOS 主网安全与稳定，向公众传播 FIBOS 知识， ")]),a("p",[t._v("为社区提供 FIBOS 衍生工具及服务是 FIBOS TEAM 义不容辞的使命。")]),a("table",{staticClass:"table col-lg-10 offset-md-1 ",staticStyle:{"margin-top":"2rem"}},[a("tr",[a("td",[t._v("节点账号")]),a("td",[a("code",[t._v("liuqiangdong")])])]),a("tr",[a("td",[t._v("HTTP")]),a("td",[t._v("http://api.fibos.team")])]),a("tr",[a("td",[t._v("HTTPS")]),a("td",[t._v("https://api.fibos.team")])]),a("tr",[a("td",[t._v("P2P")]),a("td",[t._v("p2p.fibos.team:9876")])])])])])])])])],1)])])},nt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("section",{staticClass:"section-profile-cover section-shaped my-0"},[a("div",{staticClass:"shape shape-style-1 shape-primary shape-skew alpha-4"},[a("span"),a("span"),a("span"),a("span"),a("span"),a("span"),a("span")])])}],st={},it=st,rt=(a("e76e"),Object(c["a"])(it,at,nt,!1,null,null,null)),ot=rt.exports;n["a"].use(p["a"]);var lt=new p["a"]({linkExactActiveClass:"active",routes:[{path:"/backups",name:"backups",components:{header:L,default:et,footer:Q}},{path:"/",name:"backups",components:{header:L,default:et,footer:Q}},{path:"/about",name:"about",components:{header:L,default:ot,footer:Q}}],scrollBehavior:function(t){return t.hash?{selector:t.hash}:{x:0,y:0}}}),ct=(a("4d1c"),a("d5a0"),a("a4d4"),function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(t.tag,{tag:"component",staticClass:"badge",class:["badge-"+t.type,t.rounded?"badge-pill":"",t.circle&&"badge-circle"]},[t._t("default",[t.icon?a("i",{class:t.icon}):t._e()])],2)}),dt=[],ut={name:"badge",props:{tag:{type:String,default:"span",description:"Html tag to use for the badge."},rounded:{type:Boolean,default:!1,description:"Whether badge is of pill type"},circle:{type:Boolean,default:!1,description:"Whether badge is circle"},icon:{type:String,default:"",description:"Icon name. Will be overwritten by slot if slot is used"},type:{type:String,default:"default",description:"Badge type (primary|info|danger|default|warning|success)"}}},pt=ut,ft=(a("a0d3"),Object(c["a"])(pt,ct,dt,!1,null,null,null)),gt=ft.exports,ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("fade-transition",[t.visible?a("div",{staticClass:"alert",class:["alert-"+t.type,{"alert-dismissible":t.dismissible}],attrs:{role:"alert"}},[t.dismissible?[t._t("default",[t.icon?a("span",{staticClass:"alert-inner--icon"},[a("i",{class:t.icon})]):t._e(),t.$slots.text?a("span",{staticClass:"alert-inner--text"},[t._t("text")],2):t._e()]),t._t("dismiss-icon",[a("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.dismissAlert}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])]:t._t("default",[t.icon?a("span",{staticClass:"alert-inner--icon"},[a("i",{class:t.icon})]):t._e(),t.$slots.text?a("span",{staticClass:"alert-inner--text"},[t._t("text")],2):t._e()])],2):t._e()])},vt=[],mt={name:"base-alert",components:{FadeTransition:r["a"]},props:{type:{type:String,default:"default",description:"Alert type"},icon:{type:String,default:"",description:"Alert icon. Will be overwritten by default slot"},dismissible:{type:Boolean,default:!1,description:"Whether alert is closes when clicking"}},data:function(){return{visible:!0}},methods:{dismissAlert:function(){this.visible=!1}}},bt=mt,yt=Object(c["a"])(bt,ht,vt,!1,null,null,null),_t=yt.exports,Ct=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a(t.tag,{tag:"component",staticClass:"btn",class:t.classes,attrs:{type:"button"===t.tag?t.nativeType:""},on:{click:t.handleClick}},[t.$slots.icon||t.icon&&t.$slots.default?a("span",{staticClass:"btn-inner--icon"},[t._t("icon",[a("i",{class:t.icon})])],2):t._e(),t.$slots.default?t._e():a("i",{class:t.icon}),t.$slots.icon||t.icon&&t.$slots.default?a("span",{staticClass:"btn-inner--text"},[t._t("default",[t._v("\n        "+t._s(t.text)+"\n      ")])],2):t._e(),t.$slots.icon||t.icon?t._e():t._t("default")],2)},wt=[],kt=a("a322"),xt={name:"base-button",props:{tag:{type:String,default:"button",description:"Button tag (default -> button)"},type:{type:String,default:"default",description:"Button type (e,g primary, danger etc)"},size:{type:String,default:"",description:"Button size lg|sm"},textColor:{type:String,default:"",description:"Button text color (e.g primary, danger etc)"},nativeType:{type:String,default:"button",description:"Button native type (e.g submit,button etc)"},icon:{type:String,default:"",description:"Button icon"},text:{type:String,default:"",description:"Button text in case not provided via default slot"},outline:{type:Boolean,default:!1,description:"Whether button style is outline"},rounded:{type:Boolean,default:!1,description:"Whether button style is rounded"},iconOnly:{type:Boolean,default:!1,description:"Whether button contains only an icon"},block:{type:Boolean,default:!1,description:"Whether button is of block type"}},computed:{classes:function(){var t=[{"btn-block":this.block},{"rounded-circle":this.rounded},{"btn-icon-only":this.iconOnly},Object(kt["a"])({},"text-".concat(this.textColor),this.textColor),{"btn-icon":this.icon||this.$slots.icon},this.type&&!this.outline?"btn-".concat(this.type):"",this.outline?"btn-outline-".concat(this.type):""];return this.size&&t.push("btn-".concat(this.size)),t}},methods:{handleClick:function(t){this.$emit("click",t)}}},St=xt,$t=(a("a13a"),Object(c["a"])(St,Ct,wt,!1,null,null,null)),Bt=$t.exports,Ot=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-control custom-checkbox",class:[{disabled:t.disabled},t.inlineClass]},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"custom-control-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,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=null,r=t._i(a,i);n.checked?r<0&&(t.model=a.concat([i])):r>-1&&(t.model=a.slice(0,r).concat(a.slice(r+1)))}else t.model=s}}}),a("label",{staticClass:"custom-control-label",attrs:{for:t.cbId}},[t._t("default",[t.inline?a("span",[t._v(" ")]):t._e()])],2)])},Pt=[],jt={name:"base-checkbox",model:{prop:"checked"},props:{checked:{type:[Array,Boolean],description:"Whether checkbox is checked"},disabled:{type:Boolean,description:"Whether checkbox is disabled"},inline:{type:Boolean,description:"Whether checkbox is inline"}},data:function(){return{cbId:"",touched:!1}},computed:{model:{get:function(){return this.checked},set:function(t){this.touched||(this.touched=!0),this.$emit("input",t)}},inlineClass:function(){if(this.inline)return"form-check-inline"}},created:function(){this.cbId=Math.random().toString(16).slice(2)}},It=jt,At=Object(c["a"])(It,Ot,Pt,!1,null,null,null),Et=At.exports,Tt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group",class:[{"input-group":t.hasIcon},{"has-danger":t.error},{focused:t.focused},{"input-group-alternative":t.alternative},{"has-label":t.label||t.$slots.label},{"has-success":!0===t.valid},{"has-danger":!1===t.valid}]},[t._t("label",[t.label?a("label",{class:t.labelClasses},[t._v("\n            "+t._s(t.label)+"\n            "),t.required?a("span",[t._v("*")]):t._e()]):t._e()]),t.addonLeftIcon||t.$slots.addonLeft?a("div",{staticClass:"input-group-prepend"},[a("span",{staticClass:"input-group-text"},[t._t("addonLeft",[a("i",{class:t.addonLeftIcon})])],2)]):t._e(),t._t("default",[a("input",t._g(t._b({staticClass:"form-control",class:[{"is-valid":!0===t.valid},{"is-invalid":!1===t.valid},t.inputClasses],attrs:{"aria-describedby":"addon-right addon-left"},domProps:{value:t.value}},"input",t.$attrs,!1),t.listeners))],null,t.slotData),t.addonRightIcon||t.$slots.addonRight?a("div",{staticClass:"input-group-append"},[a("span",{staticClass:"input-group-text"},[t._t("addonRight",[a("i",{class:t.addonRightIcon})])],2)]):t._e(),t._t("infoBlock"),t._t("helpBlock",[t.error?a("div",{staticClass:"text-danger invalid-feedback",class:{"mt-2":t.hasIcon},staticStyle:{display:"block"}},[t._v("\n            "+t._s(t.error)+"\n        ")]):t._e()])],2)},Wt=[],Dt=a("c93e"),zt={inheritAttrs:!1,name:"base-input",props:{required:{type:Boolean,description:"Whether input is required (adds an asterix *)"},valid:{type:Boolean,description:"Whether is valid",default:void 0},alternative:{type:Boolean,description:"Whether input is of alternative layout"},label:{type:String,description:"Input label (text before input)"},error:{type:String,description:"Input error (below input)"},labelClasses:{type:String,description:"Input label css classes"},inputClasses:{type:String,description:"Input css classes"},value:{type:[String,Number],description:"Input value"},addonRightIcon:{type:String,description:"Addon right icon"},addonLeftIcon:{type:String,description:"Addont left icon"}},data:function(){return{focused:!1}},computed:{listeners:function(){return Object(Dt["a"])({},this.$listeners,{input:this.updateValue,focus:this.onFocus,blur:this.onBlur})},slotData:function(){return Object(Dt["a"])({focused:this.focused},this.listeners)},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}},methods:{updateValue:function(t){var e=t.target.value;this.$emit("input",e)},onFocus:function(t){this.focused=!0,this.$emit("focus",t)},onBlur:function(t){this.focused=!1,this.$emit("blur",t)}}},qt=zt,Mt=(a("70c3"),Object(c["a"])(qt,Tt,Wt,!1,null,null,null)),Nt=Mt.exports,Ft=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",{staticClass:"pagination",class:[t.size&&"pagination-"+t.size,t.align&&"justify-content-"+t.align]},[a("li",{staticClass:"page-item prev-page",class:{disabled:1===t.value}},[a("a",{staticClass:"page-link",attrs:{"aria-label":"Previous"},on:{click:t.prevPage}},[t._m(0)])]),t._l(t.range(t.minPage,t.maxPage),function(e){return a("li",{key:e,staticClass:"page-item",class:{active:t.value===e}},[a("a",{staticClass:"page-link",on:{click:function(a){t.changePage(e)}}},[t._v(t._s(e))])])}),a("li",{staticClass:"page-item next-page",class:{disabled:t.value===t.totalPages}},[a("a",{staticClass:"page-link",attrs:{"aria-label":"Next"},on:{click:t.nextPage}},[t._m(1)])])],2)},Lt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{attrs:{"aria-hidden":"true"}},[a("i",{staticClass:"fa fa-angle-left",attrs:{"aria-hidden":"true"}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("span",{attrs:{"aria-hidden":"true"}},[a("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})])}],Rt={name:"base-pagination",props:{pageCount:{type:Number,default:0,description:"Pagination page count. This should be specified in combination with perPage"},perPage:{type:Number,default:10,description:"Pagination per page. Should be specified with total or pageCount"},total:{type:Number,default:0,description:"Can be specified instead of pageCount. The page count in this case will be total/perPage"},value:{type:Number,default:1,description:"Pagination value"},size:{type:String,default:"",description:"Pagination size"},align:{type:String,default:"",description:"Pagination alignment (e.g center|start|end)"}},computed:{totalPages:function(){return this.pageCount>0?this.pageCount:this.total>0?Math.ceil(this.total/this.perPage):1},pagesToDisplay:function(){return this.totalPages>0&&this.totalPages<this.defaultPagesToDisplay?this.totalPages:this.defaultPagesToDisplay},minPage:function(){if(this.value>=this.pagesToDisplay){var t=Math.floor(this.pagesToDisplay/2),e=t+this.value;return e>this.totalPages?this.totalPages-this.pagesToDisplay+1:this.value-t}return 1},maxPage:function(){if(this.value>=this.pagesToDisplay){var t=Math.floor(this.pagesToDisplay/2),e=t+this.value;return e<this.totalPages?e:this.totalPages}return this.pagesToDisplay}},data:function(){return{defaultPagesToDisplay:5}},methods:{range:function(t,e){for(var a=[],n=t;n<=e;n++)a.push(n);return a},changePage:function(t){this.$emit("input",t)},nextPage:function(){this.value<this.totalPages&&this.$emit("input",this.value+1)},prevPage:function(){this.value>1&&this.$emit("input",this.value-1)}},watch:{perPage:function(){this.$emit("input",1)},total:function(){this.$emit("input",1)}}},Ut=Rt,Gt=Object(c["a"])(Ut,Ft,Lt,!1,null,null,null),Ht=Gt.exports,Jt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"progress-wrapper"},[a("div",{class:"progress-"+t.type},[a("div",{staticClass:"progress-label"},[t._t("label",[a("span",[t._v(t._s(t.label))])])],2),a("div",{staticClass:"progress-percentage"},[t._t("default",[a("span",[t._v(t._s(t.value)+"%")])])],2)]),a("div",{staticClass:"progress",style:"height: "+t.height+"px"},[a("div",{staticClass:"progress-bar",class:t.computedClasses,style:"width: "+t.value+"%;",attrs:{role:"progressbar","aria-valuenow":t.value,"aria-valuemin":"0","aria-valuemax":"100"}})])])},Qt=[],Vt={name:"base-progress",props:{striped:{type:Boolean,description:"Whether progress is striped"},animated:{type:Boolean,description:"Whether progress is animated (works only with `striped` prop together)"},label:{type:String,description:"Progress label (shown on the left above progress)"},height:{type:Number,default:8,description:"Progress line height"},type:{type:String,default:"default",description:"Progress type (e.g danger, primary etc)"},value:{type:Number,default:0,validator:function(t){return t>=0&&t<=100},description:"Progress value"}},computed:{computedClasses:function(){return[{"progress-bar-striped":this.striped},{"progress-bar-animated":this.animated},Object(kt["a"])({},"bg-".concat(this.type),this.type)]}}},Kt=Vt,Xt=(a("177a"),Object(c["a"])(Kt,Jt,Qt,!1,null,null,null)),Yt=Xt.exports,Zt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-control custom-radio",class:[t.inlineClass,{disabled:t.disabled}]},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"custom-control-input",attrs:{id:t.cbId,type:"radio",disabled:t.disabled},domProps:{value:t.name,checked:t._q(t.model,t.name)},on:{change:function(e){t.model=t.name}}}),a("label",{staticClass:"custom-control-label",attrs:{for:t.cbId}},[t._t("default")],2)])},te=[],ee={name:"base-radio",props:{name:{type:[String,Number],description:"Radio label"},disabled:{type:Boolean,description:"Whether radio is disabled"},value:{type:[String,Boolean],description:"Radio value"},inline:{type:Boolean,description:"Whether radio is inline"}},data:function(){return{cbId:""}},computed:{model:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},inlineClass:function(){return this.inline?"form-check-inline":""}},created:function(){this.cbId=Math.random().toString(16).slice(2)}},ae=ee,ne=Object(c["a"])(ae,Zt,te,!1,null,null,null),se=ne.exports,ie=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-slider-container"},[a("div",{ref:"slider",staticClass:"input-slider",class:["slider-"+t.type],attrs:{disabled:t.disabled}})])},re=[],oe=a("e9fa"),le=a.n(oe),ce={name:"base-slider",props:{value:{type:[String,Array,Number],description:"Slider value"},disabled:{type:Boolean,description:"Whether slider is disabled"},range:{type:Object,default:function(){return{min:0,max:100}},description:"Slider range (defaults to 0-100)"},type:{type:String,default:"",description:"Slider type (e.g primary, danger etc)"},options:{type:Object,default:function(){return{}},description:"noUiSlider options"}},computed:{connect:function(){return Array.isArray(this.value)||[!0,!1]}},data:function(){return{slider:null}},methods:{createSlider:function(){var t=this;le.a.create(this.$refs.slider,Object(Dt["a"])({start:this.value,connect:this.connect,range:this.range},this.options));var e=this.$refs.slider.noUiSlider;e.on("slide",function(){var a=e.get();a!==t.value&&t.$emit("input",a)})}},mounted:function(){this.createSlider()},watch:{value:function(t,e){var a=this.$refs.slider.noUiSlider,n=a.get();t!==e&&n!==t&&(Array.isArray(n)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,a){return e===t[a]})&&a.set(t):a.set(t))}}},de=ce,ue=Object(c["a"])(de,ie,re,!1,null,null,null),pe=ue.exports,fe=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("label",{staticClass:"custom-toggle"},[a("input",t._g(t._b({directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t.model},on:{change:function(e){var a=t.model,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=null,r=t._i(a,i);n.checked?r<0&&(t.model=a.concat([i])):r>-1&&(t.model=a.slice(0,r).concat(a.slice(r+1)))}else t.model=s}}},"input",t.$attrs,!1),t.$listeners)),a("span",{staticClass:"custom-toggle-slider rounded-circle"})])},ge=[],he={name:"base-switch",inheritAttrs:!1,props:{value:{type:Boolean,default:!1,description:"Switch value"}},computed:{model:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}}},ve=he,me=(a("904e"),Object(c["a"])(ve,fe,ge,!1,null,null,null)),be=me.exports,ye=function(){var t,e,a,n=this,s=n.$createElement,i=n._self._c||s;return i("div",{staticClass:"card",class:[{"card-lift--hover":n.hover},{shadow:n.shadow},(t={},t["shadow-"+n.shadowSize]=n.shadowSize,t),(e={},e["bg-gradient-"+n.gradient]=n.gradient,e),(a={},a["bg-"+n.type]=n.type,a)]},[n.$slots.header?i("div",{staticClass:"card-header",class:n.headerClasses},[n._t("header")],2):n._e(),n.noBody?n._e():i("div",{staticClass:"card-body",class:n.bodyClasses},[n._t("default")],2),n.noBody?n._t("default"):n._e(),n.$slots.footer?i("div",{staticClass:"card-footer",class:n.footerClasses},[n._t("footer")],2):n._e()],2)},_e=[],Ce={name:"card",props:{type:{type:String,description:"Card type"},gradient:{type:String,description:"Card background gradient type (warning,danger etc)"},hover:{type:Boolean,description:"Whether card should move on hover"},shadow:{type:Boolean,description:"Whether card has shadow"},shadowSize:{type:String,description:"Card shadow size"},noBody:{type:Boolean,default:!1,description:"Whether card should have wrapper body class"},bodyClasses:{type:[String,Object,Array],description:"Card body css classes"},headerClasses:{type:[String,Object,Array],description:"Card header css classes"},footerClasses:{type:[String,Object,Array],description:"Card footer css classes"}}},we=Ce,ke=(a("0ab0"),Object(c["a"])(we,ye,_e,!1,null,null,null)),xe=ke.exports,Se=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"icon icon-shape",class:[t.size&&"icon-"+t.size,t.type&&"icon-shape-"+t.type,t.gradient&&"bg-gradient-"+t.gradient,t.shadow&&"shadow",t.rounded&&"rounded-circle",t.color&&"text-"+t.color]},[t._t("default",[a("i",{class:t.name})])],2)},$e=[],Be={name:"icon",props:{name:{type:String,default:"",description:"Icon name"},size:{type:String,default:"",description:"Icon size"},type:{type:String,default:"",description:"Icon type (primary, warning etc)"},gradient:{type:String,default:"",description:"Icon gradient type (primary, warning etc)"},color:{type:String,default:"",description:"Icon color (primary, warning etc)"},shadow:{type:Boolean,default:!1,description:"Whether icon has shadow"},rounded:{type:Boolean,default:!1,description:"Whether icon is rounded"}}},Oe=Be,Pe=Object(c["a"])(Oe,Se,$e,!1,null,null,null),je=Pe.exports,Ie={install:function(t){t.component(gt.name,gt),t.component(_t.name,_t),t.component(Bt.name,Bt),t.component(Nt.name,Nt),t.component(Et.name,Et),t.component(Ht.name,Ht),t.component(Yt.name,Yt),t.component(se.name,se),t.component(pe.name,pe),t.component(be.name,be),t.component(xe.name,xe),t.component(je.name,je)}},Ae={bind:function(t,e,a){t.clickOutsideEvent=function(n){t==n.target||t.contains(n.target)||a.context[e.expression](n)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}},Ee={install:function(t){t.directive("click-outside",Ae)}},Te=Ee,We=a("283e"),De=a.n(We),ze={install:function(t){t.use(Ie),t.use(Te),t.use(De.a)}},qe=a("967d");n["a"].config.productionTip=!1,n["a"].use(ze),n["a"].use(qe["default"]),new n["a"]({router:lt,render:function(t){return t(u)}}).$mount("#app")},"5e4d":function(t,e,a){},"6bc0":function(t,e,a){},7046:function(t,e,a){},"70c3":function(t,e,a){"use strict";var n=a("c6c5"),s=a.n(n);s.a},7897:function(t,e,a){},"841c":function(t,e,a){"use strict";var n=a("99b6"),s=a.n(n);s.a},"904e":function(t,e,a){"use strict";var n=a("c2a9"),s=a.n(n);s.a},"99b6":function(t,e,a){},"9ce8":function(t,e,a){},a0d3:function(t,e,a){"use strict";var n=a("23ad"),s=a.n(n);s.a},a13a:function(t,e,a){"use strict";var n=a("4592"),s=a.n(n);s.a},a4d4:function(t,e,a){},b2d3:function(t,e,a){"use strict";var n=a("6bc0"),s=a.n(n);s.a},b5fc:function(t,e,a){},c2a9:function(t,e,a){},c597:function(t,e,a){},c653:function(t,e,a){"use strict";var n=a("c597"),s=a.n(n);s.a},c6c5:function(t,e,a){},d5a0:function(t,e,a){},d722:function(t,e,a){"use strict";a.r(e);var n=a("bc3a"),s=a.n(n),i=a("4328"),r=a.n(i),o="https://monitor.fibos.team";function l(t){var e=t.method,a=void 0===e?"get":e,n=t.url,i=t.data,r=t.params;return s.a.request({method:a,url:n,data:i,params:r,timeout:2e4})}function c(){return l({url:"/api/backups"})}s.a.defaults.baseURL=o,s.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",s.a.interceptors.request.use(function(t){if("get"===t.method){var e=/\?.*=.*/g.test(t.url),a=(new Date).getTime();t.url+=e?"&t=".concat(a):"?t=".concat(a)}return"post"!==t.method&&"put"!==t.method||(t.data=r.a.stringify(t.data)),t},function(t){return Promise.reject(t)}),s.a.interceptors.response.use(function(t){var e=t.data;return e},function(t){t.response;return Promise.reject(t)}),a.d(e,"getBackups",function(){return c})},d9fa:function(t,e,a){},dcd2:function(t,e,a){"use strict";var n=a("7897"),s=a.n(n);s.a},e76e:function(t,e,a){"use strict";var n=a("5e4d"),s=a.n(n);s.a},f364:function(t,e,a){"use strict";var n=a("9ce8"),s=a.n(n);s.a}});
  //# sourceMappingURL=app.ad5881ed.js.map