dev_forge
Jasder 5 years ago
commit 50d8474b56

@ -19,8 +19,8 @@ class IssueTagsController < ApplicationController
def create
title = params[:name].to_s.strip
desc = params[:description]
title = params[:name].to_s.strip.first(10)
desc = params[:description].to_s.first(30)
color = params[:color] || "#ccc"
tag_params = {

@ -14,7 +14,7 @@ class RepositoriesController < ApplicationController
end
def entries
@entries = Gitea::Repository::Entries::ListService.new(@user, @repo.identifier, ref: params[:ref]).call
@entries = Gitea::Repository::Entries::ListService.new(@user, @repo.identifier, ref: params[:branch]).call
@entries = @entries.sort_by{ |hash| hash['type'] }
end

@ -1,68 +1,68 @@
{
"./static/js/0.e5cfad83.chunk.js": "./static/js/0.e5cfad83.chunk.js",
"./static/js/1.7095ebf0.chunk.js": "./static/js/1.7095ebf0.chunk.js",
"./static/js/0.bd08e86b.chunk.js": "./static/js/0.bd08e86b.chunk.js",
"./static/js/1.f1209eb5.chunk.js": "./static/js/1.f1209eb5.chunk.js",
"./static/js/10.b2b3ed62.chunk.js": "./static/js/10.b2b3ed62.chunk.js",
"./static/js/100.9ee9f0c8.chunk.js": "./static/js/100.9ee9f0c8.chunk.js",
"./static/js/101.ef0af942.chunk.js": "./static/js/101.ef0af942.chunk.js",
"./static/js/102.fa0be189.chunk.js": "./static/js/102.fa0be189.chunk.js",
"./static/js/103.c564b6b6.chunk.js": "./static/js/103.c564b6b6.chunk.js",
"./static/js/104.ba44116b.chunk.js": "./static/js/104.ba44116b.chunk.js",
"./static/js/105.b56dfac8.chunk.js": "./static/js/105.b56dfac8.chunk.js",
"./static/js/106.b3ff108d.chunk.js": "./static/js/106.b3ff108d.chunk.js",
"./static/js/107.f0378052.chunk.js": "./static/js/107.f0378052.chunk.js",
"./static/js/105.bbf3b216.chunk.js": "./static/js/105.bbf3b216.chunk.js",
"./static/js/106.c1289102.chunk.js": "./static/js/106.c1289102.chunk.js",
"./static/js/107.35cf438c.chunk.js": "./static/js/107.35cf438c.chunk.js",
"./static/js/108.ed7130f2.chunk.js": "./static/js/108.ed7130f2.chunk.js",
"./static/js/109.2cbfaa7d.chunk.js": "./static/js/109.2cbfaa7d.chunk.js",
"./static/js/11.f407fca8.chunk.js": "./static/js/11.f407fca8.chunk.js",
"./static/js/110.977f5788.chunk.js": "./static/js/110.977f5788.chunk.js",
"./static/js/111.7d144bfb.chunk.js": "./static/js/111.7d144bfb.chunk.js",
"./static/js/111.4ecbf9ba.chunk.js": "./static/js/111.4ecbf9ba.chunk.js",
"./static/js/112.b40ce0dd.chunk.js": "./static/js/112.b40ce0dd.chunk.js",
"./static/js/113.e9b7772e.chunk.js": "./static/js/113.e9b7772e.chunk.js",
"./static/js/113.5f545c1f.chunk.js": "./static/js/113.5f545c1f.chunk.js",
"./static/js/114.5a2551e9.chunk.js": "./static/js/114.5a2551e9.chunk.js",
"./static/js/115.7d1c18b8.chunk.js": "./static/js/115.7d1c18b8.chunk.js",
"./static/js/116.6c67bc1f.chunk.js": "./static/js/116.6c67bc1f.chunk.js",
"./static/js/117.23f8e65c.chunk.js": "./static/js/117.23f8e65c.chunk.js",
"./static/js/117.ba1014d9.chunk.js": "./static/js/117.ba1014d9.chunk.js",
"./static/js/118.b51b4eb7.chunk.js": "./static/js/118.b51b4eb7.chunk.js",
"./static/js/119.ef402d24.chunk.js": "./static/js/119.ef402d24.chunk.js",
"./static/js/12.01384d1c.chunk.js": "./static/js/12.01384d1c.chunk.js",
"./static/js/120.298238e9.chunk.js": "./static/js/120.298238e9.chunk.js",
"./static/js/120.6a870dc5.chunk.js": "./static/js/120.6a870dc5.chunk.js",
"./static/js/121.7287a6d5.chunk.js": "./static/js/121.7287a6d5.chunk.js",
"./static/js/122.2fb9ac8a.chunk.js": "./static/js/122.2fb9ac8a.chunk.js",
"./static/js/123.659743c3.chunk.js": "./static/js/123.659743c3.chunk.js",
"./static/js/124.0a0fdeba.chunk.js": "./static/js/124.0a0fdeba.chunk.js",
"./static/js/125.be930001.chunk.js": "./static/js/125.be930001.chunk.js",
"./static/js/122.a8b987b2.chunk.js": "./static/js/122.a8b987b2.chunk.js",
"./static/js/123.4598aff6.chunk.js": "./static/js/123.4598aff6.chunk.js",
"./static/js/124.39e8daa0.chunk.js": "./static/js/124.39e8daa0.chunk.js",
"./static/js/125.1279c55c.chunk.js": "./static/js/125.1279c55c.chunk.js",
"./static/js/126.f9ff29e4.chunk.js": "./static/js/126.f9ff29e4.chunk.js",
"./static/js/127.2eef1fce.chunk.js": "./static/js/127.2eef1fce.chunk.js",
"./static/js/128.2687398d.chunk.js": "./static/js/128.2687398d.chunk.js",
"./static/js/129.16e6a925.chunk.js": "./static/js/129.16e6a925.chunk.js",
"./static/js/13.a0111c11.chunk.js": "./static/js/13.a0111c11.chunk.js",
"./static/js/13.0e650578.chunk.js": "./static/js/13.0e650578.chunk.js",
"./static/js/130.aa3acb2f.chunk.js": "./static/js/130.aa3acb2f.chunk.js",
"./static/js/131.49380bd6.chunk.js": "./static/js/131.49380bd6.chunk.js",
"./static/js/132.4391bfca.chunk.js": "./static/js/132.4391bfca.chunk.js",
"./static/js/133.ac9952fa.chunk.js": "./static/js/133.ac9952fa.chunk.js",
"./static/js/134.ed3d2fb0.chunk.js": "./static/js/134.ed3d2fb0.chunk.js",
"./static/js/134.9d7c5f22.chunk.js": "./static/js/134.9d7c5f22.chunk.js",
"./static/js/135.b4d3df5f.chunk.js": "./static/js/135.b4d3df5f.chunk.js",
"./static/js/136.0b59381a.chunk.js": "./static/js/136.0b59381a.chunk.js",
"./static/js/137.f6c789b7.chunk.js": "./static/js/137.f6c789b7.chunk.js",
"./static/js/137.30894d46.chunk.js": "./static/js/137.30894d46.chunk.js",
"./static/js/138.64ac182c.chunk.js": "./static/js/138.64ac182c.chunk.js",
"./static/js/139.b9ec5d42.chunk.js": "./static/js/139.b9ec5d42.chunk.js",
"./static/js/14.f5d7b875.chunk.js": "./static/js/14.f5d7b875.chunk.js",
"./static/js/140.207ac042.chunk.js": "./static/js/140.207ac042.chunk.js",
"./static/js/141.11ac8ba9.chunk.js": "./static/js/141.11ac8ba9.chunk.js",
"./static/js/142.4c0f165f.chunk.js": "./static/js/142.4c0f165f.chunk.js",
"./static/js/143.cb7707f7.chunk.js": "./static/js/143.cb7707f7.chunk.js",
"./static/js/141.60482201.chunk.js": "./static/js/141.60482201.chunk.js",
"./static/js/142.8cda1179.chunk.js": "./static/js/142.8cda1179.chunk.js",
"./static/js/143.7bcebd56.chunk.js": "./static/js/143.7bcebd56.chunk.js",
"./static/js/144.d80090a8.chunk.js": "./static/js/144.d80090a8.chunk.js",
"./static/js/145.dcf11d87.chunk.js": "./static/js/145.dcf11d87.chunk.js",
"./static/js/146.cdc34f8d.chunk.js": "./static/js/146.cdc34f8d.chunk.js",
"./static/js/146.4d5e9fbe.chunk.js": "./static/js/146.4d5e9fbe.chunk.js",
"./static/js/147.4d0dc457.chunk.js": "./static/js/147.4d0dc457.chunk.js",
"./static/js/148.c46f003d.chunk.js": "./static/js/148.c46f003d.chunk.js",
"./static/js/149.6246c8ac.chunk.js": "./static/js/149.6246c8ac.chunk.js",
"./static/js/15.6b37ea85.chunk.js": "./static/js/15.6b37ea85.chunk.js",
"./static/js/150.60766331.chunk.js": "./static/js/150.60766331.chunk.js",
"./static/js/151.64d26606.chunk.js": "./static/js/151.64d26606.chunk.js",
"./static/js/152.34817e46.chunk.js": "./static/js/152.34817e46.chunk.js",
"./static/js/153.f6bed8b6.chunk.js": "./static/js/153.f6bed8b6.chunk.js",
"./static/js/151.4890fd6d.chunk.js": "./static/js/151.4890fd6d.chunk.js",
"./static/js/152.5eaaad45.chunk.js": "./static/js/152.5eaaad45.chunk.js",
"./static/js/153.f658e019.chunk.js": "./static/js/153.f658e019.chunk.js",
"./static/js/154.b56da9d6.chunk.js": "./static/js/154.b56da9d6.chunk.js",
"./static/js/155.ea2f148e.chunk.js": "./static/js/155.ea2f148e.chunk.js",
"./static/js/155.09dd2e1f.chunk.js": "./static/js/155.09dd2e1f.chunk.js",
"./static/js/156.92198aeb.chunk.js": "./static/js/156.92198aeb.chunk.js",
"./static/js/157.6cda3a9a.chunk.js": "./static/js/157.6cda3a9a.chunk.js",
"./static/js/158.377fc731.chunk.js": "./static/js/158.377fc731.chunk.js",
@ -72,46 +72,46 @@
"./static/js/161.79d5ff55.chunk.js": "./static/js/161.79d5ff55.chunk.js",
"./static/js/162.129313c1.chunk.js": "./static/js/162.129313c1.chunk.js",
"./static/js/163.dff8e727.chunk.js": "./static/js/163.dff8e727.chunk.js",
"./static/js/164.b748d693.chunk.js": "./static/js/164.b748d693.chunk.js",
"./static/js/164.ed89303b.chunk.js": "./static/js/164.ed89303b.chunk.js",
"./static/js/165.9039db33.chunk.js": "./static/js/165.9039db33.chunk.js",
"./static/js/166.aec6ecca.chunk.js": "./static/js/166.aec6ecca.chunk.js",
"./static/js/167.d2b14ce2.chunk.js": "./static/js/167.d2b14ce2.chunk.js",
"./static/js/167.af42d3b4.chunk.js": "./static/js/167.af42d3b4.chunk.js",
"./static/js/168.50468209.chunk.js": "./static/js/168.50468209.chunk.js",
"./static/js/169.a211725b.chunk.js": "./static/js/169.a211725b.chunk.js",
"./static/js/17.5bfcaa6a.chunk.js": "./static/js/17.5bfcaa6a.chunk.js",
"./static/js/17.ce2a92b0.chunk.js": "./static/js/17.ce2a92b0.chunk.js",
"./static/js/170.b1635200.chunk.js": "./static/js/170.b1635200.chunk.js",
"./static/js/171.d9cec3ff.chunk.js": "./static/js/171.d9cec3ff.chunk.js",
"./static/js/172.9ce32f02.chunk.js": "./static/js/172.9ce32f02.chunk.js",
"./static/js/173.e8ab306d.chunk.js": "./static/js/173.e8ab306d.chunk.js",
"./static/js/173.607b8cd3.chunk.js": "./static/js/173.607b8cd3.chunk.js",
"./static/js/174.2605b645.chunk.js": "./static/js/174.2605b645.chunk.js",
"./static/js/175.d925429d.chunk.js": "./static/js/175.d925429d.chunk.js",
"./static/js/176.f514c579.chunk.js": "./static/js/176.f514c579.chunk.js",
"./static/js/177.6bbbddd9.chunk.js": "./static/js/177.6bbbddd9.chunk.js",
"./static/js/178.1ff74cf4.chunk.js": "./static/js/178.1ff74cf4.chunk.js",
"./static/js/179.b0eea116.chunk.js": "./static/js/179.b0eea116.chunk.js",
"./static/js/18.80f23345.chunk.js": "./static/js/18.80f23345.chunk.js",
"./static/js/176.bd4ac5e6.chunk.js": "./static/js/176.bd4ac5e6.chunk.js",
"./static/js/177.3ee21964.chunk.js": "./static/js/177.3ee21964.chunk.js",
"./static/js/178.621921c4.chunk.js": "./static/js/178.621921c4.chunk.js",
"./static/js/179.5795d7cb.chunk.js": "./static/js/179.5795d7cb.chunk.js",
"./static/js/18.7e4b08c6.chunk.js": "./static/js/18.7e4b08c6.chunk.js",
"./static/js/180.1070382f.chunk.js": "./static/js/180.1070382f.chunk.js",
"./static/js/181.7d860a53.chunk.js": "./static/js/181.7d860a53.chunk.js",
"./static/js/182.543c5a87.chunk.js": "./static/js/182.543c5a87.chunk.js",
"./static/js/183.3af999b3.chunk.js": "./static/js/183.3af999b3.chunk.js",
"./static/js/184.33057626.chunk.js": "./static/js/184.33057626.chunk.js",
"./static/js/185.e3dfc1bb.chunk.js": "./static/js/185.e3dfc1bb.chunk.js",
"./static/js/185.5520b9c1.chunk.js": "./static/js/185.5520b9c1.chunk.js",
"./static/js/186.8de79e34.chunk.js": "./static/js/186.8de79e34.chunk.js",
"./static/js/187.e98633ee.chunk.js": "./static/js/187.e98633ee.chunk.js",
"./static/js/188.e0f10e32.chunk.js": "./static/js/188.e0f10e32.chunk.js",
"./static/js/188.2e69da3e.chunk.js": "./static/js/188.2e69da3e.chunk.js",
"./static/js/189.a464554d.chunk.js": "./static/js/189.a464554d.chunk.js",
"./static/js/19.dd5af03f.chunk.js": "./static/js/19.dd5af03f.chunk.js",
"./static/js/190.a289f8d8.chunk.js": "./static/js/190.a289f8d8.chunk.js",
"./static/js/191.05138908.chunk.js": "./static/js/191.05138908.chunk.js",
"./static/js/191.4df03ada.chunk.js": "./static/js/191.4df03ada.chunk.js",
"./static/js/192.f58b9bef.chunk.js": "./static/js/192.f58b9bef.chunk.js",
"./static/js/193.e10e4b5a.chunk.js": "./static/js/193.e10e4b5a.chunk.js",
"./static/js/194.43a7c133.chunk.js": "./static/js/194.43a7c133.chunk.js",
"./static/js/195.7a829b3d.chunk.js": "./static/js/195.7a829b3d.chunk.js",
"./static/js/196.f2392558.chunk.js": "./static/js/196.f2392558.chunk.js",
"./static/js/194.aeb59670.chunk.js": "./static/js/194.aeb59670.chunk.js",
"./static/js/195.fba85439.chunk.js": "./static/js/195.fba85439.chunk.js",
"./static/js/196.4a0b5264.chunk.js": "./static/js/196.4a0b5264.chunk.js",
"./static/js/197.8c03c322.chunk.js": "./static/js/197.8c03c322.chunk.js",
"./static/js/198.43858e28.chunk.js": "./static/js/198.43858e28.chunk.js",
"./static/js/199.f3ab5e18.chunk.js": "./static/js/199.f3ab5e18.chunk.js",
"./static/js/2.405ffab7.chunk.js": "./static/js/2.405ffab7.chunk.js",
"./static/js/2.b2400699.chunk.js": "./static/js/2.b2400699.chunk.js",
"./static/js/20.e0c7b05f.chunk.js": "./static/js/20.e0c7b05f.chunk.js",
"./static/js/200.f313bb01.chunk.js": "./static/js/200.f313bb01.chunk.js",
"./static/js/201.5a671732.chunk.js": "./static/js/201.5a671732.chunk.js",
@ -145,7 +145,7 @@
"./static/js/227.d17ee4a5.chunk.js": "./static/js/227.d17ee4a5.chunk.js",
"./static/js/228.87f039fb.chunk.js": "./static/js/228.87f039fb.chunk.js",
"./static/js/229.8a1a17c3.chunk.js": "./static/js/229.8a1a17c3.chunk.js",
"./static/js/23.b8dd0fce.chunk.js": "./static/js/23.b8dd0fce.chunk.js",
"./static/js/23.9135bb0b.chunk.js": "./static/js/23.9135bb0b.chunk.js",
"./static/js/230.42b4bec0.chunk.js": "./static/js/230.42b4bec0.chunk.js",
"./static/js/231.1574fbb1.chunk.js": "./static/js/231.1574fbb1.chunk.js",
"./static/js/232.ec9c2287.chunk.js": "./static/js/232.ec9c2287.chunk.js",
@ -156,108 +156,108 @@
"./static/js/237.f39ca105.chunk.js": "./static/js/237.f39ca105.chunk.js",
"./static/js/238.0560dc59.chunk.js": "./static/js/238.0560dc59.chunk.js",
"./static/js/239.4383bf9c.chunk.js": "./static/js/239.4383bf9c.chunk.js",
"./static/js/24.057a6b04.chunk.js": "./static/js/24.057a6b04.chunk.js",
"./static/js/24.c358e69d.chunk.js": "./static/js/24.c358e69d.chunk.js",
"./static/js/240.2324e352.chunk.js": "./static/js/240.2324e352.chunk.js",
"./static/js/241.de3b472d.chunk.js": "./static/js/241.de3b472d.chunk.js",
"./static/js/242.642448f5.chunk.js": "./static/js/242.642448f5.chunk.js",
"./static/js/243.e2214a0e.chunk.js": "./static/js/243.e2214a0e.chunk.js",
"./static/js/244.87a8eced.chunk.js": "./static/js/244.87a8eced.chunk.js",
"./static/js/245.7aee6c91.chunk.js": "./static/js/245.7aee6c91.chunk.js",
"./static/js/246.b789fb84.chunk.js": "./static/js/246.b789fb84.chunk.js",
"./static/js/247.31b4c83a.chunk.js": "./static/js/247.31b4c83a.chunk.js",
"./static/js/248.ce44acc9.chunk.js": "./static/js/248.ce44acc9.chunk.js",
"./static/js/249.f952a721.chunk.js": "./static/js/249.f952a721.chunk.js",
"./static/js/25.ff97876d.chunk.js": "./static/js/25.ff97876d.chunk.js",
"./static/js/250.624bd7f5.chunk.js": "./static/js/250.624bd7f5.chunk.js",
"./static/js/251.04de887b.chunk.js": "./static/js/251.04de887b.chunk.js",
"./static/js/246.1e835f1e.chunk.js": "./static/js/246.1e835f1e.chunk.js",
"./static/js/247.2c808f1a.chunk.js": "./static/js/247.2c808f1a.chunk.js",
"./static/js/248.12582dd5.chunk.js": "./static/js/248.12582dd5.chunk.js",
"./static/js/249.3de5900a.chunk.js": "./static/js/249.3de5900a.chunk.js",
"./static/js/25.38b81f0d.chunk.js": "./static/js/25.38b81f0d.chunk.js",
"./static/js/250.c44b0df6.chunk.js": "./static/js/250.c44b0df6.chunk.js",
"./static/js/251.13a6abb2.chunk.js": "./static/js/251.13a6abb2.chunk.js",
"./static/js/252.b41f2443.chunk.js": "./static/js/252.b41f2443.chunk.js",
"./static/js/253.b6e2bcca.chunk.js": "./static/js/253.b6e2bcca.chunk.js",
"./static/js/254.7092b37a.chunk.js": "./static/js/254.7092b37a.chunk.js",
"./static/js/255.825745b6.chunk.js": "./static/js/255.825745b6.chunk.js",
"./static/js/256.38db6d89.chunk.js": "./static/js/256.38db6d89.chunk.js",
"./static/js/26.06e0ef80.chunk.js": "./static/js/26.06e0ef80.chunk.js",
"./static/js/27.22487e49.chunk.js": "./static/js/27.22487e49.chunk.js",
"./static/js/28.414e2cf0.chunk.js": "./static/js/28.414e2cf0.chunk.js",
"./static/js/29.aa876493.chunk.js": "./static/js/29.aa876493.chunk.js",
"./static/js/255.de5dbd4f.chunk.js": "./static/js/255.de5dbd4f.chunk.js",
"./static/js/256.602265c8.chunk.js": "./static/js/256.602265c8.chunk.js",
"./static/js/26.81e485d3.chunk.js": "./static/js/26.81e485d3.chunk.js",
"./static/js/27.c8779ad7.chunk.js": "./static/js/27.c8779ad7.chunk.js",
"./static/js/28.d0706a3e.chunk.js": "./static/js/28.d0706a3e.chunk.js",
"./static/js/29.8ba69ee2.chunk.js": "./static/js/29.8ba69ee2.chunk.js",
"./static/js/3.de9b0850.chunk.js": "./static/js/3.de9b0850.chunk.js",
"./static/js/30.b45f7c79.chunk.js": "./static/js/30.b45f7c79.chunk.js",
"./static/js/31.4ee16487.chunk.js": "./static/js/31.4ee16487.chunk.js",
"./static/js/30.b48f6d74.chunk.js": "./static/js/30.b48f6d74.chunk.js",
"./static/js/31.69e5cba7.chunk.js": "./static/js/31.69e5cba7.chunk.js",
"./static/js/32.fedb209c.chunk.js": "./static/js/32.fedb209c.chunk.js",
"./static/js/33.100ad33d.chunk.js": "./static/js/33.100ad33d.chunk.js",
"./static/js/34.6c4981a0.chunk.js": "./static/js/34.6c4981a0.chunk.js",
"./static/js/34.a1edc9c0.chunk.js": "./static/js/34.a1edc9c0.chunk.js",
"./static/js/35.030e13cb.chunk.js": "./static/js/35.030e13cb.chunk.js",
"./static/js/36.f487e8d5.chunk.js": "./static/js/36.f487e8d5.chunk.js",
"./static/js/37.9a406a29.chunk.js": "./static/js/37.9a406a29.chunk.js",
"./static/js/38.bc33a7e6.chunk.js": "./static/js/38.bc33a7e6.chunk.js",
"./static/js/39.daeaaa27.chunk.js": "./static/js/39.daeaaa27.chunk.js",
"./static/js/4.ba67f68b.chunk.js": "./static/js/4.ba67f68b.chunk.js",
"./static/js/38.5e7ec40b.chunk.js": "./static/js/38.5e7ec40b.chunk.js",
"./static/js/39.9dca1798.chunk.js": "./static/js/39.9dca1798.chunk.js",
"./static/js/4.ace3331a.chunk.js": "./static/js/4.ace3331a.chunk.js",
"./static/js/40.191fc08b.chunk.js": "./static/js/40.191fc08b.chunk.js",
"./static/js/41.207c3493.chunk.js": "./static/js/41.207c3493.chunk.js",
"./static/js/42.67377575.chunk.js": "./static/js/42.67377575.chunk.js",
"./static/js/43.4519b3e2.chunk.js": "./static/js/43.4519b3e2.chunk.js",
"./static/js/41.dc4d1dd1.chunk.js": "./static/js/41.dc4d1dd1.chunk.js",
"./static/js/42.9b9556b0.chunk.js": "./static/js/42.9b9556b0.chunk.js",
"./static/js/43.4fd56c90.chunk.js": "./static/js/43.4fd56c90.chunk.js",
"./static/js/44.b3d80ae0.chunk.js": "./static/js/44.b3d80ae0.chunk.js",
"./static/js/45.ed807c26.chunk.js": "./static/js/45.ed807c26.chunk.js",
"./static/js/46.ae06ded3.chunk.js": "./static/js/46.ae06ded3.chunk.js",
"./static/js/45.a405b0a8.chunk.js": "./static/js/45.a405b0a8.chunk.js",
"./static/js/46.e5e143b0.chunk.js": "./static/js/46.e5e143b0.chunk.js",
"./static/js/47.f0384f0d.chunk.js": "./static/js/47.f0384f0d.chunk.js",
"./static/js/48.d8819953.chunk.js": "./static/js/48.d8819953.chunk.js",
"./static/js/48.ebe1bd08.chunk.js": "./static/js/48.ebe1bd08.chunk.js",
"./static/js/49.2434a35f.chunk.js": "./static/js/49.2434a35f.chunk.js",
"./static/js/5.a0191669.chunk.js": "./static/js/5.a0191669.chunk.js",
"./static/js/50.441a0e9b.chunk.js": "./static/js/50.441a0e9b.chunk.js",
"./static/js/51.0da51704.chunk.js": "./static/js/51.0da51704.chunk.js",
"./static/js/52.bf322efb.chunk.js": "./static/js/52.bf322efb.chunk.js",
"./static/js/53.04ff0087.chunk.js": "./static/js/53.04ff0087.chunk.js",
"./static/js/54.c78d9a48.chunk.js": "./static/js/54.c78d9a48.chunk.js",
"./static/js/52.7a099ee8.chunk.js": "./static/js/52.7a099ee8.chunk.js",
"./static/js/53.9f025f3d.chunk.js": "./static/js/53.9f025f3d.chunk.js",
"./static/js/54.a0c86166.chunk.js": "./static/js/54.a0c86166.chunk.js",
"./static/js/55.4ac768d3.chunk.js": "./static/js/55.4ac768d3.chunk.js",
"./static/js/56.82b509c7.chunk.js": "./static/js/56.82b509c7.chunk.js",
"./static/js/57.8a3a4aa6.chunk.js": "./static/js/57.8a3a4aa6.chunk.js",
"./static/js/58.a5969688.chunk.js": "./static/js/58.a5969688.chunk.js",
"./static/js/59.0abb723b.chunk.js": "./static/js/59.0abb723b.chunk.js",
"./static/js/58.e7b2c876.chunk.js": "./static/js/58.e7b2c876.chunk.js",
"./static/js/59.e91311eb.chunk.js": "./static/js/59.e91311eb.chunk.js",
"./static/js/6.d7290b42.chunk.js": "./static/js/6.d7290b42.chunk.js",
"./static/js/60.a34ad7e8.chunk.js": "./static/js/60.a34ad7e8.chunk.js",
"./static/js/60.263e79c8.chunk.js": "./static/js/60.263e79c8.chunk.js",
"./static/js/61.7a8441c1.chunk.js": "./static/js/61.7a8441c1.chunk.js",
"./static/js/62.8aef9904.chunk.js": "./static/js/62.8aef9904.chunk.js",
"./static/js/62.4ccbf8f1.chunk.js": "./static/js/62.4ccbf8f1.chunk.js",
"./static/js/63.df594394.chunk.js": "./static/js/63.df594394.chunk.js",
"./static/js/64.a11f4a9b.chunk.js": "./static/js/64.a11f4a9b.chunk.js",
"./static/js/64.2e02b223.chunk.js": "./static/js/64.2e02b223.chunk.js",
"./static/js/65.ab280f3d.chunk.js": "./static/js/65.ab280f3d.chunk.js",
"./static/js/66.3d32cdac.chunk.js": "./static/js/66.3d32cdac.chunk.js",
"./static/js/66.3d775e2d.chunk.js": "./static/js/66.3d775e2d.chunk.js",
"./static/js/67.b8718531.chunk.js": "./static/js/67.b8718531.chunk.js",
"./static/js/68.d8cba66c.chunk.js": "./static/js/68.d8cba66c.chunk.js",
"./static/js/69.61318255.chunk.js": "./static/js/69.61318255.chunk.js",
"./static/js/7.3506fd6c.chunk.js": "./static/js/7.3506fd6c.chunk.js",
"./static/js/70.d6619696.chunk.js": "./static/js/70.d6619696.chunk.js",
"./static/js/71.42f7c436.chunk.js": "./static/js/71.42f7c436.chunk.js",
"./static/js/69.38ea78ae.chunk.js": "./static/js/69.38ea78ae.chunk.js",
"./static/js/7.50b532cb.chunk.js": "./static/js/7.50b532cb.chunk.js",
"./static/js/70.c671076f.chunk.js": "./static/js/70.c671076f.chunk.js",
"./static/js/71.cc0aed26.chunk.js": "./static/js/71.cc0aed26.chunk.js",
"./static/js/72.2e1c9d4c.chunk.js": "./static/js/72.2e1c9d4c.chunk.js",
"./static/js/73.5a695660.chunk.js": "./static/js/73.5a695660.chunk.js",
"./static/js/74.64d911d7.chunk.js": "./static/js/74.64d911d7.chunk.js",
"./static/js/75.5bc2a98a.chunk.js": "./static/js/75.5bc2a98a.chunk.js",
"./static/js/76.fe5fbd8d.chunk.js": "./static/js/76.fe5fbd8d.chunk.js",
"./static/js/77.be6329e6.chunk.js": "./static/js/77.be6329e6.chunk.js",
"./static/js/76.8ff43ac8.chunk.js": "./static/js/76.8ff43ac8.chunk.js",
"./static/js/77.18e3b2c7.chunk.js": "./static/js/77.18e3b2c7.chunk.js",
"./static/js/78.f168431c.chunk.js": "./static/js/78.f168431c.chunk.js",
"./static/js/79.fe407ea9.chunk.js": "./static/js/79.fe407ea9.chunk.js",
"./static/js/8.4fc89627.chunk.js": "./static/js/8.4fc89627.chunk.js",
"./static/js/80.3247f30a.chunk.js": "./static/js/80.3247f30a.chunk.js",
"./static/js/81.4c59941e.chunk.js": "./static/js/81.4c59941e.chunk.js",
"./static/js/80.b4ba172e.chunk.js": "./static/js/80.b4ba172e.chunk.js",
"./static/js/81.ab3d32c0.chunk.js": "./static/js/81.ab3d32c0.chunk.js",
"./static/js/82.d6f7f879.chunk.js": "./static/js/82.d6f7f879.chunk.js",
"./static/js/83.2b438eb6.chunk.js": "./static/js/83.2b438eb6.chunk.js",
"./static/js/84.05328fa8.chunk.js": "./static/js/84.05328fa8.chunk.js",
"./static/js/85.e0bf843f.chunk.js": "./static/js/85.e0bf843f.chunk.js",
"./static/js/86.487e90af.chunk.js": "./static/js/86.487e90af.chunk.js",
"./static/js/87.0c57d96f.chunk.js": "./static/js/87.0c57d96f.chunk.js",
"./static/js/88.871ef72c.chunk.js": "./static/js/88.871ef72c.chunk.js",
"./static/js/86.3f0ca4b1.chunk.js": "./static/js/86.3f0ca4b1.chunk.js",
"./static/js/87.cc52cbe1.chunk.js": "./static/js/87.cc52cbe1.chunk.js",
"./static/js/88.df9395ff.chunk.js": "./static/js/88.df9395ff.chunk.js",
"./static/js/89.4b0d54db.chunk.js": "./static/js/89.4b0d54db.chunk.js",
"./static/js/9.ebfbf5d4.chunk.js": "./static/js/9.ebfbf5d4.chunk.js",
"./static/js/9.80a8a515.chunk.js": "./static/js/9.80a8a515.chunk.js",
"./static/js/90.eec365e9.chunk.js": "./static/js/90.eec365e9.chunk.js",
"./static/js/91.9e99d5ad.chunk.js": "./static/js/91.9e99d5ad.chunk.js",
"./static/js/92.c4580915.chunk.js": "./static/js/92.c4580915.chunk.js",
"./static/js/93.8d9525cf.chunk.js": "./static/js/93.8d9525cf.chunk.js",
"./static/js/94.01c2d58d.chunk.js": "./static/js/94.01c2d58d.chunk.js",
"./static/js/95.a4ffcef7.chunk.js": "./static/js/95.a4ffcef7.chunk.js",
"./static/js/92.a2a8faff.chunk.js": "./static/js/92.a2a8faff.chunk.js",
"./static/js/93.989ae18b.chunk.js": "./static/js/93.989ae18b.chunk.js",
"./static/js/94.a7e87727.chunk.js": "./static/js/94.a7e87727.chunk.js",
"./static/js/95.d67b4166.chunk.js": "./static/js/95.d67b4166.chunk.js",
"./static/js/96.ace6edb1.chunk.js": "./static/js/96.ace6edb1.chunk.js",
"./static/js/97.0f5b089c.chunk.js": "./static/js/97.0f5b089c.chunk.js",
"./static/js/97.102cb13a.chunk.js": "./static/js/97.102cb13a.chunk.js",
"./static/js/98.7354b03a.chunk.js": "./static/js/98.7354b03a.chunk.js",
"./static/js/99.491b7204.chunk.js": "./static/js/99.491b7204.chunk.js",
"main.css": "./static/css/main.c0718fb6.css",
"main.js": "./static/js/main.66b018de.js",
"main.js": "./static/js/main.8406bc94.js",
"static/media/KaTeX_AMS-Regular.ttf": "static/media/KaTeX_AMS-Regular.aaf4eee9.ttf",
"static/media/KaTeX_AMS-Regular.woff": "static/media/KaTeX_AMS-Regular.7f06b4e3.woff",
"static/media/KaTeX_AMS-Regular.woff2": "static/media/KaTeX_AMS-Regular.e78e28b4.woff2",

@ -24,7 +24,7 @@
_host = 'https://ali-cdn.educoder.net/react/build/'
}
document.write('<script type="text/javascript" src="' + _host + 'js/js_min_all.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.66b018de.js"><\/script>');
document.write('<script type="text/javascript" src="' + _host + 'static/js/main.8406bc94.js"><\/script>');
})()
</script>
<script>!function(){var t=location.href;"3007"===window.location.port?-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="https://newweb.educoder.net/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="https://newweb.educoder.net/javascripts/educoder/edu_application.js"><\/script>'):-1!=t.indexOf("/tasks/")?(document.write('<script type="text/javascript" src="/assets/kindeditor/kindeditor.js"><\/script>'),document.write('<script type="text/javascript" src="/react/build/js/create_kindeditor.js?v=1.1.1"><\/script>'),document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')):-1!=t.indexOf("/paths/")&&document.write('<script type="text/javascript" src="/javascripts/educoder/edu_application.js"><\/script>')}()</script><script type="text/javascript" src="https://cdn.bootcss.com/quill/1.3.7/quill.core.min.js"></script></body></html>

File diff suppressed because one or more lines are too long

@ -136,7 +136,7 @@ __WEBPACK_IMPORTED_MODULE_5_axios___default.a.post(url).then(function(result){if
// showTrial:true
// })
// }
_createClass(Infos,[{key:'render',value:function render(){var _this2=this;var _state=this.state,data=_state.data,is_edit=_state.is_edit,sign=_state.sign,type=_state.type,followed=_state.followed,id=_state.id,isRenders=_state.isRenders,moduleName=_state.moduleName,next_gold=_state.next_gold;var isCurrent=true;var currentLogin=void 0;if(this.props.current_user&&this.props.current_user.login!=this.props.match.params.username){isCurrent=false;currentLogin=this.props.current_user.login;}var _commonProps={is_current:isCurrent,login:currentLogin};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain'},this.state.updata===undefined?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__modals_UpgradeModals__["a" /* default */],this.state),isRenders&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11__login_Trialapplication__["a" /* default */],Object.assign({},this.props,this.state,{Cancel:function Cancel(){return _this2.cancelModulationModels();}})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__InfosBanner__["a" /* default */],Object.assign({},this.props,this.state,_commonProps,{signFor:this.signFor,followPerson:this.followPerson})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/topics/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosTopics,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/courses',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosCourse,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/shixuns',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosShixun,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/paths',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPath,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosProject,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/package',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPackage,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/videos',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosVideo,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosCourse,Object.assign({},_this2.props,props,_this2.state,_commonProps));}})));}}]);return Infos;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);// CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC))
_createClass(Infos,[{key:'render',value:function render(){var _this2=this;var _state=this.state,data=_state.data,is_edit=_state.is_edit,sign=_state.sign,type=_state.type,followed=_state.followed,id=_state.id,isRenders=_state.isRenders,moduleName=_state.moduleName,next_gold=_state.next_gold;var isCurrent=true;var currentLogin=void 0;if(this.props.current_user&&this.props.current_user.login!=this.props.match.params.username){isCurrent=false;currentLogin=this.props.current_user.login;}var _commonProps={is_current:isCurrent,login:currentLogin};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain'},this.state.updata===undefined?"":__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__modals_UpgradeModals__["a" /* default */],this.state),isRenders&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11__login_Trialapplication__["a" /* default */],Object.assign({},this.props,this.state,{Cancel:function Cancel(){return _this2.cancelModulationModels();}})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__InfosBanner__["a" /* default */],Object.assign({},this.props,this.state,_commonProps,{signFor:this.signFor,followPerson:this.followPerson})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/topics/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosTopics,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/courses',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosCourse,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/shixuns',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosShixun,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/paths',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPath,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosProject,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/package',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosPackage,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/videos',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosVideo,Object.assign({},_this2.props,props,_this2.state,_commonProps));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(InfosCourse,Object.assign({},_this2.props,props,_this2.state,_commonProps));}})));}}]);return Infos;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);// CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC))
/* harmony default export */ __webpack_exports__["default"] = (Infos);
/***/ })

