forgeplus/public/react/build/static/js/112.a04ed85e.chunk.js

1 line
3.8 KiB
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{"+JVH":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("q1tI"),l=i(o),u=n("eO8H"),c=i(n("CnBM")),f=i(n("HUFq"));function i(e){return e&&e.__esModule?e:{default:e}}n("/oTB");var d=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(11),n.e(57)]).then(n.t.bind(null,"eacs",7))},loading:f.default}),s=(0,c.default)({loader:function(){return Promise.all([n.e(3),n.e(4),n.e(9),n.e(91)]).then(n.t.bind(null,"jP00",7))},loading:f.default}),p=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(18)]).then(n.t.bind(null,"VEFH",7))},loading:f.default}),m=(0,c.default)({loader:function(){return n.e(88).then(n.t.bind(null,"GU58",7))},loading:f.default}),h=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(41)]).then(n.t.bind(null,"n5qf",7))},loading:f.default}),b=(0,c.default)({loader:function(){return n.e(90).then(n.t.bind(null,"Qe4H",7))},loading:f.default}),E=(0,c.default)({loader:function(){return Promise.all([n.e(3),n.e(68)]).then(n.t.bind(null,"cfbA",7))},loading:f.default}),w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={coderCount:void 0},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this;return l.default.createElement("div",{className:"coderSubPage"},l.default.createElement(u.Switch,this.props,l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/newfile/:path",render:function(t){return l.default.createElement(d,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/uploadfile",render:function(t){return l.default.createElement(s,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/:branch/newfile",render:function(t){return l.default.createElement(d,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits/branch/:branchName",render:function(){return l.default.createElement(p,r({},e.props,e.state,{commit_class:"main"}))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits/:sha",render:function(t){return l.default.createElement(E,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/commits",render:function(){return l.default.createElement(p,r({},e.props,e.state,{commit_class:"main"}))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/releases",render:function(){return l.default.createElement(b,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/tags",render:function(){return l.default.createElement(h,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/:owner/:projectsId/branches",render:function(){return l.default.createElement(m,r({},e.props,e.state))}})))}}]),t}(o.Component);t.default=w},"/oTB":function(e,t,n){}}]);