(this.webpackJsonp=this.webpackJsonp||[]).push([[141],{KHN1:function(e,t,n){},SE03:function(e,t){e.exports="data:image/png;base64,[encoded data, 6540 characters]"},TT9e: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=n("cDcd"),a=d(A);n("KHN1"),d(n("SE03"));var l=d(n("CnBM")),c=n("dtw8"),i=d(n("HUFq")),o=(n("eO8H"),d(n("vDqi")));function d(e){return e&&e.__esModule?e:{default:e}}var f=(0,l.default)({loader:function(){return n.e(160).then(n.t.bind(null,"VJFx",7))},loading:i.default}),u=(0,l.default)({loader:function(){return Promise.all([n.e(0),n.e(140)]).then(n.t.bind(null,"jqZs",7))},loading:i.default}),g=(0,l.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(8),n.e(70)]).then(n.t.bind(null,"GLkv",7))},loading:i.default});t.default=function(e){var t=e.match.params,n=t.owner,l=t.projectsId,i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,A=!1,a=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){A=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(A)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}((0,A.useState)(null),2),d=i[0],s=i[1],E=e.projectDetail;return(0,A.useEffect)((function(){if(E){var e=E.author,t=E.name;document.title="reposyncer-"+e.name+"/"+t}}),[E]),(0,A.useEffect)((function(){o.default.get("/"+n+"/"+l+"/synchronizes.json").then((function(e){e&&"success"===e.data.message&&s(e.data.data)}))}),[]),a.default.createElement("div",{className:"reposyncerBox"},a.default.createElement(c.Switch,e,a.default.createElement(c.Route,{path:"/:owner/:projectsId/service/reposyncer/record/:type",render:function(t){return a.default.createElement(g,r({},e,t,{storeDetail:d}))}}),a.default.createElement(c.Route,{path:"/:owner/:projectsId/service/reposyncer/store/edit",render:function(t){return a.default.createElement(f,r({},e,t))}}),a.default.createElement(c.Route,{path:"/:owner/:projectsId/service/reposyncer",render:function(t){return a.default.createElement(u,r({},e,t,{storeDetail:d}))}})))}}}]);