@ -1998,7 +1998,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__list_css__ = __webpack_require__(2382);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__list_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__list_css__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_recompose__ = __webpack_require__(3263);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CoderRootBranch=function(_Component){_inherits(CoderRootBranch,_Component);function CoderRootBranch(porps){_classCallCheck(this,CoderRootBranch);var _this=_possibleConstructorReturn(this,(CoderRootBranch.__proto__||Object.getPrototypeOf(CoderRootBranch)).call(this,porps));_this.state={data:undefined};return _this;}_createClass(CoderRootBranch,[{key:'render',value:function render(){var branchList=this.props.branchList;var list=function list(){if(branchList&&branchList.length>0){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('ul',{className:'branchUl'},branchList.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('li',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'color-blue font-15'},item.name),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'f-wrap-alignCenter'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_react_router_dom__["b" /* Link */],{to:'',className:'mr5 color-blue hide-1',style:{"maxWidth":"100px"}},item.last_commit&&item.last_commit.id),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'color-grey-9 hide-1 messages leftPoint'},item.last_commit&&item.last_commit.message),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'color-grey-6 leftPoint'},'\u6700\u540E\u66F4\u65B0\u4E8E',item.last_commit&&item.last_commit.time_from_now))),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_react_router_dom__["b" /* Link */],{to:'',className:'mr20 operationBtn'},'\u521B\u5EFA\u5408\u5E76\u8BF7\u6C42'),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_dropdown___default.a,{overlay:menu(item.zip_url,item.tar_url),trigger:['click'],placement:'bottomRight',className:'operationBtn'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{className:'ant-dropdown-link'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_antd_lib_tooltip___default.a,{title:'\u4E0B\u8F7D\u5206\u652F'+item.name},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_icon___default.a,{type:'cloud-download',className:'font-18'}))))));}));}};var menu=function menu(zip_url,tar_url){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{href:zip_url},'ZIP')),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{href:tar_url},'TAR.GZ')));};return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'branchTable'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'branchTitle'},'\u5206\u652F\u5217\u8868'),list());}}]);return CoderRootBranch;}(__WEBPACK_IMPORTED_MODULE_8_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CoderRootBranch);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CoderRootBranch=function(_Component){_inherits(CoderRootBranch,_Component);function CoderRootBranch(porps){_classCallCheck(this,CoderRootBranch);var _this=_possibleConstructorReturn(this,(CoderRootBranch.__proto__||Object.getPrototypeOf(CoderRootBranch)).call(this,porps));_this.state={data:undefined};return _this;}_createClass(CoderRootBranch,[{key:'render',value:function render(){var _props=this.props,branchList=_props.branchList,projectDetail=_props.projectDetail;var list=function list(){if(branchList&&branchList.length>0){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('ul',{className:'branchUl'},branchList.map(function(item,key){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('li',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_react_router_dom__["b" /* Link */],{to:'',className:'color-blue font-15',style:{"maxWidth":"100px"}},item.name),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'f-wrap-alignCenter'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'mr5 color-blue'},item.last_commit&&item.last_commit.id),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'color-grey-9 hide-1 messages leftPoint'},item.last_commit&&item.last_commit.message),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',{className:'color-grey-6 leftPoint'},'\u6700\u540E\u66F4\u65B0\u4E8E',item.last_commit&&item.last_commit.time_from_now))),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('span',null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_react_router_dom__["b" /* Link */],{to:'',className:'mr20 operationBtn'},'\u521B\u5EFA\u5408\u5E76\u8BF7\u6C42'),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_3_antd_lib_dropdown___default.a,{overlay:menu(item.zip_url,item.tar_url),trigger:['click'],placement:'bottomRight',className:'operationBtn'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{className:'ant-dropdown-link'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_antd_lib_tooltip___default.a,{title:'\u4E0B\u8F7D\u5206\u652F'+item.name},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_antd_lib_icon___default.a,{type:'cloud-download',className:'font-18'}))))));}));}};var menu=function menu(zip_url,tar_url){return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{href:zip_url},'ZIP')),__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_menu___default.a.Item,null,__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('a',{href:tar_url},'TAR.GZ')));};return __WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('div',{className:'branchTable'},__WEBPACK_IMPORTED_MODULE_8_react___default.a.createElement('p',{className:'branchTitle'},'\u5206\u652F\u5217\u8868'),list());}}]);return CoderRootBranch;}(__WEBPACK_IMPORTED_MODULE_8_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CoderRootBranch);
/***/ }),

@ -234,7 +234,7 @@ tos:'/banks/normal/'+workids+'/edit/'+_this.props.match.params.type+'?tab=0',id:
// })
// this.props.initPublic(crumbData);
// }
value:function render(){var _this2=this;var _state=this.state,tab=_state.tab,datas=_state.datas,visible=_state.visible;var banksMenu=this.state.banksMenu;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/normal/:workid/'+this.props.match.params.type+'/answer',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Generaljobanswer,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/normal/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Generaljobdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return Generaljobbankdetails;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Generaljobbankdetails);
value:function render(){var _this2=this;var _state=this.state,tab=_state.tab,datas=_state.datas,visible=_state.visible;var banksMenu=this.state.banksMenu;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/normal/:workid/'+this.props.match.params.type+'/answer',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Generaljobanswer,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/normal/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Generaljobdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return Generaljobbankdetails;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Generaljobbankdetails);
/***/ })

@ -238,7 +238,7 @@ value:function render(){var _this2=this;var _state=this.state,tab=_state.tab,dat
// const common={
// initPublic:this.initPublic,
// }
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/group/:workid/'+this.props.match.params.type+'/answer',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Groupjobquesanswer,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/group/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Groupjobbandetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return GroupjobbankPage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (GroupjobbankPage);
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/group/:workid/'+this.props.match.params.type+'/answer',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Groupjobquesanswer,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/group/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Groupjobbandetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return GroupjobbankPage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (GroupjobbankPage);
/***/ })

@ -230,7 +230,7 @@ tos:'/banks/gtopic/'+workids+'/edit/'+_this.props.match.params.type+'?tab=0',id:
// const common={
// initPublic:this.initPublic,
// }
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/gtopic/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Completetopicdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return CompletetopicdePage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CompletetopicdePage);
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/gtopic/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Completetopicdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return CompletetopicdePage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CompletetopicdePage);
/***/ })

