diff --git a/rootfs/link/bin/Encoder b/rootfs/link/bin/Encoder index 76bc517..b87cde2 100644 Binary files a/rootfs/link/bin/Encoder and b/rootfs/link/bin/Encoder differ diff --git a/rootfs/link/config/rtmp.conf b/rootfs/link/config/rtmp.conf index 2cc2b30..ce85915 100644 --- a/rootfs/link/config/rtmp.conf +++ b/rootfs/link/config/rtmp.conf @@ -1,6 +1,6 @@ rtmp { server { - listen 1935; + listen 1935 so_keepalive=2s:3:1; chunk_size 10240; wait_video on; application live{ diff --git a/rootfs/link/config/verLogs.json b/rootfs/link/config/verLogs.json index aea24ce..050a61b 100644 --- a/rootfs/link/config/verLogs.json +++ b/rootfs/link/config/verLogs.json @@ -1,4 +1,17 @@ [ + { + "version": "3.0.0 build 20240131", + "logs": [ + "标准版:修正部分页面翻译问题", + "标准版:修正NDI注册不成功问题", + "标准版:新增标题关键字检索功能", + "布局管理器新增布局中视频通道绑定音源", + "修复NTFS格式硬盘不能自动挂载问题", + "优化部分HTTP接口逻辑", + "优化文件录制功能", + "ENC1V3、ENCSHV2、ENC4S机型内核优化UDP稳定性" + ] + }, { "version": "2.9.0 build 20231229", "logs": [ diff --git a/rootfs/link/config/version.json b/rootfs/link/config/version.json index 4524bdf..8d51c49 100644 --- a/rootfs/link/config/version.json +++ b/rootfs/link/config/version.json @@ -1,5 +1,5 @@ { "app": "2.0.0 build 20220512_869", "sdk": "2.0.0 build 20220518_20716", - "sys": "2.9.0 build 20231229" + "sys": "3.0.0 build 20240131" } diff --git a/rootfs/link/shell/app.sh b/rootfs/link/shell/app.sh index 58ac629..9e2789b 100644 --- a/rootfs/link/shell/app.sh +++ b/rootfs/link/shell/app.sh @@ -16,3 +16,7 @@ fi if [ -f /link/bin/Monitor ];then /link/shell/monitor.sh & fi + +if [ -f /link/bin/TFT ];then +/link/shell/tft.sh & +fi diff --git a/rootfs/link/shell/mount.sh b/rootfs/link/shell/mount.sh index 2efe6c5..907d63a 100644 --- a/rootfs/link/shell/mount.sh +++ b/rootfs/link/shell/mount.sh @@ -1,5 +1,6 @@ #!/bin/sh +. /etc/profile . /link/shell/util/func.sh jopen /link/config/misc/disk.json enable=`jget enable` diff --git a/rootfs/link/shell/reset.sh b/rootfs/link/shell/reset.sh index 80d6b6c..fea0eb2 100644 --- a/rootfs/link/shell/reset.sh +++ b/rootfs/link/shell/reset.sh @@ -1,3 +1,3 @@ -cp /link/config/default/* /link/config/ rm -rf /link/config/auto/* +cp -r /link/config/default/* /link/config/ reboot diff --git a/rootfs/link/shell/setMac.sh b/rootfs/link/shell/setMac.sh index 98c4088..ad00d27 100644 --- a/rootfs/link/shell/setMac.sh +++ b/rootfs/link/shell/setMac.sh @@ -1,5 +1,11 @@ if [ ! -f "/link/config/mac" ] || [ ! -s /link/config/mac ] || [ -z "$(cat /link/config/mac)" ]; then /link/shell/makeMac.sh > /link/config/mac + +ethaddr=`fw_printenv ethaddr | grep ethaddr | awk -F '=' '{print $2}' | sed 's/\://g'` +if echo "$ethaddr" | grep -q "34C8D62" ; then + echo $ethaddr > /link/config/mac +fi + fi /sbin/ifconfig eth0 down diff --git a/rootfs/link/shell/tft.sh b/rootfs/link/shell/tft.sh new file mode 100644 index 0000000..38909f2 --- /dev/null +++ b/rootfs/link/shell/tft.sh @@ -0,0 +1,5 @@ +while [ true ] +do + /link/bin/TFT + sleep 2 +done diff --git a/rootfs/link/web/link/api/layout.php b/rootfs/link/web/link/api/layout.php index 306a786..dae51e1 100644 --- a/rootfs/link/web/link/api/layout.php +++ b/rootfs/link/web/link/api/layout.php @@ -46,13 +46,23 @@ class Layout extends Verify $result['srcA'] = $item['srcA']; foreach ($defLays as $defLay) { - $layList = []; + $layList = [];$layList1=[]; $layouts = $defLay['layouts']; foreach ($layouts as $layout) { $pos = $layout['pos']; //按顺序生成新对象,方便后面对比 $lay = array( + 'a' => $pos['a'], + 'x' => $pos['x'], + 'y' => $pos ['y'], + 'w' => $pos['w'], + 'h' => $pos['h'], + 'index' => $pos['index'] + ); + array_push($layList,$lay); + + $lay1 = array( 'a' => $pos['a'], 'h' => $pos['h'], 'index' => $pos['index'], @@ -60,9 +70,9 @@ class Layout extends Verify 'x' => $pos['x'], 'y' => $pos ['y'] ); - array_push($layList,$lay); + array_push($layList1,$lay1); } - if(json_encode($item['layout']) == json_encode($layList)) + if(json_encode($item['layout']) == json_encode($layList) || json_encode($item['layout']) == json_encode($layList1)) { $result['curLayId'] = $defLay['layId']; $result['curLayName'] = $defLay['layName']; diff --git a/rootfs/link/web/link/api/overlay.php b/rootfs/link/web/link/api/overlay.php index 9918a8c..59ffe05 100644 --- a/rootfs/link/web/link/api/overlay.php +++ b/rootfs/link/web/link/api/overlay.php @@ -51,15 +51,13 @@ class Overlay extends Verify $conf = $this->load_conf('/link/config/config.json'); $mark = file_exists("/link/config/auto/overlay.json"); - var_dump($mark); - if($mark) { - $overlayConf = $this->load_conf('/link/config/auto/overlay.json'); + $overlayConf = []; for($i=0;$iupdate_overlay($overlayConf); @@ -71,6 +69,7 @@ class Overlay extends Verify $param = $params[$i]; $id = $param['id']; + $chn=null;$index=-1; for($j=0;$j' + config[i].name + ''); - $("#vgasrc").append(''); - $("#hdmisrc").append(''); + $("#laySrc").append(''); + $("#vgasrc").append(''); + $("#hdmisrc").append(''); if (config[i].type != "mix") continue; @@ -479,40 +479,32 @@ include("head.php"); $("#SysLayout").change(function() { curLayIndex = $("#SysLayout").val(); var defLay = defLays[curLayIndex]; - var temp = []; - var type = false; + var tempV = []; + var tempA = []; + var typeV = false; + var typeA = false; for (var i = 0; i < defLay.layouts.length; i++) { var lay = defLay.layouts[i]; if (lay.id < 0) { - temp.push("-1"); + tempV.push("-1"); } else { - type = true; - temp.push(lay.id + ""); + typeV = true; + tempV.push(lay.id + ""); + if(lay.ado) { + tempA.push(lay.id + ""); + typeA = true; + } } } - var mixSrcV = mixCfg["srcV"]; - - //如果自定义布局中存在指定输入源 - if (type) - mixCfg["srcV"] = temp; - // for(var i=0;i= temp.length) - // break; - // if(mixSrcV[i] == "-1") - // continue; - // var mark = false; - // for(var j=0;j= 0; k--) { - var opt = optlist[k]; - var id = $(opt).val() + ""; - for (var n = 0; n < mixV.length; n++) { - if (id == mixV[n] && id != mixV[i] && id != "-1") { - lay.find("#laySrc")[0].options.remove(k); - } - } - } + // var optlist = lay.find("#laySrc").find("option").toArray(); + // for (var k = optlist.length - 1; k >= 0; k--) { + // var opt = optlist[k]; + // var id = $(opt).val() + ""; + // for (var n = 0; n < mixV.length; n++) { + // if (id == mixV[n] && id != mixV[i] && id != "-1") { + // console.log(id); + // lay.find("#laySrc")[0].options.remove(k); + // } + // } + // } lay.css("display", "block"); lay.css("left", (layout[i].x * 100) + "%"); @@ -576,18 +569,11 @@ include("head.php"); layList.push(layObj); } var str = JSON.stringify(layList); - curLayIndex = 6; for (var i = 0; i < SysLayout.length; i++) { if (JSON.stringify(SysLayout[i]) == str) { $("#SysLayout").val(i); curLayIndex = i; } - - } - - if (curLayIndex == 6) { - $("#SysLayout").val(6); - SysLayout[6] = mixCfg["layout"]; } setLayout(); } @@ -617,7 +603,7 @@ include("head.php"); lay.find("#laySrc")[0].options.length = 1; for (var k = 0; k < config.length; k++) { if ($.inArray(config[k].id + "", mixV) < 0 || config[k].id + "" == mixV[i]) { - lay.find("#laySrc").append(''); + lay.find("#laySrc").append(''); } } lay.find("#laySrc").val(mixV[i]); @@ -698,22 +684,6 @@ include("head.php"); init(); }); $.ajaxSettings.async = true; - - setInterval(function() { - $.getJSON("config/defLays.json?rnd=" + Math.random(), function(result) { - defLays = result; - SysLayout = []; - for (var i = 0; i < defLays.length; i++) { - var defLay = defLays[i]; - var las = defLay.layouts; - var layout = []; - for (var j = 0; j < las.length; j++) { - layout.push(las[j].pos); - } - SysLayout.push(layout); - } - }); - }, 1000) React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/rootfs/link/web/mixer/precache-manifest.abb42691e68409f9e64fbfb6933199f3.js b/rootfs/link/web/mixer/precache-manifest.abb42691e68409f9e64fbfb6933199f3.js new file mode 100644 index 0000000..354d584 --- /dev/null +++ b/rootfs/link/web/mixer/precache-manifest.abb42691e68409f9e64fbfb6933199f3.js @@ -0,0 +1,34 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "c478e196f0e356e1ecb0908ac7d5cfbb", + "url": "./mixer/index.html" + }, + { + "revision": "58d7b02ebe439df1498d", + "url": "./mixer/static/css/2.0b7c8b97.chunk.css" + }, + { + "revision": "5d634dc6ddb3fad90f05", + "url": "./mixer/static/css/main.1be3e506.chunk.css" + }, + { + "revision": "58d7b02ebe439df1498d", + "url": "./mixer/static/js/2.edf0bfe8.chunk.js" + }, + { + "revision": "4390933dc3b3a92d4f565fd4f47c3cd7", + "url": "./mixer/static/js/2.edf0bfe8.chunk.js.LICENSE.txt" + }, + { + "revision": "5d634dc6ddb3fad90f05", + "url": "./mixer/static/js/main.6a7a8d48.chunk.js" + }, + { + "revision": "5c84e2504d745b1010aeb6ce2aad7554", + "url": "./mixer/static/js/main.6a7a8d48.chunk.js.LICENSE.txt" + }, + { + "revision": "96af6c8d9af51963848a", + "url": "./mixer/static/js/runtime-main.c45edf70.js" + } +]); \ No newline at end of file diff --git a/rootfs/link/web/mixer/service-worker.js b/rootfs/link/web/mixer/service-worker.js index 7b153c7..f1ca310 100644 --- a/rootfs/link/web/mixer/service-worker.js +++ b/rootfs/link/web/mixer/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "./mixer/precache-manifest.1a06c0869ff880086e3a9be9dac86c16.js" + "./mixer/precache-manifest.abb42691e68409f9e64fbfb6933199f3.js" ); self.addEventListener('message', (event) => { diff --git a/rootfs/link/web/mixer/static/css/main.1be3e506.chunk.css b/rootfs/link/web/mixer/static/css/main.1be3e506.chunk.css new file mode 100644 index 0000000..8f7bab5 --- /dev/null +++ b/rootfs/link/web/mixer/static/css/main.1be3e506.chunk.css @@ -0,0 +1,2 @@ +body,html{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root,body,html{height:100%}.container.main{width:100%;height:100%}.defLayout.page-content{width:calc(100% - 270px);height:calc(100% - 30px)}input[type=checkbox]{position:absolute}.design_wch-container__1jy7O{height:100%;border:3px solid #333}.design_wch-container__1jy7O .design_wch-head__2e9np{background:#333;padding-top:0;padding-bottom:0}.design_wch-container__1jy7O .design_wch-head__2e9np span{color:#fff!important;font-size:16px}.design_wch-container__1jy7O .design_wch-box-shadow__wghxB{box-shadow:inset 0 1px 3px #000}.react-resizable-handle{position:absolute;box-sizing:border-box;height:100%;background:#333;width:2px;border-top:1px solid grey}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:ew-resize;height:100%}.react-resizable-handle-nw{top:0;left:0;cursor:ew-resize;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.mindex_wch-container__l3j9Y,.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r{height:100%}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row1-box__peLxM{height:5%;background:#333;border-top:1px solid grey}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row1-box__peLxM .mindex_wch-handle-btn__3CtmB{font-size:14px;color:#fff;cursor:pointer}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row1-box__peLxM .mindex_wch-handle-btn__3CtmB.mindex_hide__2MYz0{display:none}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U{height:94.7%}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd,.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb{height:100%}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb .mindex_wch-sider-left__2htrI{box-shadow:inset 0 1px 3px #000;background:#f0f2f4}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb .mindex_wch-sider-left__2htrI .mindex_wch-divider__29ebh{background:#333;height:2px;margin-bottom:0}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb .mindex_wch-content-inside__33TR_{width:100%;height:100%}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb .mindex_wch-content-inside__33TR_ .mindex_wch-touch-box__33aWo{display:flex;width:83.333%;height:100%;margin:0 auto;align-items:center;justify-content:center}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row2-box__1jO_U .mindex_wch-col2-box__Zf8yd .mindex_wch-layout-inside__3gDfb .mindex_wch-content-inside__33TR_ .mindex_wch-equilizer-box__B6cDc{width:35px;height:40px;margin-top:-30px;cursor:pointer;margin-left:-2px}.mindex_wch-container__l3j9Y .mindex_wch-content-box__2gQ9r .mindex_wch-row3-box__1BSCm{height:.3%;background:#333}.mindex_wch-container__l3j9Y .mindex_wch-box-shadow__2jv63{box-shadow:inset 0 1px 3px #a9a9a9}.touch_wch-container__1Fh1e{position:relative;cursor:pointer;width:100%;height:0;z-index:0;padding-bottom:56.25%}.touch_wch-container__1Fh1e.touch_active__39gO1{outline:3px solid #fb0}.touch_wch-container__1Fh1e .touch_wch-rnd-wrap__1pW-2{box-sizing:border-box;border:none}.touch_wch-container__1Fh1e .touch_wch-grid-line__2tOSM{position:absolute;width:100%;height:100%}.touch_wch-container__1Fh1e .touch_wch-grid-line__2tOSM.touch_hide__1gflJ{display:none}.menu_wch-container__1p5DP{position:fixed;background:#fff;box-shadow:0 2px 10px #999;margin:0;padding:0;z-index:9999999}.menu_wch-container-menu__3Utdf{margin:0;padding:0}.menu_wch-container-menu-option__1OzY6{padding:6px 0 6px 10px;min-width:150px;cursor:default;font-size:14px;list-style:none}.menu_wch-container-menu-option__1OzY6:hover{background:#333;color:#fff}.menu_wch-container-menu-option__1OzY6:active{color:#e9e9e9;background:#333}.menu_wch-container-menu-option-disabled__3zrID{color:#999;pointer-events:none}.menu_wch-container-menu-option__1OzY6 span{padding-left:10px}.menu_wch-container-menu--separator__3sWuP{width:100%;height:1px;background:#ccc;margin:0}.layout_wch-container__3E4H0{boxShadow:"0px 0px 5px black";cursor:pointer;width:100%;height:100%;position:absolute;cursor:move}.layout_wch-container__3E4H0.layout_active__1e24K{outline:3px solid #000}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra{background:#000;border:2px solid #a9a9a9}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra .layout_wch-rnd-mark__2EvbR{background:#a9a9a9;color:#fff;cursor:move;height:30px;width:30px;text-align:center;font-size:20px;line-height:30px}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra:hover{border:2px solid #a9a9a9}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra.layout_active__1e24K{border:2px solid #20b2aa}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra.layout_active__1e24K .layout_wch-rnd-mark__2EvbR{background:#20b2aa}.layout_wch-container__3E4H0 .layout_wch-rnd-wrap__3urra.layout_active__1e24K:hover{border:2px solid #20b2aa}.mark_wch-container__1SdaT{width:100%;height:100%;padding:0;font-size:12px;text-align:center;-webkit-transform:scale(.75)}.place_wch-container__2yzir{cursor:move;width:100%;height:100%;position:absolute;box-sizing:border-box;border:1px solid #a9a9a9}.place_wch-container__2yzir.place_active__17jwS{border:2px solid #fb0}.place_wch-container__2yzir.place_active__17jwS .place_wch-rnd-volume__3zNHO{color:#fb0}.place_wch-container__2yzir img{border:none}.place_wch-container__2yzir .place_wch-rnd-mark__1Ji62{background:#a9a9a9;color:#fff;cursor:move;height:20px;width:50px;text-align:center;font-size:12px;line-height:20px;position:absolute;border:none;outline:none}.place_wch-container__2yzir .place_wch-rnd-mark__1Ji62.place_active__17jwS{background:#fb0;color:#fff}.place_wch-container__2yzir .place_wch-rnd-volume__3zNHO{position:absolute;left:5px;bottom:0;color:#ddd}.setting_wch-container__1JoJ0{width:100%;height:100%}.setting_wch-container__1JoJ0 .setting_wch-header-wrap__1-8jJ{background:#edeff3;padding:0;margin:0;line-height:normal}.setting_wch-container__1JoJ0 .setting_react-resizable-handle__12r4a{position:absolute;box-sizing:border-box;height:3px!important;background:#333;width:100%}.setting_wch-container__1JoJ0 .setting_react-resizable-handle-ns__2-w5_{bottom:0;right:0;cursor:ns-resize!important;height:100%}.nature_react-resizable-handle__2cUZ2{position:absolute;box-sizing:border-box;height:100%;width:1px}.nature_react-resizable-handle__2cUZ2:nth-child(2){height:0;width:0}.nature_react-resizable-handle-ew__3v2fu{bottom:0;right:0;cursor:ew-resize;height:100%}.nature_odd__2RsaO{background:#f8f8f8}.nature_enev__uUICj,.nature_odd__2RsaO{height:15px;line-height:15px;color:#000}.nature_enev__uUICj{background:#fff}.nature_inputNum__2HF-Q{border:none}.nature_inputNum__2HF-Q.nature_inputodd__RMBJD{background:#f8f8f8}.nature_table__1dQ-f thead tr{box-shadow:-1px -1px 1px grey}.nature_table__1dQ-f thead tr:first-child th{background:#333;color:#fff;border-right:1px solid grey}.equilizer_equilizer__1ysdE{width:100%;height:100%;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin:0 auto}.equilizer_bar__1r47H{fill:#333;width:10%;-webkit-animation:equilizer_equalize__1H7rI 4s 0s infinite;animation:equilizer_equalize__1H7rI 4s 0s infinite}.equilizer_bar__1r47H:first-child{-webkit-animation-delay:-1.9s;animation-delay:-1.9s}.equilizer_bar__1r47H:nth-child(2){-webkit-animation-delay:-2s;animation-delay:-2s}.equilizer_bar__1r47H:nth-child(3){-webkit-animation-delay:-2.3s;animation-delay:-2.3s}.equilizer_bar__1r47H:nth-child(4){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.equilizer_bar__1r47H:nth-child(5){-webkit-animation-delay:-2.1s;animation-delay:-2.1s}.equilizer_bar__1r47H:nth-child(6){-webkit-animation-delay:-2.7s;animation-delay:-2.7s}.equilizer_bar__1r47H:nth-child(7){-webkit-animation-delay:-1.8s;animation-delay:-1.8s}@-webkit-keyframes equilizer_equalize__1H7rI{0%{height:60%}4%{height:50%}8%{height:40%}12%{height:30%}16%{height:20%}20%{height:30%}24%{height:40%}28%{height:10%}32%{height:40%}36%{height:60%}40%{height:20%}44%{height:40%}48%{height:70%}52%{height:30%}56%{height:10%}60%{height:30%}64%{height:50%}68%{height:60%}72%{height:70%}76%{height:80%}80%{height:70%}84%{height:60%}88%{height:50%}92%{height:60%}96%{height:70%}to{height:80%}}@keyframes equilizer_equalize__1H7rI{0%{height:60%}4%{height:50%}8%{height:40%}12%{height:30%}16%{height:20%}20%{height:30%}24%{height:40%}28%{height:10%}32%{height:40%}36%{height:60%}40%{height:20%}44%{height:40%}48%{height:70%}52%{height:30%}56%{height:10%}60%{height:30%}64%{height:50%}68%{height:60%}72%{height:70%}76%{height:80%}80%{height:70%}84%{height:60%}88%{height:50%}92%{height:60%}96%{height:70%}to{height:80%}}.sindex_wch-container__LAbmU{height:100%;padding-right:3px}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b{background:#333;width:100%;height:5%;border:1px solid grey;border-left:none;padding:0;line-height:normal;color:#fff;font-size:20px}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b.sindex_active__2el1F{border:none;border-top:1px solid grey}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b .sindex_wch-row-box__2ZBHB{height:100%;padding:0}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b .sindex_wch-row-box__2ZBHB .sindex_wch-handle-btn__1oZTZ{font-size:14px;color:#fff;cursor:pointer}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b .sindex_wch-row-box__2ZBHB .sindex_wch-handle-btn__1oZTZ.sindex_hide__31hoE{display:none}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b .sindex_wch-row-box__2ZBHB .sindex_wch-double-arrow__C0SJC{text-align:right;cursor:pointer;padding-right:8%}.sindex_wch-container__LAbmU .sindex_wch-header-wrap__yr66b .sindex_wch-row-box__2ZBHB .sindex_wch-double-arrow__C0SJC.sindex_active__2el1F{font-size:15px;padding-right:6px}.sindex_wch-container__LAbmU .sindex_wch-content-wrap__gAsyr{overflow:auto}.sindex_wch-container__LAbmU .sindex_wch-content-wrap__gAsyr .sindex_wch-wrap-item__2mvZ1{font-size:14px;color:#333;border-bottom:1px solid #ddd;line-height:30px;cursor:pointer}.sindex_wch-container__LAbmU .sindex_wch-content-wrap__gAsyr .sindex_wch-wrap-item__2mvZ1.sindex_def__1RRpV{-webkit-text-decoration-line:underline;text-decoration-line:underline}.sindex_wch-container__LAbmU .sindex_wch-content-wrap__gAsyr .sindex_wch-wrap-item__2mvZ1.sindex_active__2el1F{background:#fb0;color:#fff} +/*# sourceMappingURL=main.1be3e506.chunk.css.map */ \ No newline at end of file diff --git a/rootfs/link/web/mixer/static/js/2.edf0bfe8.chunk.js b/rootfs/link/web/mixer/static/js/2.edf0bfe8.chunk.js new file mode 100644 index 0000000..2a5f80c --- /dev/null +++ b/rootfs/link/web/mixer/static/js/2.edf0bfe8.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.edf0bfe8.chunk.js.LICENSE.txt */ +(this.webpackJsonpmixer=this.webpackJsonpmixer||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(298)},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t0){var _=m[0]/2;R.paddingLeft=_,R.paddingRight=_}if(m&&m[1]>0&&!b){var I=m[1]/2;R.paddingTop=I,R.paddingBottom=I}return k&&(R.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(k),!1!==g||R.minWidth||(R.minWidth=0)),i.createElement("div",Object(o.a)({},P,{style:Object(o.a)(Object(o.a)({},R),N),className:D,ref:t}),S)}));p.displayName="Col";var h=p;t.a=h},function(e,t,n){"use strict";var r=n(1),o=n(2),a=n(9),i=n(5),c=n(0),u=n(4),l=n.n(u),s=n(59),f=n(166),d=n(41),p=n(77),h=n(164),v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0?_[0]/-2:void 0,z=null!=_[1]&&_[1]>0?_[1]/-2:void 0;if(L&&(A.marginLeft=L,A.marginRight=L),M){var F=Object(i.a)(_,2);A.rowGap=F[1]}else z&&(A.marginTop=z,A.marginBottom=z);var H=Object(i.a)(_,2),K=H[0],V=H[1],W=c.useMemo((function(){return{gutter:[K,V],wrap:x,supportFlexGap:M}}),[K,V,x,M]);return c.createElement(f.a.Provider,{value:W},c.createElement("div",Object(r.a)({},E,{className:I,style:Object(r.a)(Object(r.a)({},A),b),ref:t}),y))})));m.displayName="Row";var g=m;t.a=g},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(51);function o(e,t){if(null==e)return{};var n,o,a=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";var r=n(3),o=n(5),a=n(2),i=n(10),c=n(0),u=n.n(c),l=n(4),s=n.n(l),f=n(109),d=n(9),p=n(132),h=n(13),v=n(108);function m(e){return"object"===Object(d.a)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===Object(d.a)(e.icon)||"function"===typeof e.icon)}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t}),{})}function b(e){return Object(p.a)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var O="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var E=function(e){var t,n,o=e.icon,a=e.className,l=e.onClick,s=e.style,d=e.primaryColor,p=e.secondaryColor,y=Object(i.a)(e,w),E=x;if(d&&(E={primaryColor:d,secondaryColor:p||b(d)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=Object(c.useContext)(f.a),n=t.csp;Object(c.useEffect)((function(){Object(v.a)(e,"@ant-design-icons",{prepend:!0,csp:n})}),[])}(),t=m(o),n="icon should be icon definiton, but got ".concat(o),Object(h.a)(t,"[@ant-design/icons] ".concat(n)),!m(o))return null;var j=o;return j&&"function"===typeof j.icon&&(j=Object(r.a)(Object(r.a)({},j),{},{icon:j.icon(E.primaryColor,E.secondaryColor)})),function e(t,n,o){return o?u.a.createElement(t.tag,Object(r.a)(Object(r.a)({key:n},g(t.attrs)),o),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))):u.a.createElement(t.tag,Object(r.a)({key:n},g(t.attrs)),(t.children||[]).map((function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})))}(j.icon,"svg-".concat(j.name),Object(r.a)({className:a,onClick:l,style:s,"data-icon":j.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},y))};E.displayName="IconReact",E.getTwoToneColors=function(){return Object(r.a)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||b(t),x.calculated=!!n};var j=E;function C(e){var t=y(e),n=Object(o.a)(t,2),r=n[0],a=n[1];return j.setTwoToneColors({primaryColor:r,secondaryColor:a})}var S=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C("#1890ff");var k=c.forwardRef((function(e,t){var n,u=e.className,l=e.icon,d=e.spin,p=e.rotate,h=e.tabIndex,v=e.onClick,m=e.twoToneColor,g=Object(i.a)(e,S),b=c.useContext(f.a).prefixCls,O=void 0===b?"anticon":b,w=s()(O,(n={},Object(a.a)(n,"".concat(O,"-").concat(l.name),!!l.name),Object(a.a)(n,"".concat(O,"-spin"),!!d||"loading"===l.name),n),u),x=h;void 0===x&&v&&(x=-1);var E=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,C=y(m),k=Object(o.a)(C,2),N=k[0],P=k[1];return c.createElement("span",Object(r.a)(Object(r.a)({role:"img","aria-label":l.name},g),{},{ref:t,tabIndex:x,onClick:v,className:w}),c.createElement(j,{icon:l,primaryColor:N,secondaryColor:P,style:E}))}));k.displayName="AntdIcon",k.getTwoToneColor=function(){var e=j.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},k.setTwoToneColor=C;t.a=k},function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var r={};function o(e,t){0}function a(e,t){0}function i(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){i(a,e,t)}t.a=function(e,t){i(o,e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(44);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:L,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z;switch(e){case"top":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:n,bottom:"auto"};break;case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottom":t={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function W(e,t){var n=e.placement,r=void 0===n?H:n,o=e.top,a=e.bottom,i=e.getContainer,c=void 0===i?D:i,u=e.prefixCls,l=de(),s=l.getPrefixCls,f=l.getIconPrefixCls,d=s("notification",u||F),p=f(),h="".concat(d,"-").concat(r),v=I[h];if(v)Promise.resolve(v).then((function(e){t({prefixCls:"".concat(d,"-notice"),iconPrefixCls:p,instance:e})}));else{var m=C()("".concat(d,"-").concat(r),Object(w.a)({},"".concat(d,"-rtl"),!0===K));I[h]=new Promise((function(e){x.a.newInstance({prefixCls:d,className:m,style:V(r,o,a),getContainer:c,maxCount:_},(function(n){e(n),t({prefixCls:"".concat(d,"-notice"),iconPrefixCls:p,instance:n})}))}))}}var U={success:S.a,info:P.a,error:k.a,warning:N.a};function B(e,t,n){var r=e.duration,a=e.icon,i=e.type,c=e.description,u=e.message,l=e.btn,s=e.onClose,f=e.onClick,d=e.key,p=e.style,h=e.className,v=e.closeIcon,m=void 0===v?R:v,g=void 0===r?A:r,b=null;a?b=o.createElement("span",{className:"".concat(t,"-icon")},e.icon):i&&(b=o.createElement(U[i]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(i)}));var y=o.createElement("span",{className:"".concat(t,"-close-x")},m||o.createElement(E.a,{className:"".concat(t,"-close-icon")})),O=!c&&b?o.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:o.createElement(ve,{iconPrefixCls:n},o.createElement("div",{className:b?"".concat(t,"-with-icon"):"",role:"alert"},b,o.createElement("div",{className:"".concat(t,"-message")},O,u),o.createElement("div",{className:"".concat(t,"-description")},c),l?o.createElement("span",{className:"".concat(t,"-btn")},l):null)),duration:g,closable:!0,closeIcon:y,onClose:s,onClick:f,key:d,style:p||{},className:C()(h,Object(w.a)({},"".concat(t,"-").concat(i),!!i))}}var $,Y,q={open:function(e){W(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(B(e,n,r))}))},close:function(e){Object.keys(I).forEach((function(t){return Promise.resolve(I[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,a=e.getContainer,i=e.closeIcon,c=e.prefixCls;void 0!==c&&(F=c),void 0!==t&&(A=t),void 0!==n?H=n:e.rtl&&(H="topLeft"),void 0!==r&&(z=r),void 0!==o&&(L=o),void 0!==a&&(D=a),void 0!==i&&(R=i),void 0!==e.rtl&&(K=e.rtl),void 0!==e.maxCount&&(_=e.maxCount)},destroy:function(){Object.keys(I).forEach((function(e){Promise.resolve(I[e]).then((function(e){e.destroy()})),delete I[e]}))}};["success","info","warning","error"].forEach((function(e){q[e]=function(t){return q.open(Object(r.a)(Object(r.a)({},t),{type:e}))}})),q.warn=q.warning,q.useNotification=($=W,Y=B,function(){var e,t=null,n={add:function(e,n){null===t||void 0===t||t.component.add(e,n)}},a=Object(M.a)(n),i=Object(T.a)(a,2),c=i[0],u=i[1],l=o.useRef({});return l.current.open=function(n){var o=n.prefixCls,a=e("notification",o);$(Object(r.a)(Object(r.a)({},n),{prefixCls:a}),(function(e){var r=e.prefixCls,o=e.instance;t=o,c(Y(n,r))}))},["success","info","warning","error"].forEach((function(e){l.current[e]=function(t){return l.current.open(Object(r.a)(Object(r.a)({},t),{type:e}))}})),[l.current,o.createElement(b.a,{key:"holder"},(function(t){return e=t.getPrefixCls,u}))]});var G=q,X=n(108),Q=n(34),J=n(32),Z=n(133),ee=n(101),te=n(27),ne=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=Object(J.d)(t)),this.originalInput=t;var o=Object(ee.a)(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=Object(te.b)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=Object(J.h)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=Object(J.h)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=Object(J.g)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=Object(J.g)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),Object(J.f)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),Object(J.j)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*Object(te.a)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*Object(te.a)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+Object(J.f)(this.r,this.g,this.b,!1),t=0,n=Object.entries(Z.a);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Object(te.c)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Object(te.c)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Object(te.c)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Object(te.c)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100;return new e({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],c=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+c)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i0&&(N=o.createElement(i.b,{validateMessages:P},u)),d&&(N=o.createElement(m,{locale:d,_ANT_MARK__:"internalMark"},N)),(E||l)&&(N=o.createElement(a.a.Provider,{value:k},N)),p&&(N=o.createElement(y.a,{size:p},N)),o.createElement(b.b.Provider,{value:S},N)},he=function(e){return o.useEffect((function(){e.direction&&(O.b.config({rtl:"rtl"===e.direction}),G.config({rtl:"rtl"===e.direction}))}),[e.direction]),o.createElement(g.a,null,(function(t,n,a){return o.createElement(b.a,null,(function(t){return o.createElement(pe,Object(r.a)({parentContext:t,legacyLocale:a},e))}))}))};he.ConfigContext=b.b,he.SizeContext=y.b,he.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(ce=t),void 0!==n&&(ue=n),r&&ae(se(),r)};var ve=t.a=he},function(e,t,n){e.exports=n(315)()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=a+=1;function o(t){if(0===t)c(n),e();else{var a=r((function(){o(t-1)}));i.set(n,a)}}return o(t),n}u.cancel=function(e){var t=i.get(e);return c(t),o(t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(162);function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r.a)(e,t)}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var o=n(9),a=n(47);function i(e,t){if(t&&("object"===Object(o.a)(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(a.a)(e)}function c(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return i(this,n)}}n.d(t,"a",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(0),o=r.isValidElement;function a(e,t){return function(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}(e,e,t)}},function(e,t,n){"use strict";function r(e,t){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function a(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function i(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"e",(function(){return c}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return l}));var r=n(9),o=n(106),a=n(86);function i(e,t){"function"===typeof e?e(t):"object"===Object(r.a)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n.5?l/(2-o-a):l/(o+a),o){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,a,c;if(e=Object(r.a)(e,360),t=Object(r.a)(t,100),n=Object(r.a)(n,100),0===t)a=n,c=n,o=n;else{var u=n<.5?n*(1+t):n+t-n*t,l=2*n-u;o=i(l,u,e+1/3),a=i(l,u,e),c=i(l,u,e-1/3)}return{r:255*o,g:255*a,b:255*c}}function u(e,t,n){e=Object(r.a)(e,255),t=Object(r.a)(t,255),n=Object(r.a)(n,255);var o=Math.max(e,t,n),a=Math.min(e,t,n),i=0,c=o,u=o-a,l=0===o?0:u/o;if(o===a)i=0;else{switch(o){case e:i=(t-n)/u+(t>16,g:(65280&e)>>8,b:255&e}}},function(e,t,n){},function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n.n(r),a=n(106);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return o.a.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):Object(a.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(299)},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,c){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,c],s=0;(u=new Error(t.replace(/%s/g,(function(){return l[s++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return y}));var r=n(62),o=n(0),a=n.n(o),i=n(60),c=n(275),u=n(63),l=n(1),s=n(206),f=n.n(s),d=(n(106),n(51)),p=(n(85),function(e){var t=Object(c.a)();return t.displayName=e,t}),h=p("Router-History"),v=p("Router"),m=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.a.Component);a.a.Component;a.a.Component;var g={},b=0;function y(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,a=void 0!==o&&o,i=n.strict,c=void 0!==i&&i,u=n.sensitive,l=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=g[n]||(g[n]={});if(r[e])return r[e];var o=[],a={regexp:f()(e,o,t),keys:o};return b<1e4&&(r[e]=a,b++),a}(n,{end:a,strict:c,sensitive:l}),o=r.regexp,i=r.keys,u=o.exec(e);if(!u)return null;var s=u[0],d=u.slice(1),p=e===s;return a&&!p?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return a.a.createElement(v.Consumer,null,(function(t){t||Object(u.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?y(n.pathname,e.props):t.match,o=Object(l.a)({},t,{location:n,match:r}),i=e.props,c=i.children,s=i.component,f=i.render;return Array.isArray(c)&&function(e){return 0===a.a.Children.count(e)}(c)&&(c=null),a.a.createElement(v.Provider,{value:o},o.match?c?"function"===typeof c?c(o):c:s?a.a.createElement(s,o):f?f(o):null:"function"===typeof c?c(o):null)}))},t}(a.a.Component);function w(e){return"/"===e.charAt(0)?e:"/"+e}function x(e,t){if(!e)return t;var n=w(e);return 0!==t.pathname.indexOf(n)?t:Object(l.a)({},t,{pathname:t.pathname.substr(n.length)})}function E(e){return"string"===typeof e?e:Object(i.e)(e)}function j(e){return function(){Object(u.a)(!1)}}function C(){}a.a.Component;a.a.Component;a.a.useContext},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),o=n(0),a=n(50);function i(e,t){var n=t||{},i=n.defaultValue,c=n.value,u=n.onChange,l=n.postState,s=Object(a.a)((function(){return void 0!==c?c:void 0!==i?"function"===typeof i?i():i:"function"===typeof e?e():e})),f=Object(r.a)(s,2),d=f[0],p=f[1],h=void 0!==c?c:d;l&&(h=l(h));var v=o.useRef(u);v.current=u;var m=o.useCallback((function(e,t){p(e,t),h!==e&&v.current&&v.current(e,h)}),[h,v]),g=o.useRef(c);return o.useEffect((function(){void 0===c&&c!==g.current&&p(c),g.current=c}),[c]),[h,m]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n(0),o=(n(29),n(176),r.createContext({})),a=function(e){var t=e.children,n=Object(r.useMemo)((function(){return{}}),[]);return r.createElement(o.Provider,{value:n},t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:2;t();var a=Object(S.a)((function(){o<=1?r({isCanceled:function(){return a!==e.current}}):n(r,o-1)}));e.current=a},t]}(),l=Object(a.a)(u,2),s=l[0],f=l[1];return k((function(){if("none"!==o&&"end"!==o){var e=N.indexOf(o),n=N[e+1],r=t(o);!1===r?i(n,!0):s((function(e){function t(){e.isCanceled()||i(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,o]),c.useEffect((function(){return function(){f()}}),[]),[function(){i("prepare",!0)},o]};function M(e,t,n,i){var u=i.motionEnter,l=void 0===u||u,s=i.motionAppear,f=void 0===s||s,d=i.motionLeave,p=void 0===d||d,h=i.motionDeadline,v=i.motionLeaveImmediately,m=i.onAppearPrepare,g=i.onEnterPrepare,b=i.onLeavePrepare,y=i.onAppearStart,O=i.onEnterStart,w=i.onLeaveStart,j=i.onAppearActive,S=i.onEnterActive,N=i.onLeaveActive,M=i.onAppearEnd,D=i.onEnterEnd,R=i.onLeaveEnd,_=i.onVisibleChanged,I=Object(C.a)(),A=Object(a.a)(I,2),L=A[0],z=A[1],F=Object(C.a)("none"),H=Object(a.a)(F,2),K=H[0],V=H[1],W=Object(C.a)(null),U=Object(a.a)(W,2),B=U[0],$=U[1],Y=Object(c.useRef)(!1),q=Object(c.useRef)(null);function G(){return n()}var X=Object(c.useRef)(!1);function Q(e){var t=G();if(!e||e.deadline||e.target===t){var n,r=X.current;"appear"===K&&r?n=null===M||void 0===M?void 0:M(t,e):"enter"===K&&r?n=null===D||void 0===D?void 0:D(t,e):"leave"===K&&r&&(n=null===R||void 0===R?void 0:R(t,e)),"none"!==K&&r&&!1!==n&&(V("none",!0),$(null,!0))}}var J=function(e){var t=Object(c.useRef)(),n=Object(c.useRef)(e);n.current=e;var r=c.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(E,r),e.removeEventListener(x,r))}return c.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(E,r),e.addEventListener(x,r),t.current=e)},o]}(Q),Z=Object(a.a)(J,1)[0],ee=c.useMemo((function(){var e,t,n;switch(K){case"appear":return e={},Object(r.a)(e,"prepare",m),Object(r.a)(e,"start",y),Object(r.a)(e,"active",j),e;case"enter":return t={},Object(r.a)(t,"prepare",g),Object(r.a)(t,"start",O),Object(r.a)(t,"active",S),t;case"leave":return n={},Object(r.a)(n,"prepare",b),Object(r.a)(n,"start",w),Object(r.a)(n,"active",N),n;default:return{}}}),[K]),te=T(K,(function(e){if("prepare"===e){var t=ee.prepare;return!!t&&t(G())}var n;oe in ee&&$((null===(n=ee[oe])||void 0===n?void 0:n.call(ee,G(),null))||null);return"active"===oe&&(Z(G()),h>0&&(clearTimeout(q.current),q.current=setTimeout((function(){Q({deadline:!0})}),h))),!0})),ne=Object(a.a)(te,2),re=ne[0],oe=ne[1],ae=P(oe);X.current=ae,k((function(){z(t);var n,r=Y.current;(Y.current=!0,e)&&(!r&&t&&f&&(n="appear"),r&&t&&l&&(n="enter"),(r&&!t&&p||!r&&v&&!t&&p)&&(n="leave"),n&&(V(n),re()))}),[t]),Object(c.useEffect)((function(){("appear"===K&&!f||"enter"===K&&!l||"leave"===K&&!p)&&V("none")}),[f,l,p]),Object(c.useEffect)((function(){return function(){Y.current=!1,clearTimeout(q.current)}}),[]),Object(c.useEffect)((function(){void 0!==L&&"none"===K&&(null===_||void 0===_||_(L))}),[L,K]);var ie=B;return ee.prepare&&"start"===oe&&(ie=Object(o.a)({transition:"none"},ie)),[K,oe,ie,null!==L&&void 0!==L?L:t]}var D=n(15),R=n(16),_=n(24),I=n(25),A=function(e){Object(_.a)(n,e);var t=Object(I.a)(n);function n(){return Object(D.a)(this,n),t.apply(this,arguments)}return Object(R.a)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);var L=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===Object(i.a)(e)&&(t=e.transitionSupport);var s=c.forwardRef((function(e,t){var i=e.visible,s=void 0===i||i,d=e.removeOnLeave,p=void 0===d||d,h=e.forceRender,v=e.children,m=e.motionName,g=e.leavedClassName,b=e.eventProps,y=n(e),O=Object(c.useRef)(),w=Object(c.useRef)();var x=M(y,s,(function(){try{return O.current instanceof HTMLElement?O.current:Object(u.a)(w.current)}catch(e){return null}}),e),E=Object(a.a)(x,4),C=E[0],S=E[1],k=E[2],N=E[3],T=c.useRef(N);N&&(T.current=!0);var D,R=c.useCallback((function(e){O.current=e,Object(l.b)(t,e)}),[t]),_=Object(o.a)(Object(o.a)({},b),{},{visible:s});if(v)if("none"!==C&&n(e)){var I,L;"prepare"===S?L="prepare":P(S)?L="active":"start"===S&&(L="start"),D=v(Object(o.a)(Object(o.a)({},_),{},{className:f()(j(m,C),(I={},Object(r.a)(I,j(m,"".concat(C,"-").concat(L)),L),Object(r.a)(I,m,"string"===typeof m),I)),style:k}),R)}else D=N?v(Object(o.a)({},_),R):!p&&T.current?v(Object(o.a)(Object(o.a)({},_),{},{className:g}),R):h?v(Object(o.a)(Object(o.a)({},_),{},{style:{display:"none"}}),R):null;else D=null;c.isValidElement(D)&&Object(l.c)(D)&&(D.ref||(D=c.cloneElement(D,{ref:R})));return c.createElement(A,{ref:w},D)}));return s.displayName="CSSMotion",s}(w),z=n(1),F=n(10);function H(e){var t;return t=e&&"object"===Object(i.a)(e)&&"key"in e?e:{key:e},Object(o.a)(Object(o.a)({},t),{},{key:String(t.key)})}function K(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(H)}function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,a=t.length,i=K(e),c=K(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return l.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||"remove"!==r}))).forEach((function(t){t.key===e&&(t.status="keep")}))})),n}var W=["component","children","onVisibleChanged","onAllRemoved"],U=["status"],B=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var $=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L,n=function(e){Object(_.a)(r,e);var n=Object(I.a)(r);function r(){var e;Object(D.a)(this,r);for(var t=arguments.length,a=new Array(t),i=0;i=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(119);t.a=r.b},,function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;u