forked from Gitlink/forgeplus
1 line
1.9 KiB
JavaScript
1 line
1.9 KiB
JavaScript
(this.webpackJsonp=this.webpackJsonp||[]).push([[127],{dtw8:function(t,e,n){"use strict";n.r(e);var r=n("8Wa3");n.d(e,"MemoryRouter",(function(){return r.a}));var a=n("LWYa");n.d(e,"Prompt",(function(){return a.a}));var u=n("mLw1");n.d(e,"Redirect",(function(){return u.a}));var o=n("4p7I");n.d(e,"Route",(function(){return o.a}));var i=n("nr6O");n.d(e,"Router",(function(){return i.a}));var c=n("yczp");n.d(e,"StaticRouter",(function(){return c.a}));var l=n("yoKv");n.d(e,"Switch",(function(){return l.a}));var d=n("l1PF");n.d(e,"generatePath",(function(){return d.a}));var f=n("SsKX");n.d(e,"matchPath",(function(){return f.a}));var s=n("9C/b");n.d(e,"withRouter",(function(){return s.a}))},klRS:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a=s(n("q1tI")),u=n("eO8H"),o=s(n("CnBM")),i=s(n("HUFq")),c=n("dtw8"),l=n("sYIF"),d=n("1thW"),f=n("5A3O");function s(t){return t&&t.__esModule?t:{default:t}}var p=(0,o.default)({loader:function(){return n.e(76).then(n.t.bind(null,"xjFL",7))},loading:i.default}),h=(0,o.default)({loader:function(){return Promise.all([n.e(2),n.e(14),n.e(13)]).then(n.t.bind(null,"NUct",7))},loading:i.default});e.default=(0,c.withRouter)((0,d.CNotificationHOC)()((0,l.SnackbarHOC)()((0,f.TPMIndexHOC)((function(t){var e="";t.location.pathname&&(e=t.location.pathname.split("/")[2]);return a.default.createElement(u.Switch,null,e&&!["statistics","projects","notice","devops","organizes","info","following","followers","password"].includes(e)?a.default.createElement(u.Route,{path:"/:owner/:projectsId",render:function(e){return a.default.createElement(h,r({},t,e))}}):a.default.createElement(u.Route,{path:"/:username",render:function(e){return a.default.createElement(p,r({},t,e))}}))})))))}}]); |