@ -227,7 +227,7 @@ menuArray:[//tab以及tab路由
{to:'/banks/gtask/'+workids+'/'+_this.props.match.params.type+'?tab=0',content:'内容详情'}],category:'gtask',//毕设选题
tos:'/banks/gtask/'+workids+'/edit/'+_this.props.match.params.type+'?tab=0',id:workids,is_public:response&&response.data&&response.data.is_public,type:_this.props.match.params.type,authorize:response&&response.data&&response.data.authorize};_this.setState({banksMenu:menuData});_this.props.initPublic(crumbData,response.data);}catch(e){}}else{_this.setState({datas:[]});}}else{_this.setState({datas:[]});}_this.setState({isSpin:false});}).catch(function(error){console.log(error);_this.setState({datas:[],isSpin:false});});};_this.state={workid:1,isSpin:false,datas:[],visible:false,banksMenu:undefined};return _this;}_createClass(Completetaskpage,[{key:'componentDidMount',value:function componentDidMount(){// console.log("父组件加载框");
this.getonedata();}},{key:'getonedata',value:function getonedata(){if(this.props.match.params.workid){this.setState({workid:this.props.match.params.workid});}this.getdata(this.props.match.params.workid);}// 获取数据的地方
},{key:'render',value:function render(){var _this2=this;var datas=this.state.datas;var banksMenu=this.state.banksMenu;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/gtask/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Completetaskdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return Completetaskpage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Completetaskpage);
},{key:'render',value:function render(){var _this2=this;var datas=this.state.datas;var banksMenu=this.state.banksMenu;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'pd30'},banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__user_usersInfo_banks_banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/gtask/:workid/'+this.props.match.params.type,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Completetaskdetails,Object.assign({},_this2.props,props,_this2.state,{datas:datas}));}}))));}}]);return Completetaskpage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Completetaskpage);
/***/ })

@ -139,7 +139,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}// 毕设选题
var GtopicBanks=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(51/* duplicate */).then(__webpack_require__.bind(null, 3586));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});// 问卷内容
var PollBanks=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(193).then(__webpack_require__.bind(null, 4808));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});// 试卷详情
var ExerciseBanksDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(174).then(__webpack_require__.bind(null, 4809));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var BanksTabIndex=function(_Component){_inherits(BanksTabIndex,_Component);function BanksTabIndex(props){_classCallCheck(this,BanksTabIndex);var _this=_possibleConstructorReturn(this,(BanksTabIndex.__proto__||Object.getPrototypeOf(BanksTabIndex)).call(this,props));_this.initPublic=function(crumbData,menuData,data){_this.setState({banksMenu:menuData});_this.props.initPublic(crumbData,data);};_this.state={banksMenu:undefined};return _this;}_createClass(BanksTabIndex,[{key:'render',value:function render(){var _this2=this;var banksMenu=this.state.banksMenu;var common={initPublic:this.initPublic};console.log("BanksTabIndex");console.log(banksMenu);console.log(this.props);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state,common)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/exercise/:Id/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseBanksDetail,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/gtopic/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GtopicBanks,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/banks/poll/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollBanks,Object.assign({},_this2.props,props,_this2.state,common));}})));}}]);return BanksTabIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (BanksTabIndex);
var ExerciseBanksDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(174).then(__webpack_require__.bind(null, 4809));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var BanksTabIndex=function(_Component){_inherits(BanksTabIndex,_Component);function BanksTabIndex(props){_classCallCheck(this,BanksTabIndex);var _this=_possibleConstructorReturn(this,(BanksTabIndex.__proto__||Object.getPrototypeOf(BanksTabIndex)).call(this,props));_this.initPublic=function(crumbData,menuData,data){_this.setState({banksMenu:menuData});_this.props.initPublic(crumbData,data);};_this.state={banksMenu:undefined};return _this;}_createClass(BanksTabIndex,[{key:'render',value:function render(){var _this2=this;var banksMenu=this.state.banksMenu;var common={initPublic:this.initPublic};console.log("BanksTabIndex");console.log(banksMenu);console.log(this.props);return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,banksMenu&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4__banksMenu__["a" /* default */],Object.assign({banksMenu:banksMenu},this.props,this.state,common)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/exercise/:Id/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseBanksDetail,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/gtopic/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GtopicBanks,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/banks/poll/:bankId/:type',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollBanks,Object.assign({},_this2.props,props,_this2.state,common));}})));}}]);return BanksTabIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (BanksTabIndex);
/***/ })

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -69,7 +69,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_axios__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_axios__);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var AccountBasic=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(49/* duplicate */).then(__webpack_require__.bind(null, 3118));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var AccountBasicEdit=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(49/* duplicate */).then(__webpack_require__.bind(null, 2386));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var AccountCertification=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(83).then(__webpack_require__.bind(null, 4780));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var AccountSecure=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(127).then(__webpack_require__.bind(null, 4781));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var AccountBinding=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(128).then(__webpack_require__.bind(null, 4782));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var AccountPage=function(_Component){_inherits(AccountPage,_Component);function AccountPage(props){_classCallCheck(this,AccountPage);var _this=_possibleConstructorReturn(this,(AccountPage.__proto__||Object.getPrototypeOf(AccountPage)).call(this,props));_this.componentDidUpdate=function(prevState){if(_this.props.current_user&&_this.props.current_user!=prevState.current_user){_this.getBasicInfo(_this.props.current_user.login);}};_this.componentDidMount=function(){if(_this.props.current_user){_this.getBasicInfo(_this.props.current_user.login);}};_this.getBasicInfo=function(login){var url='/users/accounts/'+(login||_this.props.current_user.login)+'.json';__WEBPACK_IMPORTED_MODULE_8_axios___default.a.get(url).then(function(result){if(result.data){if(result.data&&result.data.base_info_completed==false){_this.props.history.push('/account/profile/edit');}// "authentication": "uncertified", // "uncertified" | "applying" | "certified"
_this.setState({basicInfo:Object.assign({},Object.assign({},result.data),{avatar_url:''+result.data.avatar_url,gender:result.data.gender==null||result.data.gender==undefined?0:result.data.gender})});}}).catch(function(error){console.log(error);});};_this.state={basicInfo:{}};return _this;}_createClass(AccountPage,[{key:'render',value:function render(){var _this2=this;var basicInfo=this.state.basicInfo;var common={basicInfo:basicInfo,getBasicInfo:this.getBasicInfo};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent df pt20'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('style',null,'\n .accountPage {\n display: flex;\n }\n .basicFormWrap{\n flex:1;\n width: 0;\n }\n\n /* \u5DE6\u4FA7 */\n .accountNav {\n width: 290px;\n box-shadow: 0px 4px 9px 0px rgba(11,62,120,0.21);\n border-radius: 2px;\n padding-top: 8px;\n padding-bottom: 30px;\n margin-bottom:30px;\n margin-right:20px;\n height: 460px;\n }\n '),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__account_AccountNav__["a" /* default */],Object.assign({},this.props,common)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'basicFormWrap'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/account/profile/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasicEdit,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/account/profile',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasic,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/account/certification',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountCertification,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/account/secure',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountSecure,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/account/binding',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBinding,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/account',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasic,Object.assign({getBasicInfo:function getBasicInfo(){return _this2.getBasicInfo();}},_this2.props,props,_this2.state,common));}})))));}}]);return AccountPage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_6_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(AccountPage))));
_this.setState({basicInfo:Object.assign({},Object.assign({},result.data),{avatar_url:''+result.data.avatar_url,gender:result.data.gender==null||result.data.gender==undefined?0:result.data.gender})});}}).catch(function(error){console.log(error);});};_this.state={basicInfo:{}};return _this;}_createClass(AccountPage,[{key:'render',value:function render(){var _this2=this;var basicInfo=this.state.basicInfo;var common={basicInfo:basicInfo,getBasicInfo:this.getBasicInfo};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent df pt20'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('style',null,'\n .accountPage {\n display: flex;\n }\n .basicFormWrap{\n flex:1;\n width: 0;\n }\n\n /* \u5DE6\u4FA7 */\n .accountNav {\n width: 290px;\n box-shadow: 0px 4px 9px 0px rgba(11,62,120,0.21);\n border-radius: 2px;\n padding-top: 8px;\n padding-bottom: 30px;\n margin-bottom:30px;\n margin-right:20px;\n height: 460px;\n }\n '),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7__account_AccountNav__["a" /* default */],Object.assign({},this.props,common)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'basicFormWrap'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/account/profile/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasicEdit,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/account/profile',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasic,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/account/certification',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountCertification,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/account/secure',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountSecure,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/account/binding',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBinding,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/account',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(AccountBasic,Object.assign({getBasicInfo:function getBasicInfo(){return _this2.getBasicInfo();}},_this2.props,props,_this2.state,common));}})))));}}]);return AccountPage;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_6_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(AccountPage))));
/***/ })

