frp/assets/frps/static/js/app.bb942a48.js

2 lines
29 KiB
JavaScript
Raw Normal View History

2020-12-03 20:23:43 +08:00
(function(t){function e(e){for(var a,s,i=e[0],l=e[1],c=e[2],u=0,f=[];u<i.length;u++)s=i[u],Object.prototype.hasOwnProperty.call(o,s)&&o[s]&&f.push(o[s][0]),o[s]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);p&&p(e);while(f.length)f.shift()();return n.push.apply(n,c||[]),r()}function r(){for(var t,e=0;e<n.length;e++){for(var r=n[e],a=!0,i=1;i<r.length;i++){var l=r[i];0!==o[l]&&(a=!1)}a&&(n.splice(e--,1),t=s(s.s=r[0]))}return t}var a={},o={app:0},n=[];function s(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=a,s.d=function(t,e,r){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},s.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)s.d(r,a,function(e){return t[e]}.bind(null,a));return r},s.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="";var i=window["webpackJsonp"]=window["webpackJsonp"]||[],l=i.push.bind(i);i.push=e,i=i.slice();for(var c=0;c<i.length;c++)e(i[c]);var p=l;n.push([0,"chunk-vendors"]),r()})({0:function(t,e,r){t.exports=r("56d7")},"034f":function(t,e,r){"use strict";r("85ec")},"0d60":function(t,e,r){"use strict";r("a5c3")},"56d7":function(t,e,r){"use strict";r.r(e);r("e260"),r("e6cf"),r("cca6"),r("a79d");var a=r("2b0e"),o=r("5c96"),n=r("b2d6"),s=r.n(n),i=r("4897"),l=r.n(i),c=(r("0fae"),r("8577"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"app"}},[r("header",{staticClass:"grid-content header-color"},[r("el-row",[r("a",{staticClass:"brand",attrs:{href:"#"}},[t._v("frp")])])],1),r("section",[r("el-row",[r("el-col",{attrs:{id:"side-nav",xs:24,md:4}},[r("el-menu",{attrs:{"default-active":"1",mode:"vertical",theme:"light",router:""},on:{select:t.handleSelect}},[r("el-menu-item",{attrs:{index:"/"}},[t._v("Overview")]),r("el-submenu",{attrs:{index:"/proxies"}},[r("template",{slot:"title"},[t._v("Proxies")]),r("el-menu-item",{attrs:{index:"/proxies/tcp"}},[t._v("TCP")]),r("el-menu-item",{attrs:{index:"/proxies/udp"}},[t._v("UDP")]),r("el-menu-item",{attrs:{index:"/proxies/http"}},[t._v("HTTP")]),r("el-menu-item",{attrs:{index:"/proxies/https"}},[t._v("HTTPS")]),r("el-menu-item",{attrs:{index:"/proxies/stcp"}},[t._v("STCP")])],2),r("el-menu-item",{attrs:{index:""}},[t._v("Help")])],1)],1),r("el-col",{attrs:{xs:24,md:20}},[r("div",{attrs:{id:"content"}},[t.serverInfo?r("router-view"):t._e()],1)])],1)],1)])}),p=[],u=(r("96cf"),r("1da1")),f={computed:{serverInfo:function(){return this.$store.state.serverInfo}},created:function(){var t=this;return Object(u["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$store.dispatch("fetchServerInfo");case 1:case"end":return e.stop()}}),e)})))()},methods:{handleSelect:function(t,e){""===t&&window.open("https://github.com/fatedier/frp")}}},m=f,_=(r("034f"),r("2877")),d=Object(_["a"])(m,c,p,!1,null,null,null),h=d.exports,b=r("8c4f"),v=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("el-row",[r("el-col",{attrs:{md:12}},[r("div",{staticClass:"source"},[r("el-form",{staticClass:"server_info",attrs:{"label-position":"left"}},[r("el-form-item",{attrs:{label:"Version"}},[r("span",[t._v(t._s(t.version))])]),r("el-form-item",{attrs:{label:"BindPort"}},[r("span",[t._v(t._s(t.bind_port))])]),r("el-form-item",{attrs:{label:"BindUdpPort"}},[r("span",[t._v(t._s(t.bind_udp_port))])]),r("el-form-item",{attrs:{label:"Http Port"}},[r("span",[t._v(t._s(t.vhost_http_port))])]),r("el-form-item",{attrs:{label:"Https Port"}},[r("span",[t._v(t._s(t.vhost_https_port
//# sourceMappingURL=app.bb942a48.js.map