build-branchroute

This commit is contained in:
caishi 2020-11-24 10:25:10 +08:00
parent 611ce1a53f
commit 44629b2609
28 changed files with 149 additions and 38 deletions

View File

@ -24,7 +24,7 @@
"./static/js/12.a05dbe12.chunk.js": "/react/build/./static/js/12.a05dbe12.chunk.js",
"./static/js/13.9b6e9907.chunk.js": "/react/build/./static/js/13.9b6e9907.chunk.js",
"static/css/14.b5cf2868.chunk.css": "/react/build/static/css/14.b5cf2868.chunk.css",
"./static/js/14.8a19a2e7.chunk.js": "/react/build/./static/js/14.8a19a2e7.chunk.js",
"./static/js/14.2214d52c.chunk.js": "/react/build/./static/js/14.2214d52c.chunk.js",
"static/css/15.25e27165.chunk.css": "/react/build/static/css/15.25e27165.chunk.css",
"./static/js/15.3b2f7cd2.chunk.js": "/react/build/./static/js/15.3b2f7cd2.chunk.js",
"static/css/16.3ec8fede.chunk.css": "/react/build/static/css/16.3ec8fede.chunk.css",
@ -32,15 +32,15 @@
"static/css/17.70e0eb73.chunk.css": "/react/build/static/css/17.70e0eb73.chunk.css",
"./static/js/17.21a305b4.chunk.js": "/react/build/./static/js/17.21a305b4.chunk.js",
"static/css/18.cd5da53a.chunk.css": "/react/build/static/css/18.cd5da53a.chunk.css",
"./static/js/18.51dfdf05.chunk.js": "/react/build/./static/js/18.51dfdf05.chunk.js",
"./static/js/18.2e854663.chunk.js": "/react/build/./static/js/18.2e854663.chunk.js",
"static/css/19.b339dccf.chunk.css": "/react/build/static/css/19.b339dccf.chunk.css",
"./static/js/19.6aaef1aa.chunk.js": "/react/build/./static/js/19.6aaef1aa.chunk.js",
"./static/js/19.2017de54.chunk.js": "/react/build/./static/js/19.2017de54.chunk.js",
"static/css/20.261aa1bd.chunk.css": "/react/build/static/css/20.261aa1bd.chunk.css",
"./static/js/20.433013c0.chunk.js": "/react/build/./static/js/20.433013c0.chunk.js",
"./static/js/20.82832bc7.chunk.js": "/react/build/./static/js/20.82832bc7.chunk.js",
"static/css/21.9291ec2c.chunk.css": "/react/build/static/css/21.9291ec2c.chunk.css",
"./static/js/21.842a4104.chunk.js": "/react/build/./static/js/21.842a4104.chunk.js",
"./static/js/21.fb468d2a.chunk.js": "/react/build/./static/js/21.fb468d2a.chunk.js",
"static/css/22.f1e79fef.chunk.css": "/react/build/static/css/22.f1e79fef.chunk.css",
"./static/js/22.d627ca41.chunk.js": "/react/build/./static/js/22.d627ca41.chunk.js",
"./static/js/22.a1c7096d.chunk.js": "/react/build/./static/js/22.a1c7096d.chunk.js",
"static/css/23.087c9a1e.chunk.css": "/react/build/static/css/23.087c9a1e.chunk.css",
"./static/js/23.9c7f6493.chunk.js": "/react/build/./static/js/23.9c7f6493.chunk.js",
"static/css/24.087c9a1e.chunk.css": "/react/build/static/css/24.087c9a1e.chunk.css",
@ -68,9 +68,9 @@
"static/css/35.7349f8f1.chunk.css": "/react/build/static/css/35.7349f8f1.chunk.css",
"./static/js/35.ccfa4e55.chunk.js": "/react/build/./static/js/35.ccfa4e55.chunk.js",
"static/css/36.8a98e92f.chunk.css": "/react/build/static/css/36.8a98e92f.chunk.css",
"./static/js/36.e42272f7.chunk.js": "/react/build/./static/js/36.e42272f7.chunk.js",
"./static/js/36.4944f41c.chunk.js": "/react/build/./static/js/36.4944f41c.chunk.js",
"static/css/37.353b7adb.chunk.css": "/react/build/static/css/37.353b7adb.chunk.css",
"./static/js/37.284721ef.chunk.js": "/react/build/./static/js/37.284721ef.chunk.js",
"./static/js/37.0e0f7c13.chunk.js": "/react/build/./static/js/37.0e0f7c13.chunk.js",
"static/css/38.dc40b949.chunk.css": "/react/build/static/css/38.dc40b949.chunk.css",
"./static/js/38.b1e4d6bf.chunk.js": "/react/build/./static/js/38.b1e4d6bf.chunk.js",
"static/css/39.b8dcc10e.chunk.css": "/react/build/static/css/39.b8dcc10e.chunk.css",
@ -84,17 +84,17 @@
"static/css/43.dba177bc.chunk.css": "/react/build/static/css/43.dba177bc.chunk.css",
"./static/js/43.8a63a1bb.chunk.js": "/react/build/./static/js/43.8a63a1bb.chunk.js",
"static/css/44.cce966d7.chunk.css": "/react/build/static/css/44.cce966d7.chunk.css",
"./static/js/44.6f1cd61d.chunk.js": "/react/build/./static/js/44.6f1cd61d.chunk.js",
"./static/js/44.1fc08054.chunk.js": "/react/build/./static/js/44.1fc08054.chunk.js",
"static/css/45.7fa469d0.chunk.css": "/react/build/static/css/45.7fa469d0.chunk.css",
"./static/js/45.97eb3969.chunk.js": "/react/build/./static/js/45.97eb3969.chunk.js",
"static/css/46.cce966d7.chunk.css": "/react/build/static/css/46.cce966d7.chunk.css",
"./static/js/46.209b37f6.chunk.js": "/react/build/./static/js/46.209b37f6.chunk.js",
"./static/js/46.7d963dd3.chunk.js": "/react/build/./static/js/46.7d963dd3.chunk.js",
"static/css/47.8e39db6c.chunk.css": "/react/build/static/css/47.8e39db6c.chunk.css",
"./static/js/47.bbe55d91.chunk.js": "/react/build/./static/js/47.bbe55d91.chunk.js",
"static/css/48.26789140.chunk.css": "/react/build/static/css/48.26789140.chunk.css",
"./static/js/48.395c3ba0.chunk.js": "/react/build/./static/js/48.395c3ba0.chunk.js",
"static/css/49.c347466a.chunk.css": "/react/build/static/css/49.c347466a.chunk.css",
"./static/js/49.86d63edf.chunk.js": "/react/build/./static/js/49.86d63edf.chunk.js",
"./static/js/49.9e55048d.chunk.js": "/react/build/./static/js/49.9e55048d.chunk.js",
"static/css/50.fac0c3b4.chunk.css": "/react/build/static/css/50.fac0c3b4.chunk.css",
"./static/js/50.af868cf6.chunk.js": "/react/build/./static/js/50.af868cf6.chunk.js",
"static/css/51.1be69314.chunk.css": "/react/build/static/css/51.1be69314.chunk.css",
@ -113,7 +113,7 @@
"./static/js/57.5ede58d3.chunk.js": "/react/build/./static/js/57.5ede58d3.chunk.js",
"static/css/58.ee009106.chunk.css": "/react/build/static/css/58.ee009106.chunk.css",
"./static/js/58.e28e2146.chunk.js": "/react/build/./static/js/58.e28e2146.chunk.js",
"static/css/59.df4fd66d.chunk.css": "/react/build/static/css/59.df4fd66d.chunk.css",
"static/css/59.354032de.chunk.css": "/react/build/static/css/59.354032de.chunk.css",
"./static/js/59.663e51e6.chunk.js": "/react/build/./static/js/59.663e51e6.chunk.js",
"static/css/60.971b56a9.chunk.css": "/react/build/static/css/60.971b56a9.chunk.css",
"./static/js/60.13d5f5d4.chunk.js": "/react/build/./static/js/60.13d5f5d4.chunk.js",
@ -121,9 +121,9 @@
"./static/js/61.9267c957.chunk.js": "/react/build/./static/js/61.9267c957.chunk.js",
"static/css/62.3cafee70.chunk.css": "/react/build/static/css/62.3cafee70.chunk.css",
"./static/js/62.89108d5a.chunk.js": "/react/build/./static/js/62.89108d5a.chunk.js",
"./static/js/63.77926890.chunk.js": "/react/build/./static/js/63.77926890.chunk.js",
"./static/js/63.3f54475e.chunk.js": "/react/build/./static/js/63.3f54475e.chunk.js",
"static/css/64.5695dd0f.chunk.css": "/react/build/static/css/64.5695dd0f.chunk.css",
"./static/js/64.69d76fac.chunk.js": "/react/build/./static/js/64.69d76fac.chunk.js",
"./static/js/64.4ed2041e.chunk.js": "/react/build/./static/js/64.4ed2041e.chunk.js",
"static/css/65.e522dd89.chunk.css": "/react/build/static/css/65.e522dd89.chunk.css",
"./static/js/65.00e74510.chunk.js": "/react/build/./static/js/65.00e74510.chunk.js",
"static/css/66.1be69314.chunk.css": "/react/build/static/css/66.1be69314.chunk.css",
@ -140,9 +140,9 @@
"./static/js/74.28d89f1b.chunk.js": "/react/build/./static/js/74.28d89f1b.chunk.js",
"./static/js/75.30f92dd2.chunk.js": "/react/build/./static/js/75.30f92dd2.chunk.js",
"./static/js/76.686b0d15.chunk.js": "/react/build/./static/js/76.686b0d15.chunk.js",
"static/css/77.d6ce7cd7.chunk.css": "/react/build/static/css/77.d6ce7cd7.chunk.css",
"static/css/77.0d7a65ca.chunk.css": "/react/build/static/css/77.0d7a65ca.chunk.css",
"./static/js/77.25ef1d6a.chunk.js": "/react/build/./static/js/77.25ef1d6a.chunk.js",
"./static/js/78.12076f56.chunk.js": "/react/build/./static/js/78.12076f56.chunk.js",
"./static/js/78.a4bacb13.chunk.js": "/react/build/./static/js/78.a4bacb13.chunk.js",
"./static/js/79.39e19f87.chunk.js": "/react/build/./static/js/79.39e19f87.chunk.js",
"static/css/80.2ac07d1f.chunk.css": "/react/build/static/css/80.2ac07d1f.chunk.css",
"./static/js/80.79b4afa9.chunk.js": "/react/build/./static/js/80.79b4afa9.chunk.js",
@ -155,7 +155,7 @@
"./static/js/86.28b5943e.chunk.js": "/react/build/./static/js/86.28b5943e.chunk.js",
"./static/js/87.6e4fc12d.chunk.js": "/react/build/./static/js/87.6e4fc12d.chunk.js",
"./static/js/88.fd9a435c.chunk.js": "/react/build/./static/js/88.fd9a435c.chunk.js",
"./static/js/89.2d98c992.chunk.js": "/react/build/./static/js/89.2d98c992.chunk.js",
"./static/js/89.0f801533.chunk.js": "/react/build/./static/js/89.0f801533.chunk.js",
"./static/js/90.e7cc8ec7.chunk.js": "/react/build/./static/js/90.e7cc8ec7.chunk.js",
"./static/js/91.767e8c09.chunk.js": "/react/build/./static/js/91.767e8c09.chunk.js",
"./static/js/92.c5cd8966.chunk.js": "/react/build/./static/js/92.c5cd8966.chunk.js",
@ -211,7 +211,7 @@
"./static/js/142.868b565c.chunk.js": "/react/build/./static/js/142.868b565c.chunk.js",
"main.css": "/react/build/static/css/main.8a37899d.chunk.css",
"main.js": "/react/build/./static/js/main.9a944d13.chunk.js",
"runtime~main.js": "/react/build/./static/js/runtime~main.2d682b20.js",
"runtime~main.js": "/react/build/./static/js/runtime~main.81d7ea3c.js",
"./static/js/137.49ee47b7.chunk.js.LICENSE.txt": "/react/build/./static/js/137.49ee47b7.chunk.js.LICENSE.txt",
"./static/js/28.38b569c1.chunk.js.LICENSE.txt": "/react/build/./static/js/28.38b569c1.chunk.js.LICENSE.txt",
"./static/js/6.a952f14e.chunk.js.LICENSE.txt": "/react/build/./static/js/6.a952f14e.chunk.js.LICENSE.txt",