@ -57,7 +57,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_axios__);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CaseList=__WEBPACK_IMPORTED_MODULE_8_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(169).then(__webpack_require__.bind(null, 4830));},loading:__WEBPACK_IMPORTED_MODULE_7__Loading__["a" /* default */]});var CaseDetail=__WEBPACK_IMPORTED_MODULE_8_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(205).then(__webpack_require__.bind(null, 3116));},loading:__WEBPACK_IMPORTED_MODULE_7__Loading__["a" /* default */]});var CaseNew=__WEBPACK_IMPORTED_MODULE_8_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(89).then(__webpack_require__.bind(null, 4833));},loading:__WEBPACK_IMPORTED_MODULE_7__Loading__["a" /* default */]});var CaseSuccess=__WEBPACK_IMPORTED_MODULE_8_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(204).then(__webpack_require__.bind(null, 4834));},loading:__WEBPACK_IMPORTED_MODULE_7__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(props){_classCallCheck(this,Index);var _this=_possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).call(this,props));_this.getDetail=function(caseID){var url='/libraries/'+caseID+'.json';__WEBPACK_IMPORTED_MODULE_9_axios___default.a.get(url).then(function(result){if(result){_this.setState({CaseDetail:result.data,praise_count:result.data.praise_count,cover:result.data.cover,creator:result.data.creator,operation:result.data.operation,user_praised:result.data.operation.user_praised,tags:result.data.tags,attachments:result.data.attachments});window.document.title=result.data.title;}}).catch(function(error){console.log(error);});};_this.praisePoint=function(caseID){var praise_count=_this.state.praise_count;var url='/praise_tread/like.json';__WEBPACK_IMPORTED_MODULE_9_axios___default.a.post(url,{object_id:caseID,object_type:"library"}).then(function(result){if(result){_this.setState({praise_count:parseInt(praise_count)+1,user_praised:true});}}).catch(function(error){console.log(error);});};_this.state={praise_count:0,CaseDetail:undefined,cover:undefined,creator:undefined,operation:undefined,tags:undefined,attachments:undefined,user_praised:true};return _this;}_createClass(Index,[{key:'componentDidMount',value:function componentDidMount(){}// 获取案例详情
// 点赞
},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{exact:true,path:'/moop_cases',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseList,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{exact:true,path:'/moop_cases/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseNew,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{exact:true,path:'/moop_cases/:caseID',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseDetail,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail,praisePoint:_this2.praisePoint}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{exact:true,path:'/moop_cases/:caseID/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseNew,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{exact:true,path:'/moop_cases/:caseID/publish_success',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseSuccess,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail}));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_5__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_4__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))));
},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{exact:true,path:'/moop_cases',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseList,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{exact:true,path:'/moop_cases/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseNew,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{exact:true,path:'/moop_cases/:caseID',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseDetail,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail,praisePoint:_this2.praisePoint}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{exact:true,path:'/moop_cases/:caseID/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseNew,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{exact:true,path:'/moop_cases/:caseID/publish_success',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CaseSuccess,Object.assign({},_this2.props,props,_this2.state,{getDetail:_this2.getDetail}));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_5__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_3_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_4__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))));
/***/ })

