diff --git a/public/assets/34-2fafc167f8a6ebfe8dae.js b/public/assets/34-d133ff15592d3c829f3c.js
similarity index 99%
rename from public/assets/34-2fafc167f8a6ebfe8dae.js
rename to public/assets/34-d133ff15592d3c829f3c.js
index 964185e5..20bb552b 100644
--- a/public/assets/34-2fafc167f8a6ebfe8dae.js
+++ b/public/assets/34-d133ff15592d3c829f3c.js
@@ -1,2 +1,2 @@
webpackJsonp([34],{901:function(a,n){IntlPolyfill.__addLocaleData({locale:"fr",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:!0,hour12:!1,formats:{"short":"{1} {0}",medium:"{1} 'à' {0}",full:"{1} 'à' {0}","long":"{1} 'à' {0}",availableFormats:{d:"d",E:"E",Ed:"E d",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"d MMM y G",GyMMMEd:"E d MMM y G",h:"h a",H:"HH 'h'",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"dd/MM",MEd:"E dd/MM",MMM:"LLL",MMMd:"d MMM",MMMEd:"E d MMM",MMMMd:"d MMMM",ms:"mm:ss",y:"y",yM:"MM/y",yMd:"dd/MM/y",yMEd:"E dd/MM/y",yMMM:"MMM y",yMMMd:"d MMM y",yMMMEd:"E d MMM y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},dateFormats:{yMMMMEEEEd:"EEEE d MMMM y",yMMMMd:"d MMMM y",yMMMd:"d MMM y",yMd:"dd/MM/y"},timeFormats:{hmmsszzzz:"HH:mm:ss zzzz",hmsz:"HH:mm:ss z",hms:"HH:mm:ss",hm:"HH:mm"}},calendars:{buddhist:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"long":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["E.B."],"short":["ère b."],"long":["ère bouddhiste"]},dayPeriods:{am:"AM",pm:"PM"}},chinese:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["1yuè","2yuè","3yuè","4yuè","5yuè","6yuè","7yuè","8yuè","9yuè","10yuè","11yuè","12yuè"],"long":["zhēngyuè","èryuè","sānyuè","sìyuè","wǔyuè","liùyuè","qīyuè","bāyuè","jiǔyuè","shíyuè","shíyīyuè","shí’èryuè"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},dayPeriods:{am:"AM",pm:"PM"}},coptic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],"long":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},dangi:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["1yuè","2yuè","3yuè","4yuè","5yuè","6yuè","7yuè","8yuè","9yuè","10yuè","11yuè","12yuè"],"long":["zhēngyuè","èryuè","sānyuè","sìyuè","wǔyuè","liùyuè","qīyuè","bāyuè","jiǔyuè","shíyuè","shíyīyuè","shí’èryuè"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},dayPeriods:{am:"AM",pm:"PM"}},ethiopic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},ethioaa:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["ERA0"],"short":["ERA0"],"long":["ERA0"]},dayPeriods:{am:"AM",pm:"PM"}},generic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],"long":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},gregory:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"long":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["av. J.-C.","ap. J.-C.","AEC","EC"],"short":["av. J.-C.","ap. J.-C.","AEC","EC"],"long":["avant Jésus-Christ","après Jésus-Christ","avant l’ère commune","de l’ère commune"]},dayPeriods:{am:"AM",pm:"PM"}},hebrew:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],"short":["Tisseri","Hesvan","Kislev","Tébeth","Schébat","Adar I","Adar","Nissan","Iyar","Sivan","Tamouz","Ab","Elloul","Adar II"],"long":["Tisseri","Hesvan","Kislev","Tébeth","Schébat","Adar I","Adar","Nissan","Iyar","Sivan","Tamouz","Ab","Elloul","Adar II"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["AM"],"short":["AM"],"long":["AM"]},dayPeriods:{am:"AM",pm:"PM"}},indian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],"long":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["Saka"],"short":["Saka"],"long":["Saka"]},dayPeriods:{am:"AM",pm:"PM"}},islamic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["mouh.","saf.","rab. aw.","rab. th.","joum. oul.","joum. tha.","raj.","chaa.","ram.","chaw.","dhou. q.","dhou. h."],"long":["mouharram","safar","rabia al awal","rabia ath-thani","joumada al oula","joumada ath-thania","rajab","chaabane","ramadan","chawwal","dhou al qi`da","dhou al-hijja"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["AH"],"short":["AH"],"long":["AH"]},dayPeriods:{am:"AM",pm:"PM"}},islamicc:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["mouh.","saf.","rab. aw.","rab. th.","joum. oul.","joum. tha.","raj.","chaa.","ram.","chaw.","dhou. q.","dhou. h."],"long":["mouharram","safar","rabia al awal","rabia ath-thani","joumada al oula","joumada ath-thania","rajab","chaabane","ramadan","chawwal","dhou al qi`da","dhou al-hijja"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["AH"],"short":["AH"],"long":["AH"]},dayPeriods:{am:"AM",pm:"PM"}},japanese:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"long":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","M","T","S","H"],"short":["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"],"long":["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"]},dayPeriods:{am:"AM",pm:"PM"}},persian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],"long":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["AP"],"short":["AP"],"long":["AP"]},dayPeriods:{am:"AM",pm:"PM"}},roc:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],"long":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},days:{narrow:["D","L","M","M","J","V","S"],"short":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"long":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},eras:{narrow:["avant RdC","RdC"],"short":["avant RdC","RdC"],"long":["avant RdC","RdC"]},dayPeriods:{am:"AM",pm:"PM"}}}},number:{nu:["latn"],patterns:{decimal:{positivePattern:"{number}",negativePattern:"-{number}"},currency:{positivePattern:"{number} {currency}",negativePattern:"-{number} {currency}"},percent:{positivePattern:"{number} %",negativePattern:"-{number} %"}},symbols:{latn:{decimal:",",group:" ",nan:"NaN",percent:"%",infinity:"∞"}},currencies:{ARS:"$AR",AUD:"$AU",BEF:"FB",BMD:"$BM",BND:"$BN",BRL:"R$",BSD:"$BS",BZD:"$BZ",CAD:"$CA",CLP:"$CL",COP:"$CO",CYP:"£CY",EUR:"€",FJD:"$FJ",FKP:"£FK",FRF:"F",GBP:"£GB",GIP:"£GI",IEP:"£IE",ILP:"£IL",ILS:"₪",INR:"₹",ITL:"₤IT",KRW:"₩",LBP:"£LB",MTP:"£MT",MXN:"$MX",NAD:"$NA",NZD:"$NZ",RHD:"$RH",SBD:"$SB",SGD:"$SG",SRD:"$SR",TTD:"$TT",USD:"$US",UYU:"$UY",VND:"₫",WST:"WS$",XAF:"FCFA",XOF:"CFA",XPF:"FCFP"}}})}});
-//# sourceMappingURL=34-2fafc167f8a6ebfe8dae.js.map
\ No newline at end of file
+//# sourceMappingURL=34-d133ff15592d3c829f3c.js.map
\ No newline at end of file
diff --git a/public/assets/35-2fafc167f8a6ebfe8dae.js b/public/assets/35-d133ff15592d3c829f3c.js
similarity index 99%
rename from public/assets/35-2fafc167f8a6ebfe8dae.js
rename to public/assets/35-d133ff15592d3c829f3c.js
index 96a4abef..37b9c03f 100644
--- a/public/assets/35-2fafc167f8a6ebfe8dae.js
+++ b/public/assets/35-d133ff15592d3c829f3c.js
@@ -1,2 +1,2 @@
webpackJsonp([35],{900:function(a,n){IntlPolyfill.__addLocaleData({locale:"en",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:!0,hour12:!0,formats:{"short":"{1}, {0}",medium:"{1}, {0}",full:"{1} 'at' {0}","long":"{1} 'at' {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},dateFormats:{yMMMMEEEEd:"EEEE, MMMM d, y",yMMMMd:"MMMM d, y",yMMMd:"MMM d, y",yMd:"M/d/yy"},timeFormats:{hmmsszzzz:"h:mm:ss a zzzz",hmsz:"h:mm:ss a z",hms:"h:mm:ss a",hm:"h:mm a"}},calendars:{buddhist:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["BE"],"short":["BE"],"long":["BE"]},dayPeriods:{am:"AM",pm:"PM"}},chinese:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],"long":["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},coptic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],"long":["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},dangi:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],"long":["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},ethiopic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},ethioaa:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],"short":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],"long":["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0"],"short":["ERA0"],"long":["ERA0"]},dayPeriods:{am:"AM",pm:"PM"}},generic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],"long":["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],"short":["ERA0","ERA1"],"long":["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},gregory:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["B","A","BCE","CE"],"short":["BC","AD","BCE","CE"],"long":["Before Christ","Anno Domini","Before Common Era","Common Era"]},dayPeriods:{am:"AM",pm:"PM"}},hebrew:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],"short":["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"],"long":["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AM"],"short":["AM"],"long":["AM"]},dayPeriods:{am:"AM",pm:"PM"}},indian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],"long":["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Saka"],"short":["Saka"],"long":["Saka"]},dayPeriods:{am:"AM",pm:"PM"}},islamic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],"long":["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],"short":["AH"],"long":["AH"]},dayPeriods:{am:"AM",pm:"PM"}},islamicc:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],"long":["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],"short":["AH"],"long":["AH"]},dayPeriods:{am:"AM",pm:"PM"}},japanese:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","M","T","S","H"],"short":["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"],"long":["Taika (645–650)","Hakuchi (650–671)","Hakuhō (672–686)","Shuchō (686–701)","Taihō (701–704)","Keiun (704–708)","Wadō (708–715)","Reiki (715–717)","Yōrō (717–724)","Jinki (724–729)","Tenpyō (729–749)","Tenpyō-kampō (749-749)","Tenpyō-shōhō (749-757)","Tenpyō-hōji (757-765)","Tenpyō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770–780)","Ten-ō (781-782)","Enryaku (782–806)","Daidō (806–810)","Kōnin (810–824)","Tenchō (824–834)","Jōwa (834–848)","Kajō (848–851)","Ninju (851–854)","Saikō (854–857)","Ten-an (857-859)","Jōgan (859–877)","Gangyō (877–885)","Ninna (885–889)","Kanpyō (889–898)","Shōtai (898–901)","Engi (901–923)","Enchō (923–931)","Jōhei (931–938)","Tengyō (938–947)","Tenryaku (947–957)","Tentoku (957–961)","Ōwa (961–964)","Kōhō (964–968)","Anna (968–970)","Tenroku (970–973)","Ten’en (973–976)","Jōgen (976–978)","Tengen (978–983)","Eikan (983–985)","Kanna (985–987)","Eien (987–989)","Eiso (989–990)","Shōryaku (990–995)","Chōtoku (995–999)","Chōhō (999–1004)","Kankō (1004–1012)","Chōwa (1012–1017)","Kannin (1017–1021)","Jian (1021–1024)","Manju (1024–1028)","Chōgen (1028–1037)","Chōryaku (1037–1040)","Chōkyū (1040–1044)","Kantoku (1044–1046)","Eishō (1046–1053)","Tengi (1053–1058)","Kōhei (1058–1065)","Jiryaku (1065–1069)","Enkyū (1069–1074)","Shōho (1074–1077)","Shōryaku (1077–1081)","Eihō (1081–1084)","Ōtoku (1084–1087)","Kanji (1087–1094)","Kahō (1094–1096)","Eichō (1096–1097)","Jōtoku (1097–1099)","Kōwa (1099–1104)","Chōji (1104–1106)","Kashō (1106–1108)","Tennin (1108–1110)","Ten-ei (1110-1113)","Eikyū (1113–1118)","Gen’ei (1118–1120)","Hōan (1120–1124)","Tenji (1124–1126)","Daiji (1126–1131)","Tenshō (1131–1132)","Chōshō (1132–1135)","Hōen (1135–1141)","Eiji (1141–1142)","Kōji (1142–1144)","Ten’yō (1144–1145)","Kyūan (1145–1151)","Ninpei (1151–1154)","Kyūju (1154–1156)","Hōgen (1156–1159)","Heiji (1159–1160)","Eiryaku (1160–1161)","Ōho (1161–1163)","Chōkan (1163–1165)","Eiman (1165–1166)","Nin’an (1166–1169)","Kaō (1169–1171)","Shōan (1171–1175)","Angen (1175–1177)","Jishō (1177–1181)","Yōwa (1181–1182)","Juei (1182–1184)","Genryaku (1184–1185)","Bunji (1185–1190)","Kenkyū (1190–1199)","Shōji (1199–1201)","Kennin (1201–1204)","Genkyū (1204–1206)","Ken’ei (1206–1207)","Jōgen (1207–1211)","Kenryaku (1211–1213)","Kenpō (1213–1219)","Jōkyū (1219–1222)","Jōō (1222–1224)","Gennin (1224–1225)","Karoku (1225–1227)","Antei (1227–1229)","Kanki (1229–1232)","Jōei (1232–1233)","Tenpuku (1233–1234)","Bunryaku (1234–1235)","Katei (1235–1238)","Ryakunin (1238–1239)","En’ō (1239–1240)","Ninji (1240–1243)","Kangen (1243–1247)","Hōji (1247–1249)","Kenchō (1249–1256)","Kōgen (1256–1257)","Shōka (1257–1259)","Shōgen (1259–1260)","Bun’ō (1260–1261)","Kōchō (1261–1264)","Bun’ei (1264–1275)","Kenji (1275–1278)","Kōan (1278–1288)","Shōō (1288–1293)","Einin (1293–1299)","Shōan (1299–1302)","Kengen (1302–1303)","Kagen (1303–1306)","Tokuji (1306–1308)","Enkyō (1308–1311)","Ōchō (1311–1312)","Shōwa (1312–1317)","Bunpō (1317–1319)","Genō (1319–1321)","Genkō (1321–1324)","Shōchū (1324–1326)","Karyaku (1326–1329)","Gentoku (1329–1331)","Genkō (1331–1334)","Kenmu (1334–1336)","Engen (1336–1340)","Kōkoku (1340–1346)","Shōhei (1346–1370)","Kentoku (1370–1372)","Bunchū (1372–1375)","Tenju (1375–1379)","Kōryaku (1379–1381)","Kōwa (1381–1384)","Genchū (1384–1392)","Meitoku (1384–1387)","Kakei (1387–1389)","Kōō (1389–1390)","Meitoku (1390–1394)","Ōei (1394–1428)","Shōchō (1428–1429)","Eikyō (1429–1441)","Kakitsu (1441–1444)","Bun’an (1444–1449)","Hōtoku (1449–1452)","Kyōtoku (1452–1455)","Kōshō (1455–1457)","Chōroku (1457–1460)","Kanshō (1460–1466)","Bunshō (1466–1467)","Ōnin (1467–1469)","Bunmei (1469–1487)","Chōkyō (1487–1489)","Entoku (1489–1492)","Meiō (1492–1501)","Bunki (1501–1504)","Eishō (1504–1521)","Taiei (1521–1528)","Kyōroku (1528–1532)","Tenbun (1532–1555)","Kōji (1555–1558)","Eiroku (1558–1570)","Genki (1570–1573)","Tenshō (1573–1592)","Bunroku (1592–1596)","Keichō (1596–1615)","Genna (1615–1624)","Kan’ei (1624–1644)","Shōho (1644–1648)","Keian (1648–1652)","Jōō (1652–1655)","Meireki (1655–1658)","Manji (1658–1661)","Kanbun (1661–1673)","Enpō (1673–1681)","Tenna (1681–1684)","Jōkyō (1684–1688)","Genroku (1688–1704)","Hōei (1704–1711)","Shōtoku (1711–1716)","Kyōhō (1716–1736)","Genbun (1736–1741)","Kanpō (1741–1744)","Enkyō (1744–1748)","Kan’en (1748–1751)","Hōreki (1751–1764)","Meiwa (1764–1772)","An’ei (1772–1781)","Tenmei (1781–1789)","Kansei (1789–1801)","Kyōwa (1801–1804)","Bunka (1804–1818)","Bunsei (1818–1830)","Tenpō (1830–1844)","Kōka (1844–1848)","Kaei (1848–1854)","Ansei (1854–1860)","Man’en (1860–1861)","Bunkyū (1861–1864)","Genji (1864–1865)","Keiō (1865–1868)","Meiji","Taishō","Shōwa","Heisei"]},dayPeriods:{am:"AM",pm:"PM"}},persian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],"short":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],"long":["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AP"],"short":["AP"],"long":["AP"]},dayPeriods:{am:"AM",pm:"PM"}},roc:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],"short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"long":["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],"short":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Before R.O.C.","Minguo"],"short":["Before R.O.C.","Minguo"],"long":["Before R.O.C.","Minguo"]},dayPeriods:{am:"AM",pm:"PM"}}}},number:{nu:["latn"],patterns:{decimal:{positivePattern:"{number}",negativePattern:"-{number}"},currency:{positivePattern:"{currency}{number}",negativePattern:"-{currency}{number}"},percent:{positivePattern:"{number}%",negativePattern:"-{number}%"}},symbols:{latn:{decimal:".",group:",",nan:"NaN",percent:"%",infinity:"∞"}},currencies:{AUD:"A$",BRL:"R$",CAD:"CA$",CNY:"CN¥",EUR:"€",GBP:"£",HKD:"HK$",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",MXN:"MX$",NZD:"NZ$",TWD:"NT$",USD:"$",VND:"₫",XAF:"FCFA",XCD:"EC$",XOF:"CFA",XPF:"CFPF"}}})}});
-//# sourceMappingURL=35-2fafc167f8a6ebfe8dae.js.map
\ No newline at end of file
+//# sourceMappingURL=35-d133ff15592d3c829f3c.js.map
\ No newline at end of file
diff --git a/public/assets/activity-2fafc167f8a6ebfe8dae.js b/public/assets/activity-2fafc167f8a6ebfe8dae.js
deleted file mode 100644
index 576d30f5..00000000
--- a/public/assets/activity-2fafc167f8a6ebfe8dae.js
+++ /dev/null
@@ -1,12 +0,0 @@
-webpackJsonp([6],{19:function(e,t,n){try{(function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=[{value:"Integer",label:"整数字段"},{value:"Number",label:"数值字段"},{value:"Text",label:"文本框单行"},{value:"TextArea",label:"文本框多行"},{value:"RichTextEditor",label:"富文本"},{value:"Select",label:"选择列表(单行)"},{value:"MultiSelect",label:"选择列表(多行)"},{value:"CheckboxGroup",label:"复选按钮"},{value:"RadioGroup",label:"单选按钮"},{value:"DatePicker",label:"日期选择控件"},{value:"DateTimePicker",label:"日期时间选择控件"},{value:"TimeTracking",label:"时间跟踪"},{value:"File",label:"文件"},{value:"SingleVersion",label:"单一版本选择"},{value:"MultiVersion",label:"多版本选择"},{value:"SingleUser",label:"单一用户选择"},{value:"MultiUser",label:"多用户选择"},{value:"Url",label:"URL"}];t.FieldTypes=e;var n=[{id:"new",name:"新建"},{id:"inprogress",name:"进行中"},{id:"completed",name:"完成"}];t.StateCategories=n;var o={project:[{id:"view_project",name:"查看项目"},{id:"manage_project",name:"管理项目"}],issue:[{id:"create_issue",name:"创建问题"},{id:"edit_issue",name:"编辑问题"},{id:"edit_self_issue",name:"编辑自己创建的问题"},{id:"delete_issue",name:"删除问题"},{id:"delete_self_issue",name:"删除自己创建的问题"},{id:"assign_issue",name:"分配问题"},{id:"assigned_issue",name:"被分配问题"},{id:"resolve_issue",name:"解决问题"},{id:"close_issue",name:"关闭问题"},{id:"reset_issue",name:"重置问题"},{id:"link_issue",name:"链接问题"},{id:"move_issue",name:"移动问题"},{id:"exec_workflow",name:"执行流程"}],comments:[{id:"add_comments",name:"添加评论"},{id:"edit_comments",name:"编辑评论"},{id:"edit_self_comments",name:"编辑自己的评论"},{id:"delete_comments",name:"删除评论"},{id:"delete_self_comments",name:"删除自己的评论"}],worklogs:[{id:"add_worklog",name:"添加工作日志"},{id:"edit_worklog",name:"编辑工作日志"},{id:"edit_self_worklog",name:"编辑自己的工作日志"},{id:"delete_worklog",name:"删除工作日志"},{id:"delete_self_worklog",name:"删除自己的工作日志"}],files:[{id:"upload_file",name:"上传附件"},{id:"download_file",name:"下载附件"},{id:"remove_file",name:"删除附件"},{id:"remove_self_file",name:"删除自己上传附件"}]};t.Permissions=o;var r=[{id:"create_issue",name:"创建问题"},{id:"edit_issue",name:"编辑问题"},{id:"del_issue",name:"删除问题"},{id:"resolve_issue",name:"解决问题"},{id:"close_issue",name:"关闭问题"},{id:"reopen_issue",name:"重新打开问题"},{id:"create_version",name:"创建版本"},{id:"edit_version",name:"编辑版本"},{id:"release_version",name:"发布版本"},{id:"merge_version",name:"合并版本"},{id:"del_version",name:"删除版本"},{id:"add_worklog",name:"添加工作日志"},{id:"edit_worklog",name:"编辑工作日志"}];t.webhookEvents=r;var i={CARD:"card",KANBAN_COLUMN:"kanban_column",KANBAN_FILTER:"kanban_filter"};t.CardTypes=i;var a=["#CCCCCC","#B3B3B3","#999999","#A4DD00","#68BC00","#006600","#73D8FF","#009CE0","#0062B1","#FCDC00","#FCC400","#FB9E00","#FE9200","#E27300","#C45100","#F44E3B","#D33115","#9F0500"];t.PriorityRGBs=a;var l=["#CCCCCC","#B3B3B3","#999999","#808080","#666666","#FDA1FF","#FA28FF","#AB149E","#AEA1FF","#7B64FF","#653294","#73D8FF","#009CE0","#0062B1","#68CCCA","#16A5A5","#0C797D","#A4DD00","#68BC00","#006600","#DBDF00","#B0BC00","#808900","#FCDC00","#FCC400","#FB9E00","#FE9200","#E27300","#C45100","#F44E3B","#D33115","#9F0500","#4D4D4D","#333333","#000000"];t.LabelRGBs=l;var s=600;t.DetailMinWidth=s;var u=1e3;t.DetailMaxWdith=u}).call(this)}finally{}},32:function(e,t,n){try{(function(){"use strict";function e(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!e)return"";if(!t)return s.unix(e).format("YYYY/MM/DD HH:mm:ss");var n=[{value:31536e3,suffix:"年前",max:2},{value:2592e3,suffix:"个月前",max:11},{value:604800,suffix:"周前",max:4},{value:86400,suffix:"天前",max:6},{value:3600,suffix:"小时前",max:23},{value:600,suffix:"0分钟前",max:5}],o="刚刚",r=t-e;if(r<=0)return o;for(var i=0;i<6;i++){var a=l.default.floor(r/n[i].value);if(a>=1){o=l.default.min([a,n[i].max])+n[i].suffix;break}}return o}function r(e){var t=e.toLowerCase(),n=t.lastIndexOf(".");if(n===-1)return"fa fa-file-o";var o={doc:"word",docx:"word",xls:"excel",xlsx:"excel",ppt:"powerpoint",pptx:"powerpoint",bmp:"image",jpg:"image",jpeg:"image",png:"image",gif:"image",c:"code",cpp:"code",h:"code",hpp:"code",js:"code",jsx:"code",php:"code",tpl:"code",py:"code",java:"code",sh:"code",pl:"code",perl:"code",go:"code",cs:"code",rb:"code",html:"code",css:"code",asp:"code",aspx:"code",jsp:"code",xml:"code",pdf:"pdf",txt:"text",zip:"zip",rar:"zip","7z":"zip",gz:"zip",bz:"zip",avi:"movie",mpg:"movie",mov:"movie",swf:"movie",mp4:"movie",wav:"sound",aif:"sound",mp3:"sound",wma:"sound",aac:"sound"},r=t.substr(n+1);return o[r]?"fa fa-file-"+o[r]+"-o":"fa fa-file-o"}function i(e,t,n){var o=e<0?-1:1;e=Math.abs(e);var r=[],i=l.default.ceil(e);if(i>=0){var a=l.default.floor(e/t);a>0&&r.push(a+"w")}if(i=e%t,i>=0){var s=l.default.floor(i/n);s>0&&r.push(s+"d")}if(i%=n,i>=0){var u=l.default.floor(i/60);u>0&&r.push(u+"h")}return i%=60,i>0&&r.push(i+"m"),r.length<=0&&r.push("0m"),(o<0?"-":"")+r.join(" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.getAgoAt=o,t.getFileIconCss=r,t.ttFormat=i;var a=n(3),l=e(a),s=n(6)}).call(this)}finally{}},40:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxGroup=t.Checkbox=void 0;var i=Object.assign||function(e){for(var t=1;t'+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),o=function(n){return function(o){return o.preventDefault(),o.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),f=e.previewElement.querySelectorAll("[data-dz-remove]"),m=[],l=0,c=f.length;l
"+i(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=i.slice(c+1).join("\n")+e,c=p-1)),r=o||/\n\n(?!\s*$)/.test(s),c!==p-1&&(o="\n"===s.charAt(s.length-1),r||(r=o)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(!n&&t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),this.tokens.links[i[1].toLowerCase()]={href:i[2],title:i[3]};else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+"
\n":"'+(n?e:i(e,!0))+"\n
"},o.prototype.blockquote=function(e){return""+(n?e:i(e,!0))+"\n
\n"+e+"
\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return"
\n":"
\n"},o.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},o.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},o.prototype.tablerow=function(e){return"\n"+e+" \n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td",o=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return o+e+""+n+">\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+"
"},o.prototype.br=function(){return this.options.xhtml?"
":"
"},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var o=decodeURIComponent(a(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(r){return""}if(0===o.indexOf("javascript:")||0===o.indexOf("vbscript:"))return""}var i='"+n+""},o.prototype.image=function(e,t,n){var o='":">"},o.prototype.text=function(e){return e},r.parse=function(e,t,n){var o=new r(t,n);return o.parse(e)},r.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},r.prototype.next=function(){return this.token=this.tokens.pop()},r.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},r.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},r.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,o,r,i="",a="";for(n="",e=0;e
"),imgFiles:o}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var o=-1;0===n.indexOf("inlineimg-")&&(o=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:o}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,o=t.onEdit,r=t.fieldKey,i=t.value,a=void 0===i?"":i,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(r,a),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){o&&o()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var o=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){o.state.inlinePreviewShow[e]=!1,o.setState({inlinePreviewShow:o.state.inlinePreviewShow})},onMovePrevRequest:function(){return o.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return o.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",o=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),o=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:o})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:a,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:a,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:_,add:w,edit:k,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:a,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:_,del:E,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},1796:function(e,t,n){try{(function(){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return{actions:(0,m.bindActionCreators)(y,e),issueActions:(0,m.bindActionCreators)(_,e),wfActions:(0,m.bindActionCreators)(k,e)}}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t
")),activities.push({id:collection[i].id,avatar:_react2.default.createElement("img",{src:collection[i].user.avatar?API_BASENAME+"/getavatar?fid="+collection[i].user.avatar:no_avatar,className:"default-avatar"}),summary:_react2.default.createElement("div",null,_react2.default.createElement("span",{style:{marginRight:"5px"}},_react2.default.createElement("b",null,user.id===collection[i].user.id?"我":collection[i].user.name)),"create_link"==collection[i].event_key&&_react2.default.createElement("span",null,"创建了问题链接"),"del_link"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了问题链接"),collection[i].issue_link&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.src&&(1===collection[i].issue_link.src.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue_link.src.no+" - "+collection[i].issue_link.src.title):_react2.default.createElement("a",{style:"Closed"==collection[i].issue_link.src.state?{textDecoration:"line-through"}:{},href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue_link.src.id)}},_react2.default.createElement("span",{style:{marginRight:"5px"}},collection[i].issue_link.src.no+" - "+collection[i].issue_link.src.title)))),_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.relation||""),_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.dest&&(1===collection[i].issue_link.dest.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue_link.dest.no+" - "+collection[i].issue_link.dest.title):_react2.default.createElement("a",{style:"Closed"==collection[i].issue_link.dest.state?{textDecoration:"line-through"}:{},href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue_link.dest.id)}},_react2.default.createElement("span",{style:{marginRight:"5px"}},collection[i].issue_link.dest.no+" - "+collection[i].issue_link.dest.title))))),"create_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"创建了"),"edit_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"更新了"),"del_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了"),"assign_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"分配了"),"reset_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"重置了"),"move_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"移动了"),"start_progress_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"开始解决"),"stop_progress_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"停止解决"),"resolve_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"解决了"),"close_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"关闭了"),"reopen_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"重新打开"),"watched_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"关注了"),"unwatched_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"取消关注了"),collection[i].event_key.indexOf("_")===-1&&_react2.default.createElement("span",null,"将"),collection[i].issue&&_react2.default.createElement("span",{style:{marginRight:"5px"}},"问题"),collection[i].issue&&(1===collection[i].issue.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue.no+" - "+collection[i].issue.title):_react2.default.createElement("a",{href:"#",style:"Closed"==collection[i].issue.state?{textDecoration:"line-through"}:{},onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue.id)}},_react2.default.createElement("span",{style:{marginRight:"5px",whiteSpace:"pre-wrap",wordWrap:"break-word"}},collection[i].issue.no+" - "+collection[i].issue.title))),wfEventFlag&&collection[i].event_key.indexOf("_")!==-1&&_react2.default.createElement("span",null,", "),wfEventFlag&&collection[i].event_key.indexOf("_")===-1&&_react2.default.createElement("span",null,"的"),wfEventFlag&&_react2.default.createElement("span",null,_lodash2.default.map(collection[i].data,function(e,t){return 0===t?_react2.default.createElement("span",null,e.field+" 更新为: "+e.after_value):_react2.default.createElement("span",null,", "+e.field+" 更新为: "+e.after_value)})),"edit_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"的 ",collection[i].data.length," 个字段"),"edit_issue"==collection[i].event_key&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_lodash2.default.map(collection[i].data,function(e,t){return _react2.default.createElement("li",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},key:t,dangerouslySetInnerHTML:{__html:e.field+": "+(_lodash2.default.isString(e.after_value)?_lodash2.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value)}})})),"assign_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"给 ",collection[i].data.new_user&&user.id===collection[i].data.new_user.id?"我":collection[i].data.new_user.name||""),"add_file"==collection[i].event_key&&_react2.default.createElement("span",null,"上传了文档 ",collection[i].data),"del_file"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了文档 ",_react2.default.createElement("span",{style:ltStyles},collection[i].data)),"add_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"添加了评论"),"edit_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"编辑了评论"),"del_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了评论"),comments&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_react2.default.createElement("li",{style:"del_comments"==collection[i].event_key?ltStyles:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:comments}})),"add_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 添加了工作日志"),"edit_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 编辑了工作日志"),"del_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 删除了工作日志"),collection[i].event_key.indexOf("worklog")!==-1&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},collection[i].data&&collection[i].data.started_at&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"开始时间: ",moment.unix(collection[i].data.started_at).format("YYYY/MM/DD")),collection[i].data&&collection[i].data.spend&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"耗时: ",collection[i].data.spend),collection[i].data&&collection[i].data.leave_estimate&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"剩余时间设置为: ",collection[i].data.leave_estimate),collection[i].data&&collection[i].data.cut&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"剩余时间缩减: ",collection[i].data.cut),collection[i].data&&collection[i].data.comments&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:"评论 : "+_lodash2.default.escape(collection[i].data.comments).replace(/(\r\n)|(\n)/g,"
")}}))),time:agoAt})},i=0;i'+this.options.dictRemoveFile+"
"+i(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=i.slice(c+1).join("\n")+e,c=p-1)),r=o||/\n\n(?!\s*$)/.test(s),c!==p-1&&(o="\n"===s.charAt(s.length-1),r||(r=o)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(!n&&t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),this.tokens.links[i[1].toLowerCase()]={href:i[2],title:i[3]};else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+"
\n":"'+(n?e:i(e,!0))+"\n
"},o.prototype.blockquote=function(e){return""+(n?e:i(e,!0))+"\n
\n"+e+"
\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return"
\n":"
\n"},o.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},o.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},o.prototype.tablerow=function(e){return"\n"+e+" \n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td",o=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return o+e+""+n+">\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+"
"},o.prototype.br=function(){return this.options.xhtml?"
":"
"},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var o=decodeURIComponent(a(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(r){return""}if(0===o.indexOf("javascript:")||0===o.indexOf("vbscript:"))return""}var i='"+n+""},o.prototype.image=function(e,t,n){var o='":">"},o.prototype.text=function(e){return e},r.parse=function(e,t,n){var o=new r(t,n);return o.parse(e)},r.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},r.prototype.next=function(){return this.token=this.tokens.pop()},r.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},r.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},r.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,o,r,i="",a="";for(n="",e=0;e
"),imgFiles:o}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var o=-1;0===n.indexOf("inlineimg-")&&(o=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:o}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,o=t.onEdit,r=t.fieldKey,i=t.value,a=void 0===i?"":i,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(r,a),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){o&&o()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var o=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){o.state.inlinePreviewShow[e]=!1,o.setState({inlinePreviewShow:o.state.inlinePreviewShow})},onMovePrevRequest:function(){return o.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return o.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",o=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),o=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:o})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:a,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:a,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:_,add:w,edit:k,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:a,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:_,del:E,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},1796:function(e,t,n){try{(function(){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){return{actions:(0,m.bindActionCreators)(y,e),issueActions:(0,m.bindActionCreators)(_,e),wfActions:(0,m.bindActionCreators)(k,e)}}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t
")),activities.push({id:collection[i].id,avatar:_react2.default.createElement("img",{src:collection[i].user.avatar?API_BASENAME+"/getavatar?fid="+collection[i].user.avatar:no_avatar,className:"default-avatar"}),summary:_react2.default.createElement("div",null,_react2.default.createElement("span",{style:{marginRight:"5px"}},_react2.default.createElement("b",null,user.id===collection[i].user.id?"我":collection[i].user.name)),"create_link"==collection[i].event_key&&_react2.default.createElement("span",null,"创建了问题链接"),"del_link"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了问题链接"),collection[i].issue_link&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.src&&(1===collection[i].issue_link.src.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue_link.src.no+" - "+collection[i].issue_link.src.title):_react2.default.createElement("a",{style:"Closed"==collection[i].issue_link.src.state?{textDecoration:"line-through"}:{},href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue_link.src.id)}},_react2.default.createElement("span",{style:{marginRight:"5px"}},collection[i].issue_link.src.no+" - "+collection[i].issue_link.src.title)))),_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.relation||""),_react2.default.createElement("li",null,collection[i].issue_link&&collection[i].issue_link.dest&&(1===collection[i].issue_link.dest.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue_link.dest.no+" - "+collection[i].issue_link.dest.title):_react2.default.createElement("a",{style:"Closed"==collection[i].issue_link.dest.state?{textDecoration:"line-through"}:{},href:"#",onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue_link.dest.id)}},_react2.default.createElement("span",{style:{marginRight:"5px"}},collection[i].issue_link.dest.no+" - "+collection[i].issue_link.dest.title))))),"create_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"创建了"),"edit_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"更新了"),"del_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了"),"assign_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"分配了"),"reset_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"重置了"),"move_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"移动了"),"start_progress_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"开始解决"),"stop_progress_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"停止解决"),"resolve_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"解决了"),"close_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"关闭了"),"reopen_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"重新打开"),"watched_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"关注了"),"unwatched_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"取消关注了"),collection[i].event_key.indexOf("_")===-1&&_react2.default.createElement("span",null,"将"),collection[i].issue&&_react2.default.createElement("span",{style:{marginRight:"5px"}},"问题"),collection[i].issue&&(1===collection[i].issue.del_flg?_react2.default.createElement("span",{style:ltStyles},collection[i].issue.no+" - "+collection[i].issue.title):_react2.default.createElement("a",{href:"#",style:"Closed"==collection[i].issue.state?{textDecoration:"line-through"}:{},onClick:function(e){e.preventDefault(),e.stopPropagation(),_this2.issueView(collection[i].issue.id)}},_react2.default.createElement("span",{style:{marginRight:"5px",whiteSpace:"pre-wrap",wordWrap:"break-word"}},collection[i].issue.no+" - "+collection[i].issue.title))),wfEventFlag&&collection[i].event_key.indexOf("_")!==-1&&_react2.default.createElement("span",null,", "),wfEventFlag&&collection[i].event_key.indexOf("_")===-1&&_react2.default.createElement("span",null,"的"),wfEventFlag&&_react2.default.createElement("span",null,_lodash2.default.map(collection[i].data,function(e,t){return 0===t?_react2.default.createElement("span",null,e.field+" 更新为: "+e.after_value):_react2.default.createElement("span",null,", "+e.field+" 更新为: "+e.after_value)})),"edit_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"的 ",collection[i].data.length," 个字段"),"edit_issue"==collection[i].event_key&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_lodash2.default.map(collection[i].data,function(e,t){return _react2.default.createElement("li",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},key:t,dangerouslySetInnerHTML:{__html:e.field+": "+(_lodash2.default.isString(e.after_value)?_lodash2.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value)}})})),"assign_issue"==collection[i].event_key&&_react2.default.createElement("span",null,"给 ",collection[i].data.new_user&&user.id===collection[i].data.new_user.id?"我":collection[i].data.new_user.name||""),"add_file"==collection[i].event_key&&_react2.default.createElement("span",null,"上传了文档 ",collection[i].data),"del_file"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了文档 ",_react2.default.createElement("span",{style:ltStyles},collection[i].data)),"add_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"添加了评论"),"edit_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"编辑了评论"),"del_comments"==collection[i].event_key&&_react2.default.createElement("span",null,"删除了评论"),comments&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},_react2.default.createElement("li",{style:"del_comments"==collection[i].event_key?ltStyles:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:comments}})),"add_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 添加了工作日志"),"edit_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 编辑了工作日志"),"del_worklog"==collection[i].event_key&&_react2.default.createElement("span",null," 删除了工作日志"),collection[i].event_key.indexOf("worklog")!==-1&&_react2.default.createElement("ul",{className:"list-unstyled clearfix",style:{marginTop:"10px",marginBottom:"5px",fontSize:"12px"}},collection[i].data&&collection[i].data.started_at&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"开始时间: ",moment.unix(collection[i].data.started_at).format("YYYY/MM/DD")),collection[i].data&&collection[i].data.spend&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"耗时: ",collection[i].data.spend),collection[i].data&&collection[i].data.leave_estimate&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"剩余时间设置为: ",collection[i].data.leave_estimate),collection[i].data&&collection[i].data.cut&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{}},"剩余时间缩减: ",collection[i].data.cut),collection[i].data&&collection[i].data.comments&&_react2.default.createElement("li",{style:"del_worklog"==collection[i].event_key?ltStyles:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:"评论 : "+_lodash2.default.escape(collection[i].data.comments).replace(/(\r\n)|(\n)/g,"
")}}))),time:agoAt})},i=0;i'+this.options.dictRemoveFile+"
"+a(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=a.slice(c+1).join("\n")+e,c=p-1)),i=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),s={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+"
\n":"'+(n?e:a(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:a(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(o(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var a='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},i.parse=function(e,t,n){var r=new i(t,n);return r.parse(e)},i.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},i.prototype.next=function(){return this.token=this.tokens.pop()},i.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},i.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},i.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,a="",o="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,i=t.fieldKey,a=t.value,o=void 0===a?"":a,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(i,o),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:o,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:o,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:k,edit:_,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:o,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:E,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},337:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n'+this.options.dictRemoveFile+"
"+a(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=a.slice(c+1).join("\n")+e,c=p-1)),i=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),s={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+" "+this.options.dictFallbackText+"
\n":"'+(n?e:a(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:a(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(o(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var a='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},i.parse=function(e,t,n){var r=new i(t,n);return r.parse(e)},i.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},i.prototype.next=function(){return this.token=this.tokens.pop()},i.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},i.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},i.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,a="",o="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,i=t.fieldKey,a=t.value,o=void 0===a?"":a,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(i,o),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:o,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:o,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:k,edit:_,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:o,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:E,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},337:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n1&&c.default.createElement("li",{key:"next"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,p.default.add(n,1)),title:"后页"},">")),s-l>n&&c.default.createElement("li",{key:"last"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,s),title:"尾页"},">>")))))}}],[{key:"propTypes",value:{query:u.PropTypes.object,refresh:u.PropTypes.func,total:u.PropTypes.number.isRequired,curPage:u.PropTypes.number,sizePerPage:u.PropTypes.number,paginationSize:u.PropTypes.number},enumerable:!0}]),t}(u.Component);t.default=f,e.exports=t.default}).call(this)}finally{}},1055:function(e,t,r){try{(function(){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t'+this.options.dictRemoveFile+"=t){r=e/Math.pow(this.options.filesizeBase,4-n),a=o;break}r=Math.round(10*r)/10}return""+r+" "+a},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,a;for(a=[],n=0,r=e.length;n1&&c.default.createElement("li",{key:"next"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,p.default.add(a,1)),title:"后页"},">")),s-l>a&&c.default.createElement("li",{key:"last"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,s),title:"尾页"},">>")))))}}],[{key:"propTypes",value:{query:u.PropTypes.object,refresh:u.PropTypes.func,total:u.PropTypes.number.isRequired,curPage:u.PropTypes.number,sizePerPage:u.PropTypes.number,paginationSize:u.PropTypes.number},enumerable:!0}]),t}(u.Component);t.default=f,e.exports=t.default}).call(this)}finally{}},87:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t
"+o(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=o.slice(c+1).join("\n")+e,c=p-1)),a=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),a||(a=r)),this.tokens.push({type:a?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),s={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+" "+this.options.dictFallbackText+"
\n":"'+(n?e:o(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:o(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(i(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(a){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,a,o="",i="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,a=t.fieldKey,o=t.value,i=void 0===o?"":o,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(a,i),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(h.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:i,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:i,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:k,edit:E,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:i,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:x,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},337:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"):"-";n[e.key]=u.default.createElement("span",{style:Ge,dangerouslySetInnerHTML:{__html:l}})}else{if(!t[e.key]&&!h.default.isNumber(t[e.key]))return void(n[e.key]="-");var l="";"sprints"===e.key?l=t.sprints&&t.sprints.length>0?t.sprints.join(","):"-":"SingleUser"===e.type?l=t[e.key].name:"MultiUser"===e.type?l=h.default.map(t[e.key],function(e){return e.name}).join(","):["Select","RadioGroup","SingleVersion"].indexOf(e.type)!==-1?l=h.default.findIndex(e.optionValues||[],{id:t[e.key]})===-1?"-":h.default.find(e.optionValues,{id:t[e.key]}).name:["MultiSelect","CheckboxGroup","MultiVersion"].indexOf(e.type)!==-1?!function(){var n=h.default.isArray(t[e.key])?t[e.key]:t[e.key].split(","),r=[];h.default.forEach(n,function(t){var n=h.default.findIndex(e.optionValues||[],{id:t})!==-1?h.default.find(e.optionValues,{id:t}).name:"";n&&r.push(n)}),l=r.length>0?h.default.uniq(r).join(","):"-"}():l="DatePicker"===e.type?v.unix(t[e.key]).format("YYYY/MM/DD"):"DateTimePicker"===e.type?v.unix(t[e.key]).format("YYYY/MM/DD HH:mm"):t[e.key]+("progress"==e.key?"%":""),n[e.key]=u.default.createElement("span",{style:Ge},l)}}),Je.push(n)});var et={};return s?et.noDataText=u.default.createElement("div",null,u.default.createElement("img",{src:k,className:"loading"})):et.noDataText="暂无数据显示。",et.onRowMouseOver=this.onRowMouseOver.bind(this),u.default.createElement("div",null,u.default.createElement(c.BootstrapTable,{hover:!0,data:Je,bordered:!1,options:et,selectRow:Qe,trClassName:"tr-top",headerStyle:{overflow:"unset"}},u.default.createElement(c.TableHeaderColumn,{dataField:"id",hidden:!0,isKey:!0},"ID"),u.default.createElement(c.TableHeaderColumn,{width:"50",dataField:"type"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"type"),title:"类型"},u.default.createElement("span",{style:{marginRight:"3px"}},"类型"),"type"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),u.default.createElement(c.TableHeaderColumn,{dataField:"no",width:"50",title:"NO"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"no")},u.default.createElement("span",{style:{marginRight:"3px"}},"NO"),"no"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),u.default.createElement(c.TableHeaderColumn,{dataField:"title"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"title"),title:"主题"},u.default.createElement("span",{style:{marginRight:"3px"}},"主题"),"title"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),h.default.map(Ye,function(t,n){return u.default.createElement(c.TableHeaderColumn,{width:t.width||"100",dataField:t.key,key:n},u.default.createElement("span",{className:"table-header",onClick:t.sortKey?e.orderBy.bind(e,t.sortKey):null,title:t.name},u.default.createElement("span",{style:{marginRight:"3px"}},t.name),Ke.field===t.sortKey&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"}))))}),u.default.createElement(c.TableHeaderColumn,{width:"60",dataField:"operation"})),this.state.detailBarShow&&u.default.createElement(w,{i18n:n,layout:r,create:D,edit:A,del:N,setAssignee:B,setItemValue:W,setLabels:H,addLabels:z,close:this.closeDetail,options:y,data:i,record:F,forward:I,visitedIndex:L,visitedCollection:q,issueCollection:a,show:g,itemLoading:f,loading:l,fileLoading:Z,project:G,delFile:Y,addFile:K,wfCollection:X,wfLoading:$,viewWorkflow:Q,indexComments:J,sortComments:ee,commentsCollection:te,commentsIndexLoading:ne,commentsLoading:re,commentsItemLoading:se,commentsLoaded:ae,addComments:oe,editComments:ie,delComments:le,indexWorklog:ue,worklogSort:ce,sortWorklog:de,worklogCollection:pe,worklogIndexLoading:fe,worklogLoading:he,worklogLoaded:me,addWorklog:ye,editWorklog:ge,delWorklog:ve,indexHistory:be,sortHistory:we,historyCollection:ke,historyIndexLoading:Ee,historyLoaded:xe,indexGitCommits:_e,sortGitCommits:Ce,gitCommitsCollection:Se,gitCommitsIndexLoading:Te,gitCommitsLoaded:Pe,linkLoading:Me,createLink:Oe,delLink:Re,watch:je,copy:Fe,move:Ie,convert:Le,resetState:qe,doAction:De,user:Be}),!s&&y.total&&y.total>0?u.default.createElement(E,{total:y.total||0,curPage:V.page?V.page-0:1,sizePerPage:y.sizePerPage||50,paginationSize:4,query:V,refresh:U}):"",this.state.delNotifyShow&&u.default.createElement(b,{show:!0,close:this.delNotifyClose,data:Ve,loading:f,del:N,i18n:n}),this.state.addWorklogShow&&u.default.createElement(x,{show:!0,issue:Ve,close:function(){e.setState({addWorklogShow:!1})},loading:he,add:ye,i18n:n}),this.state.editModalShow&&u.default.createElement(_,{show:!0,close:function(){e.setState({editModalShow:!1})},options:y,addLabels:z,loading:l,project:G,edit:A,isSubtask:Ve.parent_id&&!0,data:Ve,i18n:n}),this.state.createSubtaskModalShow&&u.default.createElement(_,{show:!0,close:function(){e.setState({createSubtaskModalShow:!1})},options:y,create:D,loading:l,project:G,parent:Ve,isSubtask:!0,i18n:n}),this.state.convertTypeModalShow&&u.default.createElement(C,{show:!0,close:function(){e.setState({convertTypeModalShow:!1})},options:y,convert:Le,loading:l,issue:Ve,i18n:n}),this.state.convertType2ModalShow&&u.default.createElement(S,{show:!0,close:function(){e.setState({convertType2ModalShow:!1})},options:y,project:G,convert:Le,loading:l,issue:Ve,i18n:n}),this.state.moveModalShow&&u.default.createElement(T,{show:!0,close:function(){e.setState({moveModalShow:!1})},options:y,project:G,move:Ie,loading:l,issue:Ve,i18n:n}),this.state.assignModalShow&&u.default.createElement(P,{show:!0,close:function(){e.setState({assignModalShow:!1})},options:y,setAssignee:B,issue:Ve,i18n:n}),this.state.setLabelsModalShow&&u.default.createElement(O,{show:!0,close:function(){e.setState({setLabelsModalShow:!1})},options:y,setLabels:H,addLabels:z,issue:Ve,i18n:n}),this.state.shareModalShow&&u.default.createElement(R,{show:!0,close:function(){e.setState({shareModalShow:!1})},project:G,issue:Ve}),this.state.resetModalShow&&u.default.createElement(M,{show:!0,close:function(){e.setState({resetModalShow:!1})},options:y,resetState:qe,issue:Ve,i18n:n}),this.state.copyModalShow&&u.default.createElement(j,{show:!0,close:function(){e.setState({copyModalShow:!1})},options:y,loading:l,copy:Fe,data:Ve,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,layout:s.PropTypes.object.isRequired,collection:s.PropTypes.array.isRequired,wfCollection:s.PropTypes.array.isRequired,wfLoading:s.PropTypes.bool.isRequired,viewWorkflow:s.PropTypes.func.isRequired,indexComments:s.PropTypes.func.isRequired,sortComments:s.PropTypes.func.isRequired,addComments:s.PropTypes.func.isRequired,editComments:s.PropTypes.func.isRequired,delComments:s.PropTypes.func.isRequired,commentsCollection:s.PropTypes.array.isRequired,commentsIndexLoading:s.PropTypes.bool.isRequired,commentsLoading:s.PropTypes.bool.isRequired,commentsItemLoading:s.PropTypes.bool.isRequired,commentsLoaded:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,worklogSort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,worklogCollection:s.PropTypes.array.isRequired,worklogIndexLoading:s.PropTypes.bool.isRequired,worklogLoading:s.PropTypes.bool.isRequired,worklogLoaded:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,historyCollection:s.PropTypes.array.isRequired,historyIndexLoading:s.PropTypes.bool.isRequired,historyLoaded:s.PropTypes.bool.isRequired,indexGitCommits:s.PropTypes.func.isRequired,sortGitCommits:s.PropTypes.func.isRequired,gitCommitsCollection:s.PropTypes.array.isRequired,gitCommitsIndexLoading:s.PropTypes.bool.isRequired,gitCommitsLoaded:s.PropTypes.bool.isRequired,itemData:s.PropTypes.object.isRequired,project:s.PropTypes.object,options:s.PropTypes.object,loading:s.PropTypes.bool.isRequired,itemLoading:s.PropTypes.bool.isRequired,indexLoading:s.PropTypes.bool.isRequired,index:s.PropTypes.func.isRequired,refresh:s.PropTypes.func.isRequired,query:s.PropTypes.object,show:s.PropTypes.func.isRequired,edit:s.PropTypes.func.isRequired,create:s.PropTypes.func.isRequired,setAssignee:s.PropTypes.func.isRequired,setItemValue:s.PropTypes.func.isRequired,setLabels:s.PropTypes.func.isRequired,addLabels:s.PropTypes.func.isRequired,fileLoading:s.PropTypes.bool.isRequired,delFile:s.PropTypes.func.isRequired,addFile:s.PropTypes.func.isRequired,record:s.PropTypes.func.isRequired,forward:s.PropTypes.func.isRequired,cleanRecord:s.PropTypes.func.isRequired,visitedIndex:s.PropTypes.number.isRequired,visitedCollection:s.PropTypes.array.isRequired,createLink:s.PropTypes.func.isRequired,delLink:s.PropTypes.func.isRequired,linkLoading:s.PropTypes.bool.isRequired,doAction:s.PropTypes.func.isRequired,watch:s.PropTypes.func.isRequired,copy:s.PropTypes.func.isRequired,move:s.PropTypes.func.isRequired,convert:s.PropTypes.func.isRequired,resetState:s.PropTypes.func.isRequired,del:s.PropTypes.func.isRequired,selectedIds:s.PropTypes.array.isRequired,setSelectedIds:s.PropTypes.func.isRequired,isBatchHandle:s.PropTypes.bool.isRequired,user:s.PropTypes.object.isRequired},enumerable:!0}]),t}(s.Component);t.default=F,e.exports=t.default}).call(this)}finally{}},1866:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n'+this.options.dictRemoveFile+"=t){r=e/Math.pow(this.options.filesizeBase,4-n),a=o;break}r=Math.round(10*r)/10}return""+r+" "+a},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,a;for(a=[],n=0,r=e.length;n1&&c.default.createElement("li",{key:"next"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,p.default.add(a,1)),title:"后页"},">")),s-l>a&&c.default.createElement("li",{key:"last"},c.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,s),title:"尾页"},">>")))))}}],[{key:"propTypes",value:{query:u.PropTypes.object,refresh:u.PropTypes.func,total:u.PropTypes.number.isRequired,curPage:u.PropTypes.number,sizePerPage:u.PropTypes.number,paginationSize:u.PropTypes.number},enumerable:!0}]),t}(u.Component);t.default=f,e.exports=t.default}).call(this)}finally{}},87:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t
"+o(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=o.slice(c+1).join("\n")+e,c=p-1)),a=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),a||(a=r)),this.tokens.push({type:a?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),s={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+" "+this.options.dictFallbackText+"
\n":"'+(n?e:o(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:o(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(i(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(a){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,a,o="",i="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,a=t.fieldKey,o=t.value,i=void 0===o?"":o,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(a,i),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(h.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:i,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:i,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:k,edit:E,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:i,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:x,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},337:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"):"-";n[e.key]=u.default.createElement("span",{style:Ge,dangerouslySetInnerHTML:{__html:l}})}else{if(!t[e.key]&&!h.default.isNumber(t[e.key]))return void(n[e.key]="-");var l="";"sprints"===e.key?l=t.sprints&&t.sprints.length>0?t.sprints.join(","):"-":"SingleUser"===e.type?l=t[e.key].name:"MultiUser"===e.type?l=h.default.map(t[e.key],function(e){return e.name}).join(","):["Select","RadioGroup","SingleVersion"].indexOf(e.type)!==-1?l=h.default.findIndex(e.optionValues||[],{id:t[e.key]})===-1?"-":h.default.find(e.optionValues,{id:t[e.key]}).name:["MultiSelect","CheckboxGroup","MultiVersion"].indexOf(e.type)!==-1?!function(){var n=h.default.isArray(t[e.key])?t[e.key]:t[e.key].split(","),r=[];h.default.forEach(n,function(t){var n=h.default.findIndex(e.optionValues||[],{id:t})!==-1?h.default.find(e.optionValues,{id:t}).name:"";n&&r.push(n)}),l=r.length>0?h.default.uniq(r).join(","):"-"}():l="DatePicker"===e.type?v.unix(t[e.key]).format("YYYY/MM/DD"):"DateTimePicker"===e.type?v.unix(t[e.key]).format("YYYY/MM/DD HH:mm"):t[e.key]+("progress"==e.key?"%":""),n[e.key]=u.default.createElement("span",{style:Ge},l)}}),Je.push(n)});var et={};return s?et.noDataText=u.default.createElement("div",null,u.default.createElement("img",{src:k,className:"loading"})):et.noDataText="暂无数据显示。",et.onRowMouseOver=this.onRowMouseOver.bind(this),u.default.createElement("div",null,u.default.createElement(c.BootstrapTable,{hover:!0,data:Je,bordered:!1,options:et,selectRow:Qe,trClassName:"tr-top",headerStyle:{overflow:"unset"}},u.default.createElement(c.TableHeaderColumn,{dataField:"id",hidden:!0,isKey:!0},"ID"),u.default.createElement(c.TableHeaderColumn,{width:"50",dataField:"type"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"type"),title:"类型"},u.default.createElement("span",{style:{marginRight:"3px"}},"类型"),"type"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),u.default.createElement(c.TableHeaderColumn,{dataField:"no",width:"50",title:"NO"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"no")},u.default.createElement("span",{style:{marginRight:"3px"}},"NO"),"no"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),u.default.createElement(c.TableHeaderColumn,{dataField:"title"},u.default.createElement("span",{className:"table-header",onClick:this.orderBy.bind(this,"title"),title:"主题"},u.default.createElement("span",{style:{marginRight:"3px"}},"主题"),"title"===Ke.field&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"})))),h.default.map(Ye,function(t,n){return u.default.createElement(c.TableHeaderColumn,{width:t.width||"100",dataField:t.key,key:n},u.default.createElement("span",{className:"table-header",onClick:t.sortKey?e.orderBy.bind(e,t.sortKey):null,title:t.name},u.default.createElement("span",{style:{marginRight:"3px"}},t.name),Ke.field===t.sortKey&&("desc"===Ke.order?u.default.createElement("i",{className:"fa fa-caret-down"}):u.default.createElement("i",{className:"fa fa-caret-up"}))))}),u.default.createElement(c.TableHeaderColumn,{width:"60",dataField:"operation"})),this.state.detailBarShow&&u.default.createElement(w,{i18n:n,layout:r,create:D,edit:A,del:N,setAssignee:B,setItemValue:W,setLabels:H,addLabels:z,close:this.closeDetail,options:y,data:i,record:F,forward:I,visitedIndex:L,visitedCollection:q,issueCollection:a,show:g,itemLoading:f,loading:l,fileLoading:Z,project:G,delFile:Y,addFile:K,wfCollection:X,wfLoading:$,viewWorkflow:Q,indexComments:J,sortComments:ee,commentsCollection:te,commentsIndexLoading:ne,commentsLoading:re,commentsItemLoading:se,commentsLoaded:ae,addComments:oe,editComments:ie,delComments:le,indexWorklog:ue,worklogSort:ce,sortWorklog:de,worklogCollection:pe,worklogIndexLoading:fe,worklogLoading:he,worklogLoaded:me,addWorklog:ye,editWorklog:ge,delWorklog:ve,indexHistory:be,sortHistory:we,historyCollection:ke,historyIndexLoading:Ee,historyLoaded:xe,indexGitCommits:_e,sortGitCommits:Ce,gitCommitsCollection:Se,gitCommitsIndexLoading:Te,gitCommitsLoaded:Pe,linkLoading:Me,createLink:Oe,delLink:Re,watch:je,copy:Fe,move:Ie,convert:Le,resetState:qe,doAction:De,user:Be}),!s&&y.total&&y.total>0?u.default.createElement(E,{total:y.total||0,curPage:V.page?V.page-0:1,sizePerPage:y.sizePerPage||50,paginationSize:4,query:V,refresh:U}):"",this.state.delNotifyShow&&u.default.createElement(b,{show:!0,close:this.delNotifyClose,data:Ve,loading:f,del:N,i18n:n}),this.state.addWorklogShow&&u.default.createElement(x,{show:!0,issue:Ve,close:function(){e.setState({addWorklogShow:!1})},loading:he,add:ye,i18n:n}),this.state.editModalShow&&u.default.createElement(_,{show:!0,close:function(){e.setState({editModalShow:!1})},options:y,addLabels:z,loading:l,project:G,edit:A,isSubtask:Ve.parent_id&&!0,data:Ve,i18n:n}),this.state.createSubtaskModalShow&&u.default.createElement(_,{show:!0,close:function(){e.setState({createSubtaskModalShow:!1})},options:y,create:D,loading:l,project:G,parent:Ve,isSubtask:!0,i18n:n}),this.state.convertTypeModalShow&&u.default.createElement(C,{show:!0,close:function(){e.setState({convertTypeModalShow:!1})},options:y,convert:Le,loading:l,issue:Ve,i18n:n}),this.state.convertType2ModalShow&&u.default.createElement(S,{show:!0,close:function(){e.setState({convertType2ModalShow:!1})},options:y,project:G,convert:Le,loading:l,issue:Ve,i18n:n}),this.state.moveModalShow&&u.default.createElement(T,{show:!0,close:function(){e.setState({moveModalShow:!1})},options:y,project:G,move:Ie,loading:l,issue:Ve,i18n:n}),this.state.assignModalShow&&u.default.createElement(P,{show:!0,close:function(){e.setState({assignModalShow:!1})},options:y,setAssignee:B,issue:Ve,i18n:n}),this.state.setLabelsModalShow&&u.default.createElement(O,{show:!0,close:function(){e.setState({setLabelsModalShow:!1})},options:y,setLabels:H,addLabels:z,issue:Ve,i18n:n}),this.state.shareModalShow&&u.default.createElement(R,{show:!0,close:function(){e.setState({shareModalShow:!1})},project:G,issue:Ve}),this.state.resetModalShow&&u.default.createElement(M,{show:!0,close:function(){e.setState({resetModalShow:!1})},options:y,resetState:qe,issue:Ve,i18n:n}),this.state.copyModalShow&&u.default.createElement(j,{show:!0,close:function(){e.setState({copyModalShow:!1})},options:y,loading:l,copy:Fe,data:Ve,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,layout:s.PropTypes.object.isRequired,collection:s.PropTypes.array.isRequired,wfCollection:s.PropTypes.array.isRequired,wfLoading:s.PropTypes.bool.isRequired,viewWorkflow:s.PropTypes.func.isRequired,indexComments:s.PropTypes.func.isRequired,sortComments:s.PropTypes.func.isRequired,addComments:s.PropTypes.func.isRequired,editComments:s.PropTypes.func.isRequired,delComments:s.PropTypes.func.isRequired,commentsCollection:s.PropTypes.array.isRequired,commentsIndexLoading:s.PropTypes.bool.isRequired,commentsLoading:s.PropTypes.bool.isRequired,commentsItemLoading:s.PropTypes.bool.isRequired,commentsLoaded:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,worklogSort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,worklogCollection:s.PropTypes.array.isRequired,worklogIndexLoading:s.PropTypes.bool.isRequired,worklogLoading:s.PropTypes.bool.isRequired,worklogLoaded:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,historyCollection:s.PropTypes.array.isRequired,historyIndexLoading:s.PropTypes.bool.isRequired,historyLoaded:s.PropTypes.bool.isRequired,indexGitCommits:s.PropTypes.func.isRequired,sortGitCommits:s.PropTypes.func.isRequired,gitCommitsCollection:s.PropTypes.array.isRequired,gitCommitsIndexLoading:s.PropTypes.bool.isRequired,gitCommitsLoaded:s.PropTypes.bool.isRequired,itemData:s.PropTypes.object.isRequired,project:s.PropTypes.object,options:s.PropTypes.object,loading:s.PropTypes.bool.isRequired,itemLoading:s.PropTypes.bool.isRequired,indexLoading:s.PropTypes.bool.isRequired,index:s.PropTypes.func.isRequired,refresh:s.PropTypes.func.isRequired,query:s.PropTypes.object,show:s.PropTypes.func.isRequired,edit:s.PropTypes.func.isRequired,create:s.PropTypes.func.isRequired,setAssignee:s.PropTypes.func.isRequired,setItemValue:s.PropTypes.func.isRequired,setLabels:s.PropTypes.func.isRequired,addLabels:s.PropTypes.func.isRequired,fileLoading:s.PropTypes.bool.isRequired,delFile:s.PropTypes.func.isRequired,addFile:s.PropTypes.func.isRequired,record:s.PropTypes.func.isRequired,forward:s.PropTypes.func.isRequired,cleanRecord:s.PropTypes.func.isRequired,visitedIndex:s.PropTypes.number.isRequired,visitedCollection:s.PropTypes.array.isRequired,createLink:s.PropTypes.func.isRequired,delLink:s.PropTypes.func.isRequired,linkLoading:s.PropTypes.bool.isRequired,doAction:s.PropTypes.func.isRequired,watch:s.PropTypes.func.isRequired,copy:s.PropTypes.func.isRequired,move:s.PropTypes.func.isRequired,convert:s.PropTypes.func.isRequired,resetState:s.PropTypes.func.isRequired,del:s.PropTypes.func.isRequired,selectedIds:s.PropTypes.array.isRequired,setSelectedIds:s.PropTypes.func.isRequired,isBatchHandle:s.PropTypes.bool.isRequired,user:s.PropTypes.object.isRequired},enumerable:!0}]),t}(s.Component);t.default=F,e.exports=t.default}).call(this)}finally{}},1866:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n'+this.options.dictRemoveFile+"=t){r=e/Math.pow(this.options.filesizeBase,4-n),o=a;break}r=Math.round(10*r)/10}return""+r+" "+o},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;n
"+a(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=a.slice(c+1).join("\n")+e,c=p-1)),o=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),o||(o=r)),this.tokens.push({type:o?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),s={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+" "+this.options.dictFallbackText+"
\n":"'+(n?e:a(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:a(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(i(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(o){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var a='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o,a="",i="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,o=t.fieldKey,a=t.value,i=void 0===a?"":a,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(o,i),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:i,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:i,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:E,edit:k,i18n:n}),this.state.delWorklogShow&&u.default.createElement(b,{show:!0,issue:i,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:x,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=v,e.exports=t.default}).call(this)}finally{}},1060:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
")}}))))),u.default.createElement("div",{className:"kanban-header"},u.default.createElement("div",{style:{height:"0px",display:this.state.hideHeader?"block":"none",textAlign:"right"}},u.default.createElement("span",{title:"展示看板头"},u.default.createElement(c.Button,{onClick:this.showHeader.bind(this),style:{marginTop:"-37px"}},u.default.createElement("i",{className:"fa fa-angle-double-down","aria-hidden":"true"})))),u.default.createElement("div",{id:"main-header",style:{height:"49px",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{style:{display:"inline-block",fontSize:"19px",marginTop:"5px"}},F&&u.default.createElement("img",{src:x,className:"loading"}),!F&&!m.default.isEmpty(i)&&i.name||"",!F&&m.default.isEmpty(i)&&s.length>0&&u.default.createElement("span",{style:{fontSize:"14px"}},"该看板不存在,请重试或选择其它看板。"),!F&&m.default.isEmpty(i)&&s.length<=0&&u.default.createElement("span",{style:{fontSize:"14px"}},"该项目暂未定义看板,",G.permissions&&G.permissions.indexOf("manage_project")!==-1?u.default.createElement("span",null,"请点击 ",u.default.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.setState({createKanbanModalShow:!0})}},"创建看板"),"。"):"请联系项目管理员创建。")),u.default.createElement("div",{style:{"float":"right",display:"inline-block"}},G.permissions&&G.permissions.indexOf("create_issue")!==-1&&!m.default.isEmpty(i)&&("kanban"==i.type&&"issue"===r||"backlog"===r)&&u.default.createElement(c.Button,{style:{marginRight:"10px"},bsStyle:"primary",onClick:function(){e.setState({createIssueModalShow:!0})}},u.default.createElement("i",{className:"fa fa-plus"})," 创建问题"),!m.default.isEmpty(i)&&u.default.createElement(c.ButtonGroup,{style:{marginRight:"10px"}},"kanban"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"issue"==r&&"#eee"},onClick:function(){e.changeModel("issue")}},"看板"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"epic"==r&&"#eee"},onClick:function(){e.changeModel("epic")}},"Epic"),"scrum"==i.type&&E>0&&u.default.createElement(c.Button,{style:{backgroundColor:"history"==r&&"#eee"},onClick:function(){e.changeModel("history")}},"Sprint 历史"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"backlog"==r&&"#eee"},onClick:function(){e.changeModel("backlog")}},"Backlog"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"issue"==r&&"#eee"},onClick:function(){e.changeModel("issue")}},"活动Sprint"),u.default.createElement(c.Button,{style:{backgroundColor:"config"==r&&"#eee"},onClick:function(){e.changeModel("config")}},"配置")),s.length>0&&u.default.createElement(c.DropdownButton,{pullRight:!0,title:"列表",onSelect:this.changeKanban.bind(this)},m.default.map(s,function(e,t){return u.default.createElement(c.MenuItem,{key:t,eventKey:e.id},u.default.createElement("div",{style:{display:"inline-block",width:"20px",textAlign:"left"}},i.id===e.id&&u.default.createElement("i",{className:"fa fa-check"})),u.default.createElement("span",null,e.name))}),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement(c.MenuItem,{divider:!0}),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement(c.MenuItem,{eventKey:"create"},s.length>0&&u.default.createElement("div",{style:{display:"inline-block",width:"20px"}}),u.default.createElement("span",null,"创建看板"))))),"issue"===r&&!F&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},"scrum"==i.type&&!m.default.isEmpty($)&&u.default.createElement(c.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:Z},u.default.createElement("div",{className:"popover-active-sprint"},u.default.createElement("div",{className:"active-sprint-name",title:$.name||""},$.name||""," ",u.default.createElement("i",{className:"fa fa-caret-down","aria-hidden":"true"})))),u.default.createElement("span",{style:{"float":"left",marginTop:"7px",marginRight:"5px"}},"过滤器:"),u.default.createElement(c.Nav,{bsStyle:"pills",style:{"float":"left",lineHeight:"1.0"},activeKey:o,onSelect:this.handleSelect.bind(this)},u.default.createElement(c.NavItem,{eventKey:"all",href:"#"},"全部"),m.default.map(i.filters||[],function(e,t){return u.default.createElement(c.NavItem,{key:t,eventKey:t,href:"#"},e.name)})),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),"scrum"==i.type&&!m.default.isEmpty($)&&u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"燃尽图"},u.default.createElement(c.Button,{onClick:function(){e.setState({burndownModalShow:!0})}},u.default.createElement("i",{className:"fa fa-line-chart","aria-hidden":"true"})," 燃尽图")),u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"更多过滤"},u.default.createElement(c.Button,{onClick:function(){e.setState({moreFilterModalShow:!0})}},u.default.createElement("i",{className:"fa fa-filter","aria-hidden":"true"})," 更多过滤",m.default.isEmpty(this.state.query)?"":"..."))),"backlog"===r&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{className:"exchange-icon",style:{"float":"left",marginTop:"7px"},onClick:this.changeFilterMode.bind(this),title:"切换至"+("epic"==this.state.backlogFilterMode?"版本":"Epic")},u.default.createElement("i",{className:"fa fa-retweet"})),u.default.createElement("span",{style:{"float":"left",marginTop:"7px",marginRight:"5px"}},"epic"===this.state.backlogFilterMode?"Epic":"版本","过滤:"),"epic"===this.state.backlogFilterMode?u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,options:U,value:"all"==o?null:o,onChange:function(t){e.handleSelectEV(t)},placeholder:"选择Epic"})):u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,options:K,value:"all"==o?null:o,onChange:function(t){e.handleSelectEV(t)},placeholder:"选择版本"})),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement("div",{style:{display:"inline-block","float":"right",marginRight:"10px"}},u.default.createElement(c.Button,{bsStyle:"primary",onClick:d},u.default.createElement("i",{className:"fa fa-plus","aria-hidden":"true"})," 创建Sprint"))),"history"===r&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{className:"exchange-icon",style:{"float":"left",marginTop:"7px"}},"Sprint"),u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,clearable:!1,options:Y,value:"all"==o?E:o,onChange:function(t){e.handleSelectSprint(t)},placeholder:"选择Sprint"})),!m.default.isEmpty(C)&&u.default.createElement(c.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:X},u.default.createElement("div",{style:{"float":"left",margin:"7px 10px",cursor:"pointer"}},u.default.createElement("i",{className:"fa fa-info-circle","aria-hidden":"true"}))),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"燃尽图"},u.default.createElement(c.Button,{onClick:function(){e.setState({hisBurndownModalShow:!0})}},u.default.createElement("i",{className:"fa fa-line-chart","aria-hidden":"true"})," 燃尽图"))),"epic"===r&&!m.default.isEmpty(i)&&G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement("div",{style:{height:"45px",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{style:{display:"inline-block","float":"left",marginRight:"10px"}},u.default.createElement(c.Button,{disabled:I,onClick:function(){e.setState({createEpicModalShow:!0})}},u.default.createElement("i",{className:"fa fa-plus","aria-hidden":"true"})," 新建Epic")),!I&&u.default.createElement("div",{style:{display:"inline-block","float":"left",marginRight:"10px"}},u.default.createElement(c.Button,{onClick:function(){e.setState({sortCardsModalShow:!0})}},u.default.createElement("i",{className:"fa fa-edit","aria-hidden":"true"})," 编辑顺序"))),this.state.createKanbanModalShow&&u.default.createElement(y,{show:!0,close:this.createKanbanModalClose.bind(this),create:a,"goto":V,kanbans:s,i18n:n}),this.state.createIssueModalShow&&u.default.createElement(h,{show:!0,close:this.createIssueModalClose.bind(this),options:G,create:W,addLabels:z,loading:F,project:H,i18n:n}),this.state.createEpicModalShow&&u.default.createElement(g,{show:!0,close:this.createEpicModalClose.bind(this),create:P,collection:M,i18n:n}),this.state.sortCardsModalShow&&u.default.createElement(b,{show:!0,mode:"Epic",close:this.sortCardsModalClose.bind(this),cards:M,setSort:O,sortLoading:N,i18n:n}),this.state.burndownModalShow&&u.default.createElement(w,{show:!0,getSprintLog:L,loading:B,data:D,close:this.burndownModalClose.bind(this),no:$.no}),this.state.moreFilterModalShow&&u.default.createElement(v,{show:!0,search:this.moreSearch.bind(this),query:this.state.query,options:G,close:this.moreFilterModalClose.bind(this)}),this.state.hisBurndownModalShow&&u.default.createElement(w,{show:!0,getSprintLog:L,loading:B,data:D,close:this.hisBurndownModalClose.bind(this),no:o}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,changeModel:s.PropTypes.func.isRequired,mode:s.PropTypes.string.isRequired,selectedFilter:s.PropTypes.string.isRequired,create:s.PropTypes.func.isRequired,addLabels:s.PropTypes.func.isRequired,createKanban:s.PropTypes.func.isRequired,getSprint:s.PropTypes.func.isRequired,createSprint:s.PropTypes.func.isRequired,createEpic:s.PropTypes.func.isRequired,setEpicSort:s.PropTypes.func.isRequired,project:s.PropTypes.object,curKanban:s.PropTypes.object,kanbans:s.PropTypes.array,completedSprintNum:s.PropTypes.number,selectedSprint:s.PropTypes.object,sprints:s.PropTypes.array,epics:s.PropTypes.array,versions:s.PropTypes.array,loading:s.PropTypes.bool,epicLoading:s.PropTypes.bool,indexEpicLoading:s.PropTypes.bool,getSprintLog:s.PropTypes.func,sprintLog:s.PropTypes.object,sprintLogLoading:s.PropTypes.bool,"goto":s.PropTypes.func,selectFilter:s.PropTypes.func,index:s.PropTypes.func,options:s.PropTypes.object},enumerable:!0}]),t}(s.Component);t.default=_,e.exports=t.default}).call(this)}finally{}},1879:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n'+this.options.dictRemoveFile+"=t){r=e/Math.pow(this.options.filesizeBase,4-n),o=a;break}r=Math.round(10*r)/10}return""+r+" "+o},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;n
"+a(p.message+"",!0)+"";throw p}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:s,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:s,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:s,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=l(d.item,"gm")(/bull/g,d.bullet)(),d.list=l(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=l(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=l(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/
1&&l.length>1||(e=a.slice(c+1).join("\n")+e,c=p-1)),o=r||/\n\n(?!\s*$)/.test(s),c!==p-1&&(r="\n"===s.charAt(s.length-1),o||(o=r)),this.tokens.push({type:o?"loose_item_start":"list_item_start"}),this.token(s,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),s={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c "+e+"
\n":"'+(n?e:a(e,!0))+"\n
"},r.prototype.blockquote=function(e){return""+(n?e:a(e,!0))+"\n
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n){return"
\n":"
\n"},r.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+""+n+">\n"},r.prototype.listitem=function(e){return"\n\n"+e+"\n\n"+t+"\n
\n"},r.prototype.tablerow=function(e){return"\n"+e+" \n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+""+n+">\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+"
"},r.prototype.br=function(){return this.options.xhtml?"
":"
"},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(i(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(o){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var a='"+n+""},r.prototype.image=function(e,t,n){var r='":">"},r.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new n(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o,a="",i="";for(n="",e=0;e
"),imgFiles:r}}},{key:"previewInlineImg",value:function(e){var t=this.props.isImgPreviewed;if(!t)return void c.notify.show("权限不足。","error",2e3);var n=e.target.id;if(n){var r=-1;0===n.indexOf("inlineimg-")&&(r=n.substr(n.lastIndexOf("-")+1)-0,this.setState({inlinePreviewShow:!0,photoIndex:r}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.isEditable,r=t.onEdit,o=t.fieldKey,a=t.value,i=void 0===a?"":a,l=this.state,u=l.inlinePreviewShow,c=l.photoIndex,d=this.extractImg(o,i),p=d.html,f=d.imgFiles;return s.default.createElement("div",{className:"issue-text-field"},n&&s.default.createElement("div",{className:"edit-button",onClick:function(){r&&r()}},s.default.createElement("i",{className:"fa fa-pencil"})),s.default.createElement("div",{onClick:this.previewInlineImg.bind(this),dangerouslySetInnerHTML:{__html:p||'未设置'}}),u&&s.default.createElement(m.default,{mainSrc:f[c],nextSrc:f[(c+1)%f.length],prevSrc:f[(c+f.length-1)%f.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){e.setState({inlinePreviewShow:!1})},onMovePrevRequest:function(){return e.setState({photoIndex:(c+f.length-1)%f.length})},onMoveNextRequest:function(){return e.setState({photoIndex:(c+1)%f.length})}}))}}],[{key:"propTypes",value:{isImgPreviewed:l.PropTypes.bool,isEditable:l.PropTypes.bool,onEdit:l.PropTypes.func,fieldKey:l.PropTypes.string.isRequired,value:l.PropTypes.string.isRequired},enumerable:!0}]),t}(s.default.Component);e.exports={MultiRowsTextEditor:y,MultiRowsTextReader:g}}).call(this)}finally{}},106:function(e,t,n){try{(function(){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n
"),imgFileUrls:imgFileUrls}}},{key:"createLightbox",value:function(e,t,n){var r=this;return _react2.default.createElement(_reactImageLightbox2.default,{mainSrc:t[n],nextSrc:t[(n+1)%t.length],prevSrc:t[(n+t.length-1)%t.length],imageTitle:"",imageCaption:"",onCloseRequest:function(){r.state.inlinePreviewShow[e]=!1,r.setState({inlinePreviewShow:r.state.inlinePreviewShow})},onMovePrevRequest:function(){return r.setState({photoIndex:(n+t.length-1)%t.length})},onMoveNextRequest:function(){return r.setState({photoIndex:(n+1)%t.length})}})}},{key:"previewInlineImg",value:function(e){var t=e.target.id;if(t){var n="",r=-1;0===t.indexOf("inlineimg-")&&(n=t.substring(10,t.lastIndexOf("-")),r=t.substr(t.lastIndexOf("-")+1)-0),this.state.inlinePreviewShow[n]=!0,this.setState({inlinePreviewShow:this.state.inlinePreviewShow,photoIndex:r})}}},{key:"componentDidUpdate",value:function(){var e=this.props.users;_lodash2.default.map(e||[],function(e){return e.nameAndEmail=e.name+"("+e.email+")",e});var t=this;$(".comments-inputor textarea").atwho({at:"@",searchKey:"nameAndEmail",displayTpl:"
"):e.before_value}})),u.default.createElement("td",{width:"38%"},u.default.createElement("div",{style:{whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:f.default.isString(e.after_value)?f.default.escape(e.after_value).replace(/(\r\n)|(\n)/g,"
"):e.after_value}})))}))):u.default.createElement("span",{style:{marginLeft:"5px"}},"创建问题"))}))))}}],[{key:"propTypes",value:{issue_id:s.PropTypes.string,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,indexLoading:s.PropTypes.bool.isRequired,indexHistory:s.PropTypes.func.isRequired,sortHistory:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=g,e.exports=t.default}).call(this)}finally{}},229:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
"),u.default.createElement(d.Panel,{header:i,key:n,style:{marginBottom:"15px"}},u.default.createElement(d.Table,{condensed:!0,hover:!0,responsive:!0},u.default.createElement("thead",null,u.default.createElement("tr",null,u.default.createElement("th",null,"开始日期"),u.default.createElement("th",null,"耗费时间"),u.default.createElement("th",null,"剩余时间"))),u.default.createElement("tbody",null,u.default.createElement("tr",null,u.default.createElement("td",null,y.unix(t.started_at).format("YYYY/MM/DD HH:mm:ss")),u.default.createElement("td",null,t.spend||"-"),u.default.createElement("td",null,void 0===t.leave_estimate_m?"-":e.m2t(t.leave_estimate_m))))),u.default.createElement("div",{style:{marginLeft:"5px",lineHeight:"24px"}},u.default.createElement("span",{style:{width:"10%","float":"left",fontWeight:"bold"}},"备注:"),u.default.createElement("span",{style:{width:"90%","float":"left",whiteSpace:"pre-wrap",wordWrap:"break-word"},dangerouslySetInnerHTML:{__html:l}})))}))),this.state.addWorklogShow&&u.default.createElement(g,{show:!0,issue:i,close:function(){e.setState({addWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,add:E,edit:k,i18n:n}),this.state.delWorklogShow&&u.default.createElement(v,{show:!0,issue:i,close:function(){e.setState({delWorklogShow:!1})},data:this.state.selectedWorklog,loading:w,del:x,i18n:n}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,currentTime:s.PropTypes.number.isRequired,currentUser:s.PropTypes.object.isRequired,permissions:s.PropTypes.array.isRequired,issue:s.PropTypes.object.isRequired,options:s.PropTypes.object.isRequired,original_estimate:s.PropTypes.string,indexLoading:s.PropTypes.bool.isRequired,loading:s.PropTypes.bool.isRequired,indexWorklog:s.PropTypes.func.isRequired,sort:s.PropTypes.string.isRequired,sortWorklog:s.PropTypes.func.isRequired,addWorklog:s.PropTypes.func.isRequired,editWorklog:s.PropTypes.func.isRequired,delWorklog:s.PropTypes.func.isRequired,collection:s.PropTypes.array.isRequired},enumerable:!0}]),t}(s.Component);t.default=b,e.exports=t.default}).call(this)}finally{}},1060:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);
+e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n
")}}))))),u.default.createElement("div",{className:"kanban-header"},u.default.createElement("div",{style:{height:"0px",display:this.state.hideHeader?"block":"none",textAlign:"right"}},u.default.createElement("span",{title:"展示看板头"},u.default.createElement(c.Button,{onClick:this.showHeader.bind(this),style:{marginTop:"-37px"}},u.default.createElement("i",{className:"fa fa-angle-double-down","aria-hidden":"true"})))),u.default.createElement("div",{id:"main-header",style:{height:"49px",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{style:{display:"inline-block",fontSize:"19px",marginTop:"5px"}},q&&u.default.createElement("img",{src:x,className:"loading"}),!q&&!m.default.isEmpty(i)&&i.name||"",!q&&m.default.isEmpty(i)&&s.length>0&&u.default.createElement("span",{style:{fontSize:"14px"}},"该看板不存在,请重试或选择其它看板。"),!q&&m.default.isEmpty(i)&&s.length<=0&&u.default.createElement("span",{style:{fontSize:"14px"}},"该项目暂未定义看板,",G.permissions&&G.permissions.indexOf("manage_project")!==-1?u.default.createElement("span",null,"请点击 ",u.default.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.setState({createKanbanModalShow:!0})}},"创建看板"),"。"):"请联系项目管理员创建。")),u.default.createElement("div",{style:{"float":"right",display:"inline-block"}},G.permissions&&G.permissions.indexOf("create_issue")!==-1&&!m.default.isEmpty(i)&&("kanban"==i.type&&"issue"===r||"backlog"===r)&&u.default.createElement(c.Button,{style:{marginRight:"10px"},bsStyle:"primary",onClick:function(){e.setState({createIssueModalShow:!0})}},u.default.createElement("i",{className:"fa fa-plus"})," 创建问题"),!m.default.isEmpty(i)&&u.default.createElement(c.ButtonGroup,{style:{marginRight:"10px"}},"kanban"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"issue"==r&&"#eee"},onClick:function(){e.changeModel("issue")}},"看板"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"epic"==r&&"#eee"},onClick:function(){e.changeModel("epic")}},"Epic"),"scrum"==i.type&&E>0&&u.default.createElement(c.Button,{style:{backgroundColor:"history"==r&&"#eee"},onClick:function(){e.changeModel("history")}},"Sprint 历史"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"backlog"==r&&"#eee"},onClick:function(){e.changeModel("backlog")}},"Backlog"),"scrum"==i.type&&u.default.createElement(c.Button,{style:{backgroundColor:"issue"==r&&"#eee"},onClick:function(){e.changeModel("issue")}},"活动Sprint"),u.default.createElement(c.Button,{style:{backgroundColor:"config"==r&&"#eee"},onClick:function(){e.changeModel("config")}},"配置")),s.length>0&&u.default.createElement(c.DropdownButton,{pullRight:!0,title:"列表",onSelect:this.changeKanban.bind(this)},m.default.map(s,function(e,t){return u.default.createElement(c.MenuItem,{key:t,eventKey:e.id},u.default.createElement("div",{style:{display:"inline-block",width:"20px",textAlign:"left"}},i.id===e.id&&u.default.createElement("i",{className:"fa fa-check"})),u.default.createElement("span",null,e.name))}),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement(c.MenuItem,{divider:!0}),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement(c.MenuItem,{eventKey:"create"},s.length>0&&u.default.createElement("div",{style:{display:"inline-block",width:"20px"}}),u.default.createElement("span",null,"创建看板"))))),"issue"===r&&!q&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},"scrum"==i.type&&!m.default.isEmpty($)&&u.default.createElement(c.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:Z},u.default.createElement("div",{className:"popover-active-sprint"},u.default.createElement("div",{className:"active-sprint-name",title:$.name||""},$.name||""," ",u.default.createElement("i",{className:"fa fa-caret-down","aria-hidden":"true"})))),u.default.createElement("span",{style:{"float":"left",marginTop:"7px",marginRight:"5px"}},"过滤器:"),u.default.createElement(c.Nav,{bsStyle:"pills",style:{"float":"left",lineHeight:"1.0"},activeKey:o,onSelect:this.handleSelect.bind(this)},u.default.createElement(c.NavItem,{eventKey:"all",href:"#"},"全部"),m.default.map(i.filters||[],function(e,t){return u.default.createElement(c.NavItem,{key:t,eventKey:t,href:"#"},e.name)})),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),"scrum"==i.type&&!m.default.isEmpty($)&&u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"燃尽图"},u.default.createElement(c.Button,{onClick:function(){e.setState({burndownModalShow:!0})}},u.default.createElement("i",{className:"fa fa-line-chart","aria-hidden":"true"})," 燃尽图")),u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"更多过滤"},u.default.createElement(c.Button,{onClick:function(){e.setState({moreFilterModalShow:!0})}},u.default.createElement("i",{className:"fa fa-filter","aria-hidden":"true"})," 更多过滤",m.default.isEmpty(this.state.query)?"":"..."))),"backlog"===r&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{className:"exchange-icon",style:{"float":"left",marginTop:"7px"},onClick:this.changeFilterMode.bind(this),title:"切换至"+("epic"==this.state.backlogFilterMode?"版本":"Epic")},u.default.createElement("i",{className:"fa fa-retweet"})),u.default.createElement("span",{style:{"float":"left",marginTop:"7px",marginRight:"5px"}},"epic"===this.state.backlogFilterMode?"Epic":"版本","过滤:"),"epic"===this.state.backlogFilterMode?u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,options:U,value:"all"==o?null:o,onChange:function(t){e.handleSelectEV(t)},placeholder:"选择Epic"})):u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,options:K,value:"all"==o?null:o,onChange:function(t){e.handleSelectEV(t)},placeholder:"选择版本"})),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement("div",{style:{display:"inline-block","float":"right",marginRight:"10px"}},u.default.createElement(c.Button,{bsStyle:"primary",onClick:d},u.default.createElement("i",{className:"fa fa-plus","aria-hidden":"true"})," 创建Sprint"))),"history"===r&&!m.default.isEmpty(i)&&u.default.createElement("div",{style:{height:"45px",borderBottom:"2px solid #f5f5f5",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{className:"exchange-icon",style:{"float":"left",marginTop:"7px"}},"Sprint"),u.default.createElement("div",{style:{display:"inline-block","float":"left",width:"28%"}},u.default.createElement(p.default,{simpleValue:!0,clearable:!1,options:Y,value:"all"==o?E:o,onChange:function(t){e.handleSelectSprint(t)},placeholder:"选择Sprint"})),!m.default.isEmpty(C)&&u.default.createElement(c.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:X},u.default.createElement("div",{style:{"float":"left",margin:"7px 10px",cursor:"pointer"}},u.default.createElement("i",{className:"fa fa-info-circle","aria-hidden":"true"}))),u.default.createElement("span",{style:{"float":"right"},title:"隐藏看板头"},u.default.createElement(c.Button,{onClick:this.hideHeader.bind(this)},u.default.createElement("i",{className:"fa fa-angle-double-up","aria-hidden":"true"}))),u.default.createElement("span",{style:{"float":"right",marginRight:"10px"},title:"燃尽图"},u.default.createElement(c.Button,{onClick:function(){e.setState({hisBurndownModalShow:!0})}},u.default.createElement("i",{className:"fa fa-line-chart","aria-hidden":"true"})," 燃尽图"))),"epic"===r&&!m.default.isEmpty(i)&&G.permissions&&G.permissions.indexOf("manage_project")!==-1&&u.default.createElement("div",{style:{height:"45px",display:this.state.hideHeader?"none":"block"}},u.default.createElement("div",{style:{display:"inline-block","float":"left",marginRight:"10px"}},u.default.createElement(c.Button,{disabled:I,onClick:function(){e.setState({createEpicModalShow:!0})}},u.default.createElement("i",{className:"fa fa-plus","aria-hidden":"true"})," 新建Epic")),!I&&u.default.createElement("div",{style:{display:"inline-block","float":"left",marginRight:"10px"}},u.default.createElement(c.Button,{onClick:function(){e.setState({sortCardsModalShow:!0})}},u.default.createElement("i",{className:"fa fa-edit","aria-hidden":"true"})," 编辑顺序"))),this.state.createKanbanModalShow&&u.default.createElement(y,{show:!0,close:this.createKanbanModalClose.bind(this),create:a,"goto":V,kanbans:s,i18n:n}),this.state.createIssueModalShow&&u.default.createElement(h,{show:!0,close:this.createIssueModalClose.bind(this),options:G,create:W,addLabels:z,loading:q,project:H,i18n:n}),this.state.createEpicModalShow&&u.default.createElement(g,{show:!0,close:this.createEpicModalClose.bind(this),create:P,collection:M,i18n:n}),this.state.sortCardsModalShow&&u.default.createElement(v,{show:!0,mode:"Epic",close:this.sortCardsModalClose.bind(this),cards:M,setSort:O,sortLoading:N,i18n:n}),this.state.burndownModalShow&&u.default.createElement(w,{show:!0,getSprintLog:L,loading:B,data:D,close:this.burndownModalClose.bind(this),no:$.no}),this.state.moreFilterModalShow&&u.default.createElement(b,{show:!0,search:this.moreSearch.bind(this),query:this.state.query,options:G,close:this.moreFilterModalClose.bind(this)}),this.state.hisBurndownModalShow&&u.default.createElement(w,{show:!0,getSprintLog:L,loading:B,data:D,close:this.hisBurndownModalClose.bind(this),no:o}))}}],[{key:"propTypes",value:{i18n:s.PropTypes.object.isRequired,changeModel:s.PropTypes.func.isRequired,mode:s.PropTypes.string.isRequired,selectedFilter:s.PropTypes.string.isRequired,create:s.PropTypes.func.isRequired,addLabels:s.PropTypes.func.isRequired,createKanban:s.PropTypes.func.isRequired,getSprint:s.PropTypes.func.isRequired,createSprint:s.PropTypes.func.isRequired,createEpic:s.PropTypes.func.isRequired,setEpicSort:s.PropTypes.func.isRequired,project:s.PropTypes.object,curKanban:s.PropTypes.object,kanbans:s.PropTypes.array,completedSprintNum:s.PropTypes.number,selectedSprint:s.PropTypes.object,sprints:s.PropTypes.array,epics:s.PropTypes.array,versions:s.PropTypes.array,loading:s.PropTypes.bool,epicLoading:s.PropTypes.bool,indexEpicLoading:s.PropTypes.bool,getSprintLog:s.PropTypes.func,sprintLog:s.PropTypes.object,sprintLogLoading:s.PropTypes.bool,"goto":s.PropTypes.func,selectFilter:s.PropTypes.func,index:s.PropTypes.func,options:s.PropTypes.object},enumerable:!0}]),t}(s.Component);t.default=_,e.exports=t.default}).call(this)}finally{}},1879:function(e,t,n){try{(function(){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;no)break;c.push(f)}return u.default.createElement("div",{style:{marginTop:"10px",height:"45px"}},u.default.createElement("div",{className:"col-md-6",style:{textAlign:"left"}},u.default.createElement("span",null,p.default.add((r-1)*i,1),"-",r*i>=a?a:r*i," 共",a,"条 ",o,"页")),u.default.createElement("div",{className:"col-md-6",style:{textAlign:"right"}},o>1&&u.default.createElement("ul",{className:"pagination",style:{margin:"0px"}},r-s>1&&u.default.createElement("li",{key:"first"},u.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,1),title:"首页"},"<<")),r-1>0&&o>1&&u.default.createElement("li",{key:"pre"},u.default.createElement("span",{className:"page-button",onClick:this.goPage.bind(this,r-1),title:"前页"},"<")),p.default.map(c,function(t,a){return u.default.createElement("li",{key:a,className:t===r?"active":""},u.default.createElement("span",{className:"page-button",onClick:e.goPage.bind(e,t)},t))}),r'+this.options.dictRemoveFile+"