diff --git a/rootfs/etc/udev/rules.d/11-usb-hotplug.rules b/rootfs/etc/udev/rules.d/11-usb-hotplug.rules index 79ea19d..de0e147 100644 --- a/rootfs/etc/udev/rules.d/11-usb-hotplug.rules +++ b/rootfs/etc/udev/rules.d/11-usb-hotplug.rules @@ -1,7 +1,7 @@ ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/etc/udev/usb4g.sh" ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="1a2b", RUN+="/etc/udev/usbWiFi.sh" -SUBSYSTEM=="net", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14db", KERNEL=="eth*", RUN+="/etc/udev/usbUp.sh %k" -SUBSYSTEM=="net", KERNEL=="usb*", RUN+="/etc/udev/usbUp.sh %k" +#SUBSYSTEM=="net", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14db", KERNEL=="eth*", RUN+="/etc/udev/usbUp.sh %k" +#SUBSYSTEM=="net", KERNEL=="usb*", RUN+="/etc/udev/usbUp.sh %k" ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="block", RUN+="/link/shell/mountUsb.sh" ACTION=="remove",KERNEL=="sd*", SUBSYSTEM=="block", RUN+="/etc/udev/autounmount.sh" diff --git a/rootfs/link/bin/Encoder b/rootfs/link/bin/Encoder index a13cf0a..bdeb902 100644 Binary files a/rootfs/link/bin/Encoder and b/rootfs/link/bin/Encoder differ diff --git a/rootfs/link/bin/NetManager b/rootfs/link/bin/NetManager new file mode 100644 index 0000000..e294f46 Binary files /dev/null and b/rootfs/link/bin/NetManager differ diff --git a/rootfs/link/config/.board.json.swp b/rootfs/link/config/.board.json.swp new file mode 100644 index 0000000..ca303f7 Binary files /dev/null and b/rootfs/link/config/.board.json.swp differ diff --git a/rootfs/link/config/default/ntp.json b/rootfs/link/config/default/ntp.json index 775a8eb..72653c4 100644 --- a/rootfs/link/config/default/ntp.json +++ b/rootfs/link/config/default/ntp.json @@ -1,4 +1,5 @@ { "enable":false, - "server":"ntp1.aliyun.com" + "server":"ntp1.aliyun.com", + "interval":5 } diff --git a/rootfs/link/config/default/push.json b/rootfs/link/config/default/push.json index 9df61d5..ca98ec8 100644 --- a/rootfs/link/config/default/push.json +++ b/rootfs/link/config/default/push.json @@ -7,22 +7,26 @@ { "des": "platform 1", "enable": true, - "path": "rtmp://127.0.0.1/live/push1" + "path": "rtmp://127.0.0.1/live/push1", + "flvflags": "" }, { "des": "platform 2", "enable": false, - "path": "rtmp://127.0.0.1/live/push2" + "path": "rtmp://127.0.0.1/live/push2", + "flvflags": "" }, { "des": "platform 3", "enable": false, - "path": "rtmp://127.0.0.1/live/push3" + "path": "rtmp://127.0.0.1/live/push3", + "flvflags": "" }, { "des": "platform 4", "enable": false, - "path": "rtmp://127.0.0.1/live/push4" + "path": "rtmp://127.0.0.1/live/push4", + "flvflags": "" } ] } diff --git a/rootfs/link/config/netManager.json b/rootfs/link/config/netManager.json new file mode 100644 index 0000000..948a9f9 --- /dev/null +++ b/rootfs/link/config/netManager.json @@ -0,0 +1,33 @@ +{ + "ignore": [ + "lo", + "wlan1", + "wlan2" + ], + "interface": { + "eth0": { + "dhcp": true, + "dns": "192.168.1.1", + "enable": true, + "gw": "192.168.1.1", + "ip": "192.168.1.217", + "mask": "255.255.252.0" + }, + "wlan0": { + "dhcp": true, + "dns": "192.168.1.1", + "enable": true, + "gw": "192.168.1.1", + "ip": "192.168.1.218", + "mask": "255.255.252.0" + } + }, + "onlineServer": "www.baidu.com", + "onlineTest": false, + "priority": [ + "lan", + "wifi", + "dongle", + "other" + ] +} diff --git a/rootfs/link/config/ntp.json b/rootfs/link/config/ntp.json index 775a8eb..72653c4 100644 --- a/rootfs/link/config/ntp.json +++ b/rootfs/link/config/ntp.json @@ -1,4 +1,5 @@ { "enable":false, - "server":"ntp1.aliyun.com" + "server":"ntp1.aliyun.com", + "interval":5 } diff --git a/rootfs/link/config/theme_standard.json b/rootfs/link/config/theme_standard.json new file mode 100644 index 0000000..9fe0b5e --- /dev/null +++ b/rootfs/link/config/theme_standard.json @@ -0,0 +1,8 @@ +{ + "used": "dark", + "themes": [ + "default", + "salmon", + "skyBlue" + ] +} diff --git a/rootfs/link/config/verLogs.json b/rootfs/link/config/verLogs.json index 8f9a901..3ebe041 100644 --- a/rootfs/link/config/verLogs.json +++ b/rootfs/link/config/verLogs.json @@ -1,4 +1,15 @@ [ + { + "version": "2.8.0 build 20231130", + "logs": [ + "优化分段录制功能", + "NTP同步增加定时同步间隔", + "修正NTP同步导致的录制、拉流异常问题", + "修正ENC1V3、ENCSHV2等机型udp乱序问题", + "修正开启特效的通道不能超过8个的问题", + "除ENCSH机型外,新增全新的后台管理页面,可在经典版(原版)和标准版之间自由切换" + ] + }, { "version": "2.7.0 build 20231031", "logs": [ @@ -76,61 +87,5 @@ "视频轮播支持解码、重编码(即U盘播放、推流)", "实验室新增抠像功能,即绿幕抠图" ] - }, - { - "version": "2.0.0 build 20230322", - "logs": [ - "运行状态页面,修正网络状态上下行显示问题", - "编码设置页面,视频参数模块下,新增视频网络流裁剪旋转功能,HDMI/SDI通道新增NTSC兼容帧率模式", - "编码设置页面,音频参数模块下,音源选择支持选择其他视频通道的音频", - "输出设置页面,播放地址模块下,新增主码流/辅码流地址(标识)自定义功能", - "系统设置页面,新增配置文件批量导出、导入功能,新增时区选择功能", - "多平台直播页面,推流新增主码流/辅助码流选择功能", - "默认网络流无信号时显示nosignal画面功能,可以通过fac.php页面开启/关闭此功能", - "修正部分页面的翻译不正确问题,及其他部分功能优化", - "菜单栏新增实验室模块,包含GB28181支持、ROI感兴趣编码区、Insta360相机控制、Onvif PTZ控制、音视频同步调节功能", - "PS: 实验室模块属于实验性功能,请酌情使用" - ] - }, - { - "version": "1.0.0 build 20221116", - "logs": [ - "新增在线检测升级功能", - "新增固件在线查找功能", - "h5播放器页面新增h265编码播放支持(播放h265编码视频流对电脑性能要求较高,如遇卡顿问题,请更换性能更好的电脑播放)", - "rtsp输出流,新增账号密码认证功能", - "扩展功能下新增U盘助手功能", - "更新内核,增加设备稳定性", - "兼容含B帧视频流解码", - "支持wifi6网卡2.0版本", - "修正使用wifi网卡时,获取网络状态异常问题" - ] - }, - { - "version": "1.0.0 build 20220705", - "logs": [ - "修复使用usb相机时,重启设备后小概率出现音频采集异常问题", - "修复USB相机插拔后,USB相机音频不能采集问题", - "优化无效srt流导致的Encoder程序文件句柄增加问题", - "修复设备绑定wx.linkpi.cn后,自定义布局管理器加载异常问题", - "全机型增加HTTP API接口,优化HTTP API的URL匹配规则", - "登录框改为水平、垂直居中,移除输入框自动填充密码时的填充颜色", - "修复多网卡设备获取网络状态异常问题", - "ENC1、ENC1V2、ENCSH机型对讲功能新增按键发言", - "修正群组设置辅流问题" - ] - }, - { - "version": "1.0.0 build 20220518", - "logs": [ - "修正NDI5无法解码NDI4的H265流问题", - "修正油管直播卡顿的问题" - ] - }, - { - "version": "1.0.0 build 20220424", - "logs": [ - "升级为NDI5(已购买授权的NDI4用户,需要联系客服更换授权码)" - ] } ] diff --git a/rootfs/link/config/version.json b/rootfs/link/config/version.json index f29c72d..e4ff482 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.7.0 build 20231031" + "sys": "2.8.0 build 20231130" } diff --git a/rootfs/link/fac/V2/config/.board.json.swp b/rootfs/link/fac/V2/config/.board.json.swp new file mode 100644 index 0000000..ca303f7 Binary files /dev/null and b/rootfs/link/fac/V2/config/.board.json.swp differ diff --git a/rootfs/link/shell/dhcp.sh b/rootfs/link/shell/dhcp.sh index 2a21cbd..dbd4c25 100644 --- a/rootfs/link/shell/dhcp.sh +++ b/rootfs/link/shell/dhcp.sh @@ -5,6 +5,7 @@ fi if [ "$ip" == "" ]; then exit 0 fi +dns=`echo $dns |awk -F ' ' '{print $1}'` echo "dhcp_result" echo "dev:"$interface echo "ip:"$ip diff --git a/rootfs/link/shell/dhcp_echo.sh b/rootfs/link/shell/dhcp_echo.sh index ece648f..f832541 100644 --- a/rootfs/link/shell/dhcp_echo.sh +++ b/rootfs/link/shell/dhcp_echo.sh @@ -10,4 +10,5 @@ echo "dev:"$interface echo "ip:"$ip echo "mask:"$subnet echo "gw:"$router +dns=`echo $dns |awk -F ' ' '{print $1}'` echo "dns:"$dns diff --git a/rootfs/link/shell/net.sh b/rootfs/link/shell/net.sh new file mode 100644 index 0000000..a4d0c69 --- /dev/null +++ b/rootfs/link/shell/net.sh @@ -0,0 +1,5 @@ +while [ true ] +do + /link/bin/NetManager + sleep 2 +done diff --git a/rootfs/link/shell/netManager.sh b/rootfs/link/shell/netManager.sh index a1e8b36..76c52be 100644 --- a/rootfs/link/shell/netManager.sh +++ b/rootfs/link/shell/netManager.sh @@ -1,9 +1,25 @@ . /link/shell/util/hardware.sh /link/shell/setMac.sh sleep 1 -/link/shell/setNetwork.sh -sleep 2 -/link/bin/WifiCtrl & +if [ -f /link/config/auto/webVer.json ] && web=$(jq -r ".web" /link/config/auto/webVer.json) && [ "$web" != "classic" ] ;then + cp /usr/nginx/conf/nginx_standard.conf /usr/nginx/conf/nginx.conf + title=`grep -o '.*' /link/web/headhead.php | sed -e 's/\(.*\)<\/title>/\1/'` + footer=`awk '/<div class="container">/,/<\/div>/' /link/web/foot.php | grep -o '<div>.*<\/div>' | sed -e 's/<div>\(.*\)<\/div>/\1/' | sed -e 's/<\/div>//g'` + sed -i "s/<title>.*<\/title>/<title>${title}<\/title>/" /link/webflex/public/headhead.inc + sed -i '/<div class=".*d-flex.*">/,/<\/div>/ s/>[^<]*</>'"${footer}"'</g' /link/webflex/public/footfoot.inc + rm -rf /link/webflex/assets/img + ln -s /link/web/img /link/webflex/assets/ + cp /link/web/favicon.ico /link/webflex/ + sync + /link/shell/net.sh & + sleep 2 +else + cp /usr/nginx/conf/nginx_classic.conf /usr/nginx/conf/nginx.conf + sync + /link/shell/setNetwork.sh + sleep 2 + /link/bin/WifiCtrl & +fi if [ -d /sys/class/net/eth1 ]; then /link/shell/setMac2.sh diff --git a/rootfs/link/shell/ntp.sh b/rootfs/link/shell/ntp.sh index 0f1bde7..8ca33fe 100644 --- a/rootfs/link/shell/ntp.sh +++ b/rootfs/link/shell/ntp.sh @@ -5,8 +5,9 @@ do jopen /link/config/ntp.json if [ `jget enable` == "true" ]; then if ! procExists ntpd ;then - ntpd -p `jget server` -N + ntpd -p `jget server` -Nnq fi + sleep $((`jget interval`*60)) else pkill ntpd fi diff --git a/rootfs/link/shell/setMac.sh b/rootfs/link/shell/setMac.sh index eba77f1..98c4088 100644 --- a/rootfs/link/shell/setMac.sh +++ b/rootfs/link/shell/setMac.sh @@ -1,4 +1,4 @@ -if [ ! -f "/link/config/mac" ]; then +if [ ! -f "/link/config/mac" ] || [ ! -s /link/config/mac ] || [ -z "$(cat /link/config/mac)" ]; then /link/shell/makeMac.sh > /link/config/mac fi diff --git a/rootfs/link/shell/setMac2.sh b/rootfs/link/shell/setMac2.sh index e8f4398..36cc3ce 100644 --- a/rootfs/link/shell/setMac2.sh +++ b/rootfs/link/shell/setMac2.sh @@ -1,4 +1,4 @@ -if [ ! -f "/link/config/mac2" ]; then +if [ ! -f "/link/config/mac2" ] || [ ! -s /link/config/mac2 ] || [ -z "$(cat /link/config/mac2)" ]; then /link/shell/makeMac.sh > /dev/null /link/shell/makeMac.sh > /link/config/mac2 fi diff --git a/rootfs/link/web/css/my.css b/rootfs/link/web/css/my.css index 8c6ae94..f70369c 100644 --- a/rootfs/link/web/css/my.css +++ b/rootfs/link/web/css/my.css @@ -33,6 +33,9 @@ en,cn{ color: #FFF; } +#defaultNavbar1 { + min-width: 1200px; +} .navbar .dropdown-menu{ background-color: #333; diff --git a/rootfs/link/web/disk.php b/rootfs/link/web/disk.php index df1ad91..839b6ee 100644 --- a/rootfs/link/web/disk.php +++ b/rootfs/link/web/disk.php @@ -35,7 +35,7 @@ include( "head.php" ); </div> </div> <div class="form-group" data-attr-used="net"> - <label class="col-md-3 col-sm-4 control-label"><cn>协议</cn><en>type</en></label> + <label class="col-md-3 col-sm-4 control-label"><cn>协议</cn><en>Protocol</en></label> <div class="col-md-6 col-sm-8"> <select zcfg="shared.type" class="form-control" id="mountType"> <option value="cifs" cn="cifs (windows共享目录)" en="cifs (windows shared directory)"></option> diff --git a/rootfs/link/web/func.php b/rootfs/link/web/func.php index 2156b82..5dcc4a1 100644 --- a/rootfs/link/web/func.php +++ b/rootfs/link/web/func.php @@ -198,6 +198,8 @@ function setNtp() { $data = json_decode( $json_string, true ); $data[ 'server' ] = $_POST[ 'server' ]; $data[ 'enable' ] = ($_POST[ 'enable' ]=="true"); + if(isset($_POST[ 'interval' ])) + $data[ 'interval' ] = $_POST[ 'interval' ]; $json = json_encode( $data ); file_put_contents( '/link/config/ntp.json', $json ); } @@ -500,6 +502,30 @@ function checkHelpNet() { $result->result = "ok"; } +function changeWebVersion() { + global $result; + if($_POST["type"] == "standard") + { + $net = json_decode(file_get_contents("/link/config/net.json"),true); + $wifi = json_decode(file_get_contents("/link/config/wifi.json"),true); + $netManager = json_decode(file_get_contents("/link/config/netManager.json"),true); + + $net["enable"] = true; + $net["gw"] = $net["gateway"]; + unset($net["gateway"]); + $wifi["gw"] = $net["gateway"]; + unset($wifi["gateway"]); + + $netManager["interface"]["eth0"] = $net; + $netManager["interface"]["wlan0"] = $wifi; + + file_put_contents("/link/config/netManager.json",json_encode($netManager,JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT)); + file_put_contents("/link/config/auto/webVer.json",json_encode(array("web"=>"standard"))); + exec("sync && reboot"); + } + $result->result = "OK"; +} + function checkUpdate() { global $result,$server; $hardware = json_decode(file_get_contents('/link/config/hardware.json'), true); diff --git a/rootfs/link/web/head.php b/rootfs/link/web/head.php index f4c60f6..2c99813 100644 --- a/rootfs/link/web/head.php +++ b/rootfs/link/web/head.php @@ -3,201 +3,242 @@ include("hardware.php"); include("session.php"); include("headhead.php"); ?> - +<script type="text/javascript" language="javascript" src="js/confirm/jquery-confirm.min.js"></script> <nav class="navbar navbar-default"> - <div class="container"> - <!-- Brand and toggle get grouped for better mobile display --> - <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#defaultNavbar1"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> - <a class="navbar-brand" href="dashboard.php"> <img src="img/logo.png" style="width: 97px; height: 40px;" class="visible-xs-block visible-sm-block" /> <img src="img/logo.png" class="visible-md-block visible-lg-block" /> </a> + <div class="container"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#defaultNavbar1"> + <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span + class="icon-bar"></span><span class="icon-bar"></span></button> + <a class="navbar-brand" href="dashboard.php"> <img src="img/logo.png" style="width: 97px; height: 40px;" + class="visible-xs-block visible-sm-block"/> <img + src="img/logo.png" class="visible-md-block visible-lg-block"/> </a> + </div> + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="defaultNavbar1"> + <ul class="nav navbar-nav navc"> + <li><a href="dashboard.php"><i class="fa fa-tachometer menuIcon"></i> + <cn>运行状态</cn> + <en>Dashboard</en> + </a></li> + <li><a href="encode.php"><i class="fa fa-image menuIcon"></i> + <cn>编码设置</cn> + <en>Encode</en> + </a></li> + <li><a href="stream.php"><i class="fa fa-upload menuIcon"></i> + <cn>输出设置</cn> + <en>Stream</en> + </a></li> + <?php + if ($hardware["function"]["overlay"]) { + ?> + <li><a href="overlay.php"><i class="fa fa-magic menuIcon"></i> + <cn>叠加特效</cn> + <en>Overlay</en> + </a></li> + <?php + } + ?> + <li role="presentation" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#" + role="button" aria-haspopup="true" aria-expanded="false"> <i + class="fa fa-puzzle-piece menuIcon"></i> + <cn>扩展功能</cn> + <en>Extend</en> + <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <?php + if ($hardware["function"]["mix"]) { + ?> + <li><a href="mix.php"><i class="fa fa-th"></i> + <cn>视频混合</cn> + <en>Video mix</en> + </a></li> + <?php + } + ?> + <?php + if ($hardware["function"]["ndi"] && $hardware["function"]["videoOut"]) { + ?> + <li><a href="ndi.php"><i class="fa fa-television"></i>NDI + <cn>解码</cn> + <en>decode</en> + </a></li> + <?php + } + if ($hardware["function"]["carousel"]) { + ?> + <li><a href="carousel.php"><i class="fa fa-youtube-play"></i> + <cn>视频轮播</cn> + <en>Video carousel</en> + </a></li> + <?php + } + if ($hardware["function"]["record"]) { + ?> + <li><a href="record.php"><i class="fa fa-folder-open"></i> + <cn>文件录制</cn> + <en>Record</en> + </a></li> + <?php + } + ?> + <li><a href="push.php"><i class="fa fa-arrow-circle-up"></i> + <cn>多平台直播</cn> + <en>Multiple Push</en> + </a></li> + <li><a href="player.php"><i class="fa fa-play-circle-o"></i> + <cn>H5 播放器</cn> + <en>H5 Player</en> + </a></li> + + <?php + if ($hardware["function"]["intercom"]) { + ?> + <li><a href="intercom.php"><i class="fa fa-headphones"></i> + <cn>集成通信</cn> + <en>Intercom</en> + </a></li> + <?php + } + ?> + <li><a href="explorer.php"><i class="fa fa-folder-open-o"></i> + <cn>U盘助手</cn> + <en>Usb Disk</en> + </a></li> + + <?php + if ($hardware["function"]["serialport"]) { + ?> + <li><a href="uart.php"><i class="fa fa-link"></i> + <cn>串口、按键</cn> + <en>Serial, Button</en> + </a></li> + <?php + } + ?> + <?php + if ($hardware["function"]["remote"]) { + ?> + <li><a href="remote.php"><i class="fa fa-fire"></i> + <cn>红外遥控</cn> + <en>Remote</en> + </a></li> + <?php + } + ?> + <li> + <a href="disk.php"><i class="fa fa-database"></i> + <cn>存储挂载</cn> + <en>Mount Disk</en> + </a> + </li> + </ul> + </li> + <li role="presentation" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#" + role="button" aria-haspopup="true" aria-expanded="true"> <i + class="fa fa-gears menuIcon"></i> + <cn>高级设置</cn> + <en>Options</en> + <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <li><a href="sys.php"><i class="fa fa-gear"></i> + <cn>系统设置</cn> + <en>System</en> + </a></li> + <li><a href="group.php"><i class="fa fa-server"></i> + <cn>群组设置</cn> + <en>Group</en> + </a></li> + <li><a href="rproxy.php"><i class="fa fa-wechat"></i> + <cn>远程访问</cn> + <en>Reverse Proxy</en> + </a></li> + <li><a href="service.php"><i class="fa fa-cloud"></i> + <cn>服务设置</cn> + <en>Service</en> + </a></li> + </ul> + </li> + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" + aria-expanded="true"> + <i class="fa fa-flask menuIcon"></i> + <cn>实验室</cn> + <en>Laboratory</en> + <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <li><a href="gb28181.php"><i class="fa fa-cloud"></i>GB28181</a></li> + <li><a href="roi.php"><i class="fa fa-user-circle-o"></i>ROI</a></li> + <li><a href="insta360.php"><i class="fa fa-camera"></i>Insta360 Link</a></li> + <li> + <svg style="position: absolute;margin: 5px 0px 0px 18px;" width="16" height="16" + viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> + <path d="M43 6H23H5" stroke="#fff" stroke-width="4" stroke-linecap="square" + stroke-linejoin="miter"/> + <path d="M23 23V6" stroke="#fff" stroke-width="4" stroke-linecap="square" + stroke-linejoin="miter"/> + <path d="M8.42498 19.5798L40.3005 28.1209L38.5581 30.7598L34.5557 37.9696L32.8133 40.6085L4.80151 33.1028L8.42498 19.5798Z" + fill="#fff" stroke="#fff" stroke-width="4" stroke-linecap="square" + stroke-linejoin="miter"/> + <path d="M38.5583 30.7598L42.422 31.7951L40.3515 39.5225L34.5559 37.9696" stroke="#fff" + stroke-width="4" stroke-linecap="square" stroke-linejoin="miter"/> + </svg> + <a style="padding-left: 38px;" href="onvif.php">Onvif PTZ</a> + </li> + <li><a href="sync.php"><i class="fa fa-tasks"></i> + <cn>同步调节</cn> + <en>Synchronization</en> + </a></li> + <li><a href="colorKey.php"><i class="fa fa-cut"></i> + <cn>抠像</cn> + <en>ColorKey</en> + </a></li> + </ul> + </li> + </ul> + <ul class="nav navbar-nav navr"> + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" + aria-expanded="true"> <i class="fa fa-globe"></i> + <en>语言</en> + <cn>Language</cn> + <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <li><a href="#" onClick="changeLang('en');">English</a></li> + <li><a href="#" onClick="changeLang('cn');">中文</a></li> + </ul> + </li> + <?php + if ($hardware["fac"] != "SH") { + ?> + <li role="presentation" class="dropdown"> + <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" + aria-expanded="true"> <i class="fa fa-exchange"></i> + <en>Classic</en> + <cn>经典版</cn> + <span class="caret"></span> + </a> + <ul class="dropdown-menu"> + <li><a href="#" onClick="changeWeb('standard');"><cn>标准版</cn><en>Standard</en></a></li> + </ul> + </li> + <?php + } + ?> + <li><a id="logout" class="btn btn-default" href="login.php?logout=true"> <i class="fa fa-sign-out"></i> + <en>Sign out</en> + <cn>退出</cn> + </a></li> + </ul> + </div> + + <!-- /.navbar-collapse --> </div> - <!-- Collect the nav links, forms, and other content for toggling --> - <div class="collapse navbar-collapse" id="defaultNavbar1"> - <ul class="nav navbar-nav navc"> - <li><a href="dashboard.php"><i class="fa fa-tachometer menuIcon"></i> - <cn>运行状态</cn> - <en>Dashboard</en> - </a></li> - <li><a href="encode.php"><i class="fa fa-image menuIcon"></i> - <cn>编码设置</cn> - <en>Encode</en> - </a></li> - <li><a href="stream.php"><i class="fa fa-upload menuIcon"></i> - <cn>输出设置</cn> - <en>Stream</en> - </a></li> - <?php - if ($hardware["function"]["overlay"]) { - ?> - <li><a href="overlay.php"><i class="fa fa-magic menuIcon"></i> - <cn>叠加特效</cn> - <en>Overlay</en> - </a></li> - <?php - } - ?> - <li role="presentation" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-puzzle-piece menuIcon"></i> - <cn>扩展功能</cn> - <en>Extend</en><span class="caret"></span> - </a> - <ul class="dropdown-menu"> - <?php - if ($hardware["function"]["mix"]) { - ?> - <li><a href="mix.php"><i class="fa fa-th"></i> - <cn>视频混合</cn> - <en>Video mix</en> - </a></li> - <?php - } - ?> - <?php - if ($hardware["function"]["ndi"] && $hardware["function"]["videoOut"]) { - ?> - <li><a href="ndi.php"><i class="fa fa-television"></i>NDI <cn>解码</cn> - <en>decode</en> - </a></li> - <?php - } - if ($hardware["function"]["carousel"]) { - ?> - <li><a href="carousel.php"><i class="fa fa-youtube-play"></i> - <cn>视频轮播</cn> - <en>Video carousel</en> - </a></li> - <?php - } - if ($hardware["function"]["record"]) { - ?> - <li><a href="record.php"><i class="fa fa-folder-open"></i> - <cn>文件录制</cn> - <en>Record</en> - </a></li> - <?php - } - ?> - <li><a href="push.php"><i class="fa fa-arrow-circle-up"></i> - <cn>多平台直播</cn> - <en>Multiple Push</en> - </a></li> - <li><a href="player.php"><i class="fa fa-play-circle-o"></i> - <cn>H5 播放器</cn> - <en>H5 Player</en> - </a></li> - - <?php - if ($hardware["function"]["intercom"]) { - ?> - <li><a href="intercom.php"><i class="fa fa-headphones"></i> - <cn>集成通信</cn> - <en>Intercom</en> - </a></li> - <?php - } - ?> - <li><a href="explorer.php"><i class="fa fa-folder-open-o"></i> - <cn>U盘助手</cn> - <en>Usb Disk</en> - </a></li> - - <?php - if ($hardware["function"]["serialport"]) { - ?> - <li><a href="uart.php"><i class="fa fa-link"></i> - <cn>串口、按键</cn> - <en>Serial, Button</en> - </a></li> - <?php - } - ?> - <?php - if ($hardware["function"]["remote"]) { - ?> - <li><a href="remote.php"><i class="fa fa-fire"></i> - <cn>红外遥控</cn> - <en>Remote</en> - </a></li> - <?php - } - ?> - <li> - <a href="disk.php"><i class="fa fa-database"></i> - <cn>存储挂载</cn> - <en>Mount Disk</en> - </a> - </li> - </ul> - </li> - <li role="presentation" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="true"> <i class="fa fa-gears menuIcon"></i> - <cn>高级设置</cn> - <en>Options</en><span class="caret"></span> - </a> - <ul class="dropdown-menu"> - <li><a href="sys.php"><i class="fa fa-gear"></i> - <cn>系统设置</cn> - <en>System</en> - </a></li> - <li><a href="group.php"><i class="fa fa-server"></i> - <cn>群组设置</cn> - <en>Group</en> - </a></li> - <li><a href="rproxy.php"><i class="fa fa-wechat"></i> - <cn>远程访问</cn> - <en>Reverse Proxy</en> - </a></li> - <li><a href="service.php"><i class="fa fa-cloud"></i> - <cn>服务设置</cn> - <en>Service</en> - </a></li> - </ul> - </li> - <li role="presentation" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="true"> <i class="fa fa-flask menuIcon"></i> - <cn>实验室</cn> - <en>Laboratory</en><span class="caret"></span> - </a> - <ul class="dropdown-menu"> - <li><a href="gb28181.php"><i class="fa fa-cloud"></i>GB28181</a></li> - <li><a href="roi.php"><i class="fa fa-user-circle-o"></i>ROI</a></li> - <li><a href="insta360.php"><i class="fa fa-camera"></i>Insta360 Link</a></li> - <li> - <svg style="position: absolute;margin: 5px 0px 0px 18px;" width="16" height="16" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path d="M43 6H23H5" stroke="#fff" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter" /> - <path d="M23 23V6" stroke="#fff" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter" /> - <path d="M8.42498 19.5798L40.3005 28.1209L38.5581 30.7598L34.5557 37.9696L32.8133 40.6085L4.80151 33.1028L8.42498 19.5798Z" fill="#fff" stroke="#fff" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter" /> - <path d="M38.5583 30.7598L42.422 31.7951L40.3515 39.5225L34.5559 37.9696" stroke="#fff" stroke-width="4" stroke-linecap="square" stroke-linejoin="miter" /> - </svg> - <a style="padding-left: 38px;" href="onvif.php">Onvif PTZ</a> - </li> - <li><a href="sync.php"><i class="fa fa-tasks"></i> - <cn>同步调节</cn> - <en>Synchronization</en> - </a></li> - <li><a href="colorKey.php"><i class="fa fa-cut"></i> - <cn>抠像</cn> - <en>ColorKey</en> - </a></li> - </ul> - </li> - </ul> - <ul class="nav navbar-nav navr"> - <li role="presentation" class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="true"> <i class="fa fa-globe"></i> - <en>语言</en> - <cn>Language</cn><span class="caret"></span> - </a> - <ul class="dropdown-menu"> - <li><a href="#" onClick="changeLang('en');">English</a></li> - <li><a href="#" onClick="changeLang('cn');">中文</a></li> - </ul> - </li> - <li> <a id="logout" class="btn btn-default" href="login.php?logout=true"> <i class="fa fa-sign-out"></i> - <en>Sign out</en> - <cn>退出</cn> - </a> </li> - </ul> - </div> - - <!-- /.navbar-collapse --> - </div> - <!-- /.container-fluid --> + <!-- /.container-fluid --> </nav> <div class="container main"> \ No newline at end of file diff --git a/rootfs/link/web/js/global.js b/rootfs/link/web/js/global.js index 2009a84..4ed1c7a 100644 --- a/rootfs/link/web/js/global.js +++ b/rootfs/link/web/js/global.js @@ -114,6 +114,27 @@ function changeLang(lang){ func("saveConfigFile",{path: "config/lang.json",data:JSON.stringify({"lang":lang},null,2)}); } +function changeWeb(type){ + $.confirm({ + title: '<cn>切换版本</cn><en>Switch Web</en>', + content: '<cn>是否切换至标准版页面,并重新启动?</cn><en>Whether to switch to the standard version and restart?</en>', + buttons: { + ok: { + text: "<cn>切换</cn><en>Switch</en>", + btnClass: 'btn-warning', + keys: ['enter'], + action: function() { + func("changeWebVersion",{"type":type}); + } + }, + cancel: { + text: "<cn>取消</cn><en>Cancel</en>" + } + + } + }); +} + function getUsedTheme() { var theme = ""; $.ajaxSettings.async = false; diff --git a/rootfs/link/web/mixer/asset-manifest.json b/rootfs/link/web/mixer/asset-manifest.json index 4e95543..9133837 100644 --- a/rootfs/link/web/mixer/asset-manifest.json +++ b/rootfs/link/web/mixer/asset-manifest.json @@ -1,26 +1,26 @@ { "files": { - "main.css": "./mixer/static/css/main.6dd9bbee.chunk.css", - "main.js": "./mixer/static/js/main.6b7b874e.chunk.js", - "main.js.map": "./mixer/static/js/main.6b7b874e.chunk.js.map", + "main.css": "./mixer/static/css/main.375af961.chunk.css", + "main.js": "./mixer/static/js/main.84be4e27.chunk.js", + "main.js.map": "./mixer/static/js/main.84be4e27.chunk.js.map", "runtime-main.js": "./mixer/static/js/runtime-main.c45edf70.js", "runtime-main.js.map": "./mixer/static/js/runtime-main.c45edf70.js.map", "static/css/2.0b7c8b97.chunk.css": "./mixer/static/css/2.0b7c8b97.chunk.css", - "static/js/2.9e080cb5.chunk.js": "./mixer/static/js/2.9e080cb5.chunk.js", - "static/js/2.9e080cb5.chunk.js.map": "./mixer/static/js/2.9e080cb5.chunk.js.map", + "static/js/2.f2aad125.chunk.js": "./mixer/static/js/2.f2aad125.chunk.js", + "static/js/2.f2aad125.chunk.js.map": "./mixer/static/js/2.f2aad125.chunk.js.map", "index.html": "./mixer/index.html", - "precache-manifest.848a3755896ae918201f90b392131186.js": "./mixer/precache-manifest.848a3755896ae918201f90b392131186.js", + "precache-manifest.58ca0a035d7d4a54ca84834ef500469e.js": "./mixer/precache-manifest.58ca0a035d7d4a54ca84834ef500469e.js", "service-worker.js": "./mixer/service-worker.js", "static/css/2.0b7c8b97.chunk.css.map": "./mixer/static/css/2.0b7c8b97.chunk.css.map", - "static/css/main.6dd9bbee.chunk.css.map": "./mixer/static/css/main.6dd9bbee.chunk.css.map", - "static/js/2.9e080cb5.chunk.js.LICENSE.txt": "./mixer/static/js/2.9e080cb5.chunk.js.LICENSE.txt", - "static/js/main.6b7b874e.chunk.js.LICENSE.txt": "./mixer/static/js/main.6b7b874e.chunk.js.LICENSE.txt" + "static/css/main.375af961.chunk.css.map": "./mixer/static/css/main.375af961.chunk.css.map", + "static/js/2.f2aad125.chunk.js.LICENSE.txt": "./mixer/static/js/2.f2aad125.chunk.js.LICENSE.txt", + "static/js/main.84be4e27.chunk.js.LICENSE.txt": "./mixer/static/js/main.84be4e27.chunk.js.LICENSE.txt" }, "entrypoints": [ "static/js/runtime-main.c45edf70.js", "static/css/2.0b7c8b97.chunk.css", - "static/js/2.9e080cb5.chunk.js", - "static/css/main.6dd9bbee.chunk.css", - "static/js/main.6b7b874e.chunk.js" + "static/js/2.f2aad125.chunk.js", + "static/css/main.375af961.chunk.css", + "static/js/main.84be4e27.chunk.js" ] } \ No newline at end of file diff --git a/rootfs/link/web/mixer/index.html b/rootfs/link/web/mixer/index.html index ec742e0..6f3298f 100644 --- a/rootfs/link/web/mixer/index.html +++ b/rootfs/link/web/mixer/index.html @@ -1 +1 @@ -<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./mixer/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./mixer/logo192.png"/><link rel="manifest" href="./mixer/manifest.json"/><title>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.58ca0a035d7d4a54ca84834ef500469e.js b/rootfs/link/web/mixer/precache-manifest.58ca0a035d7d4a54ca84834ef500469e.js new file mode 100644 index 0000000..7900c83 --- /dev/null +++ b/rootfs/link/web/mixer/precache-manifest.58ca0a035d7d4a54ca84834ef500469e.js @@ -0,0 +1,34 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "6ff46d5756d540930c2999120856ece5", + "url": "./mixer/index.html" + }, + { + "revision": "25cc111d980ef7eb4b05", + "url": "./mixer/static/css/2.0b7c8b97.chunk.css" + }, + { + "revision": "9483588bccb1a222f49b", + "url": "./mixer/static/css/main.375af961.chunk.css" + }, + { + "revision": "25cc111d980ef7eb4b05", + "url": "./mixer/static/js/2.f2aad125.chunk.js" + }, + { + "revision": "4390933dc3b3a92d4f565fd4f47c3cd7", + "url": "./mixer/static/js/2.f2aad125.chunk.js.LICENSE.txt" + }, + { + "revision": "9483588bccb1a222f49b", + "url": "./mixer/static/js/main.84be4e27.chunk.js" + }, + { + "revision": "5c84e2504d745b1010aeb6ce2aad7554", + "url": "./mixer/static/js/main.84be4e27.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 ba5c4ca..d3c26a0 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.848a3755896ae918201f90b392131186.js" + "./mixer/precache-manifest.58ca0a035d7d4a54ca84834ef500469e.js" ); self.addEventListener('message', (event) => { diff --git a/rootfs/link/web/mixer/static/css/main.375af961.chunk.css b/rootfs/link/web/mixer/static/css/main.375af961.chunk.css new file mode 100644 index 0000000..4d6c023 --- /dev/null +++ b/rootfs/link/web/mixer/static/css/main.375af961.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 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}.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.375af961.chunk.css.map */ \ No newline at end of file diff --git a/rootfs/link/web/mixer/static/js/2.f2aad125.chunk.js b/rootfs/link/web/mixer/static/js/2.f2aad125.chunk.js new file mode 100644 index 0000000..8e2a296 --- /dev/null +++ b/rootfs/link/web/mixer/static/js/2.f2aad125.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.f2aad125.chunk.js.LICENSE.txt */ +(this.webpackJsonpmixer=this.webpackJsonpmixer||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(296)},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:M,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(58),f=n(166),d=n(40),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),D){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],U=c.useMemo((function(){return{gutter:[K,V],wrap:x,supportFlexGap:D}}),[K,V,x,D]);return c.createElement(f.a.Provider,{value:U},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(50);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";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]: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 U(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?M: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 W={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(W[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){U(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&&(M=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=($=U,Y=B,function(){var e,t=null,n={add:function(e,n){null===t||void 0===t||t.component.add(e,n)}},a=Object(D.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(33),J=n(31),Z=n(133),ee=n(100),te=n(26),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){"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(45);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(297)},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(61),o=n(0),a=n.n(o),i=n(59),c=n(274),u=n(62),l=n(1),s=n(206),f=n.n(s),d=(n(106),n(50)),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(49);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(28),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 D(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,D=i.onAppearEnd,M=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],U=Object(C.a)(null),W=Object(a.a)(U,2),B=W[0],$=W[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===D||void 0===D?void 0:D(t,e):"enter"===K&&r?n=null===M||void 0===M?void 0:M(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 M=n(14),R=n(15),_=n(23),I=n(24),A=function(e){Object(_.a)(n,e);var t=Object(I.a)(n);function n(){return Object(M.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=D(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 M,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"),M=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 M=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 M=null;c.isValidElement(M)&&Object(l.c)(M)&&(M.ref||(M=c.cloneElement(M,{ref:R})));return c.createElement(A,{ref:w},M)}));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 U=["component","children","onVisibleChanged","onAllRemoved"],W=["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(M.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