@ -91,7 +91,7 @@ try{child.getdatas();}catch(e){}//
try{child.getdatas2();}catch(e){}//
}},{key:'render',value:function render(){var _this2=this;var _state=this.state,routing=_state.routing,unread_message_count=_state.unread_message_count,unread_tiding_count=_state.unread_tiding_count;// console.log(this.props);
// console.log(routing);
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent mt20 mb80 clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'leftPanel'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'mb20 edu-back-white pt40 pb40 edu-txt-center'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',null,this.props.current_user!==undefined?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img',{className:'person radius myw120 myh120',src:Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["M" /* getImageUrl */])("images/"+this.props.current_user.image_url)}):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'font-24 lineh-25 mt10'},this.props.current_user&&this.props.current_user.username),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'color-grey-6 mt5'},this.props.current_user&&this.props.current_user.user_identity)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('ul',{className:'edu-back-white'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:routing===1?"nav pr active":"nav pr"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onClick:function onClick(value,child){return _this2.SwitchonClick(1,_this2.child);}},'\u6D88\u606F'),unread_tiding_count===0?"":unread_tiding_count>0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'new-info'},unread_tiding_count):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:routing===2?"nav pr active":routing===3?"nav pr active":"nav pr"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onClick:function onClick(value,child){return _this2.SwitchonClick(2,_this2.child);}},'\u79C1\u4FE1'),unread_message_count===0?"":unread_message_count>0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'new-info'},unread_message_count):""))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'rightPanel'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{path:'/messages/:userid/user_tidings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagSub,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{path:'/messages/:userid/private_messages',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagePrivate,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Modifyur:function Modifyur(i,item){return _this2.Modifyur(i,item);},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["d" /* Route */],{path:'/messages/:userid/message_detail',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagChat,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Modifyur:function Modifyur(i){return _this2.Modifyur(i);},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}))))));}}]);return Messagerouting;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1__modules_tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Messagerouting)));
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'educontent mt20 mb80 clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'leftPanel'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'mb20 edu-back-white pt40 pb40 edu-txt-center'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',null,this.props.current_user!==undefined?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('img',{className:'person radius myw120 myh120',src:Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["M" /* getImageUrl */])("images/"+this.props.current_user.image_url)}):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'font-24 lineh-25 mt10'},this.props.current_user&&this.props.current_user.username),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'color-grey-6 mt5'},this.props.current_user&&this.props.current_user.user_identity)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('ul',{className:'edu-back-white'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:routing===1?"nav pr active":"nav pr"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onClick:function onClick(value,child){return _this2.SwitchonClick(1,_this2.child);}},'\u6D88\u606F'),unread_tiding_count===0?"":unread_tiding_count>0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'new-info'},unread_tiding_count):""),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('li',{className:routing===2?"nav pr active":routing===3?"nav pr active":"nav pr"},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('a',{onClick:function onClick(value,child){return _this2.SwitchonClick(2,_this2.child);}},'\u79C1\u4FE1'),unread_message_count===0?"":unread_message_count>0?__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'new-info'},unread_message_count):""))),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'rightPanel'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{path:'/messages/:userid/user_tidings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagSub,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{path:'/messages/:userid/private_messages',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagePrivate,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Modifyur:function Modifyur(i,item){return _this2.Modifyur(i,item);},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_react_router_dom__["e" /* Route */],{path:'/messages/:userid/message_detail',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(MessagChat,Object.assign({triggerRef:_this2.bindRef},_this2.state,_this2.props,props,{Message2:function Message2(){return _this2.Message2();},Modifyur:function Modifyur(i){return _this2.Modifyur(i);},Mtab:function Mtab(i){return _this2.myxiaoxisixintab(i);}}));}}))))));}}]);return Messagerouting;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1__modules_tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Messagerouting)));
/***/ })