111
css/merge.css Executable file
View File

@ -0,0 +1,111 @@
.CodeMirror-merge {
position: relative;
white-space: pre;
}
.CodeMirror-merge, .CodeMirror-merge .CodeMirror {
min-height:50px;
}
.CodeMirror-merge-2pane .CodeMirror-merge-pane { width: 48%; }
.CodeMirror-merge-2pane .CodeMirror-merge-gap { width: 4%; }
.CodeMirror-merge-3pane .CodeMirror-merge-pane { width: 31%; }
.CodeMirror-merge-3pane .CodeMirror-merge-gap { width: 3.5%; }
.CodeMirror-merge-pane {
display: inline-block;
white-space: normal;
vertical-align: top;
}
.CodeMirror-merge-pane-rightmost {
position: absolute;
right: 0px;
z-index: 1;
}
.CodeMirror-merge-gap {
z-index: 2;
display: inline-block;
height: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
position: relative;
background: #515151;
}
.CodeMirror-merge-scrolllock-wrap {
position: absolute;
bottom: 0; left: 50%;
}
.CodeMirror-merge-scrolllock {
position: relative;
left: -50%;
cursor: pointer;
color: #d8d8d8;
line-height: 1;
}
.CodeMirror-merge-copybuttons-left, .CodeMirror-merge-copybuttons-right {
position: absolute;
left: 0; top: 0;
right: 0; bottom: 0;
line-height: 1;
}
.CodeMirror-merge-copy {
position: absolute;
cursor: pointer;
color: #ce374b;
z-index: 3;
}
.CodeMirror-merge-copy-reverse {
position: absolute;
cursor: pointer;
color: #44c;
}
.CodeMirror-merge-copybuttons-left .CodeMirror-merge-copy { left: 2px; }
.CodeMirror-merge-copybuttons-right .CodeMirror-merge-copy { right: 2px; }
.CodeMirror-merge-r-inserted, .CodeMirror-merge-l-inserted {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12MwuCXy3+CWyH8GBgYGJgYkAABZbAQ9ELXurwAAAABJRU5ErkJggg==);
background-position: bottom left;
background-repeat: repeat-x;
}
.CodeMirror-merge-r-deleted, .CodeMirror-merge-l-deleted {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAYAAACddGYaAAAAGUlEQVQI12M4Kyb2/6yY2H8GBgYGJgYkAABURgPz6Ks7wQAAAABJRU5ErkJggg==);
background-position: bottom left;
background-repeat: repeat-x;
}
.CodeMirror-merge-r-chunk { background: #9a6868; }
.CodeMirror-merge-r-chunk-start { /*border-top: 1px solid #ee8; */}
.CodeMirror-merge-r-chunk-end {/* border-bottom: 1px solid #ee8; */}
.CodeMirror-merge-r-connect { fill:#9a6868;}
.CodeMirror-merge-l-chunk { background: #eef; }
.CodeMirror-merge-l-chunk-start { border-top: 1px solid #88e; }
.CodeMirror-merge-l-chunk-end { border-bottom: 1px solid #88e; }
.CodeMirror-merge-l-connect { fill: #eef; stroke: #88e; stroke-width: 1px; }
.CodeMirror-merge-l-chunk.CodeMirror-merge-r-chunk { background: #dfd; }
.CodeMirror-merge-l-chunk-start.CodeMirror-merge-r-chunk-start { border-top: 1px solid #4e4; }
.CodeMirror-merge-l-chunk-end.CodeMirror-merge-r-chunk-end { border-bottom: 1px solid #4e4; }
.CodeMirror-merge-collapsed-widget:before {
content: "(...)";
}
.CodeMirror-merge-collapsed-widget {
cursor: pointer;
color: #88b;
background: #eef;
border: 1px solid #ddf;
font-size: 90%;
padding: 0 3px;
border-radius: 4px;
}
.CodeMirror-merge-collapsed-line .CodeMirror-gutter-elt { display: none; }

View File

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="”Keywords”" content="”trustie,trustieforge,forge,确实让创建更美好,协同开发平台″"><meta name="”Keywords”" content="”TrustieOpenSourceProject″"><meta name="”Keywords”" content="”issue,bug,tracker,软件工程,课程实践″"><meta name="”Description”" content="”持续构建协同、共享、可信的软件创建生态开源创作与软件生产相结合,支持大规模群体开展软件协同创新活动”"><meta name="theme-color" content="#000000"><link rel="manifest" href="/react/build//manifest.json"><link rel=" stylesheet" href="/react/build/css/iconfont.css"><link rel=" stylesheet" href="/react/build/css/edu-purge.css"><link rel="stylesheet" href="/react/build/css/editormd.min.css"><link rel="stylesheet" href="/react/build/css/merge.css"><link href="/react/build/static/css/main.8a37899d.chunk.css" rel="stylesheet"></head><body><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit widthunit"></div><div id="picture_display" style="display:none"></div><script src="/react/build/js/jquery-1.8.3.min.js"></script><script src="/react/build/js/codemirror/codemirror.js"></script><script src="/react/build/js/editormd/editormd.min.js"></script><script src="/react/build/js/codemirror/merge/merge.js"></script><script src="/react/build/./static/js/runtime~main.2d682b20.js"></script><script src="/react/build/./static/js/main.9a944d13.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="”Keywords”" content="”trustie,trustieforge,forge,确实让创建更美好,协同开发平台″"><meta name="”Keywords”" content="”TrustieOpenSourceProject″"><meta name="”Keywords”" content="”issue,bug,tracker,软件工程,课程实践″"><meta name="”Description”" content="”持续构建协同、共享、可信的软件创建生态开源创作与软件生产相结合,支持大规模群体开展软件协同创新活动”"><meta name="theme-color" content="#000000"><link rel="manifest" href="/react/build//manifest.json"><link rel="stylesheet" href="/react/build/css/iconfont.css"><link rel="stylesheet" href="/react/build/css/edu-purge.css"><link rel="stylesheet" href="/react/build/css/editormd.min.css"><link rel="stylesheet" href="/react/build/css/merge.css"><link href="/react/build/static/css/main.8a37899d.chunk.css" rel="stylesheet"></head><body><div id="md_div" style="display:none"></div><div id="root" class="page -layout-v -fit widthunit"></div><div id="picture_display" style="display:none"></div><script src="/react/build/js/jquery-1.8.3.min.js"></script><script src="/react/build/js/js_min_all.js"></script><script src="/react/build/js/codemirror/codemirror.js"></script><script src="/react/build/js/editormd/editormd.min.js"></script><script src="/react/build/js/codemirror/merge/merge.js"></script><script src="/react/build/./static/js/runtime~main.81d7ea3c.js"></script><script src="/react/build/./static/js/main.9a944d13.chunk.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
(this.webpackJsonp=this.webpackJsonp||[]).push([[78],{PhNK:function(e,t,n){"use strict";function a(e){return e&&e.length>11?e.substring(0,10):e}n.d(t,"a",(function(){return a}))},ZDGD:function(e,t,n){"use strict";n.r(t);n("04bd");var a=n("W9HT"),r=(n("2WkQ"),n("BvKs")),c=(n("aIZi"),n("jsC+")),o=(n("TfFZ"),n("3S7+")),s=(n("2oDE"),n("CtXQ")),i=n("14Xm"),u=n.n(i),l=n("q1tI"),m=n.n(l),f=n("2iEm"),p=n("PhNK"),h=n("tnhM"),d=(n("3cxI"),function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,c=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,c=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")});t.default=function(e){var t,n,i=(t=u.a.mark((function e(t,n){var a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(h.a)(t,n);case 2:a=e.sent,y(a),x(!1);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function a(r,c){try{var o=e[r](c),s=o.value}catch(e){return void n(e)}if(!o.done)return Promise.resolve(s).then((function(e){a("next",e)}),(function(e){a("throw",e)}));t(s)}("next")}))},function(e,t){return n.apply(this,arguments)}),v=Object(l.useState)(void 0),E=d(v,2),b=E[0],y=E[1],w=Object(l.useState)(!0),g=d(w,2),j=g[0],x=g[1],N=e.match.params,k=N.projectsId,_=N.owner;Object(l.useEffect)((function(){i(k,_)}),[k]);var I=function(e,t){return m.a.createElement(r.a,null,m.a.createElement(r.a.Item,{key:"0"},m.a.createElement("a",{href:e},"ZIP")),m.a.createElement(r.a.Item,{key:"1"},m.a.createElement("a",{href:t},"TAR.GZ")))};return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"main"},m.a.createElement(a.a,{spinning:j},m.a.createElement("div",{className:"branchTable"},m.a.createElement("p",{className:"branchTitle bor-bottom-greyE"},"分支列表"),function(){if(b&&b.length>0)return m.a.createElement(m.a.Fragment,null,m.a.createElement("ul",{className:"branchUl"},b.map((function(e,t){return m.a.createElement("li",{key:t},m.a.createElement("div",null,m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"?branch="+e.name,className:"color-blue font-15",style:{maxWidth:"100px"}},e.name),m.a.createElement("p",{className:"f-wrap-alignCenter mt15"},m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"/commits/"+Object(p.a)(""+e.last_commit.sha),className:"mr5 commitKey",style:{marginLeft:0}},e.last_commit&&Object(p.a)(e.last_commit.sha)),m.a.createElement("span",{className:"color-grey-3 hide-1 messages leftPoint"},e.last_commit&&e.last_commit.message),m.a.createElement("span",{className:"color-grey-8 ml30"},"最后更新于",e.last_commit&&e.last_commit.time_from_now))),m.a.createElement("span",null,m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"/pulls/new",className:"mr20 color-blue mr30"},"创建合并请求"),m.a.createElement(c.a,{overlay:I(e.zip_url,e.tar_url),trigger:["click"],placement:"bottomRight",className:"color-green-file"},m.a.createElement("a",{className:"ant-dropdown-link"},m.a.createElement(o.a,{title:"下载分支"+e.name},m.a.createElement(s.a,{type:"cloud-download",className:"font-18"}))))))}))))}()))))}},tnhM:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return p}));var a=n("14Xm"),r=n.n(a),c=n("vDqi"),o=n.n(c);function s(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function a(r,c){try{var o=t[r](c),s=o.value}catch(e){return void n(e)}if(!o.done)return Promise.resolve(s).then((function(e){a("next",e)}),(function(e){a("throw",e)}));e(s)}("next")}))}}var i,u,l,m=(i=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return i.apply(this,arguments)}),f=(u=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),p=(l=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)})}}]);
(this.webpackJsonp=this.webpackJsonp||[]).push([[78],{PhNK:function(e,t,n){"use strict";function a(e){return e&&e.length>11?e.substring(0,10):e}n.d(t,"a",(function(){return a}))},ZDGD:function(e,t,n){"use strict";n.r(t);n("04bd");var a=n("W9HT"),r=(n("2WkQ"),n("BvKs")),c=(n("aIZi"),n("jsC+")),o=(n("TfFZ"),n("3S7+")),s=(n("2oDE"),n("CtXQ")),i=n("14Xm"),u=n.n(i),l=n("q1tI"),m=n.n(l),f=n("2iEm"),p=n("PhNK"),h=n("tnhM"),d=(n("3cxI"),function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,c=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){r=!0,c=e}finally{try{!a&&s.return&&s.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")});t.default=function(e){var t,n,i=(t=u.a.mark((function e(t,n){var a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(h.a)(t,n);case 2:a=e.sent,y(a),x(!1);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function a(r,c){try{var o=e[r](c),s=o.value}catch(e){return void n(e)}if(!o.done)return Promise.resolve(s).then((function(e){a("next",e)}),(function(e){a("throw",e)}));t(s)}("next")}))},function(e,t){return n.apply(this,arguments)}),v=Object(l.useState)(void 0),E=d(v,2),b=E[0],y=E[1],w=Object(l.useState)(!0),g=d(w,2),j=g[0],x=g[1],N=e.match.params,k=N.projectsId,_=N.owner;Object(l.useEffect)((function(){i(k,_)}),[k]);var I=function(e,t){return m.a.createElement(r.a,null,m.a.createElement(r.a.Item,{key:"0"},m.a.createElement("a",{href:e},"ZIP")),m.a.createElement(r.a.Item,{key:"1"},m.a.createElement("a",{href:t},"TAR.GZ")))};return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"main"},m.a.createElement(a.a,{spinning:j},m.a.createElement("div",{className:"branchTable"},m.a.createElement("p",{className:"branchTitle bor-bottom-greyE"},"分支列表"),function(){if(b&&b.length>0)return m.a.createElement(m.a.Fragment,null,m.a.createElement("ul",{className:"branchUl"},b.map((function(e,t){return m.a.createElement("li",{key:t},m.a.createElement("div",null,m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"/branch/"+e.name,className:"color-blue font-15",style:{maxWidth:"100px"}},e.name),m.a.createElement("p",{className:"f-wrap-alignCenter mt15"},m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"/commits/"+Object(p.a)(""+e.last_commit.sha),className:"mr5 commitKey",style:{marginLeft:0}},e.last_commit&&Object(p.a)(e.last_commit.sha)),m.a.createElement("span",{className:"color-grey-3 hide-1 messages leftPoint"},e.last_commit&&e.last_commit.message),m.a.createElement("span",{className:"color-grey-8 ml30"},"最后更新于",e.last_commit&&e.last_commit.time_from_now))),m.a.createElement("span",null,m.a.createElement(f.a,{to:"/projects/"+_+"/"+k+"/pulls/new",className:"mr20 color-blue mr30"},"创建合并请求"),m.a.createElement(c.a,{overlay:I(e.zip_url,e.tar_url),trigger:["click"],placement:"bottomRight",className:"color-green-file"},m.a.createElement("a",{className:"ant-dropdown-link"},m.a.createElement(o.a,{title:"下载分支"+e.name},m.a.createElement(s.a,{type:"cloud-download",className:"font-18"}))))))}))))}()))))}},tnhM:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return p}));var a=n("14Xm"),r=n.n(a),c=n("vDqi"),o=n.n(c);function s(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function a(r,c){try{var o=t[r](c),s=o.value}catch(e){return void n(e)}if(!o.done)return Promise.resolve(s).then((function(e){a("next",e)}),(function(e){a("throw",e)}));e(s)}("next")}))}}var i,u,l,m=(i=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/"+n+"/"+t+"/branches.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return i.apply(this,arguments)}),f=(u=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/"+n+"/"+t+"/tags.json");case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return u.apply(this,arguments)}),p=(l=s(r.a.mark((function e(t,n){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.a.get("/projects/"+t+"/hooks.json",{params:n});case 2:return e.abrupt("return",e.sent.data);case 3:case"end":return e.stop()}}),e,void 0)}))),function(e,t){return l.apply(this,arguments)})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long