@ -22,7 +22,7 @@ var _createClass=function(){function defineProperties(target,props){for(var i=0;
var ListPageIndex=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(38/* duplicate */).then(__webpack_require__.bind(null, 3107));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});// 讨论
var BoardsNew=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(85).then(__webpack_require__.bind(null, 4576));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var TopicDetail=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(140).then(__webpack_require__.bind(null, 4578));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});// 讨论
var Boards=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(130).then(__webpack_require__.bind(null, 3238));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var CoursesIndex=function(_Component){_inherits(CoursesIndex,_Component);function CoursesIndex(props){_classCallCheck(this,CoursesIndex);var _this=_possibleConstructorReturn(this,(CoursesIndex.__proto__||Object.getPrototypeOf(CoursesIndex)).call(this,props));_this.state={// coursedata:undefined
};return _this;}_createClass(CoursesIndex,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;var common={};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this2.props,props,_this2.state,common));}}));}}]);return CoursesIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(CoursesIndex)));
};return _this;}_createClass(CoursesIndex,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;var common={};return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardsNew,Object.assign({},_this2.props,props,_this2.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId/messages/:topicId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(TopicDetail,Object.assign({},_this2.props,_this2.state,props,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this2.props,props,_this2.state,common));}}));}}]);return CoursesIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(CoursesIndex)));
/***/ })

@ -13,8 +13,10 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__Loading__ = __webpack_require__(338);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_axios__);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CoderRootDirectory=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(53).then(__webpack_require__.bind(null, 4751));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootCommit=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(112).then(__webpack_require__.bind(null, 4754));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootFileDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(65).then(__webpack_require__.bind(null, 3301));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootBranch=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(164).then(__webpack_require__.bind(null, 4755));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootIndex=function(_Component){_inherits(CoderRootIndex,_Component);function CoderRootIndex(props){_classCallCheck(this,CoderRootIndex);var _this=_possibleConstructorReturn(this,(CoderRootIndex.__proto__||Object.getPrototypeOf(CoderRootIndex)).call(this,props));_this.componentDidMount=function(){_this.getBranch();};_this.getBranch=function(){var projectsId=_this.props.match.params.projectsId;var url='/projects/'+projectsId+'/branches.json';__WEBPACK_IMPORTED_MODULE_4_axios___default.a.get(url).then(function(result){if(result&&result.data.length>0){var branchs=[];result.data.map(function(item,key){branchs.push({index:key,name:item.name});});_this.setState({branchList:result.data,branchs:branchs,branchLastCommit:result.data[0],http_url:result.data[0].http_url});}}).catch(function(error){});};_this.state={branchs:undefined,branchList:undefined,branchLastCommit:undefined,http_url:undefined};return _this;}// 获取分支列表
_createClass(CoderRootIndex,[{key:'render',value:function render(){var _this2=this;var projectDetail=this.props.projectDetail;var projectsId=this.props.match.params.projectsId;var pathname=this.props.location.pathname;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'main'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'branch-wrapper'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["b" /* Link */],{to:'/projects/'+projectsId+'/coder/commit',className:pathname.indexOf("/coder/commit")>0?"active":""},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-tijiaojilu font-18 mr3'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'mr3'},projectDetail&&projectDetail.commits_count),'\u63D0\u4EA4'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["b" /* Link */],{to:'/projects/'+projectsId+'/coder/branch',className:pathname.indexOf("/coder/branch")>0?"active":""},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-fenzhi font-18 mr3'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'mr3'},projectDetail&&projectDetail.branches_count),'\u5206\u652F')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsId/coder/commit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootCommit,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsId/coder/branch',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootBranch,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsId/coder',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return CoderRootIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CoderRootIndex);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var CoderRootDirectory=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(53).then(__webpack_require__.bind(null, 4751));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootCommit=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(112).then(__webpack_require__.bind(null, 4754));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootFileDetail=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(65).then(__webpack_require__.bind(null, 3301));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootBranch=__WEBPACK_IMPORTED_MODULE_2_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(164).then(__webpack_require__.bind(null, 4755));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var CoderRootIndex=function(_Component){_inherits(CoderRootIndex,_Component);function CoderRootIndex(props){_classCallCheck(this,CoderRootIndex);var _this=_possibleConstructorReturn(this,(CoderRootIndex.__proto__||Object.getPrototypeOf(CoderRootIndex)).call(this,props));_this.componentDidMount=function(){_this.getBranch();};_this.getBranch=function(){var projectsId=_this.props.match.params.projectsId;console.log(_this.props);var url='/projects/'+projectsId+'/branches.json';__WEBPACK_IMPORTED_MODULE_4_axios___default.a.get(url).then(function(result){if(result&&result.data.length>0){var branchs=[];result.data.map(function(item,key){branchs.push({index:key,name:item.name});});_this.setState({branchList:result.data,branchs:branchs,branchLastCommit:result.data[0]// http_url:result.data[0].http_url
});}}).catch(function(error){});};_this.state={branchs:undefined,branchList:undefined,branchLastCommit:undefined// http_url:undefined
};return _this;}// 获取分支列表
_createClass(CoderRootIndex,[{key:'render',value:function render(){var _this2=this;var projectDetail=this.props.projectDetail;var projectsId=this.props.match.params.projectsId;var pathname=this.props.location.pathname;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'main'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('p',{className:'branch-wrapper'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["b" /* Link */],{to:'/projects/'+projectsId+'/coder/commit',className:pathname.indexOf("/coder/commit")>0?"active":""},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-tijiaojilu font-18 mr3'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'mr3'},projectDetail&&projectDetail.commits_count),'\u63D0\u4EA4'),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["b" /* Link */],{to:'/projects/'+projectsId+'/coder/branch',className:pathname.indexOf("/coder/branch")>0?"active":""},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('i',{className:'iconfont icon-fenzhi font-18 mr3'}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('span',{className:'mr3'},projectDetail&&projectDetail.branches_count),'\u5206\u652F')),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coder/commit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootCommit,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coder/branch',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootBranch,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId/coder',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoderRootDirectory,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return CoderRootIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (CoderRootIndex);
/***/ })

@ -53,7 +53,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_axios__);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var ProjectNew=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(124).then(__webpack_require__.bind(null, 4684));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var ProjectIndex=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(152).then(__webpack_require__.bind(null, 4687));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var ProjectDetail=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(196).then(__webpack_require__.bind(null, 4689));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(props){_classCallCheck(this,Index);var _this=_possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).call(this,props));_this.componentDidMount=function(){_this.getUserInfo();document.title="forge开源";};_this.getUserInfo=function(){var url='/users/me.json';__WEBPACK_IMPORTED_MODULE_7_axios___default.a.get(url).then(function(result){// result && result.data.login
if(result&&result.data.login){_this.setState({current_user:result.data});}}).catch(function(error){console.log(error);});};_this.state={current_user:undefined};return _this;}_createClass(Index,[{key:'render',value:function render(){var _this2=this;var current_user=this.state.current_user;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsType/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectNew,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectDetail,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectIndex,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_3__modules_courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Index)));
if(result&&result.data.login){_this.setState({current_user:result.data});}}).catch(function(error){console.log(error);});};_this.state={current_user:undefined};return _this;}_createClass(Index,[{key:'render',value:function render(){var _this2=this;var current_user=this.state.current_user;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsType/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectNew,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/projects/:projectsId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectDetail,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ProjectIndex,Object.assign({},_this2.props,props,_this2.state,{current_user:current_user}));}}));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_3__modules_courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Index)));
/***/ })

@ -29,7 +29,7 @@ function elasticLayer(forumId){if(window.__memo){doElasticLayer(window.__memo,tr
taskList:true,tex:true,// 默认不解析
flowChart:true,// 默认不解析
sequenceDiagram:true// 默认不解析
});}function removeElasticLayer(){$(".layerContent").hide();$(".newMain").show();}window.elasticLayer=elasticLayer;window.doElasticLayer=doElasticLayer;window.removeElasticLayer=removeElasticLayer;var Ecs=function(_React$Component){_inherits(Ecs,_React$Component);function Ecs(){_classCallCheck(this,Ecs);return _possibleConstructorReturn(this,(Ecs.__proto__||Object.getPrototypeOf(Ecs)).apply(this,arguments));}_createClass(Ecs,[{key:'render',value:function render(){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{extra:true,path:'/ecs/department',component:Home}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/ecs/major_schools/:majorId/years/:yearId/:type',component:EcSetting}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{extra:true,path:'/ecs/major_schools/:majorId',component:EcYear})));}}]);return Ecs;}(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Component);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_4__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Ecs)));
});}function removeElasticLayer(){$(".layerContent").hide();$(".newMain").show();}window.elasticLayer=elasticLayer;window.doElasticLayer=doElasticLayer;window.removeElasticLayer=removeElasticLayer;var Ecs=function(_React$Component){_inherits(Ecs,_React$Component);function Ecs(){_classCallCheck(this,Ecs);return _possibleConstructorReturn(this,(Ecs.__proto__||Object.getPrototypeOf(Ecs)).apply(this,arguments));}_createClass(Ecs,[{key:'render',value:function render(){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{extra:true,path:'/ecs/department',component:Home}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/ecs/major_schools/:majorId/years/:yearId/:type',component:EcSetting}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{extra:true,path:'/ecs/major_schools/:majorId',component:EcYear})));}}]);return Ecs;}(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Component);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_4__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Ecs)));
/***/ })

@ -15,7 +15,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_react_loadable__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Loading__ = __webpack_require__(338);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var UsersInfo=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(0/* duplicate */).then(__webpack_require__.bind(null, 837));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var VideoUploadList=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(167).then(__webpack_require__.bind(null, 4798));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var VideoPublishSuccess=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(202).then(__webpack_require__.bind(null, 4805));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var VideoProtocol=__WEBPACK_IMPORTED_MODULE_5_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(203).then(__webpack_require__.bind(null, 4806));},loading:__WEBPACK_IMPORTED_MODULE_6__Loading__["a" /* default */]});var $=window.$;var InfosIndex=function(_Component){_inherits(InfosIndex,_Component);function InfosIndex(props){_classCallCheck(this,InfosIndex);var _this=_possibleConstructorReturn(this,(InfosIndex.__proto__||Object.getPrototypeOf(InfosIndex)).call(this,props));_this.componentDidMount=function(){};_this.componentDidUpdate=function(prevProps){};_this.state={data:undefined};return _this;}//判断是否看的是当前用户的个人主页
_createClass(InfosIndex,[{key:'render',value:function render(){var _this2=this;var data=this.state.data;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/videos/upload',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoUploadList,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/videos/success',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoPublishSuccess,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{exact:true,path:'/users/:username/videos/protocol',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoProtocol,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["d" /* Route */],{path:'/users/:username',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(UsersInfo,Object.assign({},_this2.props,props,_this2.state));}}));}}]);return InfosIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_4__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_3__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(InfosIndex))));
_createClass(InfosIndex,[{key:'render',value:function render(){var _this2=this;var data=this.state.data;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/videos/upload',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoUploadList,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/videos/success',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoPublishSuccess,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{exact:true,path:'/users/:username/videos/protocol',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(VideoProtocol,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_react_router_dom__["e" /* Route */],{path:'/users/:username',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(UsersInfo,Object.assign({},_this2.props,props,_this2.state));}}));}}]);return InfosIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_4__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_3__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(InfosIndex))));
/***/ })

@ -14,7 +14,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_loadable__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__ = __webpack_require__(341);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_educoder__ = __webpack_require__(5);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PackageIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(150).then(__webpack_require__.bind(null, 3312));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Topic_bank=function(_Component){_inherits(Topic_bank,_Component);function Topic_bank(props){_classCallCheck(this,Topic_bank);return _possibleConstructorReturn(this,(Topic_bank.__proto__||Object.getPrototypeOf(Topic_bank)).call(this,props));}_createClass(Topic_bank,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/topicbank/:username/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/topicbank/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Topic_bank;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Topic_bank)));
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PackageIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(150).then(__webpack_require__.bind(null, 3312));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Topic_bank=function(_Component){_inherits(Topic_bank,_Component);function Topic_bank(props){_classCallCheck(this,Topic_bank);return _possibleConstructorReturn(this,(Topic_bank.__proto__||Object.getPrototypeOf(Topic_bank)).call(this,props));}_createClass(Topic_bank,[{key:'componentDidMount',value:function componentDidMount(){}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/topicbank/:username/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/topicbank/:topicstype',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PackageIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Topic_bank;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Topic_bank)));
/***/ })

@ -13,7 +13,7 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_react_loadable__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__Loading__ = __webpack_require__(338);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__ = __webpack_require__(341);
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PathsDetail=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(80).then(__webpack_require__.bind(null, 4518));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var PathsNew=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(251).then(__webpack_require__.bind(null, 4533));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var Statistics=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(56).then(__webpack_require__.bind(null, 4534));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var ShixunPaths=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(134).then(__webpack_require__.bind(null, 4538));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(props){_classCallCheck(this,Index);return _possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).call(this,props));}_createClass(Index,[{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],Object.assign({path:'/paths/:pathId/statistics',component:Statistics},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/paths/new',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/paths/:pathId/edit',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/paths/:pathId',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsDetail,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/paths',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunPaths,Object.assign({},_this2.props,_this2.state,props));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["d" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))));
var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var PathsDetail=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(80).then(__webpack_require__.bind(null, 4518));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var PathsNew=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(251).then(__webpack_require__.bind(null, 4533));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var Statistics=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(56).then(__webpack_require__.bind(null, 4534));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var ShixunPaths=__WEBPACK_IMPORTED_MODULE_3_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(134).then(__webpack_require__.bind(null, 4538));},loading:__WEBPACK_IMPORTED_MODULE_4__Loading__["a" /* default */]});var Index=function(_Component){_inherits(Index,_Component);function Index(props){_classCallCheck(this,Index);return _possibleConstructorReturn(this,(Index.__proto__||Object.getPrototypeOf(Index)).call(this,props));}_createClass(Index,[{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],Object.assign({path:'/paths/:pathId/statistics',component:Statistics},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/new',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/:pathId/edit',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsNew,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths/:pathId',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PathsDetail,Object.assign({},_this2.props,_this2.state,props));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/paths',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunPaths,Object.assign({},_this2.props,_this2.state,props));}})));}}]);return Index;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["d" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Index))));
/***/ })

@ -18,7 +18,7 @@ var _createClass=function(){function defineProperties(target,props){for(var i=0;
var CompetitionsIndex=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(149).then(__webpack_require__.bind(null, 4840));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//竞赛详情页
var CompetitionCommon=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(58).then(__webpack_require__.bind(null, 4843));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//战队详情
var CompetitionTeams=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(106).then(__webpack_require__.bind(null, 4858));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});//团队竞赛报名
var Registration=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(146).then(__webpack_require__.bind(null, 4861));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Competitions=function(_Component){_inherits(Competitions,_Component);function Competitions(props){_classCallCheck(this,Competitions);return _possibleConstructorReturn(this,(Competitions.__proto__||Object.getPrototypeOf(Competitions)).call(this,props));}_createClass(Competitions,[{key:'componentDidMount',value:function componentDidMount(){window.document.title='竞赛';}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier/competition_teams/:competition_team_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionTeams,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier/enroll',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Registration,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions/:identifier',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionCommon,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/competitions',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionsIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Competitions;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Competitions)));
var Registration=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(146).then(__webpack_require__.bind(null, 4861));},loading:__WEBPACK_IMPORTED_MODULE_3__Loading__["a" /* default */]});var Competitions=function(_Component){_inherits(Competitions,_Component);function Competitions(props){_classCallCheck(this,Competitions);return _possibleConstructorReturn(this,(Competitions.__proto__||Object.getPrototypeOf(Competitions)).call(this,props));}_createClass(Competitions,[{key:'componentDidMount',value:function componentDidMount(){window.document.title='竞赛';}},{key:'render',value:function render(){var _this2=this;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div',{className:'newMain clearfix'},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/competitions/:identifier/competition_teams/:competition_team_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionTeams,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/competitions/:identifier/enroll',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Registration,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/competitions/:identifier',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionCommon,Object.assign({},_this2.props,props,_this2.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Route */],{path:'/competitions',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CompetitionsIndex,Object.assign({},_this2.props,props,_this2.state));}})));}}]);return Competitions;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_6__courses_common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_5__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(Competitions)));
/***/ })

@ -86,7 +86,7 @@
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.src = __webpack_require__.p + "./static/js/" + ({}[chunkId]||chunkId) + "." + {"0":"e5cfad83","1":"7095ebf0","2":"405ffab7","3":"de9b0850","4":"ba67f68b","5":"a0191669","6":"d7290b42","7":"3506fd6c","8":"4fc89627","9":"ebfbf5d4","10":"b2b3ed62","11":"f407fca8","12":"01384d1c","13":"a0111c11","14":"f5d7b875","15":"6b37ea85","16":"a899f99c","17":"5bfcaa6a","18":"80f23345","19":"dd5af03f","20":"e0c7b05f","21":"daa667be","22":"fbe587fa","23":"b8dd0fce","24":"057a6b04","25":"ff97876d","26":"06e0ef80","27":"22487e49","28":"414e2cf0","29":"aa876493","30":"b45f7c79","31":"4ee16487","32":"fedb209c","33":"100ad33d","34":"6c4981a0","35":"030e13cb","36":"f487e8d5","37":"9a406a29","38":"bc33a7e6","39":"daeaaa27","40":"191fc08b","41":"207c3493","42":"67377575","43":"4519b3e2","44":"b3d80ae0","45":"ed807c26","46":"ae06ded3","47":"f0384f0d","48":"d8819953","49":"2434a35f","50":"441a0e9b","51":"0da51704","52":"bf322efb","53":"04ff0087","54":"c78d9a48","55":"4ac768d3","56":"82b509c7","57":"8a3a4aa6","58":"a5969688","59":"0abb723b","60":"a34ad7e8","61":"7a8441c1","62":"8aef9904","63":"df594394","64":"a11f4a9b","65":"ab280f3d","66":"3d32cdac","67":"b8718531","68":"d8cba66c","69":"61318255","70":"d6619696","71":"42f7c436","72":"2e1c9d4c","73":"5a695660","74":"64d911d7","75":"5bc2a98a","76":"fe5fbd8d","77":"be6329e6","78":"f168431c","79":"fe407ea9","80":"3247f30a","81":"4c59941e","82":"d6f7f879","83":"2b438eb6","84":"05328fa8","85":"e0bf843f","86":"487e90af","87":"0c57d96f","88":"871ef72c","89":"4b0d54db","90":"eec365e9","91":"9e99d5ad","92":"c4580915","93":"8d9525cf","94":"01c2d58d","95":"a4ffcef7","96":"ace6edb1","97":"0f5b089c","98":"7354b03a","99":"491b7204","100":"9ee9f0c8","101":"ef0af942","102":"fa0be189","103":"c564b6b6","104":"ba44116b","105":"b56dfac8","106":"b3ff108d","107":"f0378052","108":"ed7130f2","109":"2cbfaa7d","110":"977f5788","111":"7d144bfb","112":"b40ce0dd","113":"e9b7772e","114":"5a2551e9","115":"7d1c18b8","116":"6c67bc1f","117":"23f8e65c","118":"b51b4eb7","119":"ef402d24","120":"298238e9","121":"7287a6d5","122":"2fb9ac8a","123":"659743c3","124":"0a0fdeba","125":"be930001","126":"f9ff29e4","127":"2eef1fce","128":"2687398d","129":"16e6a925","130":"aa3acb2f","131":"49380bd6","132":"4391bfca","133":"ac9952fa","134":"ed3d2fb0","135":"b4d3df5f","136":"0b59381a","137":"f6c789b7","138":"64ac182c","139":"b9ec5d42","140":"207ac042","141":"11ac8ba9","142":"4c0f165f","143":"cb7707f7","144":"d80090a8","145":"dcf11d87","146":"cdc34f8d","147":"4d0dc457","148":"c46f003d","149":"6246c8ac","150":"60766331","151":"64d26606","152":"34817e46","153":"f6bed8b6","154":"b56da9d6","155":"ea2f148e","156":"92198aeb","157":"6cda3a9a","158":"377fc731","159":"ce908362","160":"efa01c8a","161":"79d5ff55","162":"129313c1","163":"dff8e727","164":"b748d693","165":"9039db33","166":"aec6ecca","167":"d2b14ce2","168":"50468209","169":"a211725b","170":"b1635200","171":"d9cec3ff","172":"9ce32f02","173":"e8ab306d","174":"2605b645","175":"d925429d","176":"f514c579","177":"6bbbddd9","178":"1ff74cf4","179":"b0eea116","180":"1070382f","181":"7d860a53","182":"543c5a87","183":"3af999b3","184":"33057626","185":"e3dfc1bb","186":"8de79e34","187":"e98633ee","188":"e0f10e32","189":"a464554d","190":"a289f8d8","191":"05138908","192":"f58b9bef","193":"e10e4b5a","194":"43a7c133","195":"7a829b3d","196":"f2392558","197":"8c03c322","198":"43858e28","199":"f3ab5e18","200":"f313bb01","201":"5a671732","202":"a9754a6e","203":"beb970d1","204":"c012e894","205":"73de7b78","206":"2b2d4adf","207":"90d2312d","208":"43056720","209":"779c50d8","210":"ddd638ae","211":"18a9372b","212":"b8c4213e","213":"dc6db464","214":"3ff9580e","215":"31ad8fa3","216":"f8040100","217":"a63081d9","218":"2e8ede16","219":"eb33e2b7","220":"b00cfc38","221":"711fa19f","222":"020a10ac","223":"b90ff6b9","224":"4b0763e1","225":"8d5c9c56","226":"88ea2c78","227":"d17ee4a5","228":"87f039fb","229":"8a1a17c3","230":"42b4bec0","231":"1574fbb1","232":"ec9c2287","233":"d9add6ae","234":"5c09506d","235":"3533bec5","236":"ded266b9","237":"f39ca105","238":"0560dc59","239":"4383bf9c","240":"2324e352","241":"de3b472d","242":"642448f5","243":"e2214a0e","244":"87a8eced","245":"7aee6c91","246":"b789fb84","247":"31b4c83a","248":"ce44acc9","249":"f952a721","250":"624bd7f5","251":"04de887b","252":"b41f2443","253":"b6e2bcca","254":"7092b37a","255":"825745b6","256":"38db6d89"}[chunkId] + ".chunk.js";
/******/ script.src = __webpack_require__.p + "./static/js/" + ({}[chunkId]||chunkId) + "." + {"0":"bd08e86b","1":"f1209eb5","2":"b2400699","3":"de9b0850","4":"ace3331a","5":"a0191669","6":"d7290b42","7":"50b532cb","8":"4fc89627","9":"80a8a515","10":"b2b3ed62","11":"f407fca8","12":"01384d1c","13":"0e650578","14":"f5d7b875","15":"6b37ea85","16":"a899f99c","17":"ce2a92b0","18":"7e4b08c6","19":"dd5af03f","20":"e0c7b05f","21":"daa667be","22":"fbe587fa","23":"9135bb0b","24":"c358e69d","25":"38b81f0d","26":"81e485d3","27":"c8779ad7","28":"d0706a3e","29":"8ba69ee2","30":"b48f6d74","31":"69e5cba7","32":"fedb209c","33":"100ad33d","34":"a1edc9c0","35":"030e13cb","36":"f487e8d5","37":"9a406a29","38":"5e7ec40b","39":"9dca1798","40":"191fc08b","41":"dc4d1dd1","42":"9b9556b0","43":"4fd56c90","44":"b3d80ae0","45":"a405b0a8","46":"e5e143b0","47":"f0384f0d","48":"ebe1bd08","49":"2434a35f","50":"441a0e9b","51":"0da51704","52":"7a099ee8","53":"9f025f3d","54":"a0c86166","55":"4ac768d3","56":"82b509c7","57":"8a3a4aa6","58":"e7b2c876","59":"e91311eb","60":"263e79c8","61":"7a8441c1","62":"4ccbf8f1","63":"df594394","64":"2e02b223","65":"ab280f3d","66":"3d775e2d","67":"b8718531","68":"d8cba66c","69":"38ea78ae","70":"c671076f","71":"cc0aed26","72":"2e1c9d4c","73":"5a695660","74":"64d911d7","75":"5bc2a98a","76":"8ff43ac8","77":"18e3b2c7","78":"f168431c","79":"fe407ea9","80":"b4ba172e","81":"ab3d32c0","82":"d6f7f879","83":"2b438eb6","84":"05328fa8","85":"e0bf843f","86":"3f0ca4b1","87":"cc52cbe1","88":"df9395ff","89":"4b0d54db","90":"eec365e9","91":"9e99d5ad","92":"a2a8faff","93":"989ae18b","94":"a7e87727","95":"d67b4166","96":"ace6edb1","97":"102cb13a","98":"7354b03a","99":"491b7204","100":"9ee9f0c8","101":"ef0af942","102":"fa0be189","103":"c564b6b6","104":"ba44116b","105":"bbf3b216","106":"c1289102","107":"35cf438c","108":"ed7130f2","109":"2cbfaa7d","110":"977f5788","111":"4ecbf9ba","112":"b40ce0dd","113":"5f545c1f","114":"5a2551e9","115":"7d1c18b8","116":"6c67bc1f","117":"ba1014d9","118":"b51b4eb7","119":"ef402d24","120":"6a870dc5","121":"7287a6d5","122":"a8b987b2","123":"4598aff6","124":"39e8daa0","125":"1279c55c","126":"f9ff29e4","127":"2eef1fce","128":"2687398d","129":"16e6a925","130":"aa3acb2f","131":"49380bd6","132":"4391bfca","133":"ac9952fa","134":"9d7c5f22","135":"b4d3df5f","136":"0b59381a","137":"30894d46","138":"64ac182c","139":"b9ec5d42","140":"207ac042","141":"60482201","142":"8cda1179","143":"7bcebd56","144":"d80090a8","145":"dcf11d87","146":"4d5e9fbe","147":"4d0dc457","148":"c46f003d","149":"6246c8ac","150":"60766331","151":"4890fd6d","152":"5eaaad45","153":"f658e019","154":"b56da9d6","155":"09dd2e1f","156":"92198aeb","157":"6cda3a9a","158":"377fc731","159":"ce908362","160":"efa01c8a","161":"79d5ff55","162":"129313c1","163":"dff8e727","164":"ed89303b","165":"9039db33","166":"aec6ecca","167":"af42d3b4","168":"50468209","169":"a211725b","170":"b1635200","171":"d9cec3ff","172":"9ce32f02","173":"607b8cd3","174":"2605b645","175":"d925429d","176":"bd4ac5e6","177":"3ee21964","178":"621921c4","179":"5795d7cb","180":"1070382f","181":"7d860a53","182":"543c5a87","183":"3af999b3","184":"33057626","185":"5520b9c1","186":"8de79e34","187":"e98633ee","188":"2e69da3e","189":"a464554d","190":"a289f8d8","191":"4df03ada","192":"f58b9bef","193":"e10e4b5a","194":"aeb59670","195":"fba85439","196":"4a0b5264","197":"8c03c322","198":"43858e28","199":"f3ab5e18","200":"f313bb01","201":"5a671732","202":"a9754a6e","203":"beb970d1","204":"c012e894","205":"73de7b78","206":"2b2d4adf","207":"90d2312d","208":"43056720","209":"779c50d8","210":"ddd638ae","211":"18a9372b","212":"b8c4213e","213":"dc6db464","214":"3ff9580e","215":"31ad8fa3","216":"f8040100","217":"a63081d9","218":"2e8ede16","219":"eb33e2b7","220":"b00cfc38","221":"711fa19f","222":"020a10ac","223":"b90ff6b9","224":"4b0763e1","225":"8d5c9c56","226":"88ea2c78","227":"d17ee4a5","228":"87f039fb","229":"8a1a17c3","230":"42b4bec0","231":"1574fbb1","232":"ec9c2287","233":"d9add6ae","234":"5c09506d","235":"3533bec5","236":"ded266b9","237":"f39ca105","238":"0560dc59","239":"4383bf9c","240":"2324e352","241":"de3b472d","242":"642448f5","243":"e2214a0e","244":"87a8eced","245":"7aee6c91","246":"1e835f1e","247":"2c808f1a","248":"12582dd5","249":"3de5900a","250":"c44b0df6","251":"13a6abb2","252":"b41f2443","253":"b6e2bcca","254":"7092b37a","255":"de5dbd4f","256":"602265c8"}[chunkId] + ".chunk.js";
/******/ var timeout = setTimeout(onScriptComplete, 120000);
/******/ script.onerror = script.onload = onScriptComplete;
/******/ function onScriptComplete() {
@ -2925,19 +2925,19 @@ function omit(obj, fields) {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__MemoryRouter__ = __webpack_require__(429);
/* unused harmony reexport MemoryRouter */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__NavLink__ = __webpack_require__(430);
/* unused harmony reexport NavLink */
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_4__NavLink__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Prompt__ = __webpack_require__(432);
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_5__Prompt__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__Redirect__ = __webpack_require__(433);
/* unused harmony reexport Redirect */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__Route__ = __webpack_require__(216);
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_7__Route__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__Router__ = __webpack_require__(128);
/* unused harmony reexport Router */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__StaticRouter__ = __webpack_require__(434);
/* unused harmony reexport StaticRouter */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__Switch__ = __webpack_require__(435);
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_10__Switch__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__generatePath__ = __webpack_require__(436);
/* unused harmony reexport generatePath */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__matchPath__ = __webpack_require__(437);
@ -41385,8 +41385,8 @@ window.addEventListener('error',function(event){var msg=event.type+': '+event.me
//获取数据为空的时候
//获取数据的时候
//获取当前定制信息
},{key:'render',value:function render(){var _this3=this;return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_28_react_redux__["a" /* Provider */],{store:store},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_config_provider___default.a,{locale:__WEBPACK_IMPORTED_MODULE_6_antd_lib_locale_provider_zh_CN___default.a},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_24_material_ui_styles__["MuiThemeProvider"],{theme:theme},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_17__modules_user_Accountnewprofile__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11__modules_login_LoginDialog__["a" /* default */],Object.assign({},this.props,this.state,{Modifyloginvalue:function Modifyloginvalue(){return _this3.Modifyloginvalue();}})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12__modules_user_Notcompletedysl__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13__modules_login_Trialapplicationysl__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_14__modules_user_Trialapplicationreview__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_15__modules_courses_coursesPublic_Addcourses__["a" /* default */],Object.assign({},this.props,this.state,{HideAddcoursestypess:function HideAddcoursestypess(i){return _this3.HideAddcoursestypess(i);}})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_16__modules_user_AccountProfile__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_19__modules_modals_Certifiedprofessional__["a" /* default */],Object.assign({},this.props,this.state,{ModalCancelsy:this.ModalCancelsy,ModalshowCancelsy:this.ModalshowCancelsy})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["a" /* BrowserRouter */],null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["e" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["d" /* Route */],{path:'/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(ProjectIndex,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["d" /* Route */],{exact:true,path:'/'// component={ShixunsHome}
,render:function render(props){return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(ProjectIndex,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["d" /* Route */],{component:Shixunnopage}))))));}}]);return App;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);// moment国际化设置为中文
},{key:'render',value:function render(){var _this3=this;return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_28_react_redux__["a" /* Provider */],{store:store},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_config_provider___default.a,{locale:__WEBPACK_IMPORTED_MODULE_6_antd_lib_locale_provider_zh_CN___default.a},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_24_material_ui_styles__["MuiThemeProvider"],{theme:theme},__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_17__modules_user_Accountnewprofile__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11__modules_login_LoginDialog__["a" /* default */],Object.assign({},this.props,this.state,{Modifyloginvalue:function Modifyloginvalue(){return _this3.Modifyloginvalue();}})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12__modules_user_Notcompletedysl__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13__modules_login_Trialapplicationysl__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_14__modules_user_Trialapplicationreview__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_15__modules_courses_coursesPublic_Addcourses__["a" /* default */],Object.assign({},this.props,this.state,{HideAddcoursestypess:function HideAddcoursestypess(i){return _this3.HideAddcoursestypess(i);}})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_16__modules_user_AccountProfile__["a" /* default */],Object.assign({},this.props,this.state)),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_19__modules_modals_Certifiedprofessional__["a" /* default */],Object.assign({},this.props,this.state,{ModalCancelsy:this.ModalCancelsy,ModalshowCancelsy:this.ModalshowCancelsy})),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["a" /* BrowserRouter */],null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["f" /* Switch */],null,__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["e" /* Route */],{path:'/projects',render:function render(props){return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(ProjectIndex,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["e" /* Route */],{exact:true,path:'/'// component={ShixunsHome}
,render:function render(props){return __WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(ProjectIndex,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_2_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_react_router_dom__["e" /* Route */],{component:Shixunnopage}))))));}}]);return App;}(__WEBPACK_IMPORTED_MODULE_2_react__["Component"]);// moment国际化设置为中文
__WEBPACK_IMPORTED_MODULE_23_moment___default.a.defineLocale('zh-cn',{months:'一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),monthsShort:'1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),weekdays:'星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),weekdaysShort:'周日_周一_周二_周三_周四_周五_周六'.split('_'),weekdaysMin:'日_一_二_三_四_五_六'.split('_'),longDateFormat:{LT:'Ah点mm分',LTS:'Ah点m分s秒',L:'YYYY-MM-DD',LL:'YYYY年MMMD日',LLL:'YYYY年MMMD日Ah点mm分',LLLL:'YYYY年MMMD日ddddAh点mm分',l:'YYYY-MM-DD',ll:'YYYY年MMMD日',lll:'YYYY年MMMD日Ah点mm分',llll:'YYYY年MMMD日ddddAh点mm分'},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function meridiemHour(hour,meridiem){if(hour===12){hour=0;}if(meridiem==='凌晨'||meridiem==='早上'||meridiem==='上午'){return hour;}else if(meridiem==='下午'||meridiem==='晚上'){return hour+12;}else{// '中午'
return hour>=11?hour:hour+12;}},meridiem:function meridiem(hour,minute,isLower){var hm=hour*100+minute;if(hm<600){return'凌晨';}else if(hm<900){return'早上';}else if(hm<1130){return'上午';}else if(hm<1230){return'中午';}else if(hm<1800){return'下午';}else{return'晚上';}},calendar:{sameDay:function sameDay(){return this.minutes()===0?'[今天]Ah[点整]':'[今天]LT';},nextDay:function nextDay(){return this.minutes()===0?'[明天]Ah[点整]':'[明天]LT';},lastDay:function lastDay(){return this.minutes()===0?'[昨天]Ah[点整]':'[昨天]LT';},nextWeek:function nextWeek(){var startOfWeek,prefix;startOfWeek=__WEBPACK_IMPORTED_MODULE_23_moment___default()().startOf('week');prefix=this.unix()-startOfWeek.unix()>=7*24*3600?'[下]':'[本]';return this.minutes()===0?prefix+'dddAh点整':prefix+'dddAh点mm';},lastWeek:function lastWeek(){var startOfWeek,prefix;startOfWeek=__WEBPACK_IMPORTED_MODULE_23_moment___default()().startOf('week');prefix=this.unix()<startOfWeek.unix()?'[上]':'[本]';return this.minutes()===0?prefix+'dddAh点整':prefix+'dddAh点mm';},sameElse:'LL'},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function ordinal(number,period){switch(period){case'd':case'D':case'DDD':return number+'日';case'M':return number+'月';case'w':case'W':return number+'周';default:return number;}},relativeTime:{future:'%s内',past:'%s前',s:'几秒',m:'1分钟',mm:'%d分钟',h:'1小时',hh:'%d小时',d:'1天',dd:'%d天',M:'1个月',MM:'%d个月',y:'1年',yy:'%d年'},week:{// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
dow:1,// Monday is the first day of the week.
@ -42779,7 +42779,7 @@ NavLink.defaultProps = {
"aria-current": "page"
};
/* unused harmony default export */ var _unused_webpack_default_export = (NavLink);
/* harmony default export */ __webpack_exports__["a"] = (NavLink);
/***/ }),
/* 431 */

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save