1. 实现最后浏览位置记录和书签功能
2. 实现会话导出分享功能 3. 增加语音消息和通话消息的筛选 4. 实现单聊会话对话人位置调换功能 5. 添加繁体和英语表情的解析 6. 修复相近时间的消息可能会出现顺序不对的问题
This commit is contained in:
1 parent
a8addf11eb
commit
3d6d890212
14 files changed
+1495
-547
No files matched your search
@@ -103,3 +103,6 @@ A: Win7电脑需要安装WebView2运行时才能正常使用。github release版
|
|||||||
- silk语音消息解码 [silk-v3-decoder](https://github.com/kn007/silk-v3-decoder)
|
- silk语音消息解码 [silk-v3-decoder](https://github.com/kn007/silk-v3-decoder)
|
||||||
- PCM转MP3 [lame](https://github.com/viert/lame.git)
|
- PCM转MP3 [lame](https://github.com/viert/lame.git)
|
||||||
- Dat图片解码 [wechatDatDecode](https://github.com/liuggchen/wechatDatDecode)
|
- Dat图片解码 [wechatDatDecode](https://github.com/liuggchen/wechatDatDecode)
|
||||||
|
|
||||||
|
## 交流/讨论
|
||||||
|

|
||||||
@@ -23,7 +23,7 @@ const (
|
|||||||
configDefaultUserKey = "userConfig.defaultUser"
|
configDefaultUserKey = "userConfig.defaultUser"
|
||||||
configUsersKey = "userConfig.users"
|
configUsersKey = "userConfig.users"
|
||||||
configExportPathKey = "exportPath"
|
configExportPathKey = "exportPath"
|
||||||
appVersion = "v1.1.0"
|
appVersion = "v1.2.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FileLoader struct {
|
type FileLoader struct {
|
||||||
@@ -183,14 +183,15 @@ func (a *App) startup(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) beforeClose(ctx context.Context) (prevent bool) {
|
func (a *App) beforeClose(ctx context.Context) (prevent bool) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) shutdown(ctx context.Context) {
|
||||||
if a.provider != nil {
|
if a.provider != nil {
|
||||||
a.provider.WechatWechatDataProviderClose()
|
a.provider.WechatWechatDataProviderClose()
|
||||||
a.provider = nil
|
a.provider = nil
|
||||||
}
|
}
|
||||||
|
log.Printf("App Version %s exit!", appVersion)
|
||||||
return false
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) GetWeChatAllInfo() string {
|
func (a *App) GetWeChatAllInfo() string {
|
||||||
@@ -713,3 +714,159 @@ func (a *App) SaveFileDialog(file string, alisa string) string {
|
|||||||
|
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (a *App) GetSessionLastTime(userName string) string {
|
||||||
|
if a.provider == nil || userName == "" {
|
||||||
|
lastTime := &wechat.WeChatLastTime{}
|
||||||
|
lastTimeString, _ := json.Marshal(lastTime)
|
||||||
|
return string(lastTimeString)
|
||||||
|
}
|
||||||
|
|
||||||
|
lastTime := a.provider.WeChatGetSessionLastTime(userName)
|
||||||
|
|
||||||
|
lastTimeString, _ := json.Marshal(lastTime)
|
||||||
|
|
||||||
|
return string(lastTimeString)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) SetSessionLastTime(userName string, stamp int64, messageId string) string {
|
||||||
|
if a.provider == nil {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
lastTime := &wechat.WeChatLastTime{
|
||||||
|
UserName: userName,
|
||||||
|
Timestamp: stamp,
|
||||||
|
MessageId: messageId,
|
||||||
|
}
|
||||||
|
err := a.provider.WeChatSetSessionLastTime(lastTime)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatSetSessionLastTime failed:", err.Error())
|
||||||
|
return err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) SetSessionBookMask(userName, tag, info string) string {
|
||||||
|
if a.provider == nil || userName == "" {
|
||||||
|
return "invaild params"
|
||||||
|
}
|
||||||
|
err := a.provider.WeChatSetSessionBookMask(userName, tag, info)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatSetSessionBookMask failed:", err.Error())
|
||||||
|
return err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) DelSessionBookMask(markId string) string {
|
||||||
|
if a.provider == nil || markId == "" {
|
||||||
|
return "invaild params"
|
||||||
|
}
|
||||||
|
|
||||||
|
err := a.provider.WeChatDelSessionBookMask(markId)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatDelSessionBookMask failed:", err.Error())
|
||||||
|
return err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) GetSessionBookMaskList(userName string) string {
|
||||||
|
if a.provider == nil || userName == "" {
|
||||||
|
return "invaild params"
|
||||||
|
}
|
||||||
|
markLIst, err := a.provider.WeChatGetSessionBookMaskList(userName)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatGetSessionBookMaskList failed:", err.Error())
|
||||||
|
_list := &wechat.WeChatBookMarkList{}
|
||||||
|
_listString, _ := json.Marshal(_list)
|
||||||
|
return string(_listString)
|
||||||
|
}
|
||||||
|
|
||||||
|
markLIstString, _ := json.Marshal(markLIst)
|
||||||
|
return string(markLIstString)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) SelectedDirDialog(title string) string {
|
||||||
|
dialogOptions := runtime.OpenDialogOptions{
|
||||||
|
Title: title,
|
||||||
|
}
|
||||||
|
selectedDir, err := runtime.OpenDirectoryDialog(a.ctx, dialogOptions)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("OpenDirectoryDialog:", err)
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
if selectedDir == "" {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
return selectedDir
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) ExportWeChatDataByUserName(userName, path string) string {
|
||||||
|
if a.provider == nil || userName == "" || path == "" {
|
||||||
|
return "invaild params" + userName
|
||||||
|
}
|
||||||
|
|
||||||
|
if !utils.PathIsCanWriteFile(path) {
|
||||||
|
log.Println("PathIsCanWriteFile: " + path)
|
||||||
|
return "PathIsCanWriteFile: " + path
|
||||||
|
}
|
||||||
|
|
||||||
|
exPath := path + "\\" + "wechatDataBackup_" + userName
|
||||||
|
if _, err := os.Stat(exPath); err != nil {
|
||||||
|
os.MkdirAll(exPath, os.ModePerm)
|
||||||
|
} else {
|
||||||
|
return "path exist:" + exPath
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Println("ExportWeChatDataByUserName:", userName, exPath)
|
||||||
|
err := a.provider.WeChatExportDataByUserName(userName, exPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatExportDataByUserName failed:", err)
|
||||||
|
return "WeChatExportDataByUserName failed:" + err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
exeSrcPath := a.FLoader.FilePrefix + "\\" + "wechatDataBackup.exe"
|
||||||
|
exeDstPath := exPath + "\\" + "wechatDataBackup.exe"
|
||||||
|
_, err = utils.CopyFile(exeSrcPath, exeDstPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("CopyFile:", err)
|
||||||
|
return "CopyFile:" + err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
config := map[string]interface{}{
|
||||||
|
"exportpath": ".\\",
|
||||||
|
"userconfig": map[string]interface{}{
|
||||||
|
"defaultuser": a.defaultUser,
|
||||||
|
"users": []string{a.defaultUser},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
configJson, err := json.MarshalIndent(config, "", " ")
|
||||||
|
if err != nil {
|
||||||
|
log.Println("MarshalIndent:", err)
|
||||||
|
return "MarshalIndent:" + err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
configPath := exPath + "\\" + "config.json"
|
||||||
|
err = os.WriteFile(configPath, configJson, os.ModePerm)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WriteFile:", err)
|
||||||
|
return "WriteFile:" + err.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
func (a *App) GetAppIsShareData() bool {
|
||||||
|
if a.provider != nil {
|
||||||
|
return a.provider.IsShareData
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
|
## v1.2.0
|
||||||
|
1. 实现最后浏览位置记录和书签功能
|
||||||
|
2. 实现会话导出分享功能
|
||||||
|
3. 增加语音消息和通话消息的筛选
|
||||||
|
4. 实现单聊会话对话人位置调换功能
|
||||||
|
5. 添加繁体和英语表情的解析
|
||||||
|
6. 修复相近时间的消息可能会出现顺序不对的问题
|
||||||
|
|
||||||
## v1.1.0
|
## v1.1.0
|
||||||
1. 支持转账、通话、链接消息的显示
|
1. 支持转账、通话、链接消息的显示
|
||||||
2. 支持名片、视频号、QQ音乐、小程序、定位等消息的显示
|
2. 支持名片、视频号、QQ音乐、小程序、定位等消息的显示
|
||||||
|
|||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
+1
@@ -0,0 +1 @@
|
|||||||
|
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7;display:flex;flex-direction:column;align-items:center}.wechat-SearchBar{height:60px;width:100%;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{width:100%;height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}.wechat-UserItem-content-Avatar{margin:5px}.wechat-UserItem-content{width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:.9rem;margin-top:12px;font-weight:500}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.wechat-ContactItem{display:flex;justify-content:flex-start}.wechat-ContactItem-content{display:flex;flex-direction:column;flex-grow:1;justify-content:center}.wechat-ContactItem-content>.wechat-UserItem-content-text{margin-top:0;margin-left:.5rem}.wechat-UserList-Loading{margin-top:80px}.wechat-UserList-End{padding:15px;text-align:center;font-size:.85rem}.MessageModal{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.MessageModal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.MessageModal-content{display:flex;flex-direction:column;align-items:center;padding:20px}.MessageModal-button{margin-top:10px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px;max-width:100%}.WechatInfoTable-column-tag{margin-left:8px;max-width:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.checkUpdateButtom,.WechatInfoTable-column-tag-buttom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.UserSwitch-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoILine truncated
|
||||||
-533
@@ -1,533 +0,0 @@
|
|||||||
function Y4(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bR(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var p={exports:{}},xt={};/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var gu=Symbol.for("react.element"),xR=Symbol.for("react.portal"),SR=Symbol.for("react.fragment"),CR=Symbol.for("react.strict_mode"),wR=Symbol.for("react.profiler"),$R=Symbol.for("react.provider"),ER=Symbol.for("react.context"),OR=Symbol.for("react.forward_ref"),MR=Symbol.for("react.suspense"),PR=Symbol.for("react.memo"),TR=Symbol.for("react.lazy"),rS=Symbol.iterator;function RR(e){return e===null||typeof e!="object"?null:(e=rS&&e[rS]||e["@@iterator"],typeof e=="function"?e:null)}var K4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G4=Object.assign,q4={};function vl(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||K4}vl.prototype.isReactComponent={};vl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};vl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function X4(){}X4.prototype=vl.prototype;function p1(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||K4}var v1=p1.prototype=new X4;v1.constructor=p1;G4(v1,vl.prototype);v1.isPureReactComponent=!0;var oS=Array.isArray,Q4=Object.prototype.hasOwnProperty,m1={current:null},Z4={key:!0,ref:!0,__self:!0,__source:!0};function J4(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Q4.call(t,r)&&!Z4.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:gu,type:e,key:i,ref:a,props:o,_owner:m1.current}}function NR(e,t){return{$$typeof:gu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function h1(e){return typeof e=="object"&&e!==null&&e.$$typeof===gu}function IR(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var iS=/\/+/g;function _m(e,t){return typeof e=="object"&&e!==null&&e.key!=null?IR(""+e.key):t.toString(36)}function qd(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case gu:case xR:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+_m(a,0):r,oS(o)?(n="",e!=null&&(n=e.replace(iS,"$&/")+"/"),qd(o,t,n,"",function(c){return c})):o!=null&&(h1(o)&&(o=NR(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(iS,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",oS(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+_m(i,s);a+=qd(i,t,n,l,o)}else if(l=RR(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+_m(i,s++),a+=qd(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function td(e,t,n){if(e==null)return e;var r=[],o=0;return qd(e,r,"","",function(i){return t.call(n,i,o++)}),r}function AR(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Zn={current:null},Xd={transition:null},_R={ReactCurrentDispatcher:Zn,ReactCurrentBatchConfig:Xd,ReactCurrentOwner:m1};xt.Children={map:td,forEach:function(e,t,n){td(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return td(e,function(){t++}),t},toArray:function(e){return td(e,function(t){return t})||[]},only:function(e){if(!h1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};xt.Component=vl;xt.Fragment=SR;xt.Profiler=wR;xt.PureComponent=p1;xt.StrictMode=CR;xt.Suspense=MR;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_R;xt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=G4({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=m1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Q4.call(t,l)&&!Z4.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:gu,type:e.type,key:o,ref:i,props:r,_owner:a}};xt.createContext=function(e){return e={$$typeof:ER,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:$R,_conLine truncated
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/(function(e){function t(O,L){var I=O.length;O.push(L);e:for(;0<I;){var H=I-1>>>1,D=O[H];if(0<o(D,L))O[H]=L,O[I]=D,I=H;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var L=O[0],I=O.pop();if(I!==L){O[0]=I;e:for(var H=0,D=O.length,B=D>>>1;H<B;){var W=2*(H+1)-1,Y=O[W],G=W+1,j=O[G];if(0>o(Y,I))G<D&&0>o(j,Y)?(O[H]=j,O[G]=I,H=G):(O[H]=Y,O[W]=I,H=W);else if(G<D&&0>o(j,I))O[H]=j,O[G]=I,H=G;else break e}}return L}function o(O,L){var I=O.sortIndex-L.sortIndex;return I!==0?I:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,m=!1,h=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(O){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=O)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function C(O){if(v=!1,S(O),!h)if(n(l)!==null)h=!0,_($);else{var L=n(c);L!==null&&P(C,L.startTime-O)}}function $(O,L){h=!1,v&&(v=!1,y(M),M=-1),m=!0;var I=f;try{for(S(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!R());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var D=H(d.expirationTime<=L);L=e.unstable_now(),typeof D=="function"?d.callback=D:d===n(l)&&r(l),S(L)}else r(l);d=n(l)}if(d!==null)var B=!0;else{var W=n(c);W!==null&&P(C,W.startTime-L),B=!1}return B}finally{d=null,f=I,m=!1}}var E=!1,w=null,M=-1,T=5,N=-1;function R(){return!(e.unstable_now()-N<T)}function F(){if(w!==null){var O=e.unstable_now();N=O;var L=!0;try{L=w(!0,O)}finally{L?z():(E=!1,w=null)}}else E=!1}var z;if(typeof x=="function")z=function(){x(F)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,k=A.port2;A.port1.onmessage=F,z=function(){k.postMessage(null)}}else z=function(){b(F,0)};function _(O){w=O,E||(E=!0,z())}function P(O,L){M=b(function(){O(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,_($))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var I=f;f=L;try{return O()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var I=f;f=O;try{return L()}finally{f=I}},e.unstable_scheduleCallback=function(O,L,I){var H=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?H+I:H):I=H,O){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=I+D,O={id:u++,callback:L,priorityLevel:O,startTime:I,expirationTime:D,sortIndex:-1},I>H?(O.sortIndex=I,t(c,O),n(l)===null&&O===n(c)&&(v?(y(M),M=-1):v=!0,P(C,I-H))):(O.sortIndex=D,t(l,O),h||m||(h=!0,_($))),O},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(O){var L=f;return function(){var I=f;f=L;try{return O.apply(this,arguments)}finally{f=I}}}})(tE);(function(e){e.exports=tE})(eE);/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var nE=p.exports,Or=eE.exports;function xe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var rE=new Set,_c={};function Ha(e,t){Xs(e,t),Xs(e+"Capture",t)}function Xs(e,t){for(_c[e]=t,e=0;e<t.length;e++)rE.add(t[e])}var Qo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_g=Object.prototype.hasOwnProperty,DR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,aS={},sS={};function kR(e){return _g.call(sS,e)?!0:_g.call(aS,e)?!1:DR.test(e)?sS[e]=!0:(aS[e]=!0,!1)}function FR(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function LR(e,t,n,r){if(t===null||typeof t>"u"||FR(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Jn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var _n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_n[e]=new Jn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_n[t]=new Jn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_n[e]=new Jn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_n[e]=new Jn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_n[e]=new Jn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_n[e]=new Jn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_n[e]=new Jn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_n[e]=new Jn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_n[e]=new Jn(e,5,!1,e.toLowerCase(),null,!1,!1)});var g1=/[\-:]([a-z])/g;function y1(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(g1,y1);_n[t]=new Jn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!1,!1)});_n.xlinkHref=new Jn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_n[e]=new Jn(e,1,!1,e.toLowerCase(),null,!0,!0)});function b1(e,t,n,r){var o=_n.hasOwnProperty(t)?_n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
|
||||||
`+Dm+e}var km=!1;function Fm(e,t){if(!e||km)return"";km=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
||||||
`),i=r.stack.split(`
|
|
||||||
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
|
||||||
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{km=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?rc(e):""}function zR(e){switch(e.tag){case 5:return rc(e.type);case 16:return rc("Lazy");case 13:return rc("Suspense");case 19:return rc("SuspenseList");case 0:case 2:case 15:return e=Fm(e.type,!1),e;case 11:return e=Fm(e.type.render,!1),e;case 1:return e=Fm(e.type,!0),e;default:return""}}function Lg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xs:return"Fragment";case bs:return"Portal";case Dg:return"Profiler";case x1:return"StrictMode";case kg:return"Suspense";case Fg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iE:return(e.displayName||"Context")+".Consumer";case oE:return(e._context.displayName||"Context")+".Provider";case S1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case C1:return t=e.displayName||null,t!==null?t:Lg(e.type)||"Memo";case bi:t=e._payload,e=e._init;try{return Lg(e(t))}catch{}}return null}function BR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Lg(t);case 8:return t===x1?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Bi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jR(e){var t=sE(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rd(e){e._valueTracker||(e._valueTracker=jR(e))}function lE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=sE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zg(e,t){var n=t.checked;return Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function cS(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Bi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cE(e,t){t=t.checked,t!=null&&b1(e,"checked",t,!1)}function Bg(e,t){cE(e,t);var n=Bi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?jg(e,t.type,n):t.hasOwnProperty("defaultValue")&&jg(e,t.type,Bi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function uS(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function jg(e,t,n){(t!=="number"||Mf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var oc=Array.isArray;function zs(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Bi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Hg(e,t){i
Line truncated
|
|
||||||
`).replace(QN,"")}function dd(e,t,n){if(t=AS(t),AS(e)!==t&&n)throw Error(xe(425))}function Df(){}var t0=null,n0=null;function r0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var o0=typeof setTimeout=="function"?setTimeout:void 0,ZN=typeof clearTimeout=="function"?clearTimeout:void 0,_S=typeof Promise=="function"?Promise:void 0,JN=typeof queueMicrotask=="function"?queueMicrotask:typeof _S<"u"?function(e){return _S.resolve(null).then(e).catch(eI)}:o0;function eI(e){setTimeout(function(){throw e})}function Xm(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),zc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);zc(t)}function Ii(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function DS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var hl=Math.random().toString(36).slice(2),Ro="__reactFiber$"+hl,Wc="__reactProps$"+hl,Zo="__reactContainer$"+hl,i0="__reactEvents$"+hl,tI="__reactListeners$"+hl,nI="__reactHandles$"+hl;function ya(e){var t=e[Ro];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zo]||n[Ro]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=DS(e);e!==null;){if(n=e[Ro])return n;e=DS(e)}return t}e=n,n=e.parentNode}return null}function Su(e){return e=e[Ro]||e[Zo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $s(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(xe(33))}function Hp(e){return e[Wc]||null}var a0=[],Es=-1;function Qi(e){return{current:e}}function Vt(e){0>Es||(e.current=a0[Es],a0[Es]=null,Es--)}function zt(e,t){Es++,a0[Es]=e.current,e.current=t}var ji={},Wn=Qi(ji),cr=Qi(!1),Aa=ji;function Qs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ur(e){return e=e.childContextTypes,e!=null}function kf(){Vt(cr),Vt(Wn)}function kS(e,t,n){if(Wn.current!==ji)throw Error(xe(168));zt(Wn,t),zt(cr,n)}function QE(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(xe(108,BR(e)||"Unknown",o));return Xt({},n,r)}function Ff(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Aa=Wn.current,zt(Wn,e),zt(cr,cr.current),!0}function FS(e,t,n){var r=e.stateNode;if(!r)throw Error(xe(169));n?(e=QE(e,t,Aa),r.__reactInternalMemoizedMergedChildContext=e,Vt(cr),Vt(Wn),zt(Wn,e)):Vt(cr),zt(cr,n)}var Wo=null,Vp=!1,Qm=!1;function ZE(e){Wo===null?Wo=[e]:Wo.push(e)}function rI(e){Vp=!0,ZE(e)}function Zi(){if(!Qm&&Wo!==null){Qm=!0;var e=0,t=It;try{var n=Wo;for(It=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Wo=null,Vp=!1}catch(o){throw Wo!==null&&(Wo=Wo.slice(e+1)),wE($1,Zi),o}finally{It=t,Qm=!1}}return null}var Os=[],Ms=0,Lf=null,zf=0,zr=[],Br=0,_a=null,Ko=1,Go="";function da(e,t){Os[Ms++]=zf,Os[Ms++]=Lf,Lf=e,zf=t}function JE(e,t,n){zr[Br++]=Ko,zr[Br++]=Go,zr[Br++]=_a,_a=e;var r=Ko;e=Go;var o=32-uo(r)-1;r&=~(1<<o),n+=1;var i=32-uo(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Ko=1<<32-uo(t)+o|n<<o|r,Go=i+e}else Ko=1<<i|n<<o|r,Go=e}function A1(e){e.return!==null&&(da(e,1),JE(e,1,0))}function _1(e){for(;e===Lf;)Lf=Os[--Ms],Os[Ms]=null,zf=Os[--Ms],Os[Ms]=null;for(;e===_a;)_a=zr[--Br],zr[Br]=null,Go=zr[--Br],zr[Br]=null,Ko=zr[--Br],zr[Br]=null}var $r=null,Cr=null,Ut=!1,lo=null;function e6(e,t){var n=jr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function LS(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,$r=e,Cr=Ii(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,$r=e,Cr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_a!==null?{id:Ko,overflow:Go}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=jr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,$r=e,Cr=null,!0):!1;default:return!1}}function s0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function l0(e){if(Ut){var t=Cr;if(t){var n=t;if(!LS(e,t)){if(s0(e))throw Error(xe(418));t=Ii(n.nextSibling);var r=$r;t&&LS(e,t)?e6(r,n):(e.flags=e.flags&-4097|2,Ut=!1,$r=e)}}else{if(s0(e))throw Error(xe(418));e.flags=e.flags&-4097|2,Ut=!1,$r=e}}}function zS(e){
Line truncated
|
|
||||||
Error generating stack: `+i.message+`
|
|
||||||
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function nh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function f0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var fI=typeof WeakMap=="function"?WeakMap:Map;function P6(e,t,n){n=qo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Kf||(Kf=!0,C0=r),f0(e,t)},n}function T6(e,t,n){n=qo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){f0(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){f0(e,t),typeof r!="function"&&(_i===null?_i=new Set([this]):_i.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function KS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new fI;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=OI.bind(null,e,t,n),t.then(e,e))}function GS(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function qS(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qo(-1,1),t.tag=2,Ai(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var pI=ii.ReactCurrentOwner,lr=!1;function qn(e,t,n,r){t.child=e===null?s6(t,null,n,r):Js(t,e.child,n,r)}function XS(e,t,n,r,o){n=n.render;var i=t.ref;return Vs(t,o),r=U1(e,t,n,r,i,o),n=Y1(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ei(e,t,o)):(Ut&&n&&A1(t),t.flags|=1,qn(e,t,r,o),t.child)}function QS(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!nb(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,R6(e,t,i,r,o)):(e=sf(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:jc,n(a,r)&&e.ref===t.ref)return ei(e,t,o)}return t.flags|=1,e=ki(i,r),e.ref=t.ref,e.return=t,t.child=e}function R6(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(jc(i,r)&&e.ref===t.ref)if(lr=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(lr=!0);else return t.lanes=e.lanes,ei(e,t,o)}return p0(e,t,n,r,o)}function N6(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},zt(Rs,Sr),Sr|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,zt(Rs,Sr),Sr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,zt(Rs,Sr),Sr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,zt(Rs,Sr),Sr|=r;return qn(e,t,o,n),t.child}function I6(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function p0(e,t,n,r,o){var i=ur(n)?Aa:Wn.current;return i=Qs(t,i),Vs(t,o),n=U1(e,t,n,r,i,o),r=Y1(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ei(e,t,o)):(Ut&&r&&A1(t),t.flags|=1,qn(e,t,n,o),t.child)}function ZS(e,t,n,r,o){if(ur(n)){var i=!0;Ff(t)}else i=!1;if(Vs(t,o),t.stateNode===null)rf(e,t),i6(t,n,r),d0(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Yr(c):(c=ur(n)?Aa:Wn.current,c=Qs(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&VS(t,a,r,c),xi=!1;var f=t.memoizedState;a.state=f,Hf(t,r,a,o),l=t.memoizedState,s!==r||f!==l||cr.current||xi?(typeof u=="function"&&(u0(t,n,u,r),l=t.memoizedState),(s=xi||HS(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,r6(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ro(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Yr(l):(l=ur(n)?Aa:Wn.current,l=Qs(t,l));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&VS(t,a,r,l),xi=!1,f=t.memoizedState,a.sta
Line truncated
|
|
||||||
* Adapted from jQuery UI core
|
|
||||||
*
|
|
||||||
* http://jqueryui.com
|
|
||||||
*
|
|
||||||
* Copyright 2014 jQuery Foundation and other contributors
|
|
||||||
* Released under the MIT license.
|
|
||||||
* http://jquery.org/license
|
|
||||||
*
|
|
||||||
* http://api.jqueryui.com/category/ui-core/
|
|
||||||
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function a(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var m=window.getComputedStyle(d),h=m.getPropertyValue("display");return f?h!==r&&i(d,m):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(d){for(var f=d,m=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(m&&f===m&&(f=m.host.parentNode),a(f))return!1;f=f.parentNode}return!0}function l(d,f){var m=d.nodeName.toLowerCase(),h=o.test(m)&&!d.disabled||m==="a"&&d.href||f;return h&&s(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var m=isNaN(f);return(m||f>=0)&&l(d,!m)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(m,h){return m.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(Zf,Zf.exports);Object.defineProperty(xo,"__esModule",{value:!0});xo.resetState=UI;xo.log=YI;xo.handleBlur=Qc;xo.handleFocus=Zc;xo.markForFocusLater=KI;xo.returnFocus=GI;xo.popWithoutFocus=qI;xo.setupScopedFocus=XI;xo.teardownScopedFocus=QI;var HI=Zf.exports,VI=WI(HI);function WI(e){return e&&e.__esModule?e:{default:e}}var rl=[],Ns=null,P0=!1;function UI(){rl=[]}function YI(){}function Qc(){P0=!0}function Zc(){if(P0){if(P0=!1,!Ns)return;setTimeout(function(){if(!Ns.contains(document.activeElement)){var e=(0,VI.default)(Ns)[0]||Ns;e.focus()}},0)}}function KI(){rl.push(document.activeElement)}function GI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{rl.length!==0&&(t=rl.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function qI(){rl.length>0&&rl.pop()}function XI(e){Ns=e,window.addEventListener?(window.addEventListener("blur",Qc,!1),document.addEventListener("focus",Zc,!0)):(window.attachEvent("onBlur",Qc),document.attachEvent("onFocus",Zc))}function QI(){Ns=null,window.addEventListener?(window.removeEventListener("blur",Qc),document.removeEventListener("focus",Zc)):(window.detachEvent("onBlur",Qc),document.detachEvent("onFocus",Zc))}var T0={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=Zf.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?i(s.activeElement.shadowRoot):s.activeElement}function a(s,l){var c=(0,r.default)(s);if(!c.length){l.preventDefault();return}var u=void 0,d=l.shiftKey,f=c[0],m=c[c.length-1],h=i();if(s===h){if(!d)return;u=m}if(m===h&&!d&&(u=f),f===h&&d&&(u=m),u){l.preventDefault(),u.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),b=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!b){var y=c.indexOf(h);if(y>-1&&(y+=d?-1:1),u=c[y],typeof u>"u"){l.preventDefault(),u=d?m:f,u.focus();return}l.preventDefault(),u.focus()}}e.exports=t.default})(T0,T0.exports);var So={},ZI=function(){},JI=ZI,po={},o3={exports:{}};/*!
|
|
||||||
Copyright (c) 2015 Jed Watson.
|
|
||||||
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
||||||
All rights reserved.
|
|
||||||
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(o3);Object.defineProperty(po,"__esModule",{value:!0});po.canUseDOM=po.SafeNodeList=po.SafeHTMLCollection=void 0;var eA=o3.exports,tA=nA(eA);function nA(e){return e&&e.__esModule?e:{default:e}}var Jp=tA.default,rA=Jp.canUseDOM?window.HTMLElement:{};po.SafeHTMLCollection=Jp.canUseDOM?window.HTMLCollection:{};po.SafeNodeList=Jp.canUseDOM?window.NodeList:{};po.canUseDOM=Jp.canUseDOM;po.default=rA;Object.defineProperty(So,"__esModule",{value:!0});So.resetState=lA;So.log=cA;So.assertNodeList=i3;So.setElement=uA;So.validateElement=sb;So.hide=dA;So.show=fA;So.documentNotReadyOrSSRTesting=pA;var oA=JI,iA=sA(oA),aA=po;function sA(e){return e&&e.__esModule?e:{default:e}}var Lr=null;function lA(){Lr&&(Lr.removeAttribute?Lr.removeAttribute("aria-hidden"):Lr.length!=null?Lr.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Lr).forEach(function(e){return e.removeAttribute("aria-hidden")})),Lr=null}function cA(){}function i3(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function uA(e){var t=e;if(typeof t=="string"&&aA.canUseDOM){var n=document.querySelectorAll(t);i3(n,t),t=n}return Lr=t||Lr,Lr}function sb(e){var t=e||Lr;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,iA.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function dA(e){var t=!0,n=!1,r=void 0;try{for(var o=sb(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function fA(e){var t=!0,n=!1,r=void 0;try{for(var o=sb(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function pA(){Lr=null}var gl={};Object.defineProperty(gl,"__esModule",{value:!0});gl.resetState=vA;gl.log=mA;var Cc={},wc={};function fC(e,t){e.classList.remove(t)}function vA(){var e=document.getElementsByTagName("html")[0];for(var t in Cc)fC(e,Cc[t]);var n=document.body;for(var r in wc)fC(n,wc[r]);Cc={},wc={}}function mA(){}var hA=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},gA=function(t,n){return t[n]&&(t[n]-=1),n},yA=function(t,n,r){r.forEach(function(o){hA(n,o),t.add(o)})},bA=function(t,n,r){r.forEach(function(o){gA(n,o),n[o]===0&&t.remove(o)})};gl.add=function(t,n){return yA(t.classList,t.nodeName.toLowerCase()=="html"?Cc:wc,n.split(" "))};gl.remove=function(t,n){return bA(t.classList,t.nodeName.toLowerCase()=="html"?Cc:wc,n.split(" "))};var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.log=SA;yl.resetState=CA;function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a3=function e(){var t=this;xA(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Jf=new a3;function SA(){console.log("portalOpenInstances ----------"),console.log(Jf.openInstances.length),Jf.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function CA(){Jf=new a3}yl.default=Jf;var lb={};Object.defineProperty(lb,"__esModule",{value:!0});lb.resetState=OA;lb.log=MA;var wA=yl,$A=EA(wA);function EA(e){return e&&e.__esModule?e:{default:e}}var Fn=void 0,oo=void 0,Pa=[];function OA(){for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Fn=oo=null,Pa=[]}function MA(){console.log("bodyTrap ----------"),console.log(Pa.length);for(var e=[Fn,oo],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function pC(){Pa.length!==0&&Pa[Pa.length-1].focusContent()}function PA(e,t){!Fn&&!oo&&(Fn=document.createElement("div"),Fn.setAttribute("data-react-modal-body-trap",""),Fn.style.position="absolute",Fn.style.opacity="0",Fn.setAttribute("tabindex","0"),Fn.addEventListener("focus",pC),oo=Fn.cloneNode(),oo.addEventListener("focus",pC)),Pa=t,Pa.length>0?(document.body.firstChild!==Fn&&document.body.insertBefore(Fn,document.body.firstChilLine truncated
|
|
||||||
|
|
||||||
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?`
|
|
||||||
`+n:"")+(r!==null?`
|
|
||||||
`+r:"")+(o!==null?`
|
|
||||||
`+o:"")+`
|
|
||||||
|
|
||||||
The above lifecycles should be removed. Learn more about this warning here:
|
|
||||||
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=s3,t.componentWillReceiveProps=l3),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=c3;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;s.call(this,c,u,f)}}return e}const RA=Object.freeze(Object.defineProperty({__proto__:null,polyfill:TA},Symbol.toStringTag,{value:"Module"})),NA=bR(RA);Object.defineProperty(La,"__esModule",{value:!0});La.bodyOpenClassName=La.portalClassName=void 0;var vC=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IA=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u3=p.exports,ep=wu(u3),AA=pr.exports,tp=wu(AA),_A=Pe.exports,st=wu(_A),DA=M0.exports,mC=wu(DA),kA=So,FA=zA(kA),Ei=po,hC=wu(Ei),LA=NA;function zA(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function wu(e){return e&&e.__esModule?e:{default:e}}function BA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gC(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function jA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var HA=La.portalClassName="ReactModalPortal",VA=La.bodyOpenClassName="ReactModal__Body--open",pa=Ei.canUseDOM&&tp.default.createPortal!==void 0,yC=function(t){return document.createElement(t)},bC=function(){return pa?tp.default.createPortal:tp.default.unstable_renderSubtreeIntoContainer};function yd(e){return e()}var $u=function(e){jA(t,e);function t(){var n,r,o,i;BA(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return i=(r=(o=gC(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(s))),o),o.removePortal=function(){!pa&&tp.default.unmountComponentAtNode(o.node);var c=yd(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=bC(),d=u(o,ep.default.createElement(mC.default,vC({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),gC(o,i)}return IA(t,[{key:"componentDidMount",value:function(){if(!!Ei.canUseDOM){pa||(this.node=yC("div")),this.node.className=this.props.portalClassName;var r=yd(this.props.parentSelector);r.appendChild(this.node),!pa&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=yd(r.parentSelector),i=yd(this.props.parentSelector);return{prevParent:o,nextParent:i}}},{key:"componentDidUpdate",value:function(r,o,i){if(!!Ei.canUseDOM){var a=this.props,s=a.isOpen,l=a.portalClassName;r.portalClassName!==l&&(this.node.className=l);var c=i.prevParent,u=i.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!s)&&!pa&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Ei.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),i=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);i?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-o)):this.removePortal()}}},{key:"render",value:function(){if(!Ei.canUseDOM||!pa)return null;!this.node&&pa&&(this.node=yC("div"));var r=bC();return r(ep.default.createElement(mC.default,vC({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){FA.setElement(r)}}]),t}(u3.Component);$u.propTypes={isOpen:st.default.bool.isRequired,style:st.default.shape({content:st.default.object,overlay:st.default.object}),portalClassName:st.default.string,bodyOpenClassName:st.default.string,htmlOpenClassName:st.default.string,className:st.default.oneOfType([st.default.string,st.default.shape({base:st.default.string.isRequired,afterOpen:st.default.string.isRequired,beforeClose:st.default.string.isRequired})]),overlayClassName:st.default.oneOfType([st.default.string,st.default.shape({bas
Line truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(e,t){return d3(e)||UA(e,t)||ub(e,t)||f3()}function tt(e){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(e)}function YA(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function p3(e){var t=YA(e,"string");return tt(t)=="symbol"?t:String(t)}function U(e,t,n){return t=p3(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rt(e,t){if(e==null)return{};var n=KA(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var v3={exports:{}};/*!
|
|
||||||
Copyright (c) 2018 Jed Watson.
|
|
||||||
Licensed under the MIT License (MIT), see
|
|
||||||
http://jedwatson.github.io/classnames
|
|
||||||
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,r(s)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(v3);const oe=v3.exports;function An(e,t){GA(e)&&(e="100%");var n=qA(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function bd(e){return Math.min(1,Math.max(0,e))}function GA(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function qA(e){return typeof e=="string"&&e.indexOf("%")!==-1}function m3(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function xd(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Sa(e){return e.length===1?"0"+e:String(e)}function XA(e,t,n){return{r:An(e,255)*255,g:An(t,255)*255,b:An(n,255)*255}}function xC(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:s}}function ah(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function QA(e,t,n){var r,o,i;if(e=An(e,360),t=An(t,100),n=An(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=ah(s,a,e+1/3),o=ah(s,a,e),i=ah(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function N0(e,t,n){e=An(e,255),t=An(t,255),n=An(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:l,v:a}}function ZA(e,t,n){e=An(e,360)*6,t=An(t,100),n=An(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:c*255,g:u*255,b:d*255}}function I0(e,t,n,r){var o=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function JA(e,t,n,r,o){var i=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16)),Sa(e_(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function e_(e){return Math.round(parseFloat(e)*255).toString(16)}function SC(e){return xr(e)/255}function xr(e){return parseInt(e,16)}function t_(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var A0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurpleLine truncated
|
|
||||||
.anticon {
|
|
||||||
display: inline-block;
|
|
||||||
color: inherit;
|
|
||||||
font-style: normal;
|
|
||||||
line-height: 0;
|
|
||||||
text-align: center;
|
|
||||||
text-transform: none;
|
|
||||||
vertical-align: -0.125em;
|
|
||||||
text-rendering: optimizeLegibility;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon > * {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon svg {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon::before {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon .anticon-icon {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon[tabindex] {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anticon-spin::before,
|
|
||||||
.anticon-spin {
|
|
||||||
display: inline-block;
|
|
||||||
-webkit-animation: loadingCircle 1s infinite linear;
|
|
||||||
animation: loadingCircle 1s infinite linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
@-webkit-keyframes loadingCircle {
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes loadingCircle {
|
|
||||||
100% {
|
|
||||||
-webkit-transform: rotate(360deg);
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`,C_=function(t){var n=p.exports.useContext(cb),r=n.csp,o=n.prefixCls,i=S_;o&&(i=i.replace(/anticon/g,o)),p.exports.useEffect(function(){var a=t.current,s=np(a);Hi(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},w_=["icon","className","onClick","style","primaryColor","secondaryColor"],$c={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function $_(e){var t=e.primaryColor,n=e.secondaryColor;$c.primaryColor=t,$c.secondaryColor=n||$3(t),$c.calculated=!!n}function E_(){return Q({},$c)}var tv=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,s=t.secondaryColor,l=rt(t,w_),c=p.exports.useRef(),u=$c;if(a&&(u={primaryColor:a,secondaryColor:s||$3(a)}),C_(c),x_(RC(n),"icon should be icon definiton, but got ".concat(n)),!RC(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),F0(d.icon,"svg-".concat(d.name),Q(Q({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};tv.displayName="IconReact";tv.getTwoToneColors=E_;tv.setTwoToneColors=$_;const fb=tv;function O3(e){var t=E3(e),n=ee(t,2),r=n[0],o=n[1];return fb.setTwoToneColors({primaryColor:r,secondaryColor:o})}function O_(){var e=fb.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var nv={exports:{}},rv={};/**
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var M_=p.exports,P_=Symbol.for("react.element"),T_=Symbol.for("react.fragment"),R_=Object.prototype.hasOwnProperty,N_=M_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I_={key:!0,ref:!0,__self:!0,__source:!0};function M3(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)R_.call(t,r)&&!I_.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:P_,type:e,key:i,ref:a,props:o,_owner:N_.current}}rv.Fragment=T_;rv.jsx=M3;rv.jsxs=M3;(function(e){e.exports=rv})(nv);const At=nv.exports.Fragment,g=nv.exports.jsx,Z=nv.exports.jsxs;var A_=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];O3(u_.primary);var ov=p.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=rt(e,A_),u=p.exports.useContext(cb),d=u.prefixCls,f=d===void 0?"anticon":d,m=u.rootClassName,h=oe(m,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),v=a;v===void 0&&s&&(v=-1);var b=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,y=E3(l),x=ee(y,2),S=x[0],C=x[1];return g("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:v,onClick:s,className:h,children:g(fb,{icon:r,primaryColor:S,secondaryColor:C,style:b})})});ov.displayName="AntdIcon";ov.getTwoToneColor=O_;ov.setTwoToneColor=O3;const et=ov;var __={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const D_=__;var k_=function(t,n){return g(et,{...t,ref:n,icon:D_})};const F_=p.exports.forwardRef(k_);var L_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const z_=L_;var B_=function(t,n){return g(et,{...t,ref:n,icon:z_})};const P3=p.exports.forwardRef(B_);var j_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const H_=j_;var V_=function(t,n){return g(et,{...t,ref:n,icon:H_})};const W_=p.exports.forwardRef(V_);var U_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const Y_=U_;var K_=function(t,n){return g(et,{...t,ref:n,icon:Y_})};const G_=p.exports.forwardRef(K_);var q_={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-3Line truncated
|
|
||||||
* @license React
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var hb=Symbol.for("react.element"),gb=Symbol.for("react.portal"),cv=Symbol.for("react.fragment"),uv=Symbol.for("react.strict_mode"),dv=Symbol.for("react.profiler"),fv=Symbol.for("react.provider"),pv=Symbol.for("react.context"),iF=Symbol.for("react.server_context"),vv=Symbol.for("react.forward_ref"),mv=Symbol.for("react.suspense"),hv=Symbol.for("react.suspense_list"),gv=Symbol.for("react.memo"),yv=Symbol.for("react.lazy"),aF=Symbol.for("react.offscreen"),H3;H3=Symbol.for("react.module.reference");function qr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hb:switch(e=e.type,e){case cv:case dv:case uv:case mv:case hv:return e;default:switch(e=e&&e.$$typeof,e){case iF:case pv:case vv:case yv:case gv:case fv:return e;default:return t}}case gb:return t}}}_t.ContextConsumer=pv;_t.ContextProvider=fv;_t.Element=hb;_t.ForwardRef=vv;_t.Fragment=cv;_t.Lazy=yv;_t.Memo=gv;_t.Portal=gb;_t.Profiler=dv;_t.StrictMode=uv;_t.Suspense=mv;_t.SuspenseList=hv;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return qr(e)===pv};_t.isContextProvider=function(e){return qr(e)===fv};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hb};_t.isForwardRef=function(e){return qr(e)===vv};_t.isFragment=function(e){return qr(e)===cv};_t.isLazy=function(e){return qr(e)===yv};_t.isMemo=function(e){return qr(e)===gv};_t.isPortal=function(e){return qr(e)===gb};_t.isProfiler=function(e){return qr(e)===dv};_t.isStrictMode=function(e){return qr(e)===uv};_t.isSuspense=function(e){return qr(e)===mv};_t.isSuspenseList=function(e){return qr(e)===hv};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cv||e===dv||e===uv||e===mv||e===hv||e===aF||typeof e=="object"&&e!==null&&(e.$$typeof===yv||e.$$typeof===gv||e.$$typeof===fv||e.$$typeof===pv||e.$$typeof===vv||e.$$typeof===H3||e.getModuleId!==void 0)};_t.typeOf=qr;(function(e){e.exports=_t})(Ec);function Eu(e,t,n){var r=p.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function yb(e,t){typeof e=="function"?e(t):tt(e)==="object"&&e&&"current"in e&&(e.current=t)}function Xr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(i){yb(i,o)})}}function Wa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eu(function(){return Xr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(i,a){return i!==o[a]})})}function Ua(e){var t,n,r=Ec.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==Ec.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==Ec.exports.ForwardRef)}function Vi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return we.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Vi(r)):Ec.exports.isFragment(r)&&r.props?n=n.concat(Vi(r.props.children,t)):n.push(r))}),n}function rp(e){return e instanceof HTMLElement||e instanceof SVGElement}function Oc(e){return rp(e)?e:e instanceof we.Component?Qf.findDOMNode(e):null}var L0=p.exports.createContext(null);function sF(e){var t=e.children,n=e.onBatchResize,r=p.exports.useRef(0),o=p.exports.useRef([]),i=p.exports.useContext(L0),a=p.exports.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(s,l,c)},[n,i]);return g(L0.Provider,{value:a,children:t})}var V3=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];n.call(r,a[1],a[0])}},t}()}(),z0=typeof window<"u"&&typeof document<"u"&&window.document===document,op=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),lF=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(op):function(e){return sLine truncated
|
|
||||||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(e){return AF(e)||X3(e)||ub(e)||_F()}var Q3=function(t){return+setTimeout(t,16)},Z3=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(Q3=function(t){return window.requestAnimationFrame(t)},Z3=function(t){return window.cancelAnimationFrame(t)});var DC=0,bb=new Map;function J3(e){bb.delete(e)}var Et=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;DC+=1;var r=DC;function o(i){if(i===0)J3(r),t();else{var a=Q3(function(){o(i-1)});bb.set(r,a)}}return o(n),r};Et.cancel=function(e){var t=bb.get(e);return J3(e),Z3(t)};function sp(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Mu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(Vn(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(n&&s>1)return!1;r.add(i);var c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],c))return!1;return!0}if(i&&a&&tt(i)==="object"&&tt(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(f){return o(i[f],a[f],c)})}return!1}return o(e,t)}var DF="%";function B0(e){return e.join(DF)}var kF=function(){function e(t){Tt(this,e),U(this,"instanceId",void 0),U(this,"cache",new Map),this.instanceId=t}return Rt(e,[{key:"get",value:function(n){return this.opGet(B0(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(B0(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),e}(),il="data-token-hash",vo="data-css-hash",Pi="__cssinjs_instance__";function FF(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(vo,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Pi]=o[Pi]||e,o[Pi]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(vo,"]"))).forEach(function(o){var i=o.getAttribute(vo);if(r[i]){if(o[Pi]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else r[i]=!0})}return new kF(e)}var LF=p.exports.createContext({hashPriority:"low",cache:FF(),defaultCache:!0});const Sv=LF;function zF(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var xb=function(){function e(){Tt(this,e),U(this,"cache",void 0),U(this,"keys",void 0),U(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Rt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l;a=(l=a)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=ee(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=ee(i,1),s=a[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,u){if(u===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var d=l.get(c);d?d.map||(d.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),a}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!zF(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();U(xb,"MAX_CACHE_SIZE",20);U(xb,"MAX_CACHE_OFFSET",5);var kC=0,eO=function(){function e(t){Tt(this,e),U(this,"derivatives",void 0),U(this,"id",void 0),this.derivatives=Array.i
Line truncated
|
|
||||||
`);else if(C._keyframe)h(C);else{var $=d.reduce(function(E,w){var M;return(w==null||(M=w.visit)===null||M===void 0?void 0:M.call(w,E))||E},C);Object.keys($).forEach(function(E){var w=$[E];if(tt(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!N9(w)){var M=!1,T=E.trim(),N=!1;(o||i)&&s?T.startsWith("@")?M=!0:T=I9(E,s,c):o&&!s&&(T==="&"||T==="")&&(T="",N=!0);var R=e(w,n,{root:N,injectHash:M,parentSelectors:[].concat(Te(a),[T])}),F=ee(R,2),z=F[0],A=F[1];m=Q(Q({},m),A),f+="".concat(T).concat(z)}else{let O=function(L,I){var H=L.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),D=I;!u9[L]&&typeof D=="number"&&D!==0&&(D="".concat(D,"px")),L==="animationName"&&I!==null&&I!==void 0&&I._keyframe&&(h(I),D=I.getName(s)),f+="".concat(H,":").concat(D,";")};var P=O,k,_=(k=w==null?void 0:w.value)!==null&&k!==void 0?k:w;tt(w)==="object"&&w!==null&&w!==void 0&&w[pO]&&Array.isArray(_)?_.forEach(function(L){O(E,L)}):O(E,_)}})}}),!o)f="{".concat(f,"}");else if(l&&VF()){var y=l.split(","),x=y[y.length-1].trim();f="@layer ".concat(x," {").concat(f,"}"),y.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,m]};function vO(e,t){return sp("".concat(e.join("%")).concat(t))}function _9(){return null}var mO="style";function G0(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=p.exports.useContext(Sv),d=u.autoClear;u.mock;var f=u.defaultCache,m=u.hashPriority,h=u.container,v=u.ssrInline,b=u.transformers,y=u.linters,x=u.cache,S=n._tokenKey,C=[S].concat(Te(r)),$=H0,E=Sb(mO,C,function(){var R=C.join("|");if(P9(R)){var F=T9(R),z=ee(F,2),A=z[0],k=z[1];if(A)return[A,S,k,{},s,c]}var _=t(),P=A9(_,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:b,linters:y}),O=ee(P,2),L=O[0],I=O[1],H=K0(L),D=vO(C,H);return[H,S,D,I,s,c]},function(R,F){var z=ee(R,3),A=z[2];(F||d)&&H0&&Jc(A,{mark:vo})},function(R){var F=ee(R,4),z=F[0];F[1];var A=F[2],k=F[3];if($&&z!==dO){var _={mark:vo,prepend:"queue",attachTo:h,priority:c},P=typeof a=="function"?a():a;P&&(_.csp={nonce:P});var O=Hi(z,A,_);O[Pi]=x.instanceId,O.setAttribute(il,S),Object.keys(k).forEach(function(L){Hi(K0(k[L]),"_effect-".concat(L),_)})}}),w=ee(E,3),M=w[0],T=w[1],N=w[2];return function(R){var F;if(!v||$||!f)F=g(_9,{});else{var z;F=g("style",{...(z={},U(z,il,T),U(z,vo,N),z),dangerouslySetInnerHTML:{__html:M}})}return Z(At,{children:[F,R]})}}var D9=function(t,n,r){var o=ee(t,6),i=o[0],a=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return m=lp(i,a,s,h,f),l&&Object.keys(l).forEach(function(v){if(!n[v]){n[v]=!0;var b=K0(l[v]);m+=lp(b,a,"_effect-".concat(v),h,f)}}),[u,s,m]},hO="cssVar",k9=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=p.exports.useContext(Sv),d=u.cache.instanceId,f=u.container,m=s._tokenKey,h=[].concat(Te(t.path),[r,c,m]),v=Sb(hO,h,function(){var b=n(),y=rO(b,r,{prefix:o,unitless:i,ignore:a,scope:c}),x=ee(y,2),S=x[0],C=x[1],$=vO(h,C);return[S,C,$,r]},function(b){var y=ee(b,3),x=y[2];H0&&Jc(x,{mark:vo})},function(b){var y=ee(b,3),x=y[1],S=y[2];if(!!x){var C=Hi(x,S,{mark:vo,prepend:"queue",attachTo:f,priority:-999});C[Pi]=d,C.setAttribute(il,r)}});return v},F9=function(t,n,r){var o=ee(t,4),i=o[1],a=o[2],s=o[3],l=r||{},c=l.plain;if(!i)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=lp(i,s,a,d,c);return[u,a,f]},jl;jl={},U(jl,mO,D9),U(jl,oO,c9),U(jl,hO,F9);var Ot=function(){function e(t,n){Tt(this,e),U(this,"name",void 0),U(this,"style",void 0),U(this,"_keyframe",!0),this.name=t,this.style=n}return Rt(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Ja(e){return e.notSplit=!0,e}Ja(["borderTop","borderBottom"]),Ja(["borderTop"]),Ja(["borderBottom"]),Ja(["borderLeft","borderRight"]),Ja(["borderLeft"]),Ja(["borderRight"]);function gO(e){return d3(e)||X3(e)||ub(e)||f3()}function Io(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function yO(e,t,n,r){if(!t.length)return n;var o=gO(t),i=o[0],a=o.slice(1),s;return!e&&typeof i=="number"?s=[]:Array.isArray(e)?s=Te(e):s=Q({},e),r&&n===void 0&&a.length===1?delete s[i][a[0]]:s[i]=yO(s[i],a,n,r),s}function ao(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Io(e,t.slice(0,-1))?e:yO(e,t,n,r)}function L9(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function WC(e){return Array.isArray(e)?[]:{}}var z9=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Is(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=WC(t[0]);return t.forEach(function(o){function i(a,s){var l=new Set(s),c=Io(o,a),u=Array.isArray(c);if(u||L9(c)){if(!l.has(c)){l.add(c);var d=Io(r,a);u?r=ao(r,a,[]):(!d||tt(d)!=="object")&&(r=ao(r,a,WC
Line truncated
|
|
||||||
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
||||||
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),ru=rL;function oL(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),m=n(i),h=n(a),v=n(s),b=r(c,u),y=e.colorLink||e.colorInfo,x=n(y);return Object.assign(Object.assign({},b),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:x[4],colorLink:x[6],colorLinkActive:x[7],colorBgMask:new Nt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const iL=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},aL=iL;function sL(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},aL(r))}const Ho=(e,t)=>new Nt(e).setAlpha(t).toRgbString(),Hl=(e,t)=>new Nt(e).darken(t).toHexString(),lL=e=>{const t=za(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},cL=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Ho(r,.88),colorTextSecondary:Ho(r,.65),colorTextTertiary:Ho(r,.45),colorTextQuaternary:Ho(r,.25),colorFill:Ho(r,.15),colorFillSecondary:Ho(r,.06),colorFillTertiary:Ho(r,.04),colorFillQuaternary:Ho(r,.02),colorBgLayout:Hl(n,4),colorBgContainer:Hl(n,0),colorBgElevated:Hl(n,0),colorBgSpotlight:Ho(r,.85),colorBgBlur:"transparent",colorBorder:Hl(n,15),colorBorderSecondary:Hl(n,6)}};function pf(e){return(e+8)/e}function uL(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:pf(n)}))}const dL=e=>{const t=uL(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],i=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},fL=dL;function pL(e){const t=Object.keys(CO).map(n=>{const r=za(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),oL(e,{generateColorPalettes:lL,generateNeutralColorPalettes:cL})),fL(e.fontSize)),nL(e)),tL(e)),sL(e))}const wO=j0(pL),X0={token:ru,override:{override:ru},hashed:!0},$O=we.createContext(X0),EO="anticon",vL=(e,t)=>t||(e?`ant-${e}`:"ant"),lt=p.exports.createContext({getPrefixCls:vL,iconPrefixCls
Line truncated
|
|
||||||
:root {
|
|
||||||
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
|
||||||
`)}
|
|
||||||
}
|
|
||||||
`.trim()}function gL(e,t){const n=hL(e,t);Un()&&Hi(n,`${mL}-dynamic-theme`)}const Q0=p.exports.createContext(!1),yL=e=>{let{children:t,disabled:n}=e;const r=p.exports.useContext(Q0);return g(Q0.Provider,{value:n!=null?n:r,children:t})},xl=Q0,Z0=p.exports.createContext(void 0),bL=e=>{let{children:t,size:n}=e;const r=p.exports.useContext(Z0);return g(Z0.Provider,{value:n||r,children:t})},$v=Z0;function xL(){const e=p.exports.useContext(xl),t=p.exports.useContext($v);return{componentDisabled:e,componentSize:t}}const ou=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],SL="5.14.2";function mh(e){return e>=0&&e<=255}function $d(e,t){const{r:n,g:r,b:o,a:i}=new Nt(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new Nt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(mh(u)&&mh(d)&&mh(f))return new Nt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Nt({r:n,g:r,b:o,a:1}).toRgbString()}var CL=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function OO(e){const{override:t}=e,n=CL(e,["override"]),r=Object.assign({},t);Object.keys(ru).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:$d(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:$d(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:$d(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:$d(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
||||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowSecondary:`
|
|
||||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowTertiary:`
|
|
||||||
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
||||||
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
||||||
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
||||||
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
||||||
0 1px 2px -2px ${new Nt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
||||||
0 3px 6px 0 ${new Nt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
||||||
0 5px 12px 4px ${new Nt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
||||||
`,boxShadowDrawerRight:`
|
|
||||||
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowDrawerLeft:`
|
|
||||||
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowDrawerUp:`
|
|
||||||
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowDrawerDown:`
|
|
||||||
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
||||||
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
||||||
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
||||||
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var YC=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const MO={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},PO={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},wL={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},TO=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=YC(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=OO(a),i&&Object.entries(i).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=YC(c,["theme"]);let f=d;u&&(f=TO(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};function vr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=we.useContext($O),i=`${SL}-${t||""}`,a=n||wO,[s,l,c]=l9(a,[ru,e],{salt:i,override:r,getComputedToken:TO,formatToken:OO,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:MO,ignore:PO,preserve:wL}});return[a,c,t?l:"",s,o]}function Rn(e){var t=p.exports.useRef();t.current=e;var n=p.exports.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function Ys(e){var t=p.exports.useRef(!1),n=p.exports.useState(e),r=ee(n,2),o=r[0],i=r[1];p.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(s,l){l&&t.current||i(s)}return[o,a]}function hh(e){return e!==void 0}function Yt(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,s=Ys(function(){return hh(o)?o:hh(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=ee(s,2),c=l[0],u=l[1],d=o!==void 0?o:c,f=a?a(d):d,m=Rn(i),h=Ys([d]),v=ee(h,2),b=v[0],y=v[1];V0(function(){var S=b[0];c!==S&&m(c,S)},[b]),V0(function(){hh(o)||u(o)},[o]);var x=Rn(function(S,C){u(S,C),y([d],C)});return[f,x]}const Ui={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Eb=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Pu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),$L=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active,
|
|
||||||
&:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),EL=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Ob=e=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ev=e=>({"&:focus-visible":Object.assign({},Ob(e))});let OL=Rt(function e(){Tt(this,e)});const RO=OL;function ML(e,t,n){return t=On(t),Ji(e,xv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}let PL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=ML(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(RO);function TL(e,t,n){return t=On(t),Ji(e,xv()?Reflect.construct(t,n||[],On(e).constructor):t.apply(e,n))}const NO="CALC_UNIT";function gh(e){return typeof e=="number"?`${e}${NO}`:e}let RL=function(e){Qr(t,e);function t(n){var r;return Tt(this,t),r=TL(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=gh(n):typeof n=="string"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${gh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${gh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${NO}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(RO);const NL=e=>{const t=e==="css"?RL:PL;return n=>new t(n)},IL=NL;function AL(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>ne(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>ne(o)).join(",")})`}}}const IO=typeof CSSINJS_STATISTIC<"u";let J0=!0;function Pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!IO)return Object.assign.apply(Object,[{}].concat(t));J0=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),J0=!0,r}const KC={};function _L(){}const DL=e=>{let t,n=e,r=_L;return IO&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return J0&&t.add(i),o[i]}}),r=(o,i)=>{var a;KC[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=KC[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},kL=(e,t)=>{const[n,r]=vr();return G0({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Eb()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},AO=kL,_O=(e,t,n)=>{var r;return typeof n=="function"?n(Pt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},DO=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(s=>{let[l,c]=s;var u;((o==null?void 0:o[l])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[l]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},FL=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Mb(e,t,n){le
Line truncated
|
|
||||||
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
||||||
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
||||||
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
||||||
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
||||||
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
||||||
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
||||||
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
||||||
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
||||||
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
||||||
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
||||||
summary tabIndex target title type useMap value width wmode wrap`,xz=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
||||||
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
||||||
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
||||||
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
||||||
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
||||||
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
||||||
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Sz="".concat(bz," ").concat(xz).split(/[\s\n]+/),Cz="aria-",wz="data-";function ew(e,t){return e.indexOf(t)===0}function sl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=Q({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||ew(o,Cz))||n.data&&ew(o,wz)||n.attr&&Sz.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:iu}=yu;function GO(e){return e&&iu(e)&&e.type===p.exports.Fragment}function $z(e,t,n){return iu(e)?p.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Yi(e,t){return $z(e,e,t)}const Ez=e=>{const[,,,,t]=vr();return t?`${e}-css-var`:""},Lo=Ez;var ve={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ve.F1&&n<=ve.F12)return!1;switch(n){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ve.ZERO&&t<=ve.NINE||t>=ve.NUM_ZERO&&t<=ve.NUM_MULTIPLY||t>=ve.A&&t<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Oz=we.createContext(void 0),qO=Oz,ma=100,Mz=10,Pz=ma*Mz,XO={Modal:ma,Drawer:ma,Popover:ma,Popconfirm:ma,Tooltip:ma,Tour:ma},Tz={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Rz(e){return e in XO}function Ov(e,t){const[,n]=vr(),r=we.useContext(qO),o=Rz(e);if(t!==void 0)return[t,t];let i=r!=null?r:0;return o?(i+=(r?0:n.zIndexPopupBase)+XO[e],i=Math.min(i,n.zIndexPopupBase+Pz)):i+=Tz[e],[r===void 0?t:i,i]}function Qn(){Qn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(_,P,O){_[P]=O.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(_,P,O){return Object.defineProperty(_,P,{value:O,enumerable:!0,configurable:!0,writable:!0}),_[P]}try{c({},"")}catch{c=function(O,L,I){return O[L]=I}}function u(_,P,O,L){var I=P&&P.prototype instanceof y?P:y,H=Object.create(I.prototype),D=new A(L||[]);return o(H,"_invoke",{value:N(_,O,D)}),H}function d(_,P,O){try{return{type:"normal",arg:_.call(P,O)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",h="executing",v="completed",b={};function y(){}function x(){}function S(){}var C={};c(C,a,function(){return this});var $=Object.getPrototypeOf,E=$&&$($(k([])));E&&E!==n&&r.call(E,a)&&(C=E);var w=S.prototype=y.prototype=Object.create(C);function M(_){["next","throw","return"].forEach(function(P){c(_,P,function(O){return this._invoke(P,O)})})}function T(_,P){function O(I,H,D,B){var W=d(_[I],_,H);if(W.type!=="throw"){var Y=W.arg,G=Y.value;return G&&tt(G)=="object"&&r.call(G,"__await")?P.resolve(G.__await).then(function(j){O("next",j,D,B)},function(j){O("throw",j,D,B)}):P.resolve(G).then(function(j){Y.value=j,D(Y)},function(j){return O("throw",j,D,B)})}B(W.arg)}var L;o(this,"_invoke",{value:function(H,D){function B(){return new P(function(W,Y){O(H,D,W,Y)})}return L=L?L.then(B,B):B()}})}function N(_,P,O){var L=f;return function(I,H){if(L===h)throw new Error("Generator is already running");if(L===v){if(I==="throw")throw H;return{value:e,done:!
Line truncated
|
|
||||||
&:focus,
|
|
||||||
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},aw(`${t}-primary`,o),aw(`${t}-danger`,i)]}},aB=iB,e5=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Pt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},t5=e=>{var t,n,r,o,i,a;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:pf(s),d=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:pf(l),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:pf(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},sB=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Ev(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ti=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),lB=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),cB=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),uB=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),au=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ti(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Ab=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},uB(e))}),n5=e=>Object.assign({},Ab(e)),up=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),r5=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n5(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ti(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),au(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ti(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),au(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Ab(e))}),dB=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
|
||||||
html body {
|
|
||||||
overflow-y: hidden;
|
|
||||||
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
|
||||||
}`),o)}else Jc(o);return function(){Jc(o)}},[t,o])}var uw=!1;function FB(e){return typeof e=="boolean"&&(uw=e),uw}var dw=function(t){return t===!1?!1:!Un()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Nv=p.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,s=e.children,l=p.exports.useState(n),c=ee(l,2),u=c[0],d=c[1],f=u||n;p.exports.useEffect(function(){(a||n)&&d(n)},[n,a]);var m=p.exports.useState(function(){return dw(o)}),h=ee(m,2),v=h[0],b=h[1];p.exports.useEffect(function(){var R=dw(o);b(R!=null?R:null)});var y=NB(f&&!v),x=ee(y,2),S=x[0],C=x[1],$=v!=null?v:S;kB(r&&n&&Un()&&($===S||$===document.body));var E=null;if(s&&Ua(s)&&t){var w=s;E=w.ref}var M=Wa(E,t);if(!f||!Un()||v===void 0)return null;var T=$===!1||FB(),N=s;return t&&(N=p.exports.cloneElement(s,{ref:M})),g(o5.Provider,{value:C,children:T?N:pr.exports.createPortal(N,$)})}),i5=p.exports.createContext({});function LB(){var e=Q({},yu);return e.useId}var fw=0,pw=LB();const a5=pw?function(t){var n=pw();return t||n}:function(t){var n=p.exports.useState("ssr-id"),r=ee(n,2),o=r[0],i=r[1];return p.exports.useEffect(function(){var a=fw;fw+=1,i("rc_unique_".concat(a))},[]),t||o};function vw(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function mw(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function zB(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=mw(o),n.top+=mw(o,!0),n}const BB=p.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var hw={width:0,height:0,overflow:"hidden",outline:"none"},jB=we.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,h=e.modalRender,v=e.onMouseDown,b=e.onMouseUp,y=e.holderRef,x=e.visible,S=e.forceRender,C=e.width,$=e.height,E=e.classNames,w=e.styles,M=we.useContext(i5),T=M.panel,N=Wa(y,T),R=p.exports.useRef(),F=p.exports.useRef();we.useImperativeHandle(t,function(){return{focus:function(){var L;(L=R.current)===null||L===void 0||L.focus()},changeActive:function(L){var I=document,H=I.activeElement;L&&H===F.current?R.current.focus():!L&&H===R.current&&F.current.focus()}}});var z={};C!==void 0&&(z.width=C),$!==void 0&&(z.height=$);var A;s&&(A=g("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Q({},w==null?void 0:w.footer),children:s}));var k;i&&(k=g("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Q({},w==null?void 0:w.header),children:g("div",{className:"".concat(n,"-title"),id:a,children:i})}));var _;l&&(_=g("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||g("span",{className:"".concat(n,"-close-x")})}));var P=Z("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[_,k,g("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Q(Q({},f),w==null?void 0:w.body),...m,children:d}),A]});return Z("div",{role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:N,style:Q(Q({},o),z),className:oe(n,r),onMouseDown:v,onMouseUp:b,children:[g("div",{tabIndex:0,ref:R,style:hw,"aria-hidden":"true"}),g(BB,{shouldUpdate:x||S,children:h?h(P):P}),g("div",{tabIndex:0,ref:F,style:hw,"aria-hidden":"true"})]},"dialog-element")}),s5=p.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,m=p.exports.useRef(),h=p.exports.useState(),v=ee(h,2),b=v[0],y=v[1],x={};b&&(x.transformOrigin=b);function S(){var C=zB(m.current);y(f?"".concat(f.x-C.left,"px ").concat(f.y-C.top,"px"):"")}return g(Fo,{visible:a,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:c,removeOnLeave:l,ref:m,children:function(C,$){var E=C.className,w=C.style;return g(jB,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:$,style:Q(Q(Q({},w),o),x),className:oe(i,E)})}})});s5.displayName="Content";function HB(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return g(Fo,{visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden"),children:function(s,l){var c=s.className,u=s.style;return g("div",{ref:l,style:Q(Q({},u),n),className:oe("".concat(t,"-mask"),c,a),...o})}},"mask")}function VB(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,s=a===void 0?!0:a,l=e.focusTriggerAfterClose,c=l===void 0?!0:l,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,m=e.onClose,h=e.afterOpenChange,v=e.afterClose,b=e.transitionName,y=e.animation,x=e.closable,S=x===void 0?!
Line truncated
|
|
||||||
(?:
|
|
||||||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
||||||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
||||||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
||||||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
||||||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
||||||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
||||||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
||||||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
||||||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(C){return C&&C.exact?i:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+o+t(C)+")","g")};l.v4=function(S){return S&&S.exact?a:new RegExp(""+t(S)+n+t(S),"g")},l.v6=function(S){return S&&S.exact?s:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",y='(?:[/?#][^\\s"]*)?',x="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+m+h+v+")"+b+y;return Td=new RegExp("(?:^"+x+"$)","i"),Td},Sw={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},sc={integer:function(t){return sc.number(t)&&parseInt(t,10)===t},float:function(t){return sc.number(t)&&!sc.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!sc.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Sw.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(ij())},hex:function(t){return typeof t=="string"&&!!t.match(Sw.hex)}},aj=function(t,n,r,o,i){if(t.required&&n===void 0){c5(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?sc[s](n)||o.push(wr(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(wr(i.messages.types[s],t.fullField,t.type))},sj=function(t,n,r,o,i){var a=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",m=typeof n=="string",h=Array.isArray(n);if(f?d="number":m?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),m&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(wr(i.messages[d].len,t.fullField,t.len)):s&&!l&&u<t.min?o.push(wr(i.messages[d].min,t.fullField,t.min)):l&&!s&&u>t.max?o.push(wr(i.messages[d].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&o.push(wr(i.messages[d].range,t.fullField,t.min,t.max))},es="enum",lj=function(t,n,r,o,i){t[es]=Array.isArray(t[es])?t[es]:[],t[es].indexOf(n)===-1&&o.push(wr(i.messages[es],t.fullField,t[es].join(", ")))},cj=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(wr(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},bt={required:c5,whitespace:oj,type:aj,range:sj,enum:lj,pattern:cj},uj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n,"string")&&!t.required)return r();bt.required(t,n,o,a,i,"string"),yn(n,"string")||(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i),bt.pattern(t,n,o,a,i),t.whitespace===!0&&bt.whitespace(t,n,o,a,i))}r(a)},dj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},fj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},pj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},vj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),yn(n)||bt.type(t,n,o,a,i)}r(a)},mj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},hj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},gj=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();bt.required(t,n,o,a,i,"array"),n!=null&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},yj=function(t,n,r,o,i){var
Line truncated
|
|
||||||
${i}${e}-enter,
|
|
||||||
${i}${e}-appear
|
|
||||||
`]:Object.assign(Object.assign({},Hj(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Vj(r)),{animationPlayState:"paused"}),[`
|
|
||||||
${i}${e}-enter${e}-enter-active,
|
|
||||||
${i}${e}-appear${e}-appear-active
|
|
||||||
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},Wj=new Ot("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Uj=new Ot("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),m5=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[Iv(r,Wj,Uj,e.motionDurationMid,t),{[`
|
|
||||||
${o}${r}-enter,
|
|
||||||
${o}${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Yj=new Ot("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Kj=new Ot("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Gj=new Ot("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),qj=new Ot("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Xj=new Ot("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Qj=new Ot("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Zj=new Ot("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Jj=new Ot("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),eH={"move-up":{inKeyframes:Zj,outKeyframes:Jj},"move-down":{inKeyframes:Yj,outKeyframes:Kj},"move-left":{inKeyframes:Gj,outKeyframes:qj},"move-right":{inKeyframes:Xj,outKeyframes:Qj}},fp=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=eH[t];return[Iv(r,o,i,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Fb=new Ot("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Lb=new Ot("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),zb=new Ot("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Bb=new Ot("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),tH=new Ot("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),nH=new Ot("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),rH=new Ot("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),oH=new Ot("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),iH={"slide-up":{inKeyframes:Fb,outKeyframes:Lb},"slide-down":{inKeyframes:zb,outKeyframes:Bb},"slide-left":{inKeyframes:tH,outKeyframes:nH},"slide-right":{inKeyframes:rH,outKeyframes:oH}},cl=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=iH[t];return[Iv(r,o,i,e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},aH=new Ot("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sH=new Ot("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Tw=new Ot("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Rw=new Ot("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),lH=new Ot("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cH=new Ot("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),uH=new Ot("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),dH=new Ot("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fH=new Ot("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),pH=new Ot("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),vH=new Ot("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),mH=new Ot("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),hH={zoom:{inKeyframes:aH,outKeyframes:sH},"zoom-big":{inKeyframes:Tw,outKeyframes:Rw},"zoom-big-fast":{inKeyframes:Tw,outKeyframes:Rw},"zoom-left":{inKeyframes:uH,outKeyframes:dH},"zoom-right":{inKeyframes:fH,outKeyframes:pH},"zoom-up":{inKeyframes:lH,outKeyframes:cH},"zoom-down":{inKeyframes:vH,outKeyframes:mH}},Av=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=hH[t];return[Iv(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
|
||||||
${r}-enter,
|
|
||||||
${r}-appear
|
|
||||||
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function Nw(e){return{position:e,inset:0}}const h5=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Nw("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Nw("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:m5(e)}]},gH=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${ne(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},Ev(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
|
|
||||||
${t}-body,
|
|
||||||
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},yH=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},bH=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Pt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},xH=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});Mn("Modal",e=>{const t=bH(e);return[gH(t),yH(t),h5(t),Av(t,"zoom")]},xH,{unitless:{titleLineHeight:!0}});function SH(e){return t=>g(Rb,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:g(e,{...Object.assign({},t)})})}const CH=(e,t,n,r)=>SH(i=>{const{prefixCls:a,style:s}=i,l=p.exports.useRef(null),[c,u]=p.exports.useState(0),[d,f]=p.exports.useState(0),[m,h]=Yt(!1,{value:i.open}),{getPrefixCls:v}=p.exports.useContext(lt),b=v(t||"select",a);p.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver($=>{const E=$[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),C=setInterval(()=>{var $;const E=n?`.${n(b)}`:`.${b}-dropdown`,w=($=l.current)===null||$===void 0?void 0:$.querySelector(E);w&&(clearInterval(C),S.observe(w))},10);return()=>{clearInterval(C),S.disconnect()}}},[]);let y=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});return r&&(y=r(y)),g("div",{ref:l,style:{paddingBottom:c,position:"relative",minWidth:d},children:g(e,{...Object.assign({},y)})})}),wH=CH,jb=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x7
Line truncated
|
|
||||||
`,`\r
|
|
||||||
`].includes(He)})},[_]),nt=p.exports.useContext(Hb)||{},ot=nt.maxCount,St=nt.rawValues,Ct=function(qe,wt,Kt){if(!((St==null?void 0:St.size)>=ot)){var Dt=!0,tn=qe;N==null||N(null);var xn=mV(qe,_,ot&&ot-St.size),Kn=Kt?null:xn;return y!=="combobox"&&Kn&&(tn="",k==null||k(Kn),Se(!1),Dt=!1),A&&Ve!==tn&&A(tn,{source:wt?"typing":"effect"}),Dt}},pt=function(qe){!qe||!qe.trim()||A(qe,{source:"submit"})};p.exports.useEffect(function(){!Re&&!ae&&y!=="combobox"&&Ct("",!1,!1)},[Re]),p.exports.useEffect(function(){Ce&&x&&Fe(!1),x&&!$e.current&&Me(!1)},[x]);var Ye=y5(),Ke=ee(Ye,2),gt=Ke[0],Ie=Ke[1],je=function(qe){var wt=gt(),Kt=qe.which;if(Kt===ve.ENTER&&(y!=="combobox"&&qe.preventDefault(),Re||Se(!0)),Ie(!!Ve),Kt===ve.BACKSPACE&&!wt&&ae&&!Ve&&d.length){for(var Dt=Te(d),tn=null,xn=Dt.length-1;xn>=0;xn-=1){var Kn=Dt[xn];if(!Kn.disabled){Dt.splice(xn,1),tn=Kn;break}}tn&&f(Dt,{type:"remove",values:[tn]})}for(var Sn=arguments.length,Gn=new Array(Sn>1?Sn-1:0),rr=1;rr<Sn;rr++)Gn[rr-1]=arguments[rr];if(Re){var Xa;(Xa=Ae.current)===null||Xa===void 0||Xa.onKeyDown.apply(Xa,[qe].concat(Gn))}fe==null||fe.apply(void 0,[qe].concat(Gn))},Qe=function(qe){for(var wt=arguments.length,Kt=new Array(wt>1?wt-1:0),Dt=1;Dt<wt;Dt++)Kt[Dt-1]=arguments[Dt];if(Re){var tn;(tn=Ae.current)===null||tn===void 0||tn.onKeyUp.apply(tn,[qe].concat(Kt))}re==null||re.apply(void 0,[qe].concat(Kt))},ut=function(qe){var wt=d.filter(function(Kt){return Kt!==qe});f(wt,{type:"remove",values:[qe]})},en=p.exports.useRef(!1),Bt=function(){Me(!0),x||(ie&&!en.current&&ie.apply(void 0,arguments),te.includes("focus")&&Se(!0)),en.current=!0},ln=function(){$e.current=!0,Me(!1,function(){en.current=!1,$e.current=!1,Se(!1)}),!x&&(Ve&&(y==="tags"?A(Ve,{source:"submit"}):y==="multiple"&&A("",{source:"blur"})),J&&J.apply(void 0,arguments))},cn=[];p.exports.useEffect(function(){return function(){cn.forEach(function(He){return clearTimeout(He)}),cn.splice(0,cn.length)}},[]);var tr=function(qe){var wt,Kt=qe.target,Dt=(wt=Ee.current)===null||wt===void 0?void 0:wt.getPopupElement();if(Dt&&Dt.contains(Kt)){var tn=setTimeout(function(){var Gn=cn.indexOf(tn);if(Gn!==-1&&cn.splice(Gn,1),ke(),!se&&!Dt.contains(document.activeElement)){var rr;(rr=ge.current)===null||rr===void 0||rr.focus()}});cn.push(tn)}for(var xn=arguments.length,Kn=new Array(xn>1?xn-1:0),Sn=1;Sn<xn;Sn++)Kn[Sn-1]=arguments[Sn];me==null||me.apply(void 0,[qe].concat(Kn))},hr=p.exports.useState({}),Pn=ee(hr,2),ui=Pn[1];function di(){ui({})}var Yn;ct&&(Yn=function(qe){Se(qe)}),MH(function(){var He;return[be.current,(He=Ee.current)===null||He===void 0?void 0:He.getPopupElement()]},_e,Se,!!ct);var fi=p.exports.useMemo(function(){return Q(Q({},e),{},{notFoundContent:v,open:Re,triggerOpen:_e,id:o,showSearch:de,multiple:ae,toggleOpen:Se})},[e,v,_e,Re,o,de,ae,Se]),Zr=!!O||S,nr;Zr&&(nr=g(_v,{className:oe("".concat(i,"-arrow"),U({},"".concat(i,"-arrow-loading"),S)),customizeIcon:O,customizeIconProps:{loading:S,searchValue:Ve,open:Re,focused:De,showSearch:de}}));var Ar=function(){var qe;b==null||b(),(qe=ge.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ct("",!1,!1)},Jr=$H(i,Ar,d,P,L,x,Ve,y),Oo=Jr.allowClear,gr=Jr.clearIcon,pi=g(I,{ref:Ae}),eo=oe(i,a,(r={},U(r,"".concat(i,"-focused"),De),U(r,"".concat(i,"-multiple"),ae),U(r,"".concat(i,"-single"),!ae),U(r,"".concat(i,"-allow-clear"),P),U(r,"".concat(i,"-show-arrow"),Zr),U(r,"".concat(i,"-disabled"),x),U(r,"".concat(i,"-loading"),S),U(r,"".concat(i,"-open"),Re),U(r,"".concat(i,"-customize-input"),Ze),U(r,"".concat(i,"-show-search"),de),r)),$t=g(pV,{ref:Ee,disabled:x,prefixCls:i,visible:_e,popupElement:pi,animation:H,transitionName:D,dropdownStyle:B,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:Y,dropdownRender:G,dropdownAlign:j,placement:V,builtinPlacements:X,getPopupContainer:K,empty:m,getTriggerDOMNode:function(){return ze.current},onPopupVisibleChange:Yn,onPopupMouseEnter:di,children:ct?p.exports.cloneElement(ct,{ref:ht}):g(XH,{...e,domRef:ze,prefixCls:i,inputElement:Ze,ref:ge,id:o,showSearch:de,autoClearSearchValue:z,mode:y,activeDescendantId:R,tagRender:l,values:d,open:Re,onToggleOpen:Se,activeValue:T,searchValue:Ve,onSearch:Ct,onSearchSubmit:pt,onRemove:ut,tokenWithEnter:Xe})}),mt;return ct?mt=$t:mt=Z("div",{className:eo,...ue,ref:be,onMouseDown:tr,onKeyDown:je,onKeyUp:Qe,onFocus:Bt,onBlur:ln,children:[De&&!Re&&g("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(He){var qe=He.label,wt=He.value;return["number","string"].includes(tt(qe))?qe:wt}).join(", "))}),$t,nr,Oo&&gr]}),g(g5.Provider,{value:fi,children:mt})}),Vb=function(){return null};Vb.isSelectOptGroup=!0;var Wb=function(){return null};Wb.isSelectOption=!0;var O5=p.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"rel
Line truncated
|
|
||||||
${o}${s}bottomLeft,
|
|
||||||
${i}${s}bottomLeft
|
|
||||||
`]:{animationName:Fb},[`
|
|
||||||
${o}${s}topLeft,
|
|
||||||
${i}${s}topLeft,
|
|
||||||
${o}${s}topRight,
|
|
||||||
${i}${s}topRight
|
|
||||||
`]:{animationName:zb},[`${a}${s}bottomLeft`]:{animationName:Lb},[`
|
|
||||||
${a}${s}topLeft,
|
|
||||||
${a}${s}topRight
|
|
||||||
`]:{animationName:Bb},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},qw(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Ui),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},qw(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},cl(e,"slide-up"),cl(e,"slide-down"),fp(e,"move-up"),fp(e,"move-down")]},pW=fW,os=2,vW=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},qb=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=vW(e),s=t?`${n}-${t}`:"";return{[`${n}-multiple${s}`]:{[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(os).mul(2).equal(),paddingBlock:e.calc(a).sub(os).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(os)} 0`,lineHeight:ne(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:os,marginBottom:os,lineHeight:ne(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(os).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Eb()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[`
|
|
||||||
&-input,
|
|
||||||
&-mirror
|
|
||||||
`]:{height:i,fontFamily:e.fontFamily,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Ph(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
|
||||||
&${n}-show-arrow ${n}-selector,
|
|
||||||
&${n}-allow-clear ${n}-selector
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[qb(e,t),o]}const mW=e=>{const{componentCls:t}=e,n=Pt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Pt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Ph(e),Ph(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Ph(r,"lg")]},hW=mW;function Th(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
||||||
${n}-selection-item,
|
|
||||||
${n}-selection-placeholder
|
|
||||||
`]:{padding:0,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
||||||
&${n}-show-arrow ${n}-selection-item,
|
|
||||||
&${n}-show-arrow ${n}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:ne(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function gW(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Th(e),Th(Pt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
||||||
&${t}-show-arrow ${t}-selection-item,
|
|
||||||
&${t}-show-arrow ${t}-selection-placeholder
|
|
||||||
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Th(Pt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const yW=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:m,colorBgContainerDisabled:h,colorTextDisabled:v}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:m,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},I5=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeShadowColor}`,outline:0}}}},Xw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},I5(e,t))}),bW=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},I5(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),Xw(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),Xw(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),A5=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Qw=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},A5(e,t))}),xW=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},A5(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),Qw(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Qw(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),SW=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),CW=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},bW(e)),xW(e)),SW(e))}),wW=CW,$W=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},EW=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},OW=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
|
||||||
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Ob(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:x(1).mul(o).div(-2).equal(),marginInlineStart:x(1).mul(o).div(-2).equal(),backgroundColor:b,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${x($).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},eK=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:h,paddingXS:v,borderRadius:b,borderRadiusSM:y,borderRadiusLG:x,buttonCheckedBg:S,buttonSolidCheckedColor:C,colorTextDisabled:$,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:M,colorPrimary:T,colorPrimaryHover:N,colorPrimaryActive:R,buttonSolidCheckedBg:F,buttonSolidCheckedHoverBg:z,buttonSolidCheckedActiveBg:A,calc:k}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:ne(k(n).sub(k(o).mul(2)).equal()),background:d,border:`${ne(o)} ${i} ${a}`,borderBlockStartWidth:k(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:k(o).mul(-1).equal(),insetInlineStart:k(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne(o)} ${i} ${a}`,borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b},"&:first-child:last-child":{borderRadius:b},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:ne(k(m).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},[`${r}-group-small &`]:{height:h,paddingInline:k(v).sub(o).equal(),paddingBlock:0,lineHeight:ne(k(h).sub(k(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:T},"&:has(:focus-visible)":Object.assign({},Ob(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:T,background:S,borderColor:T,"&::before":{backgroundColor:T},"&:first-child":{borderColor:T},"&:hover":{color:N,borderColor:N,"&::before":{backgroundColor:N}},"&:active":{color:R,borderColor:R,"&::before":{backgroundColor:R}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:F,borderColor:F,"&:hover":{color:C,background:z,borderColor:z},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:$,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:$,backgroundColor:E,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:M,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},tK=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:h}=e,v=4,b=i,y=t?b-v*2:b-(v+o)*2;return{radioSize:b,dotSize:y,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
|
||||||
& > ${t}-affix-wrapper,
|
|
||||||
& > ${t}-number-affix-wrapper,
|
|
||||||
& > ${n}-picker-range
|
|
||||||
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
|
|
||||||
& > ${n}-select-auto-complete ${t},
|
|
||||||
& > ${n}-cascader-picker ${t},
|
|
||||||
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
||||||
& > ${n}-select:first-child > ${n}-select-selector,
|
|
||||||
& > ${n}-select-auto-complete:first-child ${t},
|
|
||||||
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
||||||
& > ${n}-select:last-child > ${n}-select-selector,
|
|
||||||
& > ${n}-cascader-picker:last-child ${t},
|
|
||||||
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},yK=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=16,a=o(n).sub(o(r).mul(2)).sub(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),DM(e)),PM(e)),NM(e)),TM(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},bK=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ne(e.inputAffixPadding)}`}}}},xK=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},DM(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),bK(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},SK=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),gK(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},mK(e)),hK(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},CK=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
|
|
||||||
> ${t},
|
|
||||||
${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},wK=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},$K=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},ux=Mn("Input",e=>{const t=Pt(e,EM(e));return[yK(t),wK(t),xK(t),SK(t),CK(t),$K(t),Rv(t)]},OM),Nh=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:i,calc:a}=e,s=t?`${n}-${t}`:"",l=e.calc(o).add(2).equal(),c=()=>a(r).sub(l).sub(a(i).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[qb(e,t),{[`${n}-multiple${s}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},EK=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Pt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),i=Pt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Nh(o,"small"),Nh(e),Nh(i,"large"),qb(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},OK=EK,MK=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ne(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view),
|
|
||||||
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ne(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
|
||||||
&-in-view${t}-range-start,
|
|
||||||
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},kM=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:m,colorPrimary:h,colorTextHeading:v,colorSplit:b,pickerControlIconBorderWidth:y,colorIcon:x,textHeight:S,motionDurationMid:C,colorIconHover:$,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:M,colorTextDisabled:T,colorText:N,fontSize:R,motionDurationSlow:F,withoutTimeCellHeight:z,pickerQuarterPanelContentHeight:A,borderRadiusSM:k,colorTextLightSolid:_,cellHoverBg:P,timeColumnHeight:O,timeColumnWidth:L,timeCellHeight:I,controlItemBgActive:H,marginXXS:D,pickerDatePanelPaddingHorizontal:B,pickerControlIconMargin:W}=e,Y=e.calc(a).mul(7).add(e.calc(B).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
|
|
||||||
${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
|
|
||||||
${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel,
|
|
||||||
&-week-panel,
|
|
||||||
&-date-panel,
|
|
||||||
&-time-panel`]:{display:"flex",flexDirection:"column",width:Y},"&-header":{display:"flex",padding:`0 ${ne(l)}`,color:v,borderBottom:`${ne(d)} ${f} ${b}`,"> *":{flex:"none"},button:{padding:0,color:x,lineHeight:ne(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:R,"&:hover":{color:$},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:ne(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},[`&-prev-icon,
|
|
||||||
&-next-icon,
|
|
||||||
&-super-prev-icon,
|
|
||||||
&-super-next-icon`]:{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
|
||||||
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:y,borderBlockEndWidth:0,borderInlineStartWidth:y,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
|
||||||
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
|
||||||
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(M).mul(2)).equal(),color:N,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ne(M)} 0`,color:T,cursor:"pointer","&-in-view":{color:N}},MK(e)),[`&-decade-panel,
|
|
||||||
&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-content`]:{height:e.calc(z).mul(4).equal()},[r]:{padding:`0 ${ne(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${ne(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
|
||||||
&-quarter-panel,
|
|
||||||
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${ne(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${ne(l)} ${ne(B)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
|
||||||
&-selected ${r},
|
|
||||||
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child:before":{borderStartEndRadius:k,borderEndEndRadius:k}},["&:hover td"]:{"&:before":{background:P}},[`&-range-start td,
|
|
||||||
&-range-end td,
|
|
||||||
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Nt(_).setAlpha(.5).toHexString()},[r]:{color:_}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${ne(l)} ${ne(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ne(d)} ${f} ${b}`},[`${t}-date-panel,
|
|
||||||
${t}-time-panel`]:{transition:`opacity ${F}`},"&-active":{[`${t}-date-panel,
|
|
||||||
${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:O},"&-column":{flex:"1 0 auto",width:L,margin:`${ne(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(I).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${ne(d)} ${f} ${b}`},"&-active":{background:new Nt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:D,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(D).mul(2)).equal(),height:I,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(I).div(2).equal(),color:N,lineHeight:ne(I),borderRadius:k,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:P}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}}}}},PK=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ne(r)} ${c} ${u}`,"&-extra":{padding:`0 ${ne(o)}`,lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ne(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ne(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},TK=PK,FM=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},LM=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},RK=e=>Object.assign(Object.assign(Object.assign(Object.assign({},OM(e)),LM(e)),Qb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),NK=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},PM(e)),NM(e)),TM(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},IK=NK,Ih=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${ne(i)} ${ne(r)} ${ne(a)}`}},AK=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},_K=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:v,paddingXS:b,marginXS:y,colorTextDescription:x,lineWidthBold:S,c
Line truncated
|
|
||||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
|
|
||||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
|
|
||||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:zb},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
|
|
||||||
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
|
|
||||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
|
|
||||||
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Fb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
|
|
||||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Bb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
|
|
||||||
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Lb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${$} ease-out`},L5(e,T,P)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:T,borderRadius:N,boxShadow:R,transition:`margin ${$}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:k,maxWidth:_,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:b,borderInlineEnd:`${ne(i)} ${a} ${z}`,li:Object.assign(Object.assign({},Ui),{borderRadius:F,paddingInline:b,paddingBlock:e.calc(h).sub(O).div(2).equal(),cursor:"pointer",transition:`all ${$}`,"+ li":{marginTop:y},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
|
|
||||||
table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${ne(e.calc(M).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},cl(e,"slide-up"),cl(e,"slide-down"),fp(e,"move-up"),fp(e,"move-down")]};Mn("DatePicker",e=>{const t=Pt(EM(e),FM(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[TK(t),_K(t),IK(t),AK(t),OK(t),Rv(e,{focusElCls:`${e.componentCls}-focused`})]},RK);const DK=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},kM(e)),on(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${ne(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${ne(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${ne(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${ne(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${ne(e.calc(e.marginXS).div(2).equal())}`,padding:`${ne(e.calc(e.paddingXS).div(2).equal())} ${ne(e.paddingXS)} 0`,border:0,borderTop:`${ne(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${ne(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${ne(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${ne(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},kK=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},LM(e)),FK=Mn("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Pt(e,FM(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[DK(n)]},kK);function zM(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function r(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}return i=>{const{prefixCls:a,className:s,rootClassName:l,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:m,cellRender:h,fullCellRender:v,headerRender:b,value:y,defaultValue:x,disabledDate:S,mode:C,validRange:$,fullscreen:E=!0,onChange:w,onPanelChange:M,onSelect:T}=i,{getPrefixCls:N,direction:R,calendar:F}=p.exports.useContext(lt),z=N("picker",a),A=`${z}-calendar`,[k,_,P]=FK(z,A),O=e.getNow(),[L,I]=Yt(()=>y||e.getNow(),{defaultValue:x,value:y}),[H,D]=Yt("month",{value:C}),B=p.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=p.exports.useCallback(J=>($?e.isAfter($[0],J)||e.isAfter(J,$[1]):!1)||!!(S!=null&&S(J)),[S,$]),Y=(J,re)=>{M==null||M(J,re)},G=J=>{I(J),r(J,L)||((B==="date"&&!n(J,L)||B==="month"&&!t(J,L))&&Y(J,H),w==null||w(J))},j=J=>{D(J),Y(L,J)},V=(J,re)=>{G(J),T==null||T(J,{source:re})},X=()=>{const{locale:J}=i,re=Object.assign(Object.assign({},q0),J);return re.lang=Object.assign(Object.assign({},re.lang),(J||{}).lang),re
Line truncated
|
|
||||||
${r},
|
|
||||||
${o} > li,
|
|
||||||
${n},
|
|
||||||
${i},
|
|
||||||
${a},
|
|
||||||
${s}
|
|
||||||
`]:Object.assign({},jK(e))}}},KK=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},El=Mn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Pt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[YK(r)]},KK,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),GK=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls","className"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},f)})}))},qK=GK,XK=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-button`,size:a},f)})}))},QK=XK,ZK="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",JK=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=p.exports.useContext(lt),s=a("skeleton",t),[l,c,u]=El(s),d=oe(s,`${s}-element`,{[`${s}-active`]:i},n,r,c,u);return l(g("div",{className:d,children:g("div",{className:oe(`${s}-image`,n),style:o,children:g("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`,children:g("path",{d:ZK,className:`${s}-image-path`})})})}))},eG=JK,tG=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(jv,{...Object.assign({prefixCls:`${l}-input`,size:a},f)})}))},nG=tG,rG=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=El(l),f=oe(l,`${l}-element`,{[`${l}-active`]:i},u,n,r,d),m=a!=null?a:g(g7,{});return c(g("div",{className:f,children:g("div",{className:oe(`${l}-image`,n),style:o,children:m})}))},oG=rG,iG=e=>{const t=s=>{const{width:l,rows:c=2}=e;if(Array.isArray(l))return l[s];if(c-1===s)return l},{prefixCls:n,className:r,style:o,rows:i}=e,a=Te(Array(i)).map((s,l)=>g("li",{style:{width:t(l)}},l));return g("ul",{className:oe(n,r),style:o,children:a})},aG=iG,sG=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return g("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},lG=sG;function kh(e){return e&&typeof e=="object"?e:{}}function cG(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function uG(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function dG(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:m,skeleton:h}=p.exports.useContext(lt),v=f("skeleton",t),[b,y,x]=El(v);if(n||!("loading"in e)){const S=!!s,C=!!l,$=!!c;let E;if(S){const T=Object.assign(Object.assign({prefixCls:`${v}-avatar`},cG(C,$)),kh(s));E=g("div",{className:`${v}-header`,children:g(jv,{...Object.assign({},T)})})}let w;if(C||$){let T;if(C){const R=Object.assign(Object.assign({prefixCls:`${v}-title`},uG(S,$)),kh(l));T=g(lG,{...Object.assign({},R)})}let N;if($){const R=Object.assign(Objec
Line truncated
|
|
||||||
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
|
||||||
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:ne(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},HG=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ne(e.borderRadius)} ${ne(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ne(e.borderRadius)} ${ne(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ne(e.borderRadius)} ${ne(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ne(e.borderRadius)} 0 0 ${ne(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},VG=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Ev(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},WG=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ne(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ne(e.marginXS)},marginLeft:{_skip_check_:!0,value:ne(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_sk
Line truncated
|
|
||||||
> ${n}-typography,
|
|
||||||
> ${n}-typography-edit-content
|
|
||||||
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},tq=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
|
||||||
${ne(o)} 0 0 0 ${n},
|
|
||||||
0 ${ne(o)} 0 0 ${n},
|
|
||||||
${ne(o)} ${ne(o)} 0 0 ${n},
|
|
||||||
${ne(o)} 0 0 0 ${n} inset,
|
|
||||||
0 ${ne(o)} 0 0 ${n} inset;
|
|
||||||
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},nq=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:ne(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:ne(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${i}`}}})},rq=e=>Object.assign(Object.assign({margin:`${ne(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Pu()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Ui),"&-description":{color:e.colorTextDescription}}),oq=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${ne(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ne(e.padding)} ${ne(n)}`}}},iq=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},aq=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:s,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:eq(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),[`${n}-grid`]:tq(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:nq(e),[`${n}-meta`]:rq(e)}),[`${n}-bordered`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:oq(e),[`${n}-loading`]:iq(e),[`${n}-rtl`]:{direction:"rtl"}}},sq=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${ne(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},lq=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),cq=Mn("Card",e=>{const t=Pt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[aq(t),sq(t)]},lq);var C2=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const uq=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return g("ul",{className:t,style:r,children:n.map((o,i)=>{const a=`action-${i}`;return g("li",{style:{width:`${100/n.length}%`},children:g("span",{children:o})},a)})})},dq=p.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:s={},bodyStyle:l={},title:c,loadin
Line truncated
|
|
||||||
min-height:0 !important;
|
|
||||||
max-height:none !important;
|
|
||||||
height:0 !important;
|
|
||||||
visibility:hidden !important;
|
|
||||||
overflow:hidden !important;
|
|
||||||
position:absolute !important;
|
|
||||||
z-index:-1000 !important;
|
|
||||||
top:0 !important;
|
|
||||||
right:0 !important;
|
|
||||||
pointer-events: none !important;
|
|
||||||
`,Hq=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Fh={},kr;function Vq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Fh[n])return Fh[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=Hq.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(Fh[n]=l),l}function Wq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;kr||(kr=document.createElement("textarea"),kr.setAttribute("tab-index","-1"),kr.setAttribute("aria-hidden","true"),document.body.appendChild(kr)),e.getAttribute("wrap")?kr.setAttribute("wrap",e.getAttribute("wrap")):kr.removeAttribute("wrap");var o=Vq(e,t),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,l=o.sizingStyle;kr.setAttribute("style","".concat(l,";").concat(jq)),kr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=kr.scrollHeight;if(s==="border-box"?f+=a:s==="content-box"&&(f-=i),n!==null||r!==null){kr.value=" ";var m=kr.scrollHeight-i;n!==null&&(c=m*n,s==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=m*r,s==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var Uq=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Lh=0,zh=1,Bh=2,Yq=p.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=rt(n,Uq),m=Yt(o,{value:i,postState:function(W){return W!=null?W:""}}),h=ee(m,2),v=h[0],b=h[1],y=function(W){b(W.target.value),d==null||d(W)},x=p.exports.useRef();p.exports.useImperativeHandle(t,function(){return{textArea:x.current}});var S=p.exports.useMemo(function(){return a&&tt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=ee(S,2),$=C[0],E=C[1],w=!!a,M=function(){try{if(document.activeElement===x.current){var W=x.current,Y=W.selectionStart,G=W.selectionEnd,j=W.scrollTop;x.current.setSelectionRange(Y,G),x.current.scrollTop=j}}catch{}},T=p.exports.useState(Bh),N=ee(T,2),R=N[0],F=N[1],z=p.exports.useState(),A=ee(z,2),k=A[0],_=A[1],P=function(){F(Lh)};Lt(function(){w&&P()},[i,$,E,w]),Lt(function(){if(R===Lh)F(zh);else if(R===zh){var B=Wq(x.current,!1,$,E);F(Bh),_(B)}else M()},[R]);var O=p.exports.useRef(),L=function(){Et.cancel(O.current)},I=function(W){R===Bh&&(s==null||s(W),a&&(L(),O.current=Et(function(){P()})))};p.exports.useEffect(function(){return L},[]);var H=w?k:null,D=Q(Q({},c),H);return(R===Lh||R===zh)&&(D.overflowY="hidden",D.overflowX="hidden"),g(Ur,{onResize:I,disabled:!(a||s),children:g("textarea",{...f,ref:x,style:D,className:oe(r,l,U({},"".concat(r,"-disabled"),u)),disabled:u,value:v,onChange:y})})}),Kq=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],Gq=we.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,s=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,v=h===void 0?"rc-textarea":h,b=e.showCount,y=e.count,x=e.className,S=e.style,C=e.disabled,$=e.hidden,E=e.classNames,w=e.styles,M=e.onResize,T=rt(e,Kq),N=Yt(o,{value:i,defaultValue:o}),R=ee(N,2),F=R[0],z=R[1],A=F==null?"":String(F),k=we.useState(!1),_=ee(k,2),P=_[0],O=_[1],L=we.useRef(!1),I=we.useState(null),H=ee(I,2),D=H[0],B=H[1],W=p.exports.useRef(null),Y=function(){var ge;return(ge=W.current)===null||ge===void 0?void 0:ge.textArea},G=function(){Y().focus()};p.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:G,blur:function(){Y().blur()}}}),p.exports.useEffect(function(){O(function(Ee){return!C&&Ee})},[C]);var j=we.useState(null),V=ee(j,2),X=V[0],K=V[1];we.useEffect(function(){if(X){var Ee;(Ee=Y()).setSelectionRange.apply(Ee,Te(X))}},[X]);var q=qM(y,b),te=(n=q.max)!==null&&n!==void 0?n:u,ie=Number(te)>0,J=q.strategy(A),re=!!te&&J>te,fe=function(ge,Ae){var $e=Ae;!L.current&&q.exceedFormatter&&q.max&&q.strategy(Ae)>q.max&&($e=q.exceedFormat
Line truncated
|
|
||||||
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,noe=sn,roe=Bu,ooe=qa,By=J8,k$=noe("".replace),ioe=RegExp("^["+By+"]+"),aoe=RegExp("(^|[^"+By+"])["+By+"]+$"),pg=function(e){return function(t){var n=ooe(roe(t));return e&1&&(n=k$(n,ioe,"")),e&2&&(n=k$(n,aoe,"$1")),n}},soe={start:pg(1),end:pg(2),trim:pg(3)},eP=er,loe=an,coe=sn,uoe=qa,doe=soe.trim,foe=J8,poe=coe("".charAt),Ep=eP.parseFloat,F$=eP.Symbol,L$=F$&&F$.iterator,voe=1/Ep(foe+"-0")!==-1/0||L$&&!loe(function(){Ep(Object(L$))}),moe=voe?function(t){var n=doe(uoe(t)),r=Ep(n);return r===0&&poe(n,0)==="-"?-0:r}:Ep,hoe=bn,z$=moe;hoe({global:!0,forced:parseFloat!==z$},{parseFloat:z$});var goe=mr,yoe=goe.parseFloat,boe=yoe,xoe=boe;const Soe=xoe;var Coe=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},woe=Coe(),tP=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],$oe=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function Eoe(e,t){for(var n,r=Q8(n=Te(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,i=o%(t-1)+1,a=Z8(r).call(r,function(c,u){return c+u})%t,s=r[0]%t,l=0;l<o;l++)s=(i*s+a)%t;return s}function Tx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:tP;if(!e)return"transparent";var n=Eoe(e,t.length);return t[n]}function lm(e){e=""+e;var t=$oe.exec(e)||[],n=ee(t,3),r=n[1],o=r===void 0?0:r,i=n[2],a=i===void 0?"px":i;return{value:Soe(o),str:o+a,unit:a}}function cm(e){return e=lm(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,woe&&(e=e*2),e}function nP(e,t){var n,r,o,i=t.maxInitials;return j8(n=am(r=Q8(o=e.split(/\s/)).call(o,function(a){return a.substring(0,1).toUpperCase()})).call(r,function(a){return!!a})).call(n,0,i).join("").toUpperCase()}var Vd={};function Ooe(e,t){if(Vd[t]){Vd[t].push(e);return}var n=Vd[t]=[e];setTimeout(function(){delete Vd[t],n.forEach(function(r){return r()})},t)}function jy(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];if(i||i==="")return i;if(i===!1||i===null)return null}}function Rx(e){if(e===!0)return"100%";if(e!==!1)return e}function Moe(e){var t=Poe();return function(){var r=On(e),o;if(t){var i=On(this).constructor;o=fn(r,arguments,i)}else o=r.apply(this,arguments);return Ji(this,o)}}function Poe(){if(typeof Reflect>"u"||!fn||fn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(fn(Boolean,[],function(){})),!0}catch{return!1}}var Hy={cache:Ene,colors:tP,initials:nP,avatarRedirectUrl:null},Toe=Px(Hy),Nx=we.createContext&&we.createContext(),um=!Nx,Roe=um?null:Nx.Consumer,Noe=we.forwardRef||function(e){return e},Gi=function(e){Qr(n,e);var t=Moe(n);function n(){return Tt(this,n),t.apply(this,arguments)}return Rt(n,[{key:"_getContext",value:function(){var o=this,i={};return Toe.forEach(function(a){typeof o.props[a]<"u"&&(i[a]=o.props[a])}),i}},{key:"render",value:function(){var o=this.props.children;return um?we.Children.only(o):g(Nx.Provider,{value:this._getContext(),children:we.Children.only(o)})}}]),n}(we.Component);U(Gi,"displayName","ConfigProvider");U(Gi,"propTypes",{cache:Pe.exports.object,colors:Pe.exports.arrayOf(Pe.exports.string),initials:Pe.exports.func,avatarRedirectUrl:Pe.exports.string,children:Pe.exports.node});var rP=function(t){function n(r,o){if(um){var i=o&&o.reactAvatar;return g(t,{...Hy,...i,...r})}return g(Roe,{children:function(a){return g(t,{ref:o,...Hy,...a,...r})}})}return n.contextTypes=Gi.childContextTypes,Noe(n)};um&&(Gi.childContextTypes={reactAvatar:Pe.exports.object},Gi.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var dm={},Ioe=P8,Aoe=bx,_oe=Aoe.concat("length","prototype");dm.f=Object.getOwnPropertyNames||function(t){return Ioe(t,_oe)};var oP={},Doe=ta,koe=si,iP=dm.f,Foe=rm,aP=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Loe=function(e){try{return iP(e)}catch{return Foe(aP)}};oP.f=function(t){return aP&&Doe(t)==="Window"?Loe(t):iP(koe(t))};var zoe=em,sP=function(e,t,n,r){return r&&r.enumerable?e[t]=n:zoe(e,t,n),e},Boe=li,joe=function(e,t,n){return Boe.f(e,t,n)},Ix={},Hoe=$o;Ix.f=Hoe;var B$=mr,Voe=wo,Woe=Ix,Uoe=li.f,Yoe=function(e){var t=B$.Symbol||(B$.Symbol={});Voe(t,e)||Uoe(t,e,{value:Woe.f(e)})},Koe=na,Goe=ra,qoe=$o,Xoe=sP,Qoe=function(){var e=Goe("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=qoe("toPrimitive");t&&!t[r]&&Xoe(t,r,function(o){return Koe(n,this)},{arity:1})},Zoe=xx,Joe=Sx,eie=Zoe?{}.toString:function(){return"[object "+Joe(this)+"]"},tie=xx,nie=li.f,rie=em,oie=wo,iie=eie,aie=$o,j$=aie("toStringTag"),sie=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(oie(o,j$)||nie(o,j$,{configurable:!0,value:t}),r&&!tie&&rie(o,"toString",iie))}
Line truncated
|
|
||||||
* Determine if an object is a Buffer
|
|
||||||
*
|
|
||||||
* @author Feross Aboukhadijeh <https://feross.org>
|
|
||||||
* @license MIT
|
|
||||||
*/var Pse=function(e){return e!=null&&(zP(e)||Tse(e)||!!e._isBuffer)};function zP(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Tse(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&zP(e.slice(0,0))}(function(){var e=LP.exports,t=J$.utf8,n=Pse,r=J$.bin,o=function(i,a){i.constructor==String?a&&a.encoding==="binary"?i=r.stringToBytes(i):i=t.stringToBytes(i):n(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var s=e.bytesToWords(i),l=i.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,m=0;m<s.length;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=o._ff,v=o._gg,b=o._hh,y=o._ii,m=0;m<s.length;m+=16){var x=c,S=u,C=d,$=f;c=h(c,u,d,f,s[m+0],7,-680876936),f=h(f,c,u,d,s[m+1],12,-389564586),d=h(d,f,c,u,s[m+2],17,606105819),u=h(u,d,f,c,s[m+3],22,-1044525330),c=h(c,u,d,f,s[m+4],7,-176418897),f=h(f,c,u,d,s[m+5],12,1200080426),d=h(d,f,c,u,s[m+6],17,-1473231341),u=h(u,d,f,c,s[m+7],22,-45705983),c=h(c,u,d,f,s[m+8],7,1770035416),f=h(f,c,u,d,s[m+9],12,-1958414417),d=h(d,f,c,u,s[m+10],17,-42063),u=h(u,d,f,c,s[m+11],22,-1990404162),c=h(c,u,d,f,s[m+12],7,1804603682),f=h(f,c,u,d,s[m+13],12,-40341101),d=h(d,f,c,u,s[m+14],17,-1502002290),u=h(u,d,f,c,s[m+15],22,1236535329),c=v(c,u,d,f,s[m+1],5,-165796510),f=v(f,c,u,d,s[m+6],9,-1069501632),d=v(d,f,c,u,s[m+11],14,643717713),u=v(u,d,f,c,s[m+0],20,-373897302),c=v(c,u,d,f,s[m+5],5,-701558691),f=v(f,c,u,d,s[m+10],9,38016083),d=v(d,f,c,u,s[m+15],14,-660478335),u=v(u,d,f,c,s[m+4],20,-405537848),c=v(c,u,d,f,s[m+9],5,568446438),f=v(f,c,u,d,s[m+14],9,-1019803690),d=v(d,f,c,u,s[m+3],14,-187363961),u=v(u,d,f,c,s[m+8],20,1163531501),c=v(c,u,d,f,s[m+13],5,-1444681467),f=v(f,c,u,d,s[m+2],9,-51403784),d=v(d,f,c,u,s[m+7],14,1735328473),u=v(u,d,f,c,s[m+12],20,-1926607734),c=b(c,u,d,f,s[m+5],4,-378558),f=b(f,c,u,d,s[m+8],11,-2022574463),d=b(d,f,c,u,s[m+11],16,1839030562),u=b(u,d,f,c,s[m+14],23,-35309556),c=b(c,u,d,f,s[m+1],4,-1530992060),f=b(f,c,u,d,s[m+4],11,1272893353),d=b(d,f,c,u,s[m+7],16,-155497632),u=b(u,d,f,c,s[m+10],23,-1094730640),c=b(c,u,d,f,s[m+13],4,681279174),f=b(f,c,u,d,s[m+0],11,-358537222),d=b(d,f,c,u,s[m+3],16,-722521979),u=b(u,d,f,c,s[m+6],23,76029189),c=b(c,u,d,f,s[m+9],4,-640364487),f=b(f,c,u,d,s[m+12],11,-421815835),d=b(d,f,c,u,s[m+15],16,530742520),u=b(u,d,f,c,s[m+2],23,-995338651),c=y(c,u,d,f,s[m+0],6,-198630844),f=y(f,c,u,d,s[m+7],10,1126891415),d=y(d,f,c,u,s[m+14],15,-1416354905),u=y(u,d,f,c,s[m+5],21,-57434055),c=y(c,u,d,f,s[m+12],6,1700485571),f=y(f,c,u,d,s[m+3],10,-1894986606),d=y(d,f,c,u,s[m+10],15,-1051523),u=y(u,d,f,c,s[m+1],21,-2054922799),c=y(c,u,d,f,s[m+8],6,1873313359),f=y(f,c,u,d,s[m+15],10,-30611744),d=y(d,f,c,u,s[m+6],15,-1560198380),u=y(u,d,f,c,s[m+13],21,1309151649),c=y(c,u,d,f,s[m+4],6,-145523070),f=y(f,c,u,d,s[m+11],10,-1120210379),d=y(d,f,c,u,s[m+2],15,718787259),u=y(u,d,f,c,s[m+9],21,-343485551),c=c+x>>>0,u=u+S>>>0,d=d+C>>>0,f=f+$>>>0}return e.endian([c,u,d,f])};o._ff=function(i,a,s,l,c,u,d){var f=i+(a&s|~a&l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._gg=function(i,a,s,l,c,u,d){var f=i+(a&l|s&~l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._hh=function(i,a,s,l,c,u,d){var f=i+(a^s^l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._ii=function(i,a,s,l,c,u,d){var f=i+(s^(a|~l))+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._blocksize=16,o._digestsize=16,FP.exports=function(i,a){if(i==null)throw new Error("Illegal argument "+i);var s=e.wordsToBytes(o(i,a));return a&&a.asBytes?s:a&&a.asString?r.bytesToString(s):e.bytesToHex(s)}})();var BP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),U(this,"get",function(r){var o=n.props,i=o.md5Email||FP.exports(o.email),a=cm(o.size),s="https://secure.gravatar.com/avatar/".concat(i,"?d=404");a&&(s+="&s=".concat(a)),r({sourceName:"gravatar",src:s})}),this.props=t});U(BP,"propTypes",{email:Pe.exports.string,md5Email:Pe.exports.string});var jP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.facebookId}),U(this,"get",function(r){var o,i=n.props.facebookId,a=cm(n.props.size),s="https://graph.facebook.com/".concat(i,"/picture");a&&(s+=Nc(o="?width=".concat(a,"&height=")).call(o,a)),r({sourceName:"facebook",src:s})}),this.props=t});U(jP,"propTypes",{facebookId:Pe.exports.string});var HP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.githubHandle}),U(this,"get",function(r){var o=n.props.githubHandle,i=cm(n.props.size),a="https://avatars.githubusercontent.com/".concat(o,"?v=4");i&&(a+="&s=".concat(i)),r({sourceName:"github",src:a})}),this.props=t});U(HP,"propTypes",{githubHandle:Pe.exports.string});var VP=Rt(function e(t){var n=this;Tt(this,e),U(this,"props",null),U(this,"isCompatible",function(){return!!n.props.skypeId}),U(this,"get",funct
Line truncated
|
|
||||||
object-assign
|
|
||||||
(c) Sindre Sorhus
|
|
||||||
@license MIT
|
|
||||||
*/var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(d).map(function(v){return d[v]});if(m.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(v){h[v]=v}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,m=l(u),h,v=1;v<arguments.length;v++){f=Object(arguments[v]);for(var b in f)a.call(f,b)&&(m[b]=f[b]);if(i){h=i(f);for(var y=0;y<h.length;y++)s.call(f,h[y])&&(m[h[y]]=f[h[y]])}}return m}},function(n,r,o){var i=o(1),a=i;n.exports=a},function(n,r,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,r,o){var i={};n.exports=i},function(n,r,o){function i(a,s,l,c,u){}n.exports=i},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(C){for(var $=1;$<arguments.length;$++){var E=arguments[$];for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(C[w]=E[w])}return C},a=function(){function C($,E){for(var w=0;w<E.length;w++){var M=E[w];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty($,M.key,M)}}return function($,E,w){return E&&C($.prototype,E),w&&C($,w),$}}(),s=o(8),l=h(s),c=o(11),u=h(c),d=o(14),f=m(d);function m(C){if(C&&C.__esModule)return C;var $={};if(C!=null)for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&($[E]=C[E]);return $.default=C,$}function h(C){return C&&C.__esModule?C:{default:C}}function v(C,$){var E={};for(var w in C)$.indexOf(w)>=0||!Object.prototype.hasOwnProperty.call(C,w)||(E[w]=C[w]);return E}function b(C,$){if(!(C instanceof $))throw new TypeError("Cannot call a class as a function")}function y(C,$){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $&&(typeof $=="object"||typeof $=="function")?$:C}function x(C,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof $);C.prototype=Object.create($&&$.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),$&&(Object.setPrototypeOf?Object.setPrototypeOf(C,$):C.__proto__=$)}var S=function(C){x($,C);function $(){var E,w,M,T;b(this,$);for(var N=arguments.length,R=Array(N),F=0;F<N;F++)R[F]=arguments[F];return T=(w=(M=y(this,(E=$.__proto__||Object.getPrototypeOf($)).call.apply(E,[this].concat(R))),M),M.state={delayed:M.props.delay>0},w),y(M,T)}return a($,[{key:"componentDidMount",value:function(){var w=this,M=this.props.delay,T=this.state.delayed;T&&(this.timeout=setTimeout(function(){w.setState({delayed:!1})},M))}},{key:"componentWillUnmount",value:function(){var w=this.timeout;w&&clearTimeout(w)}},{key:"render",value:function(){var w=this.props,M=w.color;w.delay;var T=w.type,N=w.height,R=w.width,F=v(w,["color","delay","type","height","width"]),z=this.state.delayed?"blank":T,A=f[z],k={fill:M,height:N,width:R};return l.default.createElement("div",i({style:k,dangerouslySetInnerHTML:{__html:A}},F))}}]),$}(s.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) 2013-present, Facebook, Inc.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/var i=o(2),a=o(0),s=o(5),l=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,m=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.provider"):60109,v=c?Symbol.for("react.context"):60110,b=c?Symbol.for("react.async_mode"):60111,y=c?Symbol.for("react.forward_ref"):60112,x=typeof Symbol=="function"&&Symbol.iterator;function S(j){for(var V=arguments.length-1,X="http://reactjs.org/docs/error-decoder.html?invariant="+j,K=0;K<V;K++)X+="&args[]="+encodeURIComponent(arguments[K+1]);a(!1,"Minified React error #"+j+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",X)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function $(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||C}$.prototype.isReactComponent={},$.prototype.setState=function(j,V){typeof j!="object"&&typeof j!="function"&&j!=null&&S("85"),this.updater.enqueueSetState(this,j,V,"setState")},$.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=$.prototype;function w(j,V,X){this.props=j,this.context=V,this.refs=s,this.updater=X||C}var M=w.prototype=new E;M.constructor=w,i(M,$.prototype),M.isPureReactComponent=!0;var T={current:null},N=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function F(j,V,X){var K=void 0,q={},te=null,ie=null;if(V!=null)for(K in V.ref!==void 0&&(ie=V.ref),V.key!==void 0&&(te=""+V.key),V)N.call(V,K)&&!R.hasOwnProperty(K)&&(q[K]=V[K]);var J=arguments.length-2;if(J===1)q.children=X;else if(1<J){for(var re=Array(J),fe=0;fe<J;fe++)re[fe]=arguments[fe+2];q.children=re}if(j&&j.defaultProps)for(K in J=j.defaultProps,J)q[K]===void 0&&(q[K]=J[K]);return{$$typeof:u,type:j,key:te,ref:ie,props:q,_owner:T.current}}function z(j){return typeof j=="object"&&j!==null&&j.$$typeof===u}function A(j){var V={"=":"=0",":":"=2"};return"$"+(""+j).replace(/[=:]/g,function(X){return V[X]})}var k=/\/+/g,_=[];function P(j,V,X,K){if(_.length){var q=_.pop();return q.result=j,q.keyPrefix=V,q.func=X,q.context=K,q.count=0,q}return{result:j,keyPrefix:V,func:X,context:K,count:0}}function O(j){j.result=null,j.keyPrefix=null,j.func=null,j.context=null,j.count=0,10>_.length&&_.push(j)}function L(j,V,X,K){var q=typeof j;(q==="undefined"||q==="boolean")&&(j=null);var te=!1;if(j===null)te=!0;else switch(q){case"string":case"number":te=!0;break;case"object":switch(j.$$typeof){case u:case d:te=!0}}if(te)return X(K,j,V===""?"."+I(j,0):V),1;if(te=0,V=V===""?".":V+":",Array.isArray(j))for(var ie=0;ie<j.length;ie++){q=j[ie];var J=V+I(q,ie);te+=L(q,J,X,K)}else if(j===null||typeof j>"u"?J=null:(J=x&&j[x]||j["@@iterator"],J=typeof J=="function"?J:null),typeof J=="function")for(j=J.call(j),ie=0;!(q=j.next()).done;)q=q.value,J=V+I(q,ie++),te+=L(q,J,X,K);else q==="object"&&(X=""+j,S("31",X==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":X,""));return te}function I(j,V){return typeof j=="object"&&j!==null&&j.key!=null?A(j.key):V.toString(36)}function H(j,V){j.func.call(j.context,V,j.count++)}function D(j,V,X){var K=j.result,q=j.keyPrefix;j=j.func.call(j.context,V,j.count++),Array.isArray(j)?B(j,K,X,l.thatReturnsArgument):j!=null&&(z(j)&&(V=q+(!j.key||V&&V.key===j.key?"":(""+j.key).replace(k,"$&/")+"/")+X,j={$$typeof:u,type:j.type,key:V,ref:j.ref,props:j.props,_owner:j._owner}),K.push(j))}function B(j,V,X,K,q){var te="";X!=null&&(te=(""+X).replace(k,"$&/")+"/"),V=P(V,te,K,q),j==null||L(j,"",D,V),O(V)}var W={Children:{map:function(j,V,X){if(j==null)return j;var K=[];return B(j,K,null,V,X),K},forEach:function(j,V,X){if(j==null)return j;V=P(null,null,V,X),j==null||L(j,"",H,V),O(V)},count:function(j){return j==null?0:L(j,"",l.thatReturnsNull,null)},toArray:function(j){var V=[];return B(j,V,null,l.thatReturnsArgument),V},only:function(j){return z(j)||S("143"),j}},createRef:function(){return{current:null}},Component:$,PureComponent:w,createContext:function(j,V){return V===void 0&&(V=null),j={$$typeof:v,_calculateChangedBits:V,_defaultValue:j,_currentValue:j,_changedBits:0,Provider:null,Consumer:null},j.Provider={$$typeof:h,_context:j},j.Consumer=j},forwardRef:function(j){return{$$typeof:y,render:j}},Fragment:f,StrictMode:m,unstable_AsyncMode:b,createElement:F,cloneElement:function(j,V,X){j==null&&S("267",j);var K=void 0,q=i({},j.props),te=j.key,ie=j.ref,J=j._owner;if(V!=null){V.ref!==void 0&&(ie=V.ref,J=T.current),V.key!==void 0&&(te=""+V.key);var re=void 0;j.type&&j.type.defaultProps&&(re=j.type.defaultProps);for(K in V)N.call(V,K)&&!R.hasOwnProperty(K)&&(q[K]=V[K]===void 0&&re!==void 0?re[K]:V[K])}if(K=arguments.length-2,K===1)q.children=X;else if(1<K){re=Array(K);for(var fe=0;fe<K;fe++)re[fe]=arguments[fe+2];q.children=re}return{$$typeof:u,type:j.type,key:te,ref:ie,props:q,_owner:J}},createFactory:Line truncated
|
|
||||||
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var J=ie(X,te,G,j,V+"."+te,c);if(J)return J}return null}return C(B)}function _(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(_);if(D===null||d(D))return!0;var B=v(D);if(B){var W=B.call(D),Y;if(B!==D.entries){for(;!(Y=W.next()).done;)if(!_(Y.value))return!1}else for(;!(Y=W.next()).done;){var G=Y.value;if(G&&!_(G[1]))return!1}}else return!1;return!0;default:return!1}}function P(D,B){return D==="symbol"||B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol}function O(D){var B=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":P(B,D)?"symbol":B}function L(D){if(typeof D>"u"||D===null)return""+D;var B=O(D);if(B==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return B}function I(D){var B=L(D);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function H(D){return!D.constructor||!D.constructor.name?b:D.constructor.name}return y.checkPropTypes=u,y.PropTypes=y,y}},function(n,r,o){var i=o(1),a=o(0),s=o(4);n.exports=function(){function l(d,f,m,h,v,b){b!==s&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}l.isRequired=l;function c(){return l}var u={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=i,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return h(i).default}});var a=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return h(a).default}});var s=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return h(s).default}});var l=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return h(l).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return h(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return h(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return h(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return h(f).default}});var m=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return h(m).default}});function h(v){return v&&v.__esModule?v:{default:v}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
|
||||||
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
|
||||||
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
|
||||||
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
|
||||||
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
|
||||||
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
|
||||||
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<circle cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
|
||||||
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
|
||||||
</circle>
|
|
||||||
</svg>
|
|
||||||
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
|
||||||
</path>
|
|
||||||
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
|
||||||
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
|
||||||
</path>
|
|
||||||
</svg>
|
|
||||||
`}])})})(GP);const qP=hu(GP.exports);function Rp(e){window.runtime.LogInfo(e)}function Jse(e,t,n){return window.runtime.EventsOnMultiple(e,t,n)}function XP(e,t){return Jse(e,t,-1)}function QP(e,...t){return window.runtime.EventsOff(e,...t)}function ele(){window.runtime.WindowToggleMaximise()}function tle(){window.runtime.WindowMinimise()}function Xo(e){window.runtime.BrowserOpenURL(e)}function Xy(){window.runtime.Quit()}function nle(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function rle(e){return g("div",{className:"wechat-SearchBar",children:g(Rb,{theme:{components:{Input:{activeBorderColor:"#E3E4E5",activeShadow:"#E3E4E5",hoverBorderColor:"#E3E4E5"}}},children:g(QM,{className:"wechat-SearchBar-Input",placeholder:"\u641C\u7D22",prefix:g(lv,{}),allowClear:!0,onChange:t=>e.onChange(t.target.value)})})})}function ole({className:e,userInfo:t,onClick:n,msg:r,date:o}){return Z("div",{className:`${e} wechat-UserItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),Z("div",{className:"wechat-UserItem-content",children:[g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""}),g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-msg",children:r})]}),g("div",{className:"wechat-UserItem-date",children:o})]})}function ile({className:e,userInfo:t,onClick:n}){return Z("div",{className:`${e} wechat-UserItem wechat-ContactItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),g("div",{className:"wechat-UserItem-content wechat-ContactItem-content",children:g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""})})]})}function ale(e){const t=new Date(e*1e3),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return t.getHours(),t.getMinutes(),t.getSeconds(),`${n-2e3}/${r}/${o}`}function sle(e){const[t,n]=p.exports.useState(null),[r,o]=p.exports.useState(0),[i,a]=p.exports.useState(!0),[s,l]=p.exports.useState([]),[c,u]=p.exports.useState(""),d=p.exports.useRef(!1),f=(v,b)=>{n(v),e.onClickItem&&e.onClickItem(b)};p.exports.useEffect(()=>{d.current||(d.current=!0,i&&e.selfName!==""&&(console.log("GetWechatSessionList",r),e.session?Kse(r,100).then(v=>{var b=JSON.parse(v);if(b.Total>0){let y=[];b.Rows.forEach(x=>{x.UserName.startsWith("gh_")||y.push(x)}),l(x=>[...x,...y]),o(x=>x+1)}else a(!1);d.current=!1}):Hse(r,800).then(v=>{var b=JSON.parse(v);if(b.Total>0){let y=[];b.Users.forEach(x=>{if(!x.UserName.startsWith("gh_")){const S=new Date;x.Time=parseInt(S.getTime()/1e3),y.push(x)}}),l(x=>[...x,...y]),o(x=>x+1)}else a(!1);d.current=!1})))},[r,i,e.selfName]);const m=p.exports.useCallback(nle(v=>{console.log(v),u(v)},400),[]),h=s.filter(v=>v.NickName.includes(c)||v.ReMark!==void 0&&v.ReMark.includes(c));return Z("div",{className:"wechat-UserList",onClick:e.onClick,children:[g(rle,{onChange:m}),c.length===0&&h.length===0&&(e.isLoading||d.current===!0)&&g(qP,{className:"wechat-UserList-Loading",type:"bars",color:"#07C160"}),Z("div",{className:"wechat-UserList-Items",children:[h.map((v,b)=>e.session?g(ole,{className:t===b?"selectedItem":"",onClick:()=>{f(b,v)},userInfo:v.UserInfo,msg:v.Content,date:ale(v.Time)},v.UserName):g(ile,{className:t===b?"selectedItem":"",onClick:()=>{f(b,v)},userInfo:v},v.UserName)),g("div",{className:"wechat-UserList-End",children:"- \u5DF2\u7ECF\u5230\u5E95\u5566 -"})]})]})}function ZP(e,t){return function(){return e.apply(t,arguments)}}const{toString:lle}=Object.prototype,{getPrototypeOf:Bx}=Object,bm=(e=>t=>{const n=lle.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Eo=e=>(e=e.toLowerCase(),t=>bm(t)===e),xm=e=>t=>typeof t===e,{isArray:Tl}=Array,pu=xm("undefined");function cle(e){return e!==null&&!pu(e)&&e.constructor!==null&&!pu(e.constructor)&&Er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const JP=Eo("ArrayBuffer");function ule(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&JP(e.buffer),t}const dle=xm("string"),Er=xm("function"),eT=xm("number"),Sm=e=>e!==null&&typeof e=="object",fle=e=>e===!0||e===!1,Sf=e=>{if(bm(e)!=="object")return!1;const t=Bx(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ple=Eo("Date"),vle=Eo("File"),mle=Eo("Blob"),hle=Eo("FileList"),gle=e=>Sm(e)&&Er(e.pipe),yle=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Er(e.append)&&((t=bm(e))==="formdata"||t==="object"&&Er(e.toString)&&e.toString()==="[object FormData]"))},ble=Eo("URLSearchParams"),[xle,Sle,Cle,wle]=["ReadableStream","Request","Response","Headers"].map(Eo),$le=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qu(e,t,{allOwnKeys:n=!1}={}){if(
Line truncated
|
|
||||||
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&uce[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},s4=Symbol("internals");function tc(e){return e&&String(e).trim().toLowerCase()}function Cf(e){return e===!1||e==null?e:ce.isArray(e)?e.map(Cf):String(e)}function fce(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const pce=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wg(e,t,n,r,o){if(ce.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ce.isString(t)){if(ce.isString(r))return t.indexOf(r)!==-1;if(ce.isRegExp(r))return r.test(t)}}function vce(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function mce(e,t){const n=ce.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class wm{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const u=tc(l);if(!u)throw new Error("header name must be a non-empty string");const d=ce.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Cf(s))}const a=(s,l)=>ce.forEach(s,(c,u)=>i(c,u,l));if(ce.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(ce.isString(t)&&(t=t.trim())&&!pce(t))a(dce(t),n);else if(ce.isHeaders(t))for(const[s,l]of t.entries())i(l,s,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=tc(t),t){const r=ce.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return fce(o);if(ce.isFunction(n))return n.call(this,o,r);if(ce.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=tc(t),t){const r=ce.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||wg(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=tc(a),a){const s=ce.findKey(r,a);s&&(!n||wg(r,r[s],s,n))&&(delete r[s],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||wg(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ce.forEach(this,(o,i)=>{const a=ce.findKey(r,i);if(a){n[a]=Cf(o),delete n[i];return}const s=t?vce(i):String(i).trim();s!==i&&delete n[i],n[s]=Cf(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ce.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ce.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
||||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[s4]=this[s4]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=tc(a);r[s]||(mce(o,a),r[s]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}wm.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors(wm.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ce.freezeMethods(wm);const ho=wm;function $g(e,t){const n=this||Wx,r=t||n,o=ho.from(r.headers);let i=r.data;return ce.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function pT(e){return!!(e&&e.__CANCEL__)}function Rl(e,t,n){dt.call(this,e==null?"canceled":e,dt.ERR_CANCELED,t,n),this.name="CanceledError"}ce.inherits(Rl,dt,{__CANCEL__:!0});function vT(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new dt("Request failed with status code "+n.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function hce(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gce(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];a||(a=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const m=u&&c-u;return m?Math.round(f*1e3/m):void 0}}function yce(e,t){let n=0,r=1e3/t,o,i;const a=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const Np=(e,t,n=3)=>{let r=0;const o=gce(50,250);return yce(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,c=o(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},l4=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},c4=e=>(...t)=>ce.asap(()=>e(...t)),bce=fr.hasStandardBrowserEnv?function(){const t=fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=ce.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),xce=fr.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];ce.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ce.isString(r)&&a.push("path="+r),ce.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Sce(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Cce(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function mT(e,t){return e&&!Sce(t)?Cce(e,t):t}const u4=e=>e instanceof ho?{...e}:e;function ja(e,t){t=t||{};const n={};function r(c,u,d){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:d},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,d){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ce.isUndefined(u))return r(void 0,u)}function a(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(u4(c),u4(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);ce.isUndefined(f)&&d!==s||(n[u]=f)}),n}const hT=e=>{const t=ja({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=ho.from(a),t.url=uT(mT(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.pas
Line truncated
|
|
||||||
`+i.map(p4).join(`
|
|
||||||
`):" "+p4(i[0]):"as no adapter specified";throw new dt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:t1};function Eg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Rl(null,e)}function v4(e){return Eg(e),e.headers=ho.from(e.headers),e.data=$g.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bT.getAdapter(e.adapter||Wx.adapter)(e).then(function(r){return Eg(e),r.data=$g.call(e,e.transformResponse,r),r.headers=ho.from(r.headers),r},function(r){return pT(r)||(Eg(e),r&&r.response&&(r.response.data=$g.call(e,e.transformResponse,r.response),r.response.headers=ho.from(r.response.headers))),Promise.reject(r)})}const xT="1.7.7",Ux={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ux[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const m4={};Ux.transitional=function(t,n,r){function o(i,a){return"[Axios v"+xT+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new dt(o(a," has been removed"+(n?" in "+n:"")),dt.ERR_DEPRECATED);return n&&!m4[a]&&(m4[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function kce(e,t,n){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new dt("option "+i+" must be "+l,dt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new dt("Unknown option "+i,dt.ERR_BAD_OPTION)}}const n1={assertOptions:kce,validators:Ux},yi=n1.validators;class Ap{constructor(t){this.defaults=t,this.interceptors={request:new a4,response:new a4}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
||||||
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ja(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&n1.assertOptions(r,{silentJSONParsing:yi.transitional(yi.boolean),forcedJSONParsing:yi.transitional(yi.boolean),clarifyTimeoutError:yi.transitional(yi.boolean)},!1),o!=null&&(ce.isFunction(o)?n.paramsSerializer={serialize:o}:n1.assertOptions(o,{encode:yi.function,serialize:yi.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ce.merge(i.common,i[n.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ho.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!l){const h=[v4.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=s.length;let m=n;for(d=0;d<f;){const h=s[d++],v=s[d++];try{m=h(m)}catch(b){v.call(this,b);break}}try{u=v4.call(this,m)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=ja(this.defaults,t);const n=mT(t.baseURL,t.url);return uT(n,t.params,t.paramsSerializer)}}ce.forEach(["delete","get","head","options"],function(t){Ap.prototype[t]=function(n,r){return this.request(ja(r||{},{method:t,url:n,data:(r||{}).data}))}});ce.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,s){return this.request(ja(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ap.prototype[t]=n(),Ap.prototype[t+"Form"]=n(!0)});const wf=Ap;class Yx{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Rl(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Yx(function(o){t=o}),cancel:t}}}const Fce=Yx;function Lce(e){return function(n){return e.apply(null,n)}}function zce(e){return ce.isObject(e)&&e.isAxiosError===!0}const r1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(r1).forEach(([e,t])=>{r1[t]=e});const Bce=r1;function ST(e){const t=new wf(e),n=ZP(wf.prototype.request,t);return ce.extend(n,wf.prototype,t,{allOwnKeys:!0}),ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return ST(ja(e,o))},n}const pn=ST(Wx);pn.Axios=wf;pn.CanceledError=Rl;pn.CancelToken=Fce;pn.isCancel=pT;pn.VERSION=xT;pn.toFormData=Cm;pn.AxiosError=dt;pn.Cancel=pn.CanceledError;pn.all=function(t){return Promise.all(t)};pn.spread=Lce;pn.isAxiosError=zce;pn.mergeConfig=ja;pn.AxiosHeaders=ho;pn.formToJSON=e=>fT(ce.isHTMLForm(e)?new FormData(e):e);pn.getAdapter=bT.getAdapter;pn.HttpStatusCode=Bce;pn.default=pn;const jce=pn;const Hce=({isOpen:e,closeModal:t,elem:n})=>{const r=o=>{t&&t()};return Z("div",{className:"MessageModal-Parent",children:[g("div",{}),g(Co,{className:"MessageModal",overlayClassName:"MessageModal-Overlay"
Line truncated
|
|
||||||
happen because the element may not have been added to DOM yet.
|
|
||||||
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
|
||||||
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var i=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(i,r.props.scrollThreshold):r.isElementAtBottom(i,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=i.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Jce(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
|
||||||
Pull Down To Refresh functionality will not work
|
|
||||||
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?Ic(Ic({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=y4(r);return i.unit===qs.Pixel?n.scrollTop<=i.value+o-n.scrollHeight+1:n.scrollTop<=i.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=y4(r);return i.unit===qs.Pixel?n.scrollTop+o>=n.scrollHeight-i.value:n.scrollTop+o>=i.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=Ic({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return g("div",{style:i,className:"infinite-scroll-component__outerdiv",children:Z("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r,children:[this.props.pullDownToRefresh&&g("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a},children:g("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(p.exports.Component);const eue=p.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=p.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message]);return Z("div",{className:"MessageBubble",id:e.id,ref:t,children:[g("time",{className:"Time",dateTime:Ht(e.message.createdAt).format(),children:Ht(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:Z("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-content-Avatar",children:r&&g(oi,{className:"MessageBubble-Avatar-left",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),Z("div",{className:"Bubble"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.userInfo.ReMark||e.message.userInfo.NickName||e.message.userInfo.Alias||""}),o]}),g("div",{className:"MessageBubble-content-Avatar",children:!r&&g(oi,{className:"MessageBubble-Avatar-right",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})});function tue(e){const t=p.exports.useRef(),n=p.exports.useRef(0),r=p.exports.useRef(null),o=a=>{a.srcElement.scrollTop>0&&a.srcElement.scrollTop<1&&(a.srcElement.scrollTop=0),a.srcElement.scrollTop===0?(n.current=a.srcElement.scrollHeight,r.current=a.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function i(){e.next()}return p.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n.current=0,r.current=null)},[e.messages]),p.exports.useEffect(()=>{t.current&&t.current.scrollIntoView()},[e.messages]),g("div",{id:"scrollableDiv",children:g(Kx,{scrollableTarget:"scrollableDiv",dataLength:e.messages.length,next:i,hasMore:e.hasMore,inverse:!0,onScroll:o,children:e.messages.map(a=>g(eue,{message:a,renderMessageContent:e.renderMessageContent,id:a.key,ref:a.key===e.scrollIntoId?t:null},a.key))})})}function nue(e){return g("div",{className:"ChatUi",children:g(tue,{messages:e.messages,next:e.fetchMoreData,hasMore:e.hasMore,renderMessageContent:e.renderMessageContent,atBottom:e.atBottom,scrollIntoId:e.scrollIntoId})})}function Gx(e){const[t,n]=p.exports.useState(e);return{messages:t,prependMsgs:a=>{n(a.concat(t))},appendMsgs:a=>{n(t.concat(a))},setMsgs:a=>{n(a)}}}const CT="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ
Line truncated
|
|
||||||
`).forEach((c,u)=>{u>0&&i.push(g("br",{},`${s}-${u}`)),i.push(c)}):i.push(a)}),i};function Ac(e){const t=p.exports.useMemo(()=>ufe(x4),[]),[n,r]=p.exports.useState([]);return p.exports.useEffect(()=>{const o=dfe(e.text,x4,t);r(o)},[e.text,t]),g(hq,{className:"CardMessageText "+e.className,size:"small",children:g(At,{children:n})})}const ffe=e=>!!e&&e[0]==="o",S4=pr.exports.unstable_batchedUpdates||(e=>e()),hs=(e,t,n=1e-4)=>Math.abs(e-t)<n,i1=(e,t)=>e===!0||!!(e&&e[t]),go=(e,t)=>typeof e=="function"?e(t):e,qx=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...i)=>{o(...i),r(...i)}:e[n]=o}),e),pfe=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},Og=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function wT(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function C4(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const _p=({block:e,element:t,modifiers:n,className:r})=>p.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let i=o;n&&Object.keys(n).forEach(s=>{const l=n[s];l&&(i+=` ${o}--${l===!0?s:`${s}-${l}`}`)});let a=typeof r=="function"?r(n):r;return typeof a=="string"&&(a=a.trim(),a&&(i+=` ${a}`)),i},[e,t,n,r]),vfe="szh-menu-container",$f="szh-menu",mfe="arrow",hfe="item",$T=p.exports.createContext(),ET=p.exports.createContext({}),w4=p.exports.createContext({}),OT=p.exports.createContext({}),gfe=p.exports.createContext({}),Xx=p.exports.createContext({}),Yo=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),mn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),vu=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),$4=Object.freeze({FIRST:"first",LAST:"last"}),Mg="absolute",yfe="presentation",MT="menuitem",E4={"aria-hidden":!0,role:MT},bfe=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:i,transition:a,onClose:s})=>{const l=i1(a,"item");return g("div",{...qx({onKeyDown:({key:d})=>{switch(d){case Yo.ESC:go(s,{key:d,reason:vu.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&go(s,{reason:vu.BLUR})}},n),className:_p({block:vfe,modifiers:p.exports.useMemo(()=>({theme:i,itemTransition:l}),[i,l]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},xfe=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},Sfe=(e,t)=>{const[n,r]=p.exports.useState(),i=p.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,a=p.exports.useCallback((l,c)=>{const{items:u}=i;if(!l)i.items=[];else if(c)u.push(l);else{const d=u.indexOf(l);d>-1&&(u.splice(d,1),l.contains(document.activeElement)&&(t.current.focus(),r()))}i.hoverIndex=-1,i.sorted=!1},[i,t]),s=p.exports.useCallback((l,c,u)=>{const{items:d,hoverIndex:f}=i,m=()=>{if(i.sorted)return;const b=e.current.querySelectorAll(".szh-menu__item");d.sort((y,x)=>C4(b,y)-C4(b,x)),i.sorted=!0};let h=-1,v;switch(l){case mn.RESET:break;case mn.SET:v=c;break;case mn.UNSET:v=b=>b===c?void 0:b;break;case mn.FIRST:m(),h=0,v=d[h];break;case mn.LAST:m(),h=d.length-1,v=d[h];break;case mn.SET_INDEX:m(),h=u,v=d[h];break;case mn.INCREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),v=d[h];break;case mn.DECREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),v=d[h];break}v||(h=-1),r(v),i.hoverIndex=h},[e,i]);return{hoverItem:n,dispatch:s,updateItems:a}},Cfe=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),i=e.current.getBoundingClientRect(),a=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=pfe(r),l=h=>h+i.left-a.left-s.left,c=h=>h+i.left+o.width-a.right+s.right,u=h=>h+i.top-a.top-s.top,d=h=>h+i.top+o.height-a.bottom+s.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let v=l(h);if(v<0)h-=v;else{const b=c(h);b>0&&(h-=b,v=l(h),v<0&&(h-=v))}return h},confineVertically:h=>{let v=u(h);if(v<0)h-=v;else{const b=d(h);b>0&&(h-=b,v=u(h),v<0&&(h-=v))}return h}}},wfe=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let i=n.top-r.top-t+n.height/2;const a=e.current.offsetHeight*1.25;return i=Math.max(a,i),i=Math.min(i,o.height-a),i},$fe=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:i,getLeftOverflow:a,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:m})=>{let h=f,v=r;m!=="initial"&&(v=c(v),m==="anchor"&&(v=Math.min(v,e
Line truncated
|
|
||||||
* clipboard.js v2.0.11
|
|
||||||
* https://clipboardjs.com/
|
|
||||||
*
|
|
||||||
* Licensed MIT © Zeno Rocha
|
|
||||||
*/(function(e,t){(function(r,o){e.exports=o()})(Hn,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return H}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),m=s.n(f);function h(D){try{return document.execCommand(D)}catch{return!1}}var v=function(B){var W=m()(B);return h("cut"),W},b=v;function y(D){var B=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[B?"right":"left"]="-9999px";var Y=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(Y,"px"),W.setAttribute("readonly",""),W.value=D,W}var x=function(B,W){var Y=y(B);W.container.appendChild(Y);var G=m()(Y);return h("copy"),Y.remove(),G},S=function(B){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},Y="";return typeof B=="string"?Y=x(B,W):B instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(B==null?void 0:B.type)?Y=x(B.value,W):(Y=m()(B),h("copy")),Y},C=S;function $(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(W){return typeof W}:$=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},$(D)}var E=function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=B.action,Y=W===void 0?"copy":W,G=B.container,j=B.target,V=B.text;if(Y!=="copy"&&Y!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&$(j)==="object"&&j.nodeType===1){if(Y==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(Y==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return C(V,{container:G});if(j)return Y==="cut"?b(j):C(j,{container:G})},w=E;function M(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(W){return typeof W}:M=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},M(D)}function T(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function N(D,B){for(var W=0;W<B.length;W++){var Y=B[W];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(D,Y.key,Y)}}function R(D,B,W){return B&&N(D.prototype,B),W&&N(D,W),D}function F(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&z(D,B)}function z(D,B){return z=Object.setPrototypeOf||function(Y,G){return Y.__proto__=G,Y},z(D,B)}function A(D){var B=P();return function(){var Y=O(D),G;if(B){var j=O(this).constructor;G=Reflect.construct(Y,arguments,j)}else G=Y.apply(this,arguments);return k(this,G)}}function k(D,B){return B&&(M(B)==="object"||typeof B=="function")?B:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},O(D)}function L(D,B){var W="data-clipboard-".concat(D);if(!!B.hasAttribute(W))return B.getAttribute(W)}var I=function(D){F(W,D);var B=A(W);function W(Y,G){var j;return T(this,W),j=B.call(this),j.resolveOptions(G),j.listenClick(Y),j}return R(W,[{key:"resolveOptions",value:function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof G.action=="function"?G.action:this.defaultAction,this.target=typeof G.target=="function"?G.target:this.defaultTarget,this.text=typeof G.text=="function"?G.text:this.defaultText,this.container=M(G.container)==="object"?G.container:document.body}},{key:"listenClick",value:function(G){var j=this;this.listener=d()(G,"click",function(V){return j.onClick(V)})}},{key:"onClick",value:function(G){var j=G.delegateTarget||G.currentTarget,V=this.action(j)||"copy",X=w({action:V,container:this.container,target:this.target(j),text:this.text(j)});this.emit(X?"success":"error",{action:V,text:X,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(G){return L("action",G)}},{key:"defaultTarget",value:function(G){var j=L("target",G);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(G){return L("text",G)}},{key:"destroy",value:functLine truncated
|
|
||||||
position: relative;
|
|
||||||
width: -moz-fit-content;
|
|
||||||
width: fit-content;
|
|
||||||
height: -moz-fit-content;
|
|
||||||
height: fit-content;
|
|
||||||
overflow: hidden;
|
|
||||||
-webkit-touch-callout: none; /* iOS Safari */
|
|
||||||
-webkit-user-select: none; /* Safari */
|
|
||||||
-khtml-user-select: none; /* Konqueror HTML */
|
|
||||||
-moz-user-select: none; /* Firefox */
|
|
||||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
||||||
user-select: none;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.transform-component-module_content__FBWxo {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: -moz-fit-content;
|
|
||||||
width: fit-content;
|
|
||||||
height: -moz-fit-content;
|
|
||||||
height: fit-content;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
transform-origin: 0% 0%;
|
|
||||||
}
|
|
||||||
.transform-component-module_content__FBWxo img {
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
`,k4={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};Wpe(Upe);var Ype=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,o=e.contentClass,i=o===void 0?"":o,a=e.wrapperStyle,s=e.contentStyle,l=e.wrapperProps,c=l===void 0?{}:l,u=e.contentProps,d=u===void 0?{}:u,f=p.exports.useContext(Jx),m=f.init,h=f.cleanupWindowEvents,v=p.exports.useRef(null),b=p.exports.useRef(null);return p.exports.useEffect(function(){var y=v.current,x=b.current;return y!==null&&x!==null&&m&&(m==null||m(y,x)),function(){h==null||h()}},[]),g("div",{...zi({},c,{ref:v,className:"".concat(s1.wrapperClass," ").concat(k4.wrapper," ").concat(r),style:a}),children:g("div",{...zi({},d,{ref:b,className:"".concat(s1.contentClass," ").concat(k4.content," ").concat(i),style:s}),children:t})})};const Kpe="/assets/errorImg.719abbab.png",Ls=43,GT=1,qT=2,XT=3;function Gpe(e){const t=n=>{n==="up"&&e.upDisable||n==="down"&&e.downDisable||e.ButtonEvent&&e.ButtonEvent(n)};return g("div",{className:"MediaViewModal-body-Bar",children:Z("div",{className:"MediaViewModal-Bar-body",children:[Z("div",{className:"MediaViewModal-Bar-func",children:[g("div",{className:`MediaViewModal-Bar-Icon${e.upDisable?"-disable":""}`,onClick:()=>t("up"),title:"\u4E0A\u4E00\u5F20",children:g(P3,{})}),g("div",{className:`MediaViewModal-Bar-Icon${e.downDisable?"-disable":""}`,onClick:()=>t("down"),title:"\u4E0B\u4E00\u5F20",children:g(W_,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomIn"),title:"\u653E\u5927",children:g(B3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomOut"),title:"\u7F29\u5C0F",children:g(j3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("origin"),title:"\u9002\u5E94\u7A97\u53E3\u5927\u5C0F",children:g(z7,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("left"),title:"\u5DE6\u8F6C",children:g(F3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("right"),title:"\u53F3\u8F6C",children:g(L3,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipX"),title:"\u6C34\u5E73\u7FFB\u8F6C",children:g(eu,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipY"),title:"\u5782\u76F4\u7FFB\u8F6C",children:g(eu,{style:{transform:"rotate(90deg)"}})}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("save"),title:"\u4FDD\u5B58\u5230\u672C\u5730",children:g(R3,{})})]}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("close"),title:"\u5173\u95ED",children:g(Tr,{className:"MediaViewModal-Bar-Icon"})})]})})}function qpe({msg:e}){const[t,n]=p.exports.useState(!0),r=p.exports.useRef(null),o=()=>{r.current&&(r.current.src=Kpe)},i=()=>{if(r.current){const{naturalWidth:a,naturalHeight:s}=r.current;n(a<s)}};return Z("div",{className:"MediaView-thumb-div",children:[g("img",{className:"MediaView-thumb",ref:r,src:e.content.ThumbPath,onError:o,onLoad:i,style:{width:t?"100px":"auto",height:t?"auto":"100px"}}),e.content.type===Ls&&g("div",{className:"MediaView-thumb-mask",children:g("div",{className:"MediaView-thumb-mask-icon-div",children:g(D3,{className:"MediaView-thumb-mask-icon"})})})]})}function Xpe({src:e,onError:t,isPlay:n}){const r=p.exports.useRef(null),[o,i]=p.exports.useState(n),[a,s]=p.exports.useState(0),[l,c]=p.exports.useState(1),[u,d]=p.exports.useState(!1),[f,m]=p.exports.useState(!1),[h,v]=p.exports.useState(!1),[b,y]=p.exports.useState("00:00"),[x,S]=p.exports.useState("00:00"),C=()=>{i(!o)},$=k=>{const _=parseFloat(k.target.value);r.current&&(o?(r.current.pause(),setTimeout(()=>{s(_),r.current.currentTime=r.current.duration*_,r.current.play()},30)):r.current.currentTime=r.current.duration*_)},E=k=>{const _=parseFloat(k.target.value);c(_)},w=()=>{i(!1)},M=()=>{console.log("MediaViewvideo handleError"),t&&t()},T=k=>{k.target.getBoundingClientRect().height-k.clientY<=100?m(!0):(m(!1),v(!1))},N=k=>{v(k)},R=()=>{d(k=>!k)},F=k=>{switch(k.code){case"Space":C();break}},z=()=>{if(r.current){const k=r.current.currentTime,_=r.current.duration;if(isNaN(k)||isNaN(_))return;s(k/_),y(Rg(k))}},A=()=>{r.current&&(s(0),y(Rg(0)),S(Rg(r.current.duration)))};return p.exports.useEffect(()=>(r.current&&(o?r.current.play():r.current.pause()),window.addEventListener("keydown",F),()=>{window.removeEventListener("keydown",F)}),[o]),p.exports.useEffect(()=>{r.current&&(r.current.volume=l)},[l]),p.exports.useEffect(()=>{i(n)},[e,n]),Z("div",{className:"MediaViewvideo",onMouseMove:T,children:[g("div",{className:"MediaViewvideo-video-wrap",onClick:C,children:g("video",{className:"MediaViewvideo-video",ref:r,src:e,controls:!1,preload:"auto",muted:u,onTimeUpdate:z,onLoadedMetadata:A,onError:M,onEnded:w})}),Z("div",{className:"MediaView-Player-controls",style:{visibility:f?"visible":"hidden"},children:[g("div",{className:"MediaView-Player-controls-playpuase",onClick:C,children:o?g(sv,{title:"\u6682\u505C"}):g(iv,{tit
Line truncated
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
@charset "UTF-8";html{background-color:#f5f5f5}body{margin:0;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}@font-face{font-family:Nunito;font-style:normal;font-weight:400;src:local(""),url(/assets/nunito-v16-latin-regular.06f3af3f.woff2) format("woff2")}#app{height:100vh;text-align:center}#App{height:100vh;text-align:center;display:flex;flex-direction:row}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-thumb{--tw-border-opacity: 1;background-color:#b6b4b4cc;border-color:rgba(181,180,178,var(--tw-border-opacity));border-radius:9999px;border-width:1px}.wechat-UserList{width:275px;height:100%;background-color:#eae8e7;display:flex;flex-direction:column;align-items:center}.wechat-SearchBar{height:60px;width:100%;background-color:#f7f7f7;--wails-draggable:drag}.wechat-SearchBar-Input{height:26px;width:240px;background-color:#e6e6e6;margin-top:22px;--wails-draggable:no-drag}.wechat-UserList-Items{width:100%;height:calc(100% - 60px);overflow:auto}.wechat-UserItem{display:flex;justify-content:space-between;height:64px}.wechat-UserItem{transition:background-color .3s ease}.wechat-UserItem:hover{background-color:#dcdad9}.wechat-UserItem:focus{background-color:#c9c8c6}.selectedItem{background-color:#c9c8c6}.wechat-UserItem-content-Avatar{margin:5px}.wechat-UserItem-content{width:55%;display:flex;flex-direction:column;justify-content:space-between}.wechat-UserItem-content-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.wechat-UserItem-content-name{color:#000;font-size:.9rem;margin-top:12px;font-weight:500}.wechat-UserItem-content-msg{color:#999;font-size:80%;margin-bottom:10px}.wechat-UserItem-date{color:#999;font-size:80%;margin-top:12px;margin-right:9px}.wechat-ContactItem{display:flex;justify-content:flex-start}.wechat-ContactItem-content{display:flex;flex-direction:column;flex-grow:1;justify-content:center}.wechat-ContactItem-content>.wechat-UserItem-content-text{margin-top:0;margin-left:.5rem}.wechat-UserList-Loading{margin-top:80px}.wechat-UserList-End{padding:15px;text-align:center;font-size:.85rem}.MessageModal{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.MessageModal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.MessageModal-content{display:flex;flex-direction:column;align-items:center;padding:20px}.MessageModal-button{margin-top:10px}.Setting-Modal{width:500px;background-color:#f5f5f5;position:fixed;top:35%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.WechatInfoTable{display:flex;flex-direction:column;font-size:.9rem;border-top:1px solid #b9b9b9}.WechatInfoTable-column{display:flex;margin-top:8px;max-width:100%}.WechatInfoTable-column-tag{margin-left:8px;max-width:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.checkUpdateButtom,.WechatInfoTable-column-tag-buttom{cursor:pointer}.Setting-Modal-export-button{margin-top:10px}.Setting-Modal-button{position:absolute;top:10px;right:10px;padding:5px 10px;border:none;cursor:pointer}.Setting-Modal-confirm{background-color:#f5f5f5;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-confirm-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-confirm-title{text-align:center}.Setting-Modal-confirm-buttons{display:flex;gap:10px}.Setting-Modal-updateInfoWindow{background-color:#fff;position:fixed;top:33%;left:50%;transform:translate(-50%,-50%);border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.Setting-Modal-updateInfoWindow-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.Setting-Modal-updateInfoWindow-content{display:flex;flex-direction:column;align-items:center;padding:20px}.Setting-Modal-updateInfoWindow-button{margin-top:10px}.Setting-Modal-Select{display:flex;gap:10px;align-items:center;margin-bottom:8px}.Setting-Modal-Select-Text{font-size:1rem;font-weight:900}.UserSwitch-Modal{background-color:#fff;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:20px;border-radius:5px;box-shadow:2px 2px 2px #a2a2a2}.UserSwitch-Modal-Overlay{position:fixed;top:0;left:0;right:0;bottom:0}.UserSwitch-Modal-button{display:flex;justify-content:end}.UserSwitch-Modal-title{text-align:center;font-weight:900;margin-bottom:20px}.UserSwitch-Modal-buttons{margin-top:10px;display:flex;gap:10px}.UserSwitch-Modal-content{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto}.UserInfoItem{display:flex;background-color:#f7f7f7;width:500px;border-radius:5px;padding:8px;gap:10px}.UserInfoItem:hover{background-color:#ebebeb}.UserInfoItem-Info{display:flex;flex-direction:column;flex-grow:1;justify-content:space-between}.UserInfoItem-Info-part1{display:flex;justify-content:space-between}.UserInfoILine truncated
|
|
||||||
+533
@@ -0,0 +1,533 @@
|
|||||||
|
function n6(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function FN(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var p={exports:{}},xt={};/**
|
||||||
|
* @license React
|
||||||
|
* react.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var yu=Symbol.for("react.element"),kN=Symbol.for("react.portal"),LN=Symbol.for("react.fragment"),BN=Symbol.for("react.strict_mode"),zN=Symbol.for("react.profiler"),jN=Symbol.for("react.provider"),HN=Symbol.for("react.context"),VN=Symbol.for("react.forward_ref"),WN=Symbol.for("react.suspense"),UN=Symbol.for("react.memo"),YN=Symbol.for("react.lazy"),hC=Symbol.iterator;function KN(e){return e===null||typeof e!="object"?null:(e=hC&&e[hC]||e["@@iterator"],typeof e=="function"?e:null)}var r6={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},o6=Object.assign,i6={};function ml(e,t,n){this.props=e,this.context=t,this.refs=i6,this.updater=n||r6}ml.prototype.isReactComponent={};ml.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ml.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function a6(){}a6.prototype=ml.prototype;function yb(e,t,n){this.props=e,this.context=t,this.refs=i6,this.updater=n||r6}var bb=yb.prototype=new a6;bb.constructor=yb;o6(bb,ml.prototype);bb.isPureReactComponent=!0;var gC=Array.isArray,s6=Object.prototype.hasOwnProperty,xb={current:null},l6={key:!0,ref:!0,__self:!0,__source:!0};function c6(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)s6.call(t,r)&&!l6.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:yu,type:e,key:i,ref:a,props:o,_owner:xb.current}}function GN(e,t){return{$$typeof:yu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Sb(e){return typeof e=="object"&&e!==null&&e.$$typeof===yu}function qN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var yC=/\/+/g;function Lm(e,t){return typeof e=="object"&&e!==null&&e.key!=null?qN(""+e.key):t.toString(36)}function Zd(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case yu:case kN:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Lm(a,0):r,gC(o)?(n="",e!=null&&(n=e.replace(yC,"$&/")+"/"),Zd(o,t,n,"",function(c){return c})):o!=null&&(Sb(o)&&(o=GN(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(yC,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",gC(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Lm(i,s);a+=Zd(i,t,n,l,o)}else if(l=KN(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Lm(i,s++),a+=Zd(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function nd(e,t,n){if(e==null)return e;var r=[],o=0;return Zd(e,r,"","",function(i){return t.call(n,i,o++)}),r}function XN(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var er={current:null},Jd={transition:null},QN={ReactCurrentDispatcher:er,ReactCurrentBatchConfig:Jd,ReactCurrentOwner:xb};xt.Children={map:nd,forEach:function(e,t,n){nd(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return nd(e,function(){t++}),t},toArray:function(e){return nd(e,function(t){return t})||[]},only:function(e){if(!Sb(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};xt.Component=ml;xt.Fragment=LN;xt.Profiler=zN;xt.PureComponent=yb;xt.StrictMode=BN;xt.Suspense=WN;xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=QN;xt.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=o6({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=xb.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)s6.call(t,l)&&!l6.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:yu,type:e.type,key:o,ref:i,props:r,_owner:a}};xt.createContext=function(e){return e={$$typeof:HN,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:jN,_conLine truncated
|
||||||
|
* @license React
|
||||||
|
* scheduler.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/(function(e){function t($,L){var N=$.length;$.push(L);e:for(;0<N;){var H=N-1>>>1,D=$[H];if(0<o(D,L))$[H]=L,$[N]=D,N=H;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var L=$[0],N=$.pop();if(N!==L){$[0]=N;e:for(var H=0,D=$.length,z=D>>>1;H<z;){var W=2*(H+1)-1,K=$[W],X=W+1,j=$[X];if(0>o(K,N))X<D&&0>o(j,K)?($[H]=j,$[X]=N,H=X):($[H]=K,$[W]=N,H=W);else if(X<D&&0>o(j,N))$[H]=j,$[X]=N,H=X;else break e}}return L}function o($,L){var N=$.sortIndex-L.sortIndex;return N!==0?N:$.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,d=null,f=3,m=!1,h=!1,v=!1,y=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S($){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=$)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function C($){if(v=!1,S($),!h)if(n(l)!==null)h=!0,_(A);else{var L=n(c);L!==null&&O(C,L.startTime-$)}}function A($,L){h=!1,v&&(v=!1,b(M),M=-1),m=!0;var N=f;try{for(S(L),d=n(l);d!==null&&(!(d.expirationTime>L)||$&&!T());){var H=d.callback;if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var D=H(d.expirationTime<=L);L=e.unstable_now(),typeof D=="function"?d.callback=D:d===n(l)&&r(l),S(L)}else r(l);d=n(l)}if(d!==null)var z=!0;else{var W=n(c);W!==null&&O(C,W.startTime-L),z=!1}return z}finally{d=null,f=N,m=!1}}var E=!1,w=null,M=-1,P=5,R=-1;function T(){return!(e.unstable_now()-R<P)}function k(){if(w!==null){var $=e.unstable_now();R=$;var L=!0;try{L=w(!0,$)}finally{L?B():(E=!1,w=null)}}else E=!1}var B;if(typeof x=="function")B=function(){x(k)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,F=I.port2;I.port1.onmessage=k,B=function(){F.postMessage(null)}}else B=function(){y(k,0)};function _($){w=$,E||(E=!0,B())}function O($,L){M=y(function(){$(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){h||m||(h=!0,_(A))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function($){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var N=f;f=L;try{return $()}finally{f=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,L){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var N=f;f=$;try{return L()}finally{f=N}},e.unstable_scheduleCallback=function($,L,N){var H=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?H+N:H):N=H,$){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=N+D,$={id:u++,callback:L,priorityLevel:$,startTime:N,expirationTime:D,sortIndex:-1},N>H?($.sortIndex=N,t(c,$),n(l)===null&&$===n(c)&&(v?(b(M),M=-1):v=!0,O(C,N-H))):($.sortIndex=D,t(l,$),h||m||(h=!0,_(A))),$},e.unstable_shouldYield=T,e.unstable_wrapCallback=function($){var L=f;return function(){var N=f;f=L;try{return $.apply(this,arguments)}finally{f=N}}}})(d6);(function(e){e.exports=d6})(u6);/**
|
||||||
|
* @license React
|
||||||
|
* react-dom.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var f6=p.exports,Or=u6.exports;function xe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p6=new Set,Dc={};function Ha(e,t){Xs(e,t),Xs(e+"Capture",t)}function Xs(e,t){for(Dc[e]=t,e=0;e<t.length;e++)p6.add(t[e])}var Zo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),B0=Object.prototype.hasOwnProperty,ZN=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,bC={},xC={};function JN(e){return B0.call(xC,e)?!0:B0.call(bC,e)?!1:ZN.test(e)?xC[e]=!0:(bC[e]=!0,!1)}function eI(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tI(e,t,n,r){if(t===null||typeof t>"u"||eI(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function tr(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var _n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_n[e]=new tr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_n[t]=new tr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_n[e]=new tr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_n[e]=new tr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){_n[e]=new tr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_n[e]=new tr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_n[e]=new tr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_n[e]=new tr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_n[e]=new tr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cb=/[\-:]([a-z])/g;function wb(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cb,wb);_n[t]=new tr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cb,wb);_n[t]=new tr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cb,wb);_n[t]=new tr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_n[e]=new tr(e,1,!1,e.toLowerCase(),null,!1,!1)});_n.xlinkHref=new tr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_n[e]=new tr(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ab(e,t,n,r){var o=_n.hasOwnProperty(t)?_n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0
Line truncated
|
||||||
|
`+Bm+e}var zm=!1;function jm(e,t){if(!e||zm)return"";zm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
||||||
|
`),i=r.stack.split(`
|
||||||
|
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
||||||
|
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{zm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oc(e):""}function nI(e){switch(e.tag){case 5:return oc(e.type);case 16:return oc("Lazy");case 13:return oc("Suspense");case 19:return oc("SuspenseList");case 0:case 2:case 15:return e=jm(e.type,!1),e;case 11:return e=jm(e.type.render,!1),e;case 1:return e=jm(e.type,!0),e;default:return""}}function V0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xs:return"Fragment";case bs:return"Portal";case z0:return"Profiler";case Eb:return"StrictMode";case j0:return"Suspense";case H0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m6:return(e.displayName||"Context")+".Consumer";case v6:return(e._context.displayName||"Context")+".Provider";case $b:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ob:return t=e.displayName||null,t!==null?t:V0(e.type)||"Memo";case bi:t=e._payload,e=e._init;try{return V0(e(t))}catch{}}return null}function rI(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V0(t);case 8:return t===Eb?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function zi(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function g6(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function oI(e){var t=g6(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function od(e){e._valueTracker||(e._valueTracker=oI(e))}function y6(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=g6(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Tf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function W0(e,t){var n=t.checked;return Xt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function CC(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=zi(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function b6(e,t){t=t.checked,t!=null&&Ab(e,"checked",t,!1)}function U0(e,t){b6(e,t);var n=zi(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Y0(e,t.type,n):t.hasOwnProperty("defaultValue")&&Y0(e,t.type,zi(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wC(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Y0(e,t,n){(t!=="number"||Tf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ic=Array.isArray;function Bs(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+zi(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function K0(e,t){i
Line truncated
|
||||||
|
`).replace(v7,"")}function fd(e,t,n){if(t=YC(t),YC(e)!==t&&n)throw Error(xe(425))}function Lf(){}var ay=null,sy=null;function ly(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var cy=typeof setTimeout=="function"?setTimeout:void 0,m7=typeof clearTimeout=="function"?clearTimeout:void 0,KC=typeof Promise=="function"?Promise:void 0,h7=typeof queueMicrotask=="function"?queueMicrotask:typeof KC<"u"?function(e){return KC.resolve(null).then(e).catch(g7)}:cy;function g7(e){setTimeout(function(){throw e})}function eh(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),zc(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);zc(t)}function Ni(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function GC(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var gl=Math.random().toString(36).slice(2),No="__reactFiber$"+gl,Uc="__reactProps$"+gl,Jo="__reactContainer$"+gl,uy="__reactEvents$"+gl,y7="__reactListeners$"+gl,b7="__reactHandles$"+gl;function ya(e){var t=e[No];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Jo]||n[No]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=GC(e);e!==null;){if(n=e[No])return n;e=GC(e)}return t}e=n,n=e.parentNode}return null}function Cu(e){return e=e[No]||e[Jo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function As(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(xe(33))}function Wp(e){return e[Uc]||null}var dy=[],Es=-1;function Qi(e){return{current:e}}function Vt(e){0>Es||(e.current=dy[Es],dy[Es]=null,Es--)}function Bt(e,t){Es++,dy[Es]=e.current,e.current=t}var ji={},Yn=Qi(ji),cr=Qi(!1),Ia=ji;function Qs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ur(e){return e=e.childContextTypes,e!=null}function Bf(){Vt(cr),Vt(Yn)}function qC(e,t,n){if(Yn.current!==ji)throw Error(xe(168));Bt(Yn,t),Bt(cr,n)}function s3(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(xe(108,rI(e)||"Unknown",o));return Xt({},n,r)}function zf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Ia=Yn.current,Bt(Yn,e),Bt(cr,cr.current),!0}function XC(e,t,n){var r=e.stateNode;if(!r)throw Error(xe(169));n?(e=s3(e,t,Ia),r.__reactInternalMemoizedMergedChildContext=e,Vt(cr),Vt(Yn),Bt(Yn,e)):Vt(cr),Bt(cr,n)}var Yo=null,Up=!1,th=!1;function l3(e){Yo===null?Yo=[e]:Yo.push(e)}function x7(e){Up=!0,l3(e)}function Zi(){if(!th&&Yo!==null){th=!0;var e=0,t=It;try{var n=Yo;for(It=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Yo=null,Up=!1}catch(o){throw Yo!==null&&(Yo=Yo.slice(e+1)),I6(Pb,Zi),o}finally{It=t,th=!1}}return null}var $s=[],Os=0,jf=null,Hf=0,zr=[],jr=0,_a=null,qo=1,Xo="";function da(e,t){$s[Os++]=Hf,$s[Os++]=jf,jf=e,Hf=t}function c3(e,t,n){zr[jr++]=qo,zr[jr++]=Xo,zr[jr++]=_a,_a=e;var r=qo;e=Xo;var o=32-vo(r)-1;r&=~(1<<o),n+=1;var i=32-vo(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,qo=1<<32-vo(t)+o|n<<o|r,Xo=i+e}else qo=1<<i|n<<o|r,Xo=e}function Lb(e){e.return!==null&&(da(e,1),c3(e,1,0))}function Bb(e){for(;e===jf;)jf=$s[--Os],$s[Os]=null,Hf=$s[--Os],$s[Os]=null;for(;e===_a;)_a=zr[--jr],zr[jr]=null,Xo=zr[--jr],zr[jr]=null,qo=zr[--jr],zr[jr]=null}var Er=null,wr=null,Ut=!1,uo=null;function u3(e,t){var n=Hr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function QC(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Er=e,wr=Ni(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Er=e,wr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_a!==null?{id:qo,overflow:Xo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Hr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Er=e,wr=null,!0):!1;default:return!1}}function fy(e){return(e.mode&1)!==0&&(e.flags&128)===0}function py(e){if(Ut){var t=wr;if(t){var n=t;if(!QC(e,t)){if(fy(e))throw Error(xe(418));t=Ni(n.nextSibling);var r=Er;t&&QC(e,t)?u3(r,n):(e.flags=e.flags&-4097|2,Ut=!1,Er=e)}}else{if(fy(e))throw Error(xe(418));e.flags=e.flags&-4097|2,Ut=!1,Er=e}}}function ZC(e){
Line truncated
|
||||||
|
Error generating stack: `+i.message+`
|
||||||
|
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function ah(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function gy(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var P7=typeof WeakMap=="function"?WeakMap:Map;function L3(e,t,n){n=Qo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xf||(Xf=!0,Oy=r),gy(e,t)},n}function B3(e,t,n){n=Qo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){gy(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){gy(e,t),typeof r!="function"&&(_i===null?_i=new Set([this]):_i.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function aw(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new P7;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=V7.bind(null,e,t,n),t.then(e,e))}function sw(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function lw(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Qo(-1,1),t.tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var T7=ii.ReactCurrentOwner,lr=!1;function Qn(e,t,n,r){t.child=e===null?g3(t,null,n,r):Js(t,e.child,n,r)}function cw(e,t,n,r,o){n=n.render;var i=t.ref;return Vs(t,o),r=Xb(e,t,n,r,i,o),n=Qb(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ti(e,t,o)):(Ut&&n&&Lb(t),t.flags|=1,Qn(e,t,r,o),t.child)}function uw(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!sx(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,z3(e,t,i,r,o)):(e=uf(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Hc,n(a,r)&&e.ref===t.ref)return ti(e,t,o)}return t.flags|=1,e=Fi(i,r),e.ref=t.ref,e.return=t,t.child=e}function z3(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Hc(i,r)&&e.ref===t.ref)if(lr=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(lr=!0);else return t.lanes=e.lanes,ti(e,t,o)}return yy(e,t,n,r,o)}function j3(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Bt(Ts,Cr),Cr|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Bt(Ts,Cr),Cr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Bt(Ts,Cr),Cr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Bt(Ts,Cr),Cr|=r;return Qn(e,t,o,n),t.child}function H3(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function yy(e,t,n,r,o){var i=ur(n)?Ia:Yn.current;return i=Qs(t,i),Vs(t,o),n=Xb(e,t,n,r,i,o),r=Qb(),e!==null&&!lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ti(e,t,o)):(Ut&&r&&Lb(t),t.flags|=1,Qn(e,t,n,o),t.child)}function dw(e,t,n,r,o){if(ur(n)){var i=!0;zf(t)}else i=!1;if(Vs(t,o),t.stateNode===null)sf(e,t),m3(t,n,r),hy(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Kr(c):(c=ur(n)?Ia:Yn.current,c=Qs(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&nw(t,a,r,c),xi=!1;var f=t.memoizedState;a.state=f,Uf(t,r,a,o),l=t.memoizedState,s!==r||f!==l||cr.current||xi?(typeof u=="function"&&(my(t,n,u,r),l=t.memoizedState),(s=xi||tw(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,p3(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:io(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Kr(l):(l=ur(n)?Ia:Yn.current,l=Qs(t,l));var m=n.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&nw(t,a,r,l),xi=!1,f=t.memoizedState,a.sta
Line truncated
|
||||||
|
* Adapted from jQuery UI core
|
||||||
|
*
|
||||||
|
* http://jqueryui.com
|
||||||
|
*
|
||||||
|
* Copyright 2014 jQuery Foundation and other contributors
|
||||||
|
* Released under the MIT license.
|
||||||
|
* http://jquery.org/license
|
||||||
|
*
|
||||||
|
* http://api.jqueryui.com/category/ui-core/
|
||||||
|
*/var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(d,f){return f.getPropertyValue("overflow")!=="visible"||d.scrollWidth<=0&&d.scrollHeight<=0}function a(d){var f=d.offsetWidth<=0&&d.offsetHeight<=0;if(f&&!d.innerHTML)return!0;try{var m=window.getComputedStyle(d),h=m.getPropertyValue("display");return f?h!==r&&i(d,m):h===n}catch{return console.warn("Failed to inspect element style"),!1}}function s(d){for(var f=d,m=d.getRootNode&&d.getRootNode();f&&f!==document.body;){if(m&&f===m&&(f=m.host.parentNode),a(f))return!1;f=f.parentNode}return!0}function l(d,f){var m=d.nodeName.toLowerCase(),h=o.test(m)&&!d.disabled||m==="a"&&d.href||f;return h&&s(d)}function c(d){var f=d.getAttribute("tabindex");f===null&&(f=void 0);var m=isNaN(f);return(m||f>=0)&&l(d,!m)}function u(d){var f=[].slice.call(d.querySelectorAll("*"),0).reduce(function(m,h){return m.concat(h.shadowRoot?u(h.shadowRoot):[h])},[]);return f.filter(c)}e.exports=t.default})(tp,tp.exports);Object.defineProperty(wo,"__esModule",{value:!0});wo.resetState=l_;wo.log=c_;wo.handleBlur=Zc;wo.handleFocus=Jc;wo.markForFocusLater=u_;wo.returnFocus=d_;wo.popWithoutFocus=f_;wo.setupScopedFocus=p_;wo.teardownScopedFocus=v_;var i_=tp.exports,a_=s_(i_);function s_(e){return e&&e.__esModule?e:{default:e}}var rl=[],Rs=null,Iy=!1;function l_(){rl=[]}function c_(){}function Zc(){Iy=!0}function Jc(){if(Iy){if(Iy=!1,!Rs)return;setTimeout(function(){if(!Rs.contains(document.activeElement)){var e=(0,a_.default)(Rs)[0]||Rs;e.focus()}},0)}}function u_(){rl.push(document.activeElement)}function d_(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{rl.length!==0&&(t=rl.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function f_(){rl.length>0&&rl.pop()}function p_(e){Rs=e,window.addEventListener?(window.addEventListener("blur",Zc,!1),document.addEventListener("focus",Jc,!0)):(window.attachEvent("onBlur",Zc),document.attachEvent("onFocus",Jc))}function v_(){Rs=null,window.addEventListener?(window.removeEventListener("blur",Zc),document.removeEventListener("focus",Jc)):(window.detachEvent("onBlur",Zc),document.detachEvent("onFocus",Jc))}var _y={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=tp.exports,r=o(n);function o(s){return s&&s.__esModule?s:{default:s}}function i(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return s.activeElement.shadowRoot?i(s.activeElement.shadowRoot):s.activeElement}function a(s,l){var c=(0,r.default)(s);if(!c.length){l.preventDefault();return}var u=void 0,d=l.shiftKey,f=c[0],m=c[c.length-1],h=i();if(s===h){if(!d)return;u=m}if(m===h&&!d&&(u=f),f===h&&d&&(u=m),u){l.preventDefault(),u.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),y=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(!!y){var b=c.indexOf(h);if(b>-1&&(b+=d?-1:1),u=c[b],typeof u>"u"){l.preventDefault(),u=d?m:f,u.focus();return}l.preventDefault(),u.focus()}}e.exports=t.default})(_y,_y.exports);var Ao={},m_=function(){},h_=m_,ho={},v5={exports:{}};/*!
|
||||||
|
Copyright (c) 2015 Jed Watson.
|
||||||
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
||||||
|
All rights reserved.
|
||||||
|
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=n:window.ExecutionEnvironment=n})()})(v5);Object.defineProperty(ho,"__esModule",{value:!0});ho.canUseDOM=ho.SafeNodeList=ho.SafeHTMLCollection=void 0;var g_=v5.exports,y_=b_(g_);function b_(e){return e&&e.__esModule?e:{default:e}}var tv=y_.default,x_=tv.canUseDOM?window.HTMLElement:{};ho.SafeHTMLCollection=tv.canUseDOM?window.HTMLCollection:{};ho.SafeNodeList=tv.canUseDOM?window.NodeList:{};ho.canUseDOM=tv.canUseDOM;ho.default=x_;Object.defineProperty(Ao,"__esModule",{value:!0});Ao.resetState=E_;Ao.log=$_;Ao.assertNodeList=m5;Ao.setElement=O_;Ao.validateElement=fx;Ao.hide=M_;Ao.show=P_;Ao.documentNotReadyOrSSRTesting=T_;var S_=h_,C_=A_(S_),w_=ho;function A_(e){return e&&e.__esModule?e:{default:e}}var Br=null;function E_(){Br&&(Br.removeAttribute?Br.removeAttribute("aria-hidden"):Br.length!=null?Br.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(Br).forEach(function(e){return e.removeAttribute("aria-hidden")})),Br=null}function $_(){}function m5(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function O_(e){var t=e;if(typeof t=="string"&&w_.canUseDOM){var n=document.querySelectorAll(t);m5(n,t),t=n}return Br=t||Br,Br}function fx(e){var t=e||Br;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,C_.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function M_(e){var t=!0,n=!1,r=void 0;try{for(var o=fx(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.setAttribute("aria-hidden","true")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function P_(e){var t=!0,n=!1,r=void 0;try{for(var o=fx(e)[Symbol.iterator](),i;!(t=(i=o.next()).done);t=!0){var a=i.value;a.removeAttribute("aria-hidden")}}catch(s){n=!0,r=s}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}}function T_(){Br=null}var yl={};Object.defineProperty(yl,"__esModule",{value:!0});yl.resetState=R_;yl.log=N_;var wc={},Ac={};function Ew(e,t){e.classList.remove(t)}function R_(){var e=document.getElementsByTagName("html")[0];for(var t in wc)Ew(e,wc[t]);var n=document.body;for(var r in Ac)Ew(n,Ac[r]);wc={},Ac={}}function N_(){}var I_=function(t,n){return t[n]||(t[n]=0),t[n]+=1,n},__=function(t,n){return t[n]&&(t[n]-=1),n},D_=function(t,n,r){r.forEach(function(o){I_(n,o),t.add(o)})},F_=function(t,n,r){r.forEach(function(o){__(n,o),n[o]===0&&t.remove(o)})};yl.add=function(t,n){return D_(t.classList,t.nodeName.toLowerCase()=="html"?wc:Ac,n.split(" "))};yl.remove=function(t,n){return F_(t.classList,t.nodeName.toLowerCase()=="html"?wc:Ac,n.split(" "))};var bl={};Object.defineProperty(bl,"__esModule",{value:!0});bl.log=L_;bl.resetState=B_;function k_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h5=function e(){var t=this;k_(this,e),this.register=function(n){t.openInstances.indexOf(n)===-1&&(t.openInstances.push(n),t.emit("register"))},this.deregister=function(n){var r=t.openInstances.indexOf(n);r!==-1&&(t.openInstances.splice(r,1),t.emit("deregister"))},this.subscribe=function(n){t.subscribers.push(n)},this.emit=function(n){t.subscribers.forEach(function(r){return r(n,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},np=new h5;function L_(){console.log("portalOpenInstances ----------"),console.log(np.openInstances.length),np.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function B_(){np=new h5}bl.default=np;var px={};Object.defineProperty(px,"__esModule",{value:!0});px.resetState=V_;px.log=W_;var z_=bl,j_=H_(z_);function H_(e){return e&&e.__esModule?e:{default:e}}var Bn=void 0,ao=void 0,Ma=[];function V_(){for(var e=[Bn,ao],t=0;t<e.length;t++){var n=e[t];!n||n.parentNode&&n.parentNode.removeChild(n)}Bn=ao=null,Ma=[]}function W_(){console.log("bodyTrap ----------"),console.log(Ma.length);for(var e=[Bn,ao],t=0;t<e.length;t++){var n=e[t],r=n||{};console.log(r.nodeName,r.className,r.id)}console.log("edn bodyTrap ----------")}function $w(){Ma.length!==0&&Ma[Ma.length-1].focusContent()}function U_(e,t){!Bn&&!ao&&(Bn=document.createElement("div"),Bn.setAttribute("data-react-modal-body-trap",""),Bn.style.position="absolute",Bn.style.opacity="0",Bn.setAttribute("tabindex","0"),Bn.addEventListener("focus",$w),ao=Bn.cloneNode(),ao.addEventListener("focus",$w)),Ma=t,Ma.length>0?(document.body.firstChild!==Bn&&document.body.insertBefore(Bn,document.body.firstChilLine truncated
|
||||||
|
|
||||||
|
`+i+" uses "+a+" but also contains the following legacy lifecycles:"+(n!==null?`
|
||||||
|
`+n:"")+(r!==null?`
|
||||||
|
`+r:"")+(o!==null?`
|
||||||
|
`+o:"")+`
|
||||||
|
|
||||||
|
The above lifecycles should be removed. Learn more about this warning here:
|
||||||
|
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=g5,t.componentWillReceiveProps=y5),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=b5;var s=t.componentDidUpdate;t.componentDidUpdate=function(c,u,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;s.call(this,c,u,f)}}return e}const K_=Object.freeze(Object.defineProperty({__proto__:null,polyfill:Y_},Symbol.toStringTag,{value:"Module"})),G_=FN(K_);Object.defineProperty(La,"__esModule",{value:!0});La.bodyOpenClassName=La.portalClassName=void 0;var Ow=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q_=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x5=p.exports,rp=Au(x5),X_=pr.exports,op=Au(X_),Q_=Me.exports,st=Au(Q_),Z_=Ny.exports,Mw=Au(Z_),J_=Ao,eD=nD(J_),Ei=ho,Pw=Au(Ei),tD=G_;function nD(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function Au(e){return e&&e.__esModule?e:{default:e}}function rD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function oD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var iD=La.portalClassName="ReactModalPortal",aD=La.bodyOpenClassName="ReactModal__Body--open",pa=Ei.canUseDOM&&op.default.createPortal!==void 0,Rw=function(t){return document.createElement(t)},Nw=function(){return pa?op.default.createPortal:op.default.unstable_renderSubtreeIntoContainer};function bd(e){return e()}var Eu=function(e){oD(t,e);function t(){var n,r,o,i;rD(this,t);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];return i=(r=(o=Tw(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(s))),o),o.removePortal=function(){!pa&&op.default.unmountComponentAtNode(o.node);var c=bd(o.props.parentSelector);c&&c.contains(o.node)?c.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(c){o.portal=c},o.renderPortal=function(c){var u=Nw(),d=u(o,rp.default.createElement(Mw.default,Ow({defaultStyles:t.defaultStyles},c)),o.node);o.portalRef(d)},r),Tw(o,i)}return q_(t,[{key:"componentDidMount",value:function(){if(!!Ei.canUseDOM){pa||(this.node=Rw("div")),this.node.className=this.props.portalClassName;var r=bd(this.props.parentSelector);r.appendChild(this.node),!pa&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(r){var o=bd(r.parentSelector),i=bd(this.props.parentSelector);return{prevParent:o,nextParent:i}}},{key:"componentDidUpdate",value:function(r,o,i){if(!!Ei.canUseDOM){var a=this.props,s=a.isOpen,l=a.portalClassName;r.portalClassName!==l&&(this.node.className=l);var c=i.prevParent,u=i.nextParent;u!==c&&(c.removeChild(this.node),u.appendChild(this.node)),!(!r.isOpen&&!s)&&!pa&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Ei.canUseDOM||!this.node||!this.portal)){var r=this.portal.state,o=Date.now(),i=r.isOpen&&this.props.closeTimeoutMS&&(r.closesAt||o+this.props.closeTimeoutMS);i?(r.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-o)):this.removePortal()}}},{key:"render",value:function(){if(!Ei.canUseDOM||!pa)return null;!this.node&&pa&&(this.node=Rw("div"));var r=Nw();return r(rp.default.createElement(Mw.default,Ow({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(r){eD.setElement(r)}}]),t}(x5.Component);Eu.propTypes={isOpen:st.default.bool.isRequired,style:st.default.shape({content:st.default.object,overlay:st.default.object}),portalClassName:st.default.string,bodyOpenClassName:st.default.string,htmlOpenClassName:st.default.string,className:st.default.oneOfType([st.default.string,st.default.shape({base:st.default.string.isRequired,afterOpen:st.default.string.isRequired,beforeClose:st.default.string.isRequired})]),overlayClassName:st.default.oneOfType([st.default.string,st.default.shape({bas
Line truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function te(e,t){return S5(e)||lD(e,t)||mx(e,t)||C5()}function tt(e){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(e)}function cD(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function w5(e){var t=cD(e,"string");return tt(t)=="symbol"?t:String(t)}function Y(e,t,n){return t=w5(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uD(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rt(e,t){if(e==null)return{};var n=uD(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}var A5={exports:{}};/*!
|
||||||
|
Copyright (c) 2018 Jed Watson.
|
||||||
|
Licensed under the MIT License (MIT), see
|
||||||
|
http://jedwatson.github.io/classnames
|
||||||
|
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(i=o(i,r(s)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var s in i)t.call(i,s)&&i[s]&&(a=o(a,s));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(A5);const oe=A5.exports;function In(e,t){dD(e)&&(e="100%");var n=fD(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function xd(e){return Math.min(1,Math.max(0,e))}function dD(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function fD(e){return typeof e=="string"&&e.indexOf("%")!==-1}function E5(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Sd(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Sa(e){return e.length===1?"0"+e:String(e)}function pD(e,t,n){return{r:In(e,255)*255,g:In(t,255)*255,b:In(n,255)*255}}function Iw(e,t,n){e=In(e,255),t=In(t,255),n=In(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s:a,l:s}}function uh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vD(e,t,n){var r,o,i;if(e=In(e,360),t=In(t,100),n=In(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=uh(s,a,e+1/3),o=uh(s,a,e),i=uh(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function Fy(e,t,n){e=In(e,255),t=In(t,255),n=In(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:l,v:a}}function mD(e,t,n){e=In(e,360)*6,t=In(t,100),n=In(n,100);var r=Math.floor(e),o=e-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6,c=[n,a,i,i,s,n][l],u=[s,n,n,a,i,i][l],d=[i,i,s,n,n,a][l];return{r:c*255,g:u*255,b:d*255}}function ky(e,t,n,r){var o=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function hD(e,t,n,r,o){var i=[Sa(Math.round(e).toString(16)),Sa(Math.round(t).toString(16)),Sa(Math.round(n).toString(16)),Sa(gD(r))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function gD(e){return Math.round(parseFloat(e)*255).toString(16)}function _w(e){return Sr(e)/255}function Sr(e){return parseInt(e,16)}function yD(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Ly={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurpleLine truncated
|
||||||
|
.anticon {
|
||||||
|
display: inline-block;
|
||||||
|
color: inherit;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: 0;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: none;
|
||||||
|
vertical-align: -0.125em;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon > * {
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon svg {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon .anticon-icon {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon[tabindex] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.anticon-spin::before,
|
||||||
|
.anticon-spin {
|
||||||
|
display: inline-block;
|
||||||
|
-webkit-animation: loadingCircle 1s infinite linear;
|
||||||
|
animation: loadingCircle 1s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes loadingCircle {
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes loadingCircle {
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`,BD=function(t){var n=p.exports.useContext(vx),r=n.csp,o=n.prefixCls,i=LD;o&&(i=i.replace(/anticon/g,o)),p.exports.useEffect(function(){var a=t.current,s=ip(a);Hi(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},zD=["icon","className","onClick","style","primaryColor","secondaryColor"],Ec={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function jD(e){var t=e.primaryColor,n=e.secondaryColor;Ec.primaryColor=t,Ec.secondaryColor=n||_5(t),Ec.calculated=!!n}function HD(){return Z({},Ec)}var rv=function(t){var n=t.icon,r=t.className,o=t.onClick,i=t.style,a=t.primaryColor,s=t.secondaryColor,l=rt(t,zD),c=p.exports.useRef(),u=Ec;if(a&&(u={primaryColor:a,secondaryColor:s||_5(a)}),BD(c),kD(Vw(n),"icon should be icon definiton, but got ".concat(n)),!Vw(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=Z(Z({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),Hy(d.icon,"svg-".concat(d.name),Z(Z({className:r,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};rv.displayName="IconReact";rv.getTwoToneColors=HD;rv.setTwoToneColors=jD;const gx=rv;function F5(e){var t=D5(e),n=te(t,2),r=n[0],o=n[1];return gx.setTwoToneColors({primaryColor:r,secondaryColor:o})}function VD(){var e=gx.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var ov={exports:{}},iv={};/**
|
||||||
|
* @license React
|
||||||
|
* react-jsx-runtime.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var WD=p.exports,UD=Symbol.for("react.element"),YD=Symbol.for("react.fragment"),KD=Object.prototype.hasOwnProperty,GD=WD.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qD={key:!0,ref:!0,__self:!0,__source:!0};function k5(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)KD.call(t,r)&&!qD.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:UD,type:e,key:i,ref:a,props:o,_owner:GD.current}}iv.Fragment=YD;iv.jsx=k5;iv.jsxs=k5;(function(e){e.exports=iv})(ov);const Pt=ov.exports.Fragment,g=ov.exports.jsx,Q=ov.exports.jsxs;var XD=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];F5(OD.primary);var av=p.exports.forwardRef(function(e,t){var n=e.className,r=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=rt(e,XD),u=p.exports.useContext(vx),d=u.prefixCls,f=d===void 0?"anticon":d,m=u.rootClassName,h=oe(m,f,Y(Y({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!o||r.name==="loading"),n),v=a;v===void 0&&s&&(v=-1);var y=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,b=D5(l),x=te(b,2),S=x[0],C=x[1];return g("span",{role:"img","aria-label":r.name,...c,ref:t,tabIndex:v,onClick:s,className:h,children:g(gx,{icon:r,primaryColor:S,secondaryColor:C,style:y})})});av.displayName="AntdIcon";av.getTwoToneColor=VD;av.setTwoToneColor=F5;const Je=av;var QD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"};const ZD=QD;var JD=function(t,n){return g(Je,{...t,ref:n,icon:ZD})};const eF=p.exports.forwardRef(JD);var tF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const nF=tF;var rF=function(t,n){return g(Je,{...t,ref:n,icon:nF})};const L5=p.exports.forwardRef(rF);var oF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const iF=oF;var aF=function(t,n){return g(Je,{...t,ref:n,icon:iF})};const sF=p.exports.forwardRef(aF);var lF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M842 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 140.3-113.7 254-254 254S258 594.3 258 454c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8 0 168.7 126.6 307.9 290 327.6V884H326.7c-13.7 0-24.7 14.3-24.7 32v36c0 4.4 2.8 8 6.2 8h407.6c3.4 0 6.2-3.6 6.2-8v-36c0-17.7-11-32-24.7-32H548V782.1c165.3-18 294-158 294-328.1zM512 624c93.9 0 170-75.2 170-168V232c0-92.8-76.1-168-170-168s-170 75.2-170 168v224c0 92.8 76.1 168 170 168zm-94-392c0-50.6 41.9-92 94-92s94 41.4 94 92v224c0 50.6-41.9 92-94 92s-94-41.4-94-92V232z"}}]},name:"audio",theme:"outlined"};const cF=lF;var uF=function(t,n){return g(Je,{...t,ref:n,icon:cF})};const dF=p.exports.forwardRef(uF);var fF={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M235.52 616.57c16.73-.74 32.28-1.77 47.69-2.07 66.8-1.18 132.4 6.81 194.76 32 30.5 12.3 59.98 26.52 86.5 46.51 21.76 16.45 26.5 36.9 16.58 67.11-6.22 18.67-18.66 32.74-34.36 45.04-37.03 28.88-75.83 54.96-120.41 69.62A595.87 595.87 0 01330 898.04c-42.8 6.67-86.2 9.63-129.45 13.63-8.88.89-17.92-.3-26.8-.3-4.6 0-5.78-2.37-5.93-6.37-1.18-19.7-2.07-39.55-3.85-59.25a2609.47 2609.47 0 00-7.7-76.3c-4-35.4-8.44-70.66-12.89-105.92-4.59-37.18-9.33-74.21-13.77-111.4-4.44-36.3-8.44-72.73-13.18-109.03-5.34-41.48-11.26-82.96-16.89-124.44-6.66-49.03-15.85-97.62-28.43-145.47-.6-2.07 1.18-6.67 2.96-7.26 41.91-16.89 83.98-33.33 125.89-50.07 13.92-5.63 15.1-7.26 15.25 10.37.15 75.1.45 150.21 1.63 225.32.6 39.11 2.08 78.22 4.74 117.18 3.26 47.55 8.3 95.1 12.6 142.66 0 2.07.88 4 1.33 5.19m83.68 218.06a74372.3 74372.3 0 00114.78-86.96c-4.74-6.82-109.3-47.85-133.89-53.33 6.22 46.37 12.59 92.59 19.1 140.29m434.13-14.39c-19.94-202.14-3Line truncated
|
||||||
|
* @license React
|
||||||
|
* react-is.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var Sx=Symbol.for("react.element"),Cx=Symbol.for("react.portal"),dv=Symbol.for("react.fragment"),fv=Symbol.for("react.strict_mode"),pv=Symbol.for("react.profiler"),vv=Symbol.for("react.provider"),mv=Symbol.for("react.context"),PL=Symbol.for("react.server_context"),hv=Symbol.for("react.forward_ref"),gv=Symbol.for("react.suspense"),yv=Symbol.for("react.suspense_list"),bv=Symbol.for("react.memo"),xv=Symbol.for("react.lazy"),TL=Symbol.for("react.offscreen"),J5;J5=Symbol.for("react.module.reference");function Qr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Sx:switch(e=e.type,e){case dv:case pv:case fv:case gv:case yv:return e;default:switch(e=e&&e.$$typeof,e){case PL:case mv:case hv:case xv:case bv:case vv:return e;default:return t}}case Cx:return t}}}_t.ContextConsumer=mv;_t.ContextProvider=vv;_t.Element=Sx;_t.ForwardRef=hv;_t.Fragment=dv;_t.Lazy=xv;_t.Memo=bv;_t.Portal=Cx;_t.Profiler=pv;_t.StrictMode=fv;_t.Suspense=gv;_t.SuspenseList=yv;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return Qr(e)===mv};_t.isContextProvider=function(e){return Qr(e)===vv};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sx};_t.isForwardRef=function(e){return Qr(e)===hv};_t.isFragment=function(e){return Qr(e)===dv};_t.isLazy=function(e){return Qr(e)===xv};_t.isMemo=function(e){return Qr(e)===bv};_t.isPortal=function(e){return Qr(e)===Cx};_t.isProfiler=function(e){return Qr(e)===pv};_t.isStrictMode=function(e){return Qr(e)===fv};_t.isSuspense=function(e){return Qr(e)===gv};_t.isSuspenseList=function(e){return Qr(e)===yv};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dv||e===pv||e===fv||e===gv||e===yv||e===TL||typeof e=="object"&&e!==null&&(e.$$typeof===xv||e.$$typeof===bv||e.$$typeof===vv||e.$$typeof===mv||e.$$typeof===hv||e.$$typeof===J5||e.getModuleId!==void 0)};_t.typeOf=Qr;(function(e){e.exports=_t})($c);function $u(e,t,n){var r=p.exports.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}function wx(e,t){typeof e=="function"?e(t):tt(e)==="object"&&e&&"current"in e&&(e.current=t)}function Zr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(o){return o});return r.length<=1?r[0]:function(o){t.forEach(function(i){wx(i,o)})}}function Wa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $u(function(){return Zr.apply(void 0,t)},t,function(r,o){return r.length!==o.length||r.every(function(i,a){return i!==o[a]})})}function Ua(e){var t,n,r=$c.exports.isMemo(e)?e.type.type:e.type;return!(typeof r=="function"&&!((t=r.prototype)!==null&&t!==void 0&&t.render)&&r.$$typeof!==$c.exports.ForwardRef||typeof e=="function"&&!((n=e.prototype)!==null&&n!==void 0&&n.render)&&e.$$typeof!==$c.exports.ForwardRef)}function Vi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return we.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Vi(r)):$c.exports.isFragment(r)&&r.props?n=n.concat(Vi(r.props.children,t)):n.push(r))}),n}function ap(e){return e instanceof HTMLElement||e instanceof SVGElement}function Oc(e){return ap(e)?e:e instanceof we.Component?ep.findDOMNode(e):null}var Vy=p.exports.createContext(null);function RL(e){var t=e.children,n=e.onBatchResize,r=p.exports.useRef(0),o=p.exports.useRef([]),i=p.exports.useContext(Vy),a=p.exports.useCallback(function(s,l,c){r.current+=1;var u=r.current;o.current.push({size:s,element:l,data:c}),Promise.resolve().then(function(){u===r.current&&(n==null||n(o.current),o.current=[])}),i==null||i(s,l,c)},[n,i]);return g(Vy.Provider,{value:a,children:t})}var eO=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,i){return o[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];n.call(r,a[1],a[0])}},t}()}(),Wy=typeof window<"u"&&typeof document<"u"&&window.document===document,sp=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),NL=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(sp):function(e){return sLine truncated
|
||||||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pe(e){return rB(e)||sO(e)||mx(e)||oB()}var lO=function(t){return+setTimeout(t,16)},cO=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(lO=function(t){return window.requestAnimationFrame(t)},cO=function(t){return window.cancelAnimationFrame(t)});var Gw=0,Ax=new Map;function uO(e){Ax.delete(e)}var Et=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Gw+=1;var r=Gw;function o(i){if(i===0)uO(r),t();else{var a=lO(function(){o(i-1)});Ax.set(r,a)}}return o(n),r};Et.cancel=function(e){var t=Ax.get(e);return uO(e),cO(t)};function up(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Mu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function o(i,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(Un(!l,"Warning: There may be circular references"),l)return!1;if(i===a)return!0;if(n&&s>1)return!1;r.add(i);var c=s+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var u=0;u<i.length;u++)if(!o(i[u],a[u],c))return!1;return!0}if(i&&a&&tt(i)==="object"&&tt(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(f){return o(i[f],a[f],c)})}return!1}return o(e,t)}var iB="%";function Uy(e){return e.join(iB)}var aB=function(){function e(t){Tt(this,e),Y(this,"instanceId",void 0),Y(this,"cache",new Map),this.instanceId=t}return Rt(e,[{key:"get",value:function(n){return this.opGet(Uy(n))}},{key:"opGet",value:function(n){return this.cache.get(n)||null}},{key:"update",value:function(n,r){return this.opUpdate(Uy(n),r)}},{key:"opUpdate",value:function(n,r){var o=this.cache.get(n),i=r(o);i===null?this.cache.delete(n):this.cache.set(n,i)}}]),e}(),al="data-token-hash",go="data-css-hash",Mi="__cssinjs_instance__";function sB(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(go,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(o){o[Mi]=o[Mi]||e,o[Mi]===e&&document.head.insertBefore(o,n)});var r={};Array.from(document.querySelectorAll("style[".concat(go,"]"))).forEach(function(o){var i=o.getAttribute(go);if(r[i]){if(o[Mi]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else r[i]=!0})}return new aB(e)}var lB=p.exports.createContext({hashPriority:"low",cache:sB(),defaultCache:!0});const wv=lB;function cB(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Ex=function(){function e(){Tt(this,e),Y(this,"cache",void 0),Y(this,"keys",void 0),Y(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return Rt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(n){var r,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l;a=(l=a)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var o=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(c,u){var d=te(c,2),f=d[1];return o.internalGet(u)[1]<f?[u,o.internalGet(u)[1]]:c},[this.keys[0],this.cacheCallTimes]),a=te(i,1),s=a[0];this.delete(s)}this.keys.push(n)}var l=this.cache;n.forEach(function(c,u){if(u===n.length-1)l.set(c,{value:[r,o.cacheCallTimes++]});else{var d=l.get(c);d?d.map||(d.map=new Map):l.set(c,{map:new Map}),l=l.get(c).map}})}},{key:"deleteByPath",value:function(n,r){var o=n.get(r[0]);if(r.length===1){var i;return o.map?n.set(r[0],{map:o.map}):n.delete(r[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,r.slice(1));return(!o.map||o.map.size===0)&&!o.value&&n.delete(r[0]),a}},{key:"delete",value:function(n){if(this.has(n))return this.keys=this.keys.filter(function(r){return!cB(r,n)}),this.deleteByPath(this.cache,n)}}]),e}();Y(Ex,"MAX_CACHE_SIZE",20);Y(Ex,"MAX_CACHE_OFFSET",5);var qw=0,dO=function(){function e(t){Tt(this,e),Y(this,"derivatives",void 0),Y(this,"id",void 0),this.derivatives=Array.i
Line truncated
|
||||||
|
`);else if(C._keyframe)h(C);else{var A=d.reduce(function(E,w){var M;return(w==null||(M=w.visit)===null||M===void 0?void 0:M.call(w,E))||E},C);Object.keys(A).forEach(function(E){var w=A[E];if(tt(w)==="object"&&w&&(E!=="animationName"||!w._keyframe)&&!tz(w)){var M=!1,P=E.trim(),R=!1;(o||i)&&s?P.startsWith("@")?M=!0:P=nz(E,s,c):o&&!s&&(P==="&"||P==="")&&(P="",R=!0);var T=e(w,n,{root:R,injectHash:M,parentSelectors:[].concat(Pe(a),[P])}),k=te(T,2),B=k[0],I=k[1];m=Z(Z({},m),I),f+="".concat(P).concat(B)}else{let $=function(L,N){var H=L.replace(/[A-Z]/g,function(z){return"-".concat(z.toLowerCase())}),D=N;!_B[L]&&typeof D=="number"&&D!==0&&(D="".concat(D,"px")),L==="animationName"&&N!==null&&N!==void 0&&N._keyframe&&(h(N),D=N.getName(s)),f+="".concat(H,":").concat(D,";")};var O=$,F,_=(F=w==null?void 0:w.value)!==null&&F!==void 0?F:w;tt(w)==="object"&&w!==null&&w!==void 0&&w[AO]&&Array.isArray(_)?_.forEach(function(L){$(E,L)}):$(E,_)}})}}),!o)f="{".concat(f,"}");else if(l&&pB()){var b=l.split(","),x=b[b.length-1].trim();f="@layer ".concat(x," {").concat(f,"}"),b.length>1&&(f="@layer ".concat(l,"{%%%:%}").concat(f))}return[f,m]};function EO(e,t){return up("".concat(e.join("%")).concat(t))}function oz(){return null}var $O="style";function Jy(e,t){var n=e.token,r=e.path,o=e.hashId,i=e.layer,a=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=p.exports.useContext(wv),d=u.autoClear;u.mock;var f=u.defaultCache,m=u.hashPriority,h=u.container,v=u.ssrInline,y=u.transformers,b=u.linters,x=u.cache,S=n._tokenKey,C=[S].concat(Pe(r)),A=Ky,E=$x($O,C,function(){var T=C.join("|");if(ZB(T)){var k=JB(T),B=te(k,2),I=B[0],F=B[1];if(I)return[I,S,F,{},s,c]}var _=t(),O=rz(_,{hashId:o,hashPriority:m,layer:i,path:r.join("-"),transformers:y,linters:b}),$=te(O,2),L=$[0],N=$[1],H=Zy(L),D=EO(C,H);return[H,S,D,N,s,c]},function(T,k){var B=te(T,3),I=B[2];(k||d)&&Ky&&eu(I,{mark:go})},function(T){var k=te(T,4),B=k[0];k[1];var I=k[2],F=k[3];if(A&&B!==CO){var _={mark:go,prepend:"queue",attachTo:h,priority:c},O=typeof a=="function"?a():a;O&&(_.csp={nonce:O});var $=Hi(B,I,_);$[Mi]=x.instanceId,$.setAttribute(al,S),Object.keys(F).forEach(function(L){Hi(Zy(F[L]),"_effect-".concat(L),_)})}}),w=te(E,3),M=w[0],P=w[1],R=w[2];return function(T){var k;if(!v||A||!f)k=g(oz,{});else{var B;k=g("style",{...(B={},Y(B,al,P),Y(B,go,R),B),dangerouslySetInnerHTML:{__html:M}})}return Q(Pt,{children:[k,T]})}}var iz=function(t,n,r){var o=te(t,6),i=o[0],a=o[1],s=o[2],l=o[3],c=o[4],u=o[5],d=r||{},f=d.plain;if(c)return null;var m=i,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return m=dp(i,a,s,h,f),l&&Object.keys(l).forEach(function(v){if(!n[v]){n[v]=!0;var y=Zy(l[v]);m+=dp(y,a,"_effect-".concat(v),h,f)}}),[u,s,m]},OO="cssVar",az=function(t,n){var r=t.key,o=t.prefix,i=t.unitless,a=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=p.exports.useContext(wv),d=u.cache.instanceId,f=u.container,m=s._tokenKey,h=[].concat(Pe(t.path),[r,c,m]),v=$x(OO,h,function(){var y=n(),b=vO(y,r,{prefix:o,unitless:i,ignore:a,scope:c}),x=te(b,2),S=x[0],C=x[1],A=EO(h,C);return[S,C,A,r]},function(y){var b=te(y,3),x=b[2];Ky&&eu(x,{mark:go})},function(y){var b=te(y,3),x=b[1],S=b[2];if(!!x){var C=Hi(x,S,{mark:go,prepend:"queue",attachTo:f,priority:-999});C[Mi]=d,C.setAttribute(al,r)}});return v},sz=function(t,n,r){var o=te(t,4),i=o[1],a=o[2],s=o[3],l=r||{},c=l.plain;if(!i)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=dp(i,s,a,d,c);return[u,a,f]},Hl;Hl={},Y(Hl,$O,iz),Y(Hl,mO,IB),Y(Hl,OO,sz);var $t=function(){function e(t,n){Tt(this,e),Y(this,"name",void 0),Y(this,"style",void 0),Y(this,"_keyframe",!0),this.name=t,this.style=n}return Rt(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Ja(e){return e.notSplit=!0,e}Ja(["borderTop","borderBottom"]),Ja(["borderTop"]),Ja(["borderBottom"]),Ja(["borderLeft","borderRight"]),Ja(["borderLeft"]),Ja(["borderRight"]);function MO(e){return S5(e)||sO(e)||mx(e)||C5()}function _o(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function PO(e,t,n,r){if(!t.length)return n;var o=MO(t),i=o[0],a=o.slice(1),s;return!e&&typeof i=="number"?s=[]:Array.isArray(e)?s=Pe(e):s=Z({},e),r&&n===void 0&&a.length===1?delete s[i][a[0]]:s[i]=PO(s[i],a,n,r),s}function lo(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!_o(e,t.slice(0,-1))?e:PO(e,t,n,r)}function lz(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function r2(e){return Array.isArray(e)?[]:{}}var cz=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Ns(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=r2(t[0]);return t.forEach(function(o){function i(a,s){var l=new Set(s),c=_o(o,a),u=Array.isArray(c);if(u||lz(c)){if(!l.has(c)){l.add(c);var d=_o(r,a);u?r=lo(r,a,[]):(!d||tt(d)!=="object")&&(r=lo(r,a,r2
Line truncated
|
||||||
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||||
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),ru=Oz;function Mz(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(o),m=n(i),h=n(a),v=n(s),y=r(c,u),b=e.colorLink||e.colorInfo,x=n(b);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorLinkHover:x[4],colorLink:x[6],colorLinkActive:x[7],colorBgMask:new Nt("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Pz=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},Tz=Pz;function Rz(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:o+1},Tz(r))}const Wo=(e,t)=>new Nt(e).setAlpha(t).toRgbString(),Vl=(e,t)=>new Nt(e).darken(t).toHexString(),Nz=e=>{const t=Ba(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Iz=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Wo(r,.88),colorTextSecondary:Wo(r,.65),colorTextTertiary:Wo(r,.45),colorTextQuaternary:Wo(r,.25),colorFill:Wo(r,.15),colorFillSecondary:Wo(r,.06),colorFillTertiary:Wo(r,.04),colorFillQuaternary:Wo(r,.02),colorBgLayout:Vl(n,4),colorBgContainer:Vl(n,0),colorBgElevated:Vl(n,0),colorBgSpotlight:Wo(r,.85),colorBgBlur:"transparent",colorBorder:Vl(n,15),colorBorderSecondary:Vl(n,6)}};function hf(e){return(e+8)/e}function _z(e){const t=new Array(10).fill(null).map((n,r)=>{const o=r-1,i=e*Math.pow(2.71828,o/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:hf(n)}))}const Dz=e=>{const t=_z(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),o=n[1],i=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*o),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},Fz=Dz;function kz(e){const t=Object.keys(IO).map(n=>{const r=Ba(e[n]);return new Array(10).fill(1).reduce((o,i,a)=>(o[`${n}-${a+1}`]=r[a],o[`${n}${a+1}`]=r[a],o),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Mz(e,{generateColorPalettes:Nz,generateNeutralColorPalettes:Iz})),Fz(e.fontSize)),$z(e)),Ez(e)),Rz(e))}const _O=Yy(kz),t1={token:ru,override:{override:ru},hashed:!0},DO=we.createContext(t1),FO="anticon",Lz=(e,t)=>t||(e?`ant-${e}`:"ant"),lt=p.exports.createContext({getPrefixCls:Lz,iconPrefixCls
Line truncated
|
||||||
|
:root {
|
||||||
|
${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(`
|
||||||
|
`)}
|
||||||
|
}
|
||||||
|
`.trim()}function jz(e,t){const n=zz(e,t);Kn()&&Hi(n,`${Bz}-dynamic-theme`)}const n1=p.exports.createContext(!1),Hz=e=>{let{children:t,disabled:n}=e;const r=p.exports.useContext(n1);return g(n1.Provider,{value:n!=null?n:r,children:t})},Sl=n1,r1=p.exports.createContext(void 0),Vz=e=>{let{children:t,size:n}=e;const r=p.exports.useContext(r1);return g(r1.Provider,{value:n||r,children:t})},$v=r1;function Wz(){const e=p.exports.useContext(Sl),t=p.exports.useContext($v);return{componentDisabled:e,componentSize:t}}const ou=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],Uz="5.14.2";function bh(e){return e>=0&&e<=255}function Ed(e,t){const{r:n,g:r,b:o,a:i}=new Nt(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new Nt(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((o-l*(1-c))/c);if(bh(u)&&bh(d)&&bh(f))return new Nt({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new Nt({r:n,g:r,b:o,a:1}).toRgbString()}var Yz=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function kO(e){const{override:t}=e,n=Yz(e,["override"]),r=Object.assign({},t);Object.keys(ru).forEach(f=>{delete r[f]});const o=Object.assign(Object.assign({},n),r),i=480,a=576,s=768,l=992,c=1200,u=1600;if(o.motion===!1){const f="0s";o.motionDurationFast=f,o.motionDurationMid=f,o.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Ed(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Ed(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Ed(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*4,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Ed(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
||||||
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowSecondary:`
|
||||||
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowTertiary:`
|
||||||
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
||||||
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
||||||
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
||||||
|
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:u-1,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
||||||
|
0 1px 2px -2px ${new Nt("rgba(0, 0, 0, 0.16)").toRgbString()},
|
||||||
|
0 3px 6px 0 ${new Nt("rgba(0, 0, 0, 0.12)").toRgbString()},
|
||||||
|
0 5px 12px 4px ${new Nt("rgba(0, 0, 0, 0.09)").toRgbString()}
|
||||||
|
`,boxShadowDrawerRight:`
|
||||||
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowDrawerLeft:`
|
||||||
|
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowDrawerUp:`
|
||||||
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowDrawerDown:`
|
||||||
|
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
||||||
|
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
||||||
|
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
||||||
|
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var i2=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const LO={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0},BO={size:!0,sizeSM:!0,sizeLG:!0,sizeMD:!0,sizeXS:!0,sizeXXS:!0,sizeMS:!0,sizeXL:!0,sizeXXL:!0,sizeUnit:!0,sizeStep:!0,motionBase:!0,motionUnit:!0},Kz={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},zO=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:o}=t,i=i2(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=kO(a),i&&Object.entries(i).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=i2(c,["theme"]);let f=d;u&&(f=zO(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};function vr(){const{token:e,hashed:t,theme:n,override:r,cssVar:o}=we.useContext(DO),i=`${Uz}-${t||""}`,a=n||_O,[s,l,c]=NB(a,[ru,e],{salt:i,override:r,getComputedToken:zO,formatToken:kO,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:LO,ignore:BO,preserve:Kz}});return[a,c,t?l:"",s,o]}function Tn(e){var t=p.exports.useRef();t.current=e;var n=p.exports.useCallback(function(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function Ys(e){var t=p.exports.useRef(!1),n=p.exports.useState(e),r=te(n,2),o=r[0],i=r[1];p.exports.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(s,l){l&&t.current||i(s)}return[o,a]}function xh(e){return e!==void 0}function Yt(e,t){var n=t||{},r=n.defaultValue,o=n.value,i=n.onChange,a=n.postState,s=Ys(function(){return xh(o)?o:xh(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),l=te(s,2),c=l[0],u=l[1],d=o!==void 0?o:c,f=a?a(d):d,m=Tn(i),h=Ys([d]),v=te(h,2),y=v[0],b=v[1];Gy(function(){var S=y[0];c!==S&&m(c,S)},[y]),Gy(function(){xh(o)||u(o)},[o]);var x=Tn(function(S,C){u(S,C),b([d],C)});return[f,x]}const Ui={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},Tx=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Pu=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Gz=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active,
|
||||||
|
&:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),qz=(e,t,n)=>{const{fontFamily:r,fontSize:o}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[n?`.${n}`:i]:{fontFamily:r,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Rx=e=>({outline:`${ne(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ov=e=>({"&:focus-visible":Object.assign({},Rx(e))});let Xz=Rt(function e(){Tt(this,e)});const jO=Xz;function Qz(e,t,n){return t=$n(t),Ji(e,Cv()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}let Zz=function(e){Jr(t,e);function t(n){var r;return Tt(this,t),r=Qz(this,t),r.result=0,n instanceof t?r.result=n.result:typeof n=="number"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof t?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof t?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof t?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),t}(jO);function Jz(e,t,n){return t=$n(t),Ji(e,Cv()?Reflect.construct(t,n||[],$n(e).constructor):t.apply(e,n))}const HO="CALC_UNIT";function Sh(e){return typeof e=="number"?`${e}${HO}`:e}let ej=function(e){Jr(t,e);function t(n){var r;return Tt(this,t),r=Jz(this,t),r.result="",n instanceof t?r.result=`(${n.result})`:typeof n=="number"?r.result=Sh(n):typeof n=="string"&&(r.result=n),r}return Rt(t,[{key:"add",value:function(r){return r instanceof t?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${Sh(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof t?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${Sh(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof t?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:o=!0}=r||{},i=new RegExp(`${HO}`,"g");return this.result=this.result.replace(i,o?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),t}(jO);const tj=e=>{const t=e==="css"?ej:Zz;return n=>new t(n)},nj=tj;function rj(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`max(${n.map(o=>ne(o)).join(",")})`},min:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return`min(${n.map(o=>ne(o)).join(",")})`}}}const VO=typeof CSSINJS_STATISTIC<"u";let o1=!0;function Mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!VO)return Object.assign.apply(Object,[{}].concat(t));o1=!1;const r={};return t.forEach(o=>{Object.keys(o).forEach(a=>{Object.defineProperty(r,a,{configurable:!0,enumerable:!0,get:()=>o[a]})})}),o1=!0,r}const a2={};function oj(){}const ij=e=>{let t,n=e,r=oj;return VO&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(o,i){return o1&&t.add(i),o[i]}}),r=(o,i)=>{var a;a2[o]={global:Array.from(t),component:Object.assign(Object.assign({},(a=a2[o])===null||a===void 0?void 0:a.component),i)}}),{token:n,keys:t,flush:r}},aj=(e,t)=>{const[n,r]=vr();return Jy({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},Tx()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},WO=aj,UO=(e,t,n)=>{var r;return typeof n=="function"?n(Mt(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},YO=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:a}=r;a.forEach(s=>{let[l,c]=s;var u;((o==null?void 0:o[l])||(o==null?void 0:o[c]))&&((u=o[c])!==null&&u!==void 0||(o[c]=o==null?void 0:o[l]))})}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach(a=>{i[a]===t[a]&&delete i[a]}),i},sj=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Nx(e,t,n){le
Line truncated
|
||||||
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
||||||
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
||||||
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
||||||
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
||||||
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
||||||
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
||||||
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
||||||
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
||||||
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
||||||
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
||||||
|
summary tabIndex target title type useMap value width wmode wrap`,Wj=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
||||||
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
||||||
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
||||||
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
||||||
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
||||||
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
||||||
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Uj="".concat(Vj," ").concat(Wj).split(/[\s\n]+/),Yj="aria-",Kj="data-";function p2(e,t){return e.indexOf(t)===0}function ll(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=Z({},t);var r={};return Object.keys(e).forEach(function(o){(n.aria&&(o==="role"||p2(o,Yj))||n.data&&p2(o,Kj)||n.attr&&Uj.includes(o))&&(r[o]=e[o])}),r}const{isValidElement:iu}=bu;function iM(e){return e&&iu(e)&&e.type===p.exports.Fragment}function Gj(e,t,n){return iu(e)?p.exports.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t}function Yi(e,t){return Gj(e,e,t)}const qj=e=>{const[,,,,t]=vr();return t?`${e}-css-var`:""},zo=qj;var ve={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=ve.F1&&n<=ve.F12)return!1;switch(n){case ve.ALT:case ve.CAPS_LOCK:case ve.CONTEXT_MENU:case ve.CTRL:case ve.DOWN:case ve.END:case ve.ESC:case ve.HOME:case ve.INSERT:case ve.LEFT:case ve.MAC_FF_META:case ve.META:case ve.NUMLOCK:case ve.NUM_CENTER:case ve.PAGE_DOWN:case ve.PAGE_UP:case ve.PAUSE:case ve.PRINT_SCREEN:case ve.RIGHT:case ve.SHIFT:case ve.UP:case ve.WIN_KEY:case ve.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=ve.ZERO&&t<=ve.NINE||t>=ve.NUM_ZERO&&t<=ve.NUM_MULTIPLY||t>=ve.A&&t<=ve.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case ve.SPACE:case ve.QUESTION_MARK:case ve.NUM_PLUS:case ve.NUM_MINUS:case ve.NUM_PERIOD:case ve.NUM_DIVISION:case ve.SEMICOLON:case ve.DASH:case ve.EQUALS:case ve.COMMA:case ve.PERIOD:case ve.SLASH:case ve.APOSTROPHE:case ve.SINGLE_QUOTE:case ve.OPEN_SQUARE_BRACKET:case ve.BACKSLASH:case ve.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Xj=we.createContext(void 0),aM=Xj,ma=100,Qj=10,Zj=ma*Qj,sM={Modal:ma,Drawer:ma,Popover:ma,Popconfirm:ma,Tooltip:ma,Tour:ma},Jj={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function eH(e){return e in sM}function Mv(e,t){const[,n]=vr(),r=we.useContext(aM),o=eH(e);if(t!==void 0)return[t,t];let i=r!=null?r:0;return o?(i+=(r?0:n.zIndexPopupBase)+sM[e],i=Math.min(i,n.zIndexPopupBase+Zj)):i+=Jj[e],[r===void 0?t:i,i]}function Jn(){Jn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(_,O,$){_[O]=$.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(_,O,$){return Object.defineProperty(_,O,{value:$,enumerable:!0,configurable:!0,writable:!0}),_[O]}try{c({},"")}catch{c=function($,L,N){return $[L]=N}}function u(_,O,$,L){var N=O&&O.prototype instanceof b?O:b,H=Object.create(N.prototype),D=new I(L||[]);return o(H,"_invoke",{value:R(_,$,D)}),H}function d(_,O,$){try{return{type:"normal",arg:_.call(O,$)}}catch(L){return{type:"throw",arg:L}}}t.wrap=u;var f="suspendedStart",m="suspendedYield",h="executing",v="completed",y={};function b(){}function x(){}function S(){}var C={};c(C,a,function(){return this});var A=Object.getPrototypeOf,E=A&&A(A(F([])));E&&E!==n&&r.call(E,a)&&(C=E);var w=S.prototype=b.prototype=Object.create(C);function M(_){["next","throw","return"].forEach(function(O){c(_,O,function($){return this._invoke(O,$)})})}function P(_,O){function $(N,H,D,z){var W=d(_[N],_,H);if(W.type!=="throw"){var K=W.arg,X=K.value;return X&&tt(X)=="object"&&r.call(X,"__await")?O.resolve(X.__await).then(function(j){$("next",j,D,z)},function(j){$("throw",j,D,z)}):O.resolve(X).then(function(j){K.value=j,D(K)},function(j){return $("throw",j,D,z)})}z(W.arg)}var L;o(this,"_invoke",{value:function(H,D){function z(){return new O(function(W,K){$(H,D,W,K)})}return L=L?L.then(z,z):z()}})}function R(_,O,$){var L=f;return function(N,H){if(L===h)throw new Error("Generator is already running");if(L===v){if(N==="throw")throw H;return{value:e,done:!
Line truncated
|
||||||
|
&:focus,
|
||||||
|
&:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},b2(`${t}-primary`,o),b2(`${t}-danger`,i)]}},TH=PH,dM=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Mt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},fM=e=>{var t,n,r,o,i,a;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(o=e.contentLineHeight)!==null&&o!==void 0?o:hf(s),d=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:hf(l),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:hf(c);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},RH=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${ne(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},Ov(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},ni=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),NH=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),IH=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),_H=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),au=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},ni(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),Lx=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},_H(e))}),pM=e=>Object.assign({},Lx(e)),pp=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),vM=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pM(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),ni(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),au(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},ni(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),au(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Lx(e))}),DH=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object
Line truncated
|
||||||
|
html body {
|
||||||
|
overflow-y: hidden;
|
||||||
|
`.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
|
||||||
|
}`),o)}else eu(o);return function(){eu(o)}},[t,o])}var w2=!1;function sV(e){return typeof e=="boolean"&&(w2=e),w2}var A2=function(t){return t===!1?!1:!Kn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Iv=p.exports.forwardRef(function(e,t){var n=e.open,r=e.autoLock,o=e.getContainer;e.debug;var i=e.autoDestroy,a=i===void 0?!0:i,s=e.children,l=p.exports.useState(n),c=te(l,2),u=c[0],d=c[1],f=u||n;p.exports.useEffect(function(){(a||n)&&d(n)},[n,a]);var m=p.exports.useState(function(){return A2(o)}),h=te(m,2),v=h[0],y=h[1];p.exports.useEffect(function(){var T=A2(o);y(T!=null?T:null)});var b=tV(f&&!v),x=te(b,2),S=x[0],C=x[1],A=v!=null?v:S;aV(r&&n&&Kn()&&(A===S||A===document.body));var E=null;if(s&&Ua(s)&&t){var w=s;E=w.ref}var M=Wa(E,t);if(!f||!Kn()||v===void 0)return null;var P=A===!1||sV(),R=s;return t&&(R=p.exports.cloneElement(s,{ref:M})),g(mM.Provider,{value:C,children:P?R:pr.exports.createPortal(R,A)})}),hM=p.exports.createContext({});function lV(){var e=Z({},bu);return e.useId}var E2=0,$2=lV();const gM=$2?function(t){var n=$2();return t||n}:function(t){var n=p.exports.useState("ssr-id"),r=te(n,2),o=r[0],i=r[1];return p.exports.useEffect(function(){var a=E2;E2+=1,i("rc_unique_".concat(a))},[]),t||o};function O2(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function M2(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var o=e.document;n=o.documentElement[r],typeof n!="number"&&(n=o.body[r])}return n}function cV(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=M2(o),n.top+=M2(o,!0),n}const uV=p.exports.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var P2={width:0,height:0,overflow:"hidden",outline:"none"},dV=we.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.title,a=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,m=e.bodyProps,h=e.modalRender,v=e.onMouseDown,y=e.onMouseUp,b=e.holderRef,x=e.visible,S=e.forceRender,C=e.width,A=e.height,E=e.classNames,w=e.styles,M=we.useContext(hM),P=M.panel,R=Wa(b,P),T=p.exports.useRef(),k=p.exports.useRef();we.useImperativeHandle(t,function(){return{focus:function(){var L;(L=T.current)===null||L===void 0||L.focus()},changeActive:function(L){var N=document,H=N.activeElement;L&&H===k.current?T.current.focus():!L&&H===T.current&&k.current.focus()}}});var B={};C!==void 0&&(B.width=C),A!==void 0&&(B.height=A);var I;s&&(I=g("div",{className:oe("".concat(n,"-footer"),E==null?void 0:E.footer),style:Z({},w==null?void 0:w.footer),children:s}));var F;i&&(F=g("div",{className:oe("".concat(n,"-header"),E==null?void 0:E.header),style:Z({},w==null?void 0:w.header),children:g("div",{className:"".concat(n,"-title"),id:a,children:i})}));var _;l&&(_=g("button",{type:"button",onClick:u,"aria-label":"Close",className:"".concat(n,"-close"),children:c||g("span",{className:"".concat(n,"-close-x")})}));var O=Q("div",{className:oe("".concat(n,"-content"),E==null?void 0:E.content),style:w==null?void 0:w.content,children:[_,F,g("div",{className:oe("".concat(n,"-body"),E==null?void 0:E.body),style:Z(Z({},f),w==null?void 0:w.body),...m,children:d}),I]});return Q("div",{role:"dialog","aria-labelledby":i?a:null,"aria-modal":"true",ref:R,style:Z(Z({},o),B),className:oe(n,r),onMouseDown:v,onMouseUp:y,children:[g("div",{tabIndex:0,ref:T,style:P2,"aria-hidden":"true"}),g(uV,{shouldUpdate:x||S,children:h?h(O):O}),g("div",{tabIndex:0,ref:k,style:P2,"aria-hidden":"true"})]},"dialog-element")}),yM=p.exports.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,o=e.style,i=e.className,a=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,m=p.exports.useRef(),h=p.exports.useState(),v=te(h,2),y=v[0],b=v[1],x={};y&&(x.transformOrigin=y);function S(){var C=cV(m.current);b(f?"".concat(f.x-C.left,"px ").concat(f.y-C.top,"px"):"")}return g(Bo,{visible:a,onVisibleChanged:d,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:c,removeOnLeave:l,ref:m,children:function(C,A){var E=C.className,w=C.style;return g(dV,{...e,ref:t,title:r,ariaId:u,prefixCls:n,holderRef:A,style:Z(Z(Z({},w),o),x),className:oe(i,E)})}})});yM.displayName="Content";function fV(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,i=e.motionName,a=e.className;return g(Bo,{visible:r,motionName:i,leavedClassName:"".concat(t,"-mask-hidden"),children:function(s,l){var c=s.className,u=s.style;return g("div",{ref:l,style:Z(Z({},u),n),className:oe("".concat(t,"-mask"),c,a),...o})}},"mask")}function pV(e){var t=e.prefixCls,n=t===void 0?"rc-dialog":t,r=e.zIndex,o=e.visible,i=o===void 0?!1:o,a=e.keyboard,s=a===void 0?!0:a,l=e.focusTriggerAfterClose,c=l===void 0?!0:l,u=e.wrapStyle,d=e.wrapClassName,f=e.wrapProps,m=e.onClose,h=e.afterOpenChange,v=e.afterClose,y=e.transitionName,b=e.animation,x=e.closable,S=x===void 0?!
Line truncated
|
||||||
|
(?:
|
||||||
|
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||||||
|
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||||||
|
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||||||
|
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||||||
|
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||||||
|
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||||||
|
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||||||
|
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||||||
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||||||
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),l=function(C){return C&&C.exact?i:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+o+t(C)+")","g")};l.v4=function(S){return S&&S.exact?a:new RegExp(""+t(S)+n+t(S),"g")},l.v6=function(S){return S&&S.exact?s:new RegExp(""+t(S)+o+t(S),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',x="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+m+h+v+")"+y+b;return Td=new RegExp("(?:^"+x+"$)","i"),Td},_2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},lc={integer:function(t){return lc.number(t)&&parseInt(t,10)===t},float:function(t){return lc.number(t)&&!lc.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!lc.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(_2.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(PV())},hex:function(t){return typeof t=="string"&&!!t.match(_2.hex)}},TV=function(t,n,r,o,i){if(t.required&&n===void 0){xM(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?lc[s](n)||o.push(Ar(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(Ar(i.messages.types[s],t.fullField,t.type))},RV=function(t,n,r,o,i){var a=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,f=typeof n=="number",m=typeof n=="string",h=Array.isArray(n);if(f?d="number":m?d="string":h&&(d="array"),!d)return!1;h&&(u=n.length),m&&(u=n.replace(c,"_").length),a?u!==t.len&&o.push(Ar(i.messages[d].len,t.fullField,t.len)):s&&!l&&u<t.min?o.push(Ar(i.messages[d].min,t.fullField,t.min)):l&&!s&&u>t.max?o.push(Ar(i.messages[d].max,t.fullField,t.max)):s&&l&&(u<t.min||u>t.max)&&o.push(Ar(i.messages[d].range,t.fullField,t.min,t.max))},es="enum",NV=function(t,n,r,o,i){t[es]=Array.isArray(t[es])?t[es]:[],t[es].indexOf(n)===-1&&o.push(Ar(i.messages[es],t.fullField,t[es].join(", ")))},IV=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(Ar(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(Ar(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},bt={required:xM,whitespace:MV,type:TV,range:RV,enum:NV,pattern:IV},_V=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n,"string")&&!t.required)return r();bt.required(t,n,o,a,i,"string"),yn(n,"string")||(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i),bt.pattern(t,n,o,a,i),t.whitespace===!0&&bt.whitespace(t,n,o,a,i))}r(a)},DV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},FV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},kV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&bt.type(t,n,o,a,i)}r(a)},LV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),yn(n)||bt.type(t,n,o,a,i)}r(a)},BV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},zV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(yn(n)&&!t.required)return r();bt.required(t,n,o,a,i),n!==void 0&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},jV=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();bt.required(t,n,o,a,i,"array"),n!=null&&(bt.type(t,n,o,a,i),bt.range(t,n,o,a,i))}r(a)},HV=function(t,n,r,o,i){var
Line truncated
|
||||||
|
${i}${e}-enter,
|
||||||
|
${i}${e}-appear
|
||||||
|
`]:Object.assign(Object.assign({},fW(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},pW(r)),{animationPlayState:"paused"}),[`
|
||||||
|
${i}${e}-enter${e}-enter-active,
|
||||||
|
${i}${e}-appear${e}-appear-active
|
||||||
|
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},vW=new $t("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),mW=new $t("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),$M=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[_v(r,vW,mW,e.motionDurationMid,t),{[`
|
||||||
|
${o}${r}-enter,
|
||||||
|
${o}${r}-appear
|
||||||
|
`]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},hW=new $t("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),gW=new $t("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),yW=new $t("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),bW=new $t("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),xW=new $t("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),SW=new $t("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),CW=new $t("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),wW=new $t("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),AW={"move-up":{inKeyframes:CW,outKeyframes:wW},"move-down":{inKeyframes:hW,outKeyframes:gW},"move-left":{inKeyframes:yW,outKeyframes:bW},"move-right":{inKeyframes:xW,outKeyframes:SW}},mp=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=AW[t];return[_v(r,o,i,e.motionDurationMid),{[`
|
||||||
|
${r}-enter,
|
||||||
|
${r}-appear
|
||||||
|
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Hx=new $t("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Vx=new $t("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Wx=new $t("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Ux=new $t("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),EW=new $t("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),$W=new $t("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),OW=new $t("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),MW=new $t("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),PW={"slide-up":{inKeyframes:Hx,outKeyframes:Vx},"slide-down":{inKeyframes:Wx,outKeyframes:Ux},"slide-left":{inKeyframes:EW,outKeyframes:$W},"slide-right":{inKeyframes:OW,outKeyframes:MW}},ul=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=PW[t];return[_v(r,o,i,e.motionDurationMid),{[`
|
||||||
|
${r}-enter,
|
||||||
|
${r}-appear
|
||||||
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},TW=new $t("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),RW=new $t("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),H2=new $t("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),V2=new $t("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),NW=new $t("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),IW=new $t("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),_W=new $t("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),DW=new $t("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),FW=new $t("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),kW=new $t("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),LW=new $t("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),BW=new $t("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),zW={zoom:{inKeyframes:TW,outKeyframes:RW},"zoom-big":{inKeyframes:H2,outKeyframes:V2},"zoom-big-fast":{inKeyframes:H2,outKeyframes:V2},"zoom-left":{inKeyframes:_W,outKeyframes:DW},"zoom-right":{inKeyframes:FW,outKeyframes:kW},"zoom-up":{inKeyframes:NW,outKeyframes:IW},"zoom-down":{inKeyframes:LW,outKeyframes:BW}},Dv=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=zW[t];return[_v(r,o,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
||||||
|
${r}-enter,
|
||||||
|
${r}-appear
|
||||||
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function W2(e){return{position:e,inset:0}}const OM=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},W2("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},W2("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:$M(e)}]},jW=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${ne(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${ne(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${ne(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:e.closeBtnActiveBg}},Ov(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,
|
||||||
|
${t}-body,
|
||||||
|
${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},HW=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},VW=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Mt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},WW=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,closeBtnHoverBg:e.wireframe?"transparent":e.colorFillContent,closeBtnActiveBg:e.wireframe?"transparent":e.colorFillContentHover,contentPadding:e.wireframe?0:`${ne(e.paddingMD)} ${ne(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${ne(e.padding)} ${ne(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${ne(e.paddingXS)} ${ne(e.padding)}`:0,footerBorderTop:e.wireframe?`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${ne(e.padding*2)} ${ne(e.padding*2)} ${ne(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM});On("Modal",e=>{const t=VW(e);return[jW(t),HW(t),OM(t),Dv(t,"zoom")]},WW,{unitless:{titleLineHeight:!0}});function UW(e){return t=>g(Dx,{theme:{token:{motion:!1,zIndexPopupBase:0}},children:g(e,{...Object.assign({},t)})})}const YW=(e,t,n,r)=>UW(i=>{const{prefixCls:a,style:s}=i,l=p.exports.useRef(null),[c,u]=p.exports.useState(0),[d,f]=p.exports.useState(0),[m,h]=Yt(!1,{value:i.open}),{getPrefixCls:v}=p.exports.useContext(lt),y=v(t||"select",a);p.exports.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver(A=>{const E=A[0].target;u(E.offsetHeight+8),f(E.offsetWidth)}),C=setInterval(()=>{var A;const E=n?`.${n(y)}`:`.${y}-dropdown`,w=(A=l.current)===null||A===void 0?void 0:A.querySelector(E);w&&(clearInterval(C),S.observe(w))},10);return()=>{clearInterval(C),S.disconnect()}}},[]);let b=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});return r&&(b=r(b)),g("div",{ref:l,style:{paddingBottom:c,position:"relative",minWidth:d},children:g(e,{...Object.assign({},b)})})}),KW=YW,Yx=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x7
Line truncated
|
||||||
|
`,`\r
|
||||||
|
`].includes(He)})},[_]),nt=p.exports.useContext(Kx)||{},ot=nt.maxCount,St=nt.rawValues,Ct=function(qe,wt,Kt){if(!((St==null?void 0:St.size)>=ot)){var Dt=!0,tn=qe;R==null||R(null);var xn=BU(qe,_,ot&&ot-St.size),qn=Kt?null:xn;return b!=="combobox"&&qn&&(tn="",F==null||F(qn),Se(!1),Dt=!1),I&&Ve!==tn&&I(tn,{source:wt?"typing":"effect"}),Dt}},pt=function(qe){!qe||!qe.trim()||I(qe,{source:"submit"})};p.exports.useEffect(function(){!Te&&!ae&&b!=="combobox"&&Ct("",!1,!1)},[Te]),p.exports.useEffect(function(){Ce&&x&&ke(!1),x&&!Ae.current&&Oe(!1)},[x]);var Ye=PM(),Ke=te(Ye,2),gt=Ke[0],Ne=Ke[1],je=function(qe){var wt=gt(),Kt=qe.which;if(Kt===ve.ENTER&&(b!=="combobox"&&qe.preventDefault(),Te||Se(!0)),Ne(!!Ve),Kt===ve.BACKSPACE&&!wt&&ae&&!Ve&&d.length){for(var Dt=Pe(d),tn=null,xn=Dt.length-1;xn>=0;xn-=1){var qn=Dt[xn];if(!qn.disabled){Dt.splice(xn,1),tn=qn;break}}tn&&f(Dt,{type:"remove",values:[tn]})}for(var Sn=arguments.length,Xn=new Array(Sn>1?Sn-1:0),ir=1;ir<Sn;ir++)Xn[ir-1]=arguments[ir];if(Te){var Xa;(Xa=Ie.current)===null||Xa===void 0||Xa.onKeyDown.apply(Xa,[qe].concat(Xn))}fe==null||fe.apply(void 0,[qe].concat(Xn))},Qe=function(qe){for(var wt=arguments.length,Kt=new Array(wt>1?wt-1:0),Dt=1;Dt<wt;Dt++)Kt[Dt-1]=arguments[Dt];if(Te){var tn;(tn=Ie.current)===null||tn===void 0||tn.onKeyUp.apply(tn,[qe].concat(Kt))}re==null||re.apply(void 0,[qe].concat(Kt))},ut=function(qe){var wt=d.filter(function(Kt){return Kt!==qe});f(wt,{type:"remove",values:[qe]})},en=p.exports.useRef(!1),zt=function(){Oe(!0),x||(ie&&!en.current&&ie.apply(void 0,arguments),J.includes("focus")&&Se(!0)),en.current=!0},ln=function(){Ae.current=!0,Oe(!1,function(){en.current=!1,Ae.current=!1,Se(!1)}),!x&&(Ve&&(b==="tags"?I(Ve,{source:"submit"}):b==="multiple"&&I("",{source:"blur"})),ee&&ee.apply(void 0,arguments))},cn=[];p.exports.useEffect(function(){return function(){cn.forEach(function(He){return clearTimeout(He)}),cn.splice(0,cn.length)}},[]);var rr=function(qe){var wt,Kt=qe.target,Dt=(wt=Ee.current)===null||wt===void 0?void 0:wt.getPopupElement();if(Dt&&Dt.contains(Kt)){var tn=setTimeout(function(){var Xn=cn.indexOf(tn);if(Xn!==-1&&cn.splice(Xn,1),Fe(),!se&&!Dt.contains(document.activeElement)){var ir;(ir=ge.current)===null||ir===void 0||ir.focus()}});cn.push(tn)}for(var xn=arguments.length,qn=new Array(xn>1?xn-1:0),Sn=1;Sn<xn;Sn++)qn[Sn-1]=arguments[Sn];me==null||me.apply(void 0,[qe].concat(qn))},gr=p.exports.useState({}),Mn=te(gr,2),ui=Mn[1];function di(){ui({})}var Gn;ct&&(Gn=function(qe){Se(qe)}),QW(function(){var He;return[be.current,(He=Ee.current)===null||He===void 0?void 0:He.getPopupElement()]},_e,Se,!!ct);var fi=p.exports.useMemo(function(){return Z(Z({},e),{},{notFoundContent:v,open:Te,triggerOpen:_e,id:o,showSearch:de,multiple:ae,toggleOpen:Se})},[e,v,_e,Te,o,de,ae,Se]),eo=!!$||S,or;eo&&(or=g(Fv,{className:oe("".concat(i,"-arrow"),Y({},"".concat(i,"-arrow-loading"),S)),customizeIcon:$,customizeIconProps:{loading:S,searchValue:Ve,open:Te,focused:De,showSearch:de}}));var _r=function(){var qe;y==null||y(),(qe=ge.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ct("",!1,!1)},to=GW(i,_r,d,O,L,x,Ve,b),Mo=to.allowClear,yr=to.clearIcon,pi=g(N,{ref:Ie}),no=oe(i,a,(r={},Y(r,"".concat(i,"-focused"),De),Y(r,"".concat(i,"-multiple"),ae),Y(r,"".concat(i,"-single"),!ae),Y(r,"".concat(i,"-allow-clear"),O),Y(r,"".concat(i,"-show-arrow"),eo),Y(r,"".concat(i,"-disabled"),x),Y(r,"".concat(i,"-loading"),S),Y(r,"".concat(i,"-open"),Te),Y(r,"".concat(i,"-customize-input"),Ze),Y(r,"".concat(i,"-show-search"),de),r)),At=g(kU,{ref:Ee,disabled:x,prefixCls:i,visible:_e,popupElement:pi,animation:H,transitionName:D,dropdownStyle:z,dropdownClassName:W,direction:c,dropdownMatchSelectWidth:K,dropdownRender:X,dropdownAlign:j,placement:V,builtinPlacements:G,getPopupContainer:U,empty:m,getTriggerDOMNode:function(){return Be.current},onPopupVisibleChange:Gn,onPopupMouseEnter:di,children:ct?p.exports.cloneElement(ct,{ref:ht}):g(xU,{...e,domRef:Be,prefixCls:i,inputElement:Ze,ref:ge,id:o,showSearch:de,autoClearSearchValue:B,mode:b,activeDescendantId:T,tagRender:l,values:d,open:Te,onToggleOpen:Se,activeValue:P,searchValue:Ve,onSearch:Ct,onSearchSubmit:pt,onRemove:ut,tokenWithEnter:Xe})}),mt;return ct?mt=At:mt=Q("div",{className:no,...ue,ref:be,onMouseDown:rr,onKeyDown:je,onKeyUp:Qe,onFocus:zt,onBlur:ln,children:[De&&!Te&&g("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},children:"".concat(d.map(function(He){var qe=He.label,wt=He.value;return["number","string"].includes(tt(qe))?qe:wt}).join(", "))}),At,or,Mo&&yr]}),g(MM.Provider,{value:fi,children:mt})}),Gx=function(){return null};Gx.isSelectOptGroup=!0;var qx=function(){return null};qx.isSelectOption=!0;var kM=p.exports.forwardRef(function(e,t){var n=e.height,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},f={display:"flex",flexDirection:"column"};return r!==void 0&&(d={height:n,position:"re
Line truncated
|
||||||
|
${o}${s}bottomLeft,
|
||||||
|
${i}${s}bottomLeft
|
||||||
|
`]:{animationName:Hx},[`
|
||||||
|
${o}${s}topLeft,
|
||||||
|
${i}${s}topLeft,
|
||||||
|
${o}${s}topRight,
|
||||||
|
${i}${s}topRight
|
||||||
|
`]:{animationName:Wx},[`${a}${s}bottomLeft`]:{animationName:Vx},[`
|
||||||
|
${a}${s}topLeft,
|
||||||
|
${a}${s}topRight
|
||||||
|
`]:{animationName:Ux},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},l4(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},Ui),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},l4(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},ul(e,"slide-up"),ul(e,"slide-down"),mp(e,"move-up"),mp(e,"move-down")]},kY=FY,os=2,LY=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},eS=(e,t)=>{const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,a=LY(e),s=t?`${n}-${t}`:"";return{[`${n}-multiple${s}`]:{[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:e.calc(os).mul(2).equal(),paddingBlock:e.calc(a).sub(os).equal(),borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${ne(os)} 0`,lineHeight:ne(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:os,marginBottom:os,lineHeight:ne(e.calc(i).sub(e.calc(e.lineWidth).mul(2)).equal()),borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,marginInlineEnd:e.calc(os).mul(2).equal(),paddingInlineStart:e.paddingXS,paddingInlineEnd:e.calc(e.paddingXS).div(2).equal(),[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(e.paddingXS).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Tx()),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${o}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),[`
|
||||||
|
&-input,
|
||||||
|
&-mirror
|
||||||
|
`]:{height:i,fontFamily:e.fontFamily,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function Nh(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",o={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
|
||||||
|
&${n}-show-arrow ${n}-selector,
|
||||||
|
&${n}-allow-clear ${n}-selector
|
||||||
|
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[eS(e,t),o]}const BY=e=>{const{componentCls:t}=e,n=Mt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Mt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Nh(e),Nh(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},Nh(r,"lg")]},zY=BY;function Ih(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=t?`${n}-${t}`:"";return{[`${n}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
||||||
|
${n}-selection-item,
|
||||||
|
${n}-selection-placeholder
|
||||||
|
`]:{padding:0,lineHeight:ne(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
||||||
|
&${n}-show-arrow ${n}-selection-item,
|
||||||
|
&${n}-show-arrow ${n}-selection-placeholder
|
||||||
|
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${ne(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:ne(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne(r)}`,"&:after":{display:"none"}}}}}}}function jY(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Ih(e),Ih(Mt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${ne(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
||||||
|
&${t}-show-arrow ${t}-selection-item,
|
||||||
|
&${t}-show-arrow ${t}-selection-placeholder
|
||||||
|
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Ih(Mt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const HY=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:f,controlHeightSM:m,colorBgContainerDisabled:h,colorTextDisabled:v}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:f,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:m,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},VM=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:o}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${ne(o)} ${t.activeShadowColor}`,outline:0}}}},c4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},VM(e,t))}),VY=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},VM(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),c4(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),c4(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),WM=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${ne(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},u4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},WM(e,t))}),WY=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},WM(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),u4(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),u4(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),UY=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),YY=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},VY(e)),WY(e)),UY(e))}),KY=YY,GY=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},qY=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},XY=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:o}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not($Line truncated
|
||||||
|
&:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Rx(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:x(1).mul(o).div(-2).equal(),marginInlineStart:x(1).mul(o).div(-2).equal(),backgroundColor:y,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:b,"&::after":{transform:`scale(${e.calc(e.dotSize).div(o).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${x(A).div(o).equal({unit:!1})})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},Aq=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:o,lineType:i,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:m,controlHeightSM:h,paddingXS:v,borderRadius:y,borderRadiusSM:b,borderRadiusLG:x,buttonCheckedBg:S,buttonSolidCheckedColor:C,colorTextDisabled:A,colorBgContainerDisabled:E,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:M,colorPrimary:P,colorPrimaryHover:R,colorPrimaryActive:T,buttonSolidCheckedBg:k,buttonSolidCheckedHoverBg:B,buttonSolidCheckedActiveBg:I,calc:F}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:ne(F(n).sub(F(o).mul(2)).equal()),background:d,border:`${ne(o)} ${i} ${a}`,borderBlockStartWidth:F(o).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:o,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:F(o).mul(-1).equal(),insetInlineStart:F(o).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:o,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${ne(o)} ${i} ${a}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:ne(F(m).sub(F(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:x,borderEndStartRadius:x},"&:last-child":{borderStartEndRadius:x,borderEndEndRadius:x}},[`${r}-group-small &`]:{height:h,paddingInline:F(v).sub(o).equal(),paddingBlock:0,lineHeight:ne(F(h).sub(F(o).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},"&:hover":{position:"relative",color:P},"&:has(:focus-visible)":Object.assign({},Rx(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:P,background:S,borderColor:P,"&::before":{backgroundColor:P},"&:first-child":{borderColor:P},"&:hover":{color:R,borderColor:R,"&::before":{backgroundColor:R}},"&:active":{color:T,borderColor:T,"&::before":{backgroundColor:T}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:k,borderColor:k,"&:hover":{color:C,background:B,borderColor:B},"&:active":{color:C,background:I,borderColor:I}},"&-disabled":{color:A,backgroundColor:E,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:A,backgroundColor:E,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:M,backgroundColor:w,borderColor:a,boxShadow:"none"}}}},Eq=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:o,fontSizeLG:i,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:h}=e,v=4,y=i,b=t?y-v*2:y-(v+o)*2;return{radioSize:y,dotSize:b,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-o,wrapperMarginInlineEnd:r,
Line truncated
|
||||||
|
& > ${t}-affix-wrapper,
|
||||||
|
& > ${t}-number-affix-wrapper,
|
||||||
|
& > ${n}-picker-range
|
||||||
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
|
||||||
|
& > ${n}-select-auto-complete ${t},
|
||||||
|
& > ${n}-cascader-picker ${t},
|
||||||
|
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
||||||
|
& > ${n}-select:first-child > ${n}-select-selector,
|
||||||
|
& > ${n}-select-auto-complete:first-child ${t},
|
||||||
|
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
||||||
|
& > ${n}-select:last-child > ${n}-select-selector,
|
||||||
|
& > ${n}-cascader-picker:last-child ${t},
|
||||||
|
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Hq=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:o}=e,i=16,a=o(n).sub(o(r).mul(2)).sub(i).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),Y8(e)),B8(e)),H8(e)),z8(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Vq=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${ne(e.inputAffixPadding)}`}}}},Wq=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign({},Y8(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Vq(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}})}},Uq=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),jq(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},Bq(e)),zq(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Yq=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal({unit:!1})},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
|
||||||
|
> ${t},
|
||||||
|
${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},Kq=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},Gq=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},mS=On("Input",e=>{const t=Mt(e,F8(e));return[Hq(t),Kq(t),Wq(t),Uq(t),Yq(t),Gq(t),Nv(t)]},k8),Dh=(e,t)=>{const{componentCls:n,selectHeight:r,fontHeight:o,lineWidth:i,calc:a}=e,s=t?`${n}-${t}`:"",l=e.calc(o).add(2).equal(),c=()=>a(r).sub(l).sub(a(i).mul(2)),u=e.max(c().div(2).equal(),0),d=e.max(c().sub(u).equal(),0);return[eS(e,t),{[`${n}-multiple${s}`]:{paddingTop:u,paddingBottom:d,paddingInlineStart:u}}]},qq=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,o=Mt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),i=Mt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[Dh(o,"small"),Dh(e),Dh(i,"large"),eS(e),{[`${t}${t}-multiple`]:{width:"100%",[`${t}-selector`]:{flex:"auto",padding:0,"&:after":{margin:0}},[`${t}-selection-item`]:{marginBlock:0},[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},Xq=qq,Qq=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:o,motionDurationMid:i,cellHoverBg:a,lineWidth:s,lineType:l,colorPrimary:c,cellActiveWithRangeBg:u,colorTextLightSolid:d,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:h}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:ne(r),borderRadius:o,transition:`background ${i}`},[`&:hover:not(${t}-in-view),
|
||||||
|
&:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:a}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${ne(s)} ${l} ${c}`,borderRadius:o,content:'""'}},[`&-in-view${t}-in-range,
|
||||||
|
&-in-view${t}-range-start,
|
||||||
|
&-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:u}},[`&-in-view${t}-selected,
|
||||||
|
&-in-view${t}-range-start,
|
||||||
|
&-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:d,background:c},[`&${t}-disabled ${n}`]:{background:h}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:o,borderEndStartRadius:o,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:o,borderEndEndRadius:o},"&-disabled":{color:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},K8=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:o,pickerControlIconSize:i,cellWidth:a,paddingSM:s,paddingXS:l,paddingXXS:c,colorBgContainer:u,lineWidth:d,lineType:f,borderRadiusLG:m,colorPrimary:h,colorTextHeading:v,colorSplit:y,pickerControlIconBorderWidth:b,colorIcon:x,textHeight:S,motionDurationMid:C,colorIconHover:A,fontWeightStrong:E,cellHeight:w,pickerCellPaddingVertical:M,colorTextDisabled:P,colorText:R,fontSize:T,motionDurationSlow:k,withoutTimeCellHeight:B,pickerQuarterPanelContentHeight:I,borderRadiusSM:F,colorTextLightSolid:_,cellHoverBg:O,timeColumnHeight:$,timeColumnWidth:L,timeCellHeight:N,controlItemBgActive:H,marginXXS:D,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:W}=e,K=e.calc(a).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:u,borderRadius:m,outline:"none","&-focused":{borderColor:h},"&-rtl":{direction:"rtl",[`${t}-prev-icon,
|
||||||
|
${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon,
|
||||||
|
${t}-super-next-icon`]:{transform:"rotate(-135deg)"}}},[`&-decade-panel,
|
||||||
|
&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel,
|
||||||
|
&-week-panel,
|
||||||
|
&-date-panel,
|
||||||
|
&-time-panel`]:{display:"flex",flexDirection:"column",width:K},"&-header":{display:"flex",padding:`0 ${ne(l)}`,color:v,borderBottom:`${ne(d)} ${f} ${y}`,"> *":{flex:"none"},button:{padding:0,color:x,lineHeight:ne(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:T,"&:hover":{color:A},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:ne(S),button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:h}}}},[`&-prev-icon,
|
||||||
|
&-next-icon,
|
||||||
|
&-super-prev-icon,
|
||||||
|
&-super-next-icon`]:{position:"relative",display:"inline-block",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:b,borderBlockEndWidth:0,borderInlineStartWidth:b,borderInlineEndWidth:0,content:'""'}},[`&-super-prev-icon,
|
||||||
|
&-super-next-icon`]:{"&::after":{position:"absolute",top:W,insetInlineStart:W,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockStartWidth:b,borderBlockEndWidth:0,borderInlineStartWidth:b,borderInlineEndWidth:0,content:'""'}},[`&-prev-icon,
|
||||||
|
&-super-prev-icon`]:{transform:"rotate(-45deg)"},[`&-next-icon,
|
||||||
|
&-super-next-icon`]:{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:w,fontWeight:"normal"},th:{height:e.calc(w).add(e.calc(M).mul(2)).equal(),color:R,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${ne(M)} 0`,color:P,cursor:"pointer","&-in-view":{color:R}},Qq(e)),[`&-decade-panel,
|
||||||
|
&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel`]:{[`${t}-content`]:{height:e.calc(B).mul(4).equal()},[r]:{padding:`0 ${ne(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:I}},"&-decade-panel":{[r]:{padding:`0 ${ne(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},[`&-year-panel,
|
||||||
|
&-quarter-panel,
|
||||||
|
&-month-panel`]:{[`${t}-body`]:{padding:`0 ${ne(l)}`},[r]:{width:o}},"&-date-panel":{[`${t}-body`]:{padding:`${ne(l)} ${ne(z)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r},
|
||||||
|
&-selected ${r},
|
||||||
|
${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${C}`},"&:first-child:before":{borderStartStartRadius:F,borderEndStartRadius:F},"&:last-child:before":{borderStartEndRadius:F,borderEndEndRadius:F}},["&:hover td"]:{"&:before":{background:O}},[`&-range-start td,
|
||||||
|
&-range-end td,
|
||||||
|
&-selected td`]:{[`&${n}`]:{"&:before":{background:h},[`&${t}-cell-week`]:{color:new Nt(_).setAlpha(.5).toHexString()},[r]:{color:_}}},["&-range-hover td:before"]:{background:H}}},["&-week-panel, &-date-panel-show-week"]:{[`${t}-body`]:{padding:`${ne(l)} ${ne(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${ne(d)} ${f} ${y}`},[`${t}-date-panel,
|
||||||
|
${t}-time-panel`]:{transition:`opacity ${k}`},"&-active":{[`${t}-date-panel,
|
||||||
|
${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${t}-content`]:{display:"flex",flex:"auto",height:$},"&-column":{flex:"1 0 auto",width:L,margin:`${ne(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:4},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(N).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${ne(d)} ${f} ${y}`},"&-active":{background:new Nt(H).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:D,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(D).mul(2)).equal(),height:N,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(N).div(2).equal(),color:R,lineHeight:ne(N),borderRadius:F,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:O}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:H}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:P,background:"transparent",cursor:"not-allowed"}}}}}}}}},Zq=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:o,antCls:i,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${ne(r)} ${c} ${u}`,"&-extra":{padding:`0 ${ne(o)}`,lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${ne(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:ne(o),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:ne(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},Jq=Zq,G8=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:o}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(o).add(e.calc(r).div(2)).equal()}},q8=e=>{const{colorBgContainerDisabled:t,controlHeightSM:n,controlHeightLG:r}=e;return{cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new Nt(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Nt(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:r*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:n,multipleItemHeightLG:e.controlHeight,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},eX=e=>Object.assign(Object.assign(Object.assign(Object.assign({},k8(e)),q8(e)),nS(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),tX=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},B8(e)),H8(e)),z8(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${ne(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},nX=tX,Fh=(e,t,n,r)=>{const o=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(o).div(2).equal(),0),a=e.max(e.calc(t).sub(o).sub(i).equal(),0);return{padding:`${ne(i)} ${ne(r)} ${ne(a)}`}},rX=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},oX=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:o,lineWidth:i,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:m,controlHeightSM:h,paddingInlineSM:v,paddingXS:y,marginXS:b,colorTextDescription:x,lineWidthBold:S,c
Line truncated
|
||||||
|
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight,
|
||||||
|
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft,
|
||||||
|
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Wx},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft,
|
||||||
|
&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight,
|
||||||
|
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft,
|
||||||
|
&${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Hx},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft,
|
||||||
|
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Ux},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft,
|
||||||
|
&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Vx},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(o).mul(1.5).equal(),boxSizing:"content-box",transition:`left ${A} ease-out`},qM(e,P,O)),{"&:before":{insetInlineStart:e.calc(o).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:P,borderRadius:R,boxShadow:T,transition:`margin ${A}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:F,maxWidth:_,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:y,borderInlineEnd:`${ne(i)} ${a} ${B}`,li:Object.assign(Object.assign({},Ui),{borderRadius:k,paddingInline:y,paddingBlock:e.calc(h).sub($).div(2).equal(),cursor:"pointer",transition:`all ${A}`,"+ li":{marginTop:b},"&:hover":{background:I}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content,
|
||||||
|
table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${ne(e.calc(M).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},ul(e,"slide-up"),ul(e,"slide-down"),mp(e,"move-up"),mp(e,"move-down")]};On("DatePicker",e=>{const t=Mt(F8(e),G8(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Jq(t),oX(t),nX(t),rX(t),Xq(t),Nv(e,{focusElCls:`${e.componentCls}-focused`})]},eX);const iX=e=>{const{calendarCls:t,componentCls:n,fullBg:r,fullPanelBg:o,itemActiveBg:i}=e;return{[t]:Object.assign(Object.assign(Object.assign({},K8(e)),on(e)),{background:r,"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${ne(e.paddingSM)} 0`,[`${t}-year-select`]:{minWidth:e.yearControlWidth},[`${t}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${t}-mode-switch`]:{marginInlineStart:e.marginXS}}}),[`${t} ${n}-panel`]:{background:o,border:0,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${n}-month-panel, ${n}-date-panel`]:{width:"auto"},[`${n}-body`]:{padding:`${ne(e.paddingXS)} 0`},[`${n}-content`]:{width:"100%"}},[`${t}-mini`]:{borderRadius:e.borderRadiusLG,[`${t}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${n}-panel`]:{borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},[`${n}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:`${ne(e.weekHeight)}`}},[`${n}-cell::before`]:{pointerEvents:"none"}},[`${t}${t}-full`]:{[`${n}-panel`]:{display:"block",width:"100%",textAlign:"end",background:r,border:0,[`${n}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:`${ne(e.weekHeight)}`}}},[`${n}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${t}-date`]:{background:e.controlItemBgHover}},[`${t}-date-today::before`]:{display:"none"},[`&-in-view${n}-cell-selected`]:{[`${t}-date, ${t}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${t}-date, ${t}-date-today`]:{[`${t}-date-value`]:{color:e.colorPrimary}}}},[`${t}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${ne(e.calc(e.marginXS).div(2).equal())}`,padding:`${ne(e.calc(e.paddingXS).div(2).equal())} ${ne(e.paddingXS)} 0`,border:0,borderTop:`${ne(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:`${ne(e.dateValueHeight)}`,transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${t}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${ne(e.screenXS)}) `]:{[`${t}`]:{[`${t}-header`]:{display:"block",[`${t}-year-select`]:{width:"50%"},[`${t}-month-select`]:{width:`calc(50% - ${ne(e.paddingXS)})`},[`${t}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},aX=e=>Object.assign({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256},q8(e)),sX=On("Calendar",e=>{const t=`${e.componentCls}-calendar`,n=Mt(e,G8(e),{calendarCls:t,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return[iX(n)]},aX);function X8(e){function t(i,a){return i&&a&&e.getYear(i)===e.getYear(a)}function n(i,a){return t(i,a)&&e.getMonth(i)===e.getMonth(a)}function r(i,a){return n(i,a)&&e.getDate(i)===e.getDate(a)}return i=>{const{prefixCls:a,className:s,rootClassName:l,style:c,dateFullCellRender:u,dateCellRender:d,monthFullCellRender:f,monthCellRender:m,cellRender:h,fullCellRender:v,headerRender:y,value:b,defaultValue:x,disabledDate:S,mode:C,validRange:A,fullscreen:E=!0,onChange:w,onPanelChange:M,onSelect:P}=i,{getPrefixCls:R,direction:T,calendar:k}=p.exports.useContext(lt),B=R("picker",a),I=`${B}-calendar`,[F,_,O]=sX(B,I),$=e.getNow(),[L,N]=Yt(()=>b||e.getNow(),{defaultValue:x,value:b}),[H,D]=Yt("month",{value:C}),z=p.exports.useMemo(()=>H==="year"?"month":"date",[H]),W=p.exports.useCallback(ee=>(A?e.isAfter(A[0],ee)||e.isAfter(ee,A[1]):!1)||!!(S!=null&&S(ee)),[S,A]),K=(ee,re)=>{M==null||M(ee,re)},X=ee=>{N(ee),r(ee,L)||((z==="date"&&!n(ee,L)||z==="month"&&!t(ee,L))&&K(ee,H),w==null||w(ee))},j=ee=>{D(ee),K(L,ee)},V=(ee,re)=>{X(ee),P==null||P(ee,{source:re})},G=()=>{const{locale:ee}=i,re=Object.assign(Object.assign({},e1),ee);return re.lang=Object.assign(Object.assign({},re.l
Line truncated
|
||||||
|
${r},
|
||||||
|
${o} > li,
|
||||||
|
${n},
|
||||||
|
${i},
|
||||||
|
${a},
|
||||||
|
${s}
|
||||||
|
`]:Object.assign({},dX(e))}}},gX=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,o=n;return{color:r,colorGradientEnd:o,gradientFromColor:r,gradientToColor:o,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},$l=On("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Mt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[hX(r)]},gX,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),yX=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=$l(l),f=Rr(e,["prefixCls","className"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o},n,r,u,d);return c(g("div",{className:m,children:g(Vv,{...Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},f)})}))},bX=yX,xX=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=$l(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(Vv,{...Object.assign({prefixCls:`${l}-button`,size:a},f)})}))},SX=xX,CX="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",wX=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=p.exports.useContext(lt),s=a("skeleton",t),[l,c,u]=$l(s),d=oe(s,`${s}-element`,{[`${s}-active`]:i},n,r,c,u);return l(g("div",{className:d,children:g("div",{className:oe(`${s}-image`,n),style:o,children:g("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`,children:g("path",{d:CX,className:`${s}-image-path`})})})}))},AX=wX,EX=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=$l(l),f=Rr(e,["prefixCls"]),m=oe(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u,d);return c(g("div",{className:m,children:g(Vv,{...Object.assign({prefixCls:`${l}-input`,size:a},f)})}))},$X=EX,OX=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=p.exports.useContext(lt),l=s("skeleton",t),[c,u,d]=$l(l),f=oe(l,`${l}-element`,{[`${l}-active`]:i},u,n,r,d),m=a!=null?a:g(_F,{});return c(g("div",{className:f,children:g("div",{className:oe(`${l}-image`,n),style:o,children:m})}))},MX=OX,PX=e=>{const t=s=>{const{width:l,rows:c=2}=e;if(Array.isArray(l))return l[s];if(c-1===s)return l},{prefixCls:n,className:r,style:o,rows:i}=e,a=Pe(Array(i)).map((s,l)=>g("li",{style:{width:t(l)}},l));return g("ul",{className:oe(n,r),style:o,children:a})},TX=PX,RX=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return g("h3",{className:oe(t,n),style:Object.assign({width:r},o)})},NX=RX;function zh(e){return e&&typeof e=="object"?e:{}}function IX(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function _X(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function DX(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:m,skeleton:h}=p.exports.useContext(lt),v=f("skeleton",t),[y,b,x]=$l(v);if(n||!("loading"in e)){const S=!!s,C=!!l,A=!!c;let E;if(S){const P=Object.assign(Object.assign({prefixCls:`${v}-avatar`},IX(C,A)),zh(s));E=g("div",{className:`${v}-header`,children:g(Vv,{...Object.assign({},P)})})}let w;if(C||A){let P;if(C){const T=Object.assign(Object.assign({prefixCls:`${v}-title`},_X(S,A)),zh(l));P=g(NX,{...Object.assign({},T)})}let R;if(A){const T=Object.assign(Objec
Line truncated
|
||||||
|
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
||||||
|
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:ne(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},fQ=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${ne(e.borderRadius)} ${ne(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${ne(e.borderRadius)} ${ne(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${ne(e.borderRadius)} ${ne(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${ne(e.borderRadius)} 0 0 ${ne(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},pQ=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Ov(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},vQ=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:ne(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:ne(e.marginXS)},marginLeft:{_skip_check_:!0,value:ne(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_sk
Line truncated
|
||||||
|
> ${n}-typography,
|
||||||
|
> ${n}-typography-edit-content
|
||||||
|
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${ne(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},EQ=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`
|
||||||
|
${ne(o)} 0 0 0 ${n},
|
||||||
|
0 ${ne(o)} 0 0 ${n},
|
||||||
|
${ne(o)} ${ne(o)} 0 0 ${n},
|
||||||
|
${ne(o)} 0 0 0 ${n} inset,
|
||||||
|
0 ${ne(o)} 0 0 ${n} inset;
|
||||||
|
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},$Q=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${ne(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:ne(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:ne(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${ne(e.lineWidth)} ${e.lineType} ${i}`}}})},OQ=e=>Object.assign(Object.assign({margin:`${ne(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Pu()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},Ui),"&-description":{color:e.colorTextDescription}}),MQ=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${ne(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${ne(e.padding)} ${ne(n)}`}}},PQ=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},TQ=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:s,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:AQ(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)}`},Pu()),[`${n}-grid`]:EQ(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:$Q(e),[`${n}-meta`]:OQ(e)}),[`${n}-bordered`]:{border:`${ne(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${ne(e.borderRadiusLG)} ${ne(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:MQ(e),[`${n}-loading`]:PQ(e),[`${n}-rtl`]:{direction:"rtl"}}},RQ=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${ne(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},NQ=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),IQ=On("Card",e=>{const t=Mt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[TQ(t),RQ(t)]},NQ);var D4=globalThis&&globalThis.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};const _Q=e=>{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return g("ul",{className:t,style:r,children:n.map((o,i)=>{const a=`action-${i}`;return g("li",{style:{width:`${100/n.length}%`},children:g("span",{children:o})},a)})})},DQ=p.exports.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:o,style:i,extra:a,headStyle:s={},bodyStyle:l={},title:c,loadin
Line truncated
|
||||||
|
min-height:0 !important;
|
||||||
|
max-height:none !important;
|
||||||
|
height:0 !important;
|
||||||
|
visibility:hidden !important;
|
||||||
|
overflow:hidden !important;
|
||||||
|
position:absolute !important;
|
||||||
|
z-index:-1000 !important;
|
||||||
|
top:0 !important;
|
||||||
|
right:0 !important;
|
||||||
|
pointer-events: none !important;
|
||||||
|
`,fZ=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],jh={},kr;function pZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&jh[n])return jh[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=fZ.map(function(c){return"".concat(c,":").concat(r.getPropertyValue(c))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(jh[n]=l),l}function vZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;kr||(kr=document.createElement("textarea"),kr.setAttribute("tab-index","-1"),kr.setAttribute("aria-hidden","true"),document.body.appendChild(kr)),e.getAttribute("wrap")?kr.setAttribute("wrap",e.getAttribute("wrap")):kr.removeAttribute("wrap");var o=pZ(e,t),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,l=o.sizingStyle;kr.setAttribute("style","".concat(l,";").concat(dZ)),kr.value=e.value||e.placeholder||"";var c=void 0,u=void 0,d,f=kr.scrollHeight;if(s==="border-box"?f+=a:s==="content-box"&&(f-=i),n!==null||r!==null){kr.value=" ";var m=kr.scrollHeight-i;n!==null&&(c=m*n,s==="border-box"&&(c=c+i+a),f=Math.max(c,f)),r!==null&&(u=m*r,s==="border-box"&&(u=u+i+a),d=f>u?"":"hidden",f=Math.min(u,f))}var h={height:f,overflowY:d,resize:"none"};return c&&(h.minHeight=c),u&&(h.maxHeight=u),h}var mZ=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Hh=0,Vh=1,Wh=2,hZ=p.exports.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var o=n.defaultValue,i=n.value,a=n.autoSize,s=n.onResize,l=n.className,c=n.style,u=n.disabled,d=n.onChange;n.onInternalAutoSize;var f=rt(n,mZ),m=Yt(o,{value:i,postState:function(W){return W!=null?W:""}}),h=te(m,2),v=h[0],y=h[1],b=function(W){y(W.target.value),d==null||d(W)},x=p.exports.useRef();p.exports.useImperativeHandle(t,function(){return{textArea:x.current}});var S=p.exports.useMemo(function(){return a&&tt(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),C=te(S,2),A=C[0],E=C[1],w=!!a,M=function(){try{if(document.activeElement===x.current){var W=x.current,K=W.selectionStart,X=W.selectionEnd,j=W.scrollTop;x.current.setSelectionRange(K,X),x.current.scrollTop=j}}catch{}},P=p.exports.useState(Wh),R=te(P,2),T=R[0],k=R[1],B=p.exports.useState(),I=te(B,2),F=I[0],_=I[1],O=function(){k(Hh)};Lt(function(){w&&O()},[i,A,E,w]),Lt(function(){if(T===Hh)k(Vh);else if(T===Vh){var z=vZ(x.current,!1,A,E);k(Wh),_(z)}else M()},[T]);var $=p.exports.useRef(),L=function(){Et.cancel($.current)},N=function(W){T===Wh&&(s==null||s(W),a&&(L(),$.current=Et(function(){O()})))};p.exports.useEffect(function(){return L},[]);var H=w?F:null,D=Z(Z({},c),H);return(T===Hh||T===Vh)&&(D.overflowY="hidden",D.overflowX="hidden"),g(Yr,{onResize:N,disabled:!(a||s),children:g("textarea",{...f,ref:x,style:D,className:oe(r,l,Y({},"".concat(r,"-disabled"),u)),disabled:u,value:v,onChange:b})})}),gZ=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],yZ=we.forwardRef(function(e,t){var n,r,o=e.defaultValue,i=e.value,a=e.onFocus,s=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,m=e.suffix,h=e.prefixCls,v=h===void 0?"rc-textarea":h,y=e.showCount,b=e.count,x=e.className,S=e.style,C=e.disabled,A=e.hidden,E=e.classNames,w=e.styles,M=e.onResize,P=rt(e,gZ),R=Yt(o,{value:i,defaultValue:o}),T=te(R,2),k=T[0],B=T[1],I=k==null?"":String(k),F=we.useState(!1),_=te(F,2),O=_[0],$=_[1],L=we.useRef(!1),N=we.useState(null),H=te(N,2),D=H[0],z=H[1],W=p.exports.useRef(null),K=function(){var ge;return(ge=W.current)===null||ge===void 0?void 0:ge.textArea},X=function(){K().focus()};p.exports.useImperativeHandle(t,function(){return{resizableTextArea:W.current,focus:X,blur:function(){K().blur()}}}),p.exports.useEffect(function(){$(function(Ee){return!C&&Ee})},[C]);var j=we.useState(null),V=te(j,2),G=V[0],U=V[1];we.useEffect(function(){if(G){var Ee;(Ee=K()).setSelectionRange.apply(Ee,Pe(G))}},[G]);var q=aP(b,y),J=(n=q.max)!==null&&n!==void 0?n:u,ie=Number(J)>0,ee=q.strategy(I),re=!!J&&ee>J,fe=function(ge,Ie){var Ae=Ie;!L.current&&q.exceedFormatter&&q.max&&q.strategy(Ie)>q.max&&(Ae=q.exceedFormatte
Line truncated
|
||||||
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,$ae=sn,Oae=ju,Mae=qa,U1=uT,qA=$ae("".replace),Pae=RegExp("^["+U1+"]+"),Tae=RegExp("(^|[^"+U1+"])["+U1+"]+$"),gg=function(e){return function(t){var n=Mae(Oae(t));return e&1&&(n=qA(n,Pae,"")),e&2&&(n=qA(n,Tae,"$1")),n}},Rae={start:gg(1),end:gg(2),trim:gg(3)},dT=nr,Nae=an,Iae=sn,_ae=qa,Dae=Rae.trim,Fae=uT,kae=Iae("".charAt),Mp=dT.parseFloat,XA=dT.Symbol,QA=XA&&XA.iterator,Lae=1/Mp(Fae+"-0")!==-1/0||QA&&!Nae(function(){Mp(Object(QA))}),Bae=Lae?function(t){var n=Dae(_ae(t)),r=Mp(n);return r===0&&kae(n,0)==="-"?-0:r}:Mp,zae=bn,ZA=Bae;zae({global:!0,forced:parseFloat!==ZA},{parseFloat:ZA});var jae=hr,Hae=jae.parseFloat,Vae=Hae,Wae=Vae;const Uae=Wae;var Yae=function(){var e;return!!(typeof window<"u"&&window!==null&&(e="(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25||window.matchMedia&&window.matchMedia(e).matches))},Kae=Yae(),fT=["#A62A21","#7e3794","#0B51C1","#3A6024","#A81563","#B3003C"],Gae=/^([-+]?(?:\d+(?:\.\d+)?|\.\d+))([a-z]{2,4}|%)?$/;function qae(e,t){for(var n,r=lT(n=Pe(e)).call(n,function(c){return c.charCodeAt(0)}),o=r.length,i=o%(t-1)+1,a=cT(r).call(r,function(c,u){return c+u})%t,s=r[0]%t,l=0;l<o;l++)s=(i*s+a)%t;return s}function _S(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fT;if(!e)return"transparent";var n=qae(e,t.length);return t[n]}function um(e){e=""+e;var t=Gae.exec(e)||[],n=te(t,3),r=n[1],o=r===void 0?0:r,i=n[2],a=i===void 0?"px":i;return{value:Uae(o),str:o+a,unit:a}}function dm(e){return e=um(e),isNaN(e.value)?e=512:e.unit==="px"?e=e.value:e.value===0?e=0:e=512,Kae&&(e=e*2),e}function pT(e,t){var n,r,o,i=t.maxInitials;return ZP(n=lm(r=lT(o=e.split(/\s/)).call(o,function(a){return a.substring(0,1).toUpperCase()})).call(r,function(a){return!!a})).call(n,0,i).join("").toUpperCase()}var Wd={};function Xae(e,t){if(Wd[t]){Wd[t].push(e);return}var n=Wd[t]=[e];setTimeout(function(){delete Wd[t],n.forEach(function(r){return r()})},t)}function Y1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,o=t;r<o.length;r++){var i=o[r];if(i||i==="")return i;if(i===!1||i===null)return null}}function DS(e){if(e===!0)return"100%";if(e!==!1)return e}function Qae(e){var t=Zae();return function(){var r=$n(e),o;if(t){var i=$n(this).constructor;o=fn(r,arguments,i)}else o=r.apply(this,arguments);return Ji(this,o)}}function Zae(){if(typeof Reflect>"u"||!fn||fn.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(fn(Boolean,[],function(){})),!0}catch{return!1}}var K1={cache:qoe,colors:fT,initials:pT,avatarRedirectUrl:null},Jae=IS(K1),FS=we.createContext&&we.createContext(),fm=!FS,ese=fm?null:FS.Consumer,tse=we.forwardRef||function(e){return e},Gi=function(e){Jr(n,e);var t=Qae(n);function n(){return Tt(this,n),t.apply(this,arguments)}return Rt(n,[{key:"_getContext",value:function(){var o=this,i={};return Jae.forEach(function(a){typeof o.props[a]<"u"&&(i[a]=o.props[a])}),i}},{key:"render",value:function(){var o=this.props.children;return fm?we.Children.only(o):g(FS.Provider,{value:this._getContext(),children:we.Children.only(o)})}}]),n}(we.Component);Y(Gi,"displayName","ConfigProvider");Y(Gi,"propTypes",{cache:Me.exports.object,colors:Me.exports.arrayOf(Me.exports.string),initials:Me.exports.func,avatarRedirectUrl:Me.exports.string,children:Me.exports.node});var vT=function(t){function n(r,o){if(fm){var i=o&&o.reactAvatar;return g(t,{...K1,...i,...r})}return g(ese,{children:function(a){return g(t,{ref:o,...K1,...a,...r})}})}return n.contextTypes=Gi.childContextTypes,tse(n)};fm&&(Gi.childContextTypes={reactAvatar:Me.exports.object},Gi.prototype.getChildContext=function(){return{reactAvatar:this._getContext()}});var pm={},nse=BP,rse=AS,ose=rse.concat("length","prototype");pm.f=Object.getOwnPropertyNames||function(t){return nse(t,ose)};var mT={},ise=ta,ase=si,hT=pm.f,sse=im,gT=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],lse=function(e){try{return hT(e)}catch{return sse(gT)}};mT.f=function(t){return gT&&ise(t)==="Window"?lse(t):hT(ase(t))};var cse=nm,yT=function(e,t,n,r){return r&&r.enumerable?e[t]=n:cse(e,t,n),e},use=li,dse=function(e,t,n){return use.f(e,t,n)},kS={},fse=$o;kS.f=fse;var JA=hr,pse=Eo,vse=kS,mse=li.f,hse=function(e){var t=JA.Symbol||(JA.Symbol={});pse(t,e)||mse(t,e,{value:vse.f(e)})},gse=na,yse=ra,bse=$o,xse=yT,Sse=function(){var e=yse("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=bse("toPrimitive");t&&!t[r]&&xse(t,r,function(o){return gse(n,this)},{arity:1})},Cse=ES,wse=$S,Ase=Cse?{}.toString:function(){return"[object "+wse(this)+"]"},Ese=ES,$se=li.f,Ose=nm,Mse=Eo,Pse=Ase,Tse=$o,eE=Tse("toStringTag"),Rse=function(e,t,n,r){var o=n?e:e&&e.prototype;o&&(Mse(o,eE)||$se(o,eE,{configurable:!0,value:t}),r&&!Ese&&Ose(o,"toString",Pse))}
Line truncated
|
||||||
|
* Determine if an object is a Buffer
|
||||||
|
*
|
||||||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
||||||
|
* @license MIT
|
||||||
|
*/var Zce=function(e){return e!=null&&(XT(e)||Jce(e)||!!e._isBuffer)};function XT(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Jce(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&XT(e.slice(0,0))}(function(){var e=qT.exports,t=fE.utf8,n=Zce,r=fE.bin,o=function(i,a){i.constructor==String?a&&a.encoding==="binary"?i=r.stringToBytes(i):i=t.stringToBytes(i):n(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var s=e.bytesToWords(i),l=i.length*8,c=1732584193,u=-271733879,d=-1732584194,f=271733878,m=0;m<s.length;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360;s[l>>>5]|=128<<l%32,s[(l+64>>>9<<4)+14]=l;for(var h=o._ff,v=o._gg,y=o._hh,b=o._ii,m=0;m<s.length;m+=16){var x=c,S=u,C=d,A=f;c=h(c,u,d,f,s[m+0],7,-680876936),f=h(f,c,u,d,s[m+1],12,-389564586),d=h(d,f,c,u,s[m+2],17,606105819),u=h(u,d,f,c,s[m+3],22,-1044525330),c=h(c,u,d,f,s[m+4],7,-176418897),f=h(f,c,u,d,s[m+5],12,1200080426),d=h(d,f,c,u,s[m+6],17,-1473231341),u=h(u,d,f,c,s[m+7],22,-45705983),c=h(c,u,d,f,s[m+8],7,1770035416),f=h(f,c,u,d,s[m+9],12,-1958414417),d=h(d,f,c,u,s[m+10],17,-42063),u=h(u,d,f,c,s[m+11],22,-1990404162),c=h(c,u,d,f,s[m+12],7,1804603682),f=h(f,c,u,d,s[m+13],12,-40341101),d=h(d,f,c,u,s[m+14],17,-1502002290),u=h(u,d,f,c,s[m+15],22,1236535329),c=v(c,u,d,f,s[m+1],5,-165796510),f=v(f,c,u,d,s[m+6],9,-1069501632),d=v(d,f,c,u,s[m+11],14,643717713),u=v(u,d,f,c,s[m+0],20,-373897302),c=v(c,u,d,f,s[m+5],5,-701558691),f=v(f,c,u,d,s[m+10],9,38016083),d=v(d,f,c,u,s[m+15],14,-660478335),u=v(u,d,f,c,s[m+4],20,-405537848),c=v(c,u,d,f,s[m+9],5,568446438),f=v(f,c,u,d,s[m+14],9,-1019803690),d=v(d,f,c,u,s[m+3],14,-187363961),u=v(u,d,f,c,s[m+8],20,1163531501),c=v(c,u,d,f,s[m+13],5,-1444681467),f=v(f,c,u,d,s[m+2],9,-51403784),d=v(d,f,c,u,s[m+7],14,1735328473),u=v(u,d,f,c,s[m+12],20,-1926607734),c=y(c,u,d,f,s[m+5],4,-378558),f=y(f,c,u,d,s[m+8],11,-2022574463),d=y(d,f,c,u,s[m+11],16,1839030562),u=y(u,d,f,c,s[m+14],23,-35309556),c=y(c,u,d,f,s[m+1],4,-1530992060),f=y(f,c,u,d,s[m+4],11,1272893353),d=y(d,f,c,u,s[m+7],16,-155497632),u=y(u,d,f,c,s[m+10],23,-1094730640),c=y(c,u,d,f,s[m+13],4,681279174),f=y(f,c,u,d,s[m+0],11,-358537222),d=y(d,f,c,u,s[m+3],16,-722521979),u=y(u,d,f,c,s[m+6],23,76029189),c=y(c,u,d,f,s[m+9],4,-640364487),f=y(f,c,u,d,s[m+12],11,-421815835),d=y(d,f,c,u,s[m+15],16,530742520),u=y(u,d,f,c,s[m+2],23,-995338651),c=b(c,u,d,f,s[m+0],6,-198630844),f=b(f,c,u,d,s[m+7],10,1126891415),d=b(d,f,c,u,s[m+14],15,-1416354905),u=b(u,d,f,c,s[m+5],21,-57434055),c=b(c,u,d,f,s[m+12],6,1700485571),f=b(f,c,u,d,s[m+3],10,-1894986606),d=b(d,f,c,u,s[m+10],15,-1051523),u=b(u,d,f,c,s[m+1],21,-2054922799),c=b(c,u,d,f,s[m+8],6,1873313359),f=b(f,c,u,d,s[m+15],10,-30611744),d=b(d,f,c,u,s[m+6],15,-1560198380),u=b(u,d,f,c,s[m+13],21,1309151649),c=b(c,u,d,f,s[m+4],6,-145523070),f=b(f,c,u,d,s[m+11],10,-1120210379),d=b(d,f,c,u,s[m+2],15,718787259),u=b(u,d,f,c,s[m+9],21,-343485551),c=c+x>>>0,u=u+S>>>0,d=d+C>>>0,f=f+A>>>0}return e.endian([c,u,d,f])};o._ff=function(i,a,s,l,c,u,d){var f=i+(a&s|~a&l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._gg=function(i,a,s,l,c,u,d){var f=i+(a&l|s&~l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._hh=function(i,a,s,l,c,u,d){var f=i+(a^s^l)+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._ii=function(i,a,s,l,c,u,d){var f=i+(s^(a|~l))+(c>>>0)+d;return(f<<u|f>>>32-u)+a},o._blocksize=16,o._digestsize=16,GT.exports=function(i,a){if(i==null)throw new Error("Illegal argument "+i);var s=e.wordsToBytes(o(i,a));return a&&a.asBytes?s:a&&a.asString?r.bytesToString(s):e.bytesToHex(s)}})();var QT=Rt(function e(t){var n=this;Tt(this,e),Y(this,"props",null),Y(this,"isCompatible",function(){return!!n.props.email||!!n.props.md5Email}),Y(this,"get",function(r){var o=n.props,i=o.md5Email||GT.exports(o.email),a=dm(o.size),s="https://secure.gravatar.com/avatar/".concat(i,"?d=404");a&&(s+="&s=".concat(a)),r({sourceName:"gravatar",src:s})}),this.props=t});Y(QT,"propTypes",{email:Me.exports.string,md5Email:Me.exports.string});var ZT=Rt(function e(t){var n=this;Tt(this,e),Y(this,"props",null),Y(this,"isCompatible",function(){return!!n.props.facebookId}),Y(this,"get",function(r){var o,i=n.props.facebookId,a=dm(n.props.size),s="https://graph.facebook.com/".concat(i,"/picture");a&&(s+=Nc(o="?width=".concat(a,"&height=")).call(o,a)),r({sourceName:"facebook",src:s})}),this.props=t});Y(ZT,"propTypes",{facebookId:Me.exports.string});var JT=Rt(function e(t){var n=this;Tt(this,e),Y(this,"props",null),Y(this,"isCompatible",function(){return!!n.props.githubHandle}),Y(this,"get",function(r){var o=n.props.githubHandle,i=dm(n.props.size),a="https://avatars.githubusercontent.com/".concat(o,"?v=4");i&&(a+="&s=".concat(i)),r({sourceName:"github",src:a})}),this.props=t});Y(JT,"propTypes",{githubHandle:Me.exports.string});var eR=Rt(function e(t){var n=this;Tt(this,e),Y(this,"props",null),Y(this,"isCompatible",function(){return!!n.props.skypeId}),Y(this,"get",funct
Line truncated
|
||||||
|
object-assign
|
||||||
|
(c) Sindre Sorhus
|
||||||
|
@license MIT
|
||||||
|
*/var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var m=Object.getOwnPropertyNames(d).map(function(v){return d[v]});if(m.join("")!=="0123456789")return!1;var h={};return"abcdefghijklmnopqrst".split("").forEach(function(v){h[v]=v}),Object.keys(Object.assign({},h)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}n.exports=c()?Object.assign:function(u,d){for(var f,m=l(u),h,v=1;v<arguments.length;v++){f=Object(arguments[v]);for(var y in f)a.call(f,y)&&(m[y]=f[y]);if(i){h=i(f);for(var b=0;b<h.length;b++)s.call(f,h[b])&&(m[h[b]]=f[h[b]])}}return m}},function(n,r,o){var i=o(1),a=i;n.exports=a},function(n,r,o){var i="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=i},function(n,r,o){var i={};n.exports=i},function(n,r,o){function i(a,s,l,c,u){}n.exports=i},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(C){for(var A=1;A<arguments.length;A++){var E=arguments[A];for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&(C[w]=E[w])}return C},a=function(){function C(A,E){for(var w=0;w<E.length;w++){var M=E[w];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(A,M.key,M)}}return function(A,E,w){return E&&C(A.prototype,E),w&&C(A,w),A}}(),s=o(8),l=h(s),c=o(11),u=h(c),d=o(14),f=m(d);function m(C){if(C&&C.__esModule)return C;var A={};if(C!=null)for(var E in C)Object.prototype.hasOwnProperty.call(C,E)&&(A[E]=C[E]);return A.default=C,A}function h(C){return C&&C.__esModule?C:{default:C}}function v(C,A){var E={};for(var w in C)A.indexOf(w)>=0||!Object.prototype.hasOwnProperty.call(C,w)||(E[w]=C[w]);return E}function y(C,A){if(!(C instanceof A))throw new TypeError("Cannot call a class as a function")}function b(C,A){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:C}function x(C,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);C.prototype=Object.create(A&&A.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(C,A):C.__proto__=A)}var S=function(C){x(A,C);function A(){var E,w,M,P;y(this,A);for(var R=arguments.length,T=Array(R),k=0;k<R;k++)T[k]=arguments[k];return P=(w=(M=b(this,(E=A.__proto__||Object.getPrototypeOf(A)).call.apply(E,[this].concat(T))),M),M.state={delayed:M.props.delay>0},w),b(M,P)}return a(A,[{key:"componentDidMount",value:function(){var w=this,M=this.props.delay,P=this.state.delayed;P&&(this.timeout=setTimeout(function(){w.setState({delayed:!1})},M))}},{key:"componentWillUnmount",value:function(){var w=this.timeout;w&&clearTimeout(w)}},{key:"render",value:function(){var w=this.props,M=w.color;w.delay;var P=w.type,R=w.height,T=w.width,k=v(w,["color","delay","type","height","width"]),B=this.state.delayed?"blank":P,I=f[B],F={fill:M,height:R,width:T};return l.default.createElement("div",i({style:F,dangerouslySetInnerHTML:{__html:I}},k))}}]),A}(s.Component);S.propTypes={color:u.default.string,delay:u.default.number,type:u.default.string,height:u.default.oneOfType([u.default.string,u.default.number]),width:u.default.oneOfType([u.default.string,u.default.number])},S.defaultProps={color:"#fff",delay:0,type:"balls",height:64,width:64},r.default=S},function(n,r,o){n.exports=o(9)},function(n,r,o){/** @license React v16.3.2
|
||||||
|
* react.production.min.js
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013-present, Facebook, Inc.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/var i=o(2),a=o(0),s=o(5),l=o(1),c=typeof Symbol=="function"&&Symbol.for,u=c?Symbol.for("react.element"):60103,d=c?Symbol.for("react.portal"):60106,f=c?Symbol.for("react.fragment"):60107,m=c?Symbol.for("react.strict_mode"):60108,h=c?Symbol.for("react.provider"):60109,v=c?Symbol.for("react.context"):60110,y=c?Symbol.for("react.async_mode"):60111,b=c?Symbol.for("react.forward_ref"):60112,x=typeof Symbol=="function"&&Symbol.iterator;function S(j){for(var V=arguments.length-1,G="http://reactjs.org/docs/error-decoder.html?invariant="+j,U=0;U<V;U++)G+="&args[]="+encodeURIComponent(arguments[U+1]);a(!1,"Minified React error #"+j+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",G)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function A(j,V,G){this.props=j,this.context=V,this.refs=s,this.updater=G||C}A.prototype.isReactComponent={},A.prototype.setState=function(j,V){typeof j!="object"&&typeof j!="function"&&j!=null&&S("85"),this.updater.enqueueSetState(this,j,V,"setState")},A.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function E(){}E.prototype=A.prototype;function w(j,V,G){this.props=j,this.context=V,this.refs=s,this.updater=G||C}var M=w.prototype=new E;M.constructor=w,i(M,A.prototype),M.isPureReactComponent=!0;var P={current:null},R=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function k(j,V,G){var U=void 0,q={},J=null,ie=null;if(V!=null)for(U in V.ref!==void 0&&(ie=V.ref),V.key!==void 0&&(J=""+V.key),V)R.call(V,U)&&!T.hasOwnProperty(U)&&(q[U]=V[U]);var ee=arguments.length-2;if(ee===1)q.children=G;else if(1<ee){for(var re=Array(ee),fe=0;fe<ee;fe++)re[fe]=arguments[fe+2];q.children=re}if(j&&j.defaultProps)for(U in ee=j.defaultProps,ee)q[U]===void 0&&(q[U]=ee[U]);return{$$typeof:u,type:j,key:J,ref:ie,props:q,_owner:P.current}}function B(j){return typeof j=="object"&&j!==null&&j.$$typeof===u}function I(j){var V={"=":"=0",":":"=2"};return"$"+(""+j).replace(/[=:]/g,function(G){return V[G]})}var F=/\/+/g,_=[];function O(j,V,G,U){if(_.length){var q=_.pop();return q.result=j,q.keyPrefix=V,q.func=G,q.context=U,q.count=0,q}return{result:j,keyPrefix:V,func:G,context:U,count:0}}function $(j){j.result=null,j.keyPrefix=null,j.func=null,j.context=null,j.count=0,10>_.length&&_.push(j)}function L(j,V,G,U){var q=typeof j;(q==="undefined"||q==="boolean")&&(j=null);var J=!1;if(j===null)J=!0;else switch(q){case"string":case"number":J=!0;break;case"object":switch(j.$$typeof){case u:case d:J=!0}}if(J)return G(U,j,V===""?"."+N(j,0):V),1;if(J=0,V=V===""?".":V+":",Array.isArray(j))for(var ie=0;ie<j.length;ie++){q=j[ie];var ee=V+N(q,ie);J+=L(q,ee,G,U)}else if(j===null||typeof j>"u"?ee=null:(ee=x&&j[x]||j["@@iterator"],ee=typeof ee=="function"?ee:null),typeof ee=="function")for(j=ee.call(j),ie=0;!(q=j.next()).done;)q=q.value,ee=V+N(q,ie++),J+=L(q,ee,G,U);else q==="object"&&(G=""+j,S("31",G==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":G,""));return J}function N(j,V){return typeof j=="object"&&j!==null&&j.key!=null?I(j.key):V.toString(36)}function H(j,V){j.func.call(j.context,V,j.count++)}function D(j,V,G){var U=j.result,q=j.keyPrefix;j=j.func.call(j.context,V,j.count++),Array.isArray(j)?z(j,U,G,l.thatReturnsArgument):j!=null&&(B(j)&&(V=q+(!j.key||V&&V.key===j.key?"":(""+j.key).replace(F,"$&/")+"/")+G,j={$$typeof:u,type:j.type,key:V,ref:j.ref,props:j.props,_owner:j._owner}),U.push(j))}function z(j,V,G,U,q){var J="";G!=null&&(J=(""+G).replace(F,"$&/")+"/"),V=O(V,J,U,q),j==null||L(j,"",D,V),$(V)}var W={Children:{map:function(j,V,G){if(j==null)return j;var U=[];return z(j,U,null,V,G),U},forEach:function(j,V,G){if(j==null)return j;V=O(null,null,V,G),j==null||L(j,"",H,V),$(V)},count:function(j){return j==null?0:L(j,"",l.thatReturnsNull,null)},toArray:function(j){var V=[];return z(j,V,null,l.thatReturnsArgument),V},only:function(j){return B(j)||S("143"),j}},createRef:function(){return{current:null}},Component:A,PureComponent:w,createContext:function(j,V){return V===void 0&&(V=null),j={$$typeof:v,_calculateChangedBits:V,_defaultValue:j,_currentValue:j,_changedBits:0,Provider:null,Consumer:null},j.Provider={$$typeof:h,_context:j},j.Consumer=j},forwardRef:function(j){return{$$typeof:b,render:j}},Fragment:f,StrictMode:m,unstable_AsyncMode:y,createElement:k,cloneElement:function(j,V,G){j==null&&S("267",j);var U=void 0,q=i({},j.props),J=j.key,ie=j.ref,ee=j._owner;if(V!=null){V.ref!==void 0&&(ie=V.ref,ee=P.current),V.key!==void 0&&(J=""+V.key);var re=void 0;j.type&&j.type.defaultProps&&(re=j.type.defaultProps);for(U in V)R.call(V,U)&&!T.hasOwnProperty(U)&&(q[U]=V[U]===void 0&&re!==void 0?re[U]:V[U])}if(U=arguments.length-2,U===1)q.children=G;else if(1<U){re=Array(U);for(var fe=0;fe<U;fe++)re[fe]=arguments[fe+2];q.children=re}return{$$typeof:u,type:j.type,key:J,ref:ie,props:q,_owner:ee}},createFactLine truncated
|
||||||
|
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var ee=ie(G,J,X,j,V+"."+J,c);if(ee)return ee}return null}return C(z)}function _(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(_);if(D===null||d(D))return!0;var z=v(D);if(z){var W=z.call(D),K;if(z!==D.entries){for(;!(K=W.next()).done;)if(!_(K.value))return!1}else for(;!(K=W.next()).done;){var X=K.value;if(X&&!_(X[1]))return!1}}else return!1;return!0;default:return!1}}function O(D,z){return D==="symbol"||z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol}function $(D){var z=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":O(z,D)?"symbol":z}function L(D){if(typeof D>"u"||D===null)return""+D;var z=$(D);if(z==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return z}function N(D){var z=L(D);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function H(D){return!D.constructor||!D.constructor.name?y:D.constructor.name}return b.checkPropTypes=u,b.PropTypes=b,b}},function(n,r,o){var i=o(1),a=o(0),s=o(4);n.exports=function(){function l(d,f,m,h,v,y){y!==s&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}l.isRequired=l;function c(){return l}var u={array:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:c,element:l,instanceOf:c,node:l,objectOf:c,oneOf:c,oneOfType:c,shape:c,exact:c};return u.checkPropTypes=i,u.PropTypes=u,u}},function(n,r,o){Object.defineProperty(r,"__esModule",{value:!0});var i=o(15);Object.defineProperty(r,"blank",{enumerable:!0,get:function(){return h(i).default}});var a=o(16);Object.defineProperty(r,"balls",{enumerable:!0,get:function(){return h(a).default}});var s=o(17);Object.defineProperty(r,"bars",{enumerable:!0,get:function(){return h(s).default}});var l=o(18);Object.defineProperty(r,"bubbles",{enumerable:!0,get:function(){return h(l).default}});var c=o(19);Object.defineProperty(r,"cubes",{enumerable:!0,get:function(){return h(c).default}});var u=o(20);Object.defineProperty(r,"cylon",{enumerable:!0,get:function(){return h(u).default}});var d=o(21);Object.defineProperty(r,"spin",{enumerable:!0,get:function(){return h(d).default}});var f=o(22);Object.defineProperty(r,"spinningBubbles",{enumerable:!0,get:function(){return h(f).default}});var m=o(23);Object.defineProperty(r,"spokes",{enumerable:!0,get:function(){return h(m).default}});function h(v){return v&&v.__esModule?v:{default:v}}},function(n,r){n.exports=`<svg class="icon-blank" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>
|
||||||
|
`},function(n,r){n.exports=`<svg class="icon-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(-8 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(2 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(12 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(24 0)" d="M4 12 A4 4 0 0 0 4 20 A4 4 0 0 0 4 12">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(2)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(8)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.2" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(14)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.4" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(20)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.6" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(26)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animate attributeName="d" values="M0 12 V20 H4 V12z; M0 4 V28 H4 V4z; M0 12 V20 H4 V12z; M0 12 V20 H4 V12z" dur="1.2s" repeatCount="indefinite" begin="0.8" keytimes="0;.2;.5;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.8 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<circle transform="translate(8 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="translate(16 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.3"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="translate(24 0)" cx="0" cy="16" r="0">
|
||||||
|
<animate attributeName="r" values="0; 4; 0; 0" dur="1.2s" repeatCount="indefinite" begin="0.6"
|
||||||
|
keytimes="0;0.2;0.7;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(-8 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="-8 0; 2 0; 2 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.25;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(2 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="2 0; 12 0; 12 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.35;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(12 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="12 0; 22 0; 22 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.45;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path transform="translate(24 0)" d="M0 12 V20 H8 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="22 0; 32 0; 32 0;" dur="0.8s" repeatCount="indefinite" begin="0" keytimes="0;.55;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.6 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path opacity="0.5" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.1s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
<path opacity="0.25" transform="translate(0 0)" d="M0 12 V20 H4 V12z">
|
||||||
|
<animateTransform attributeName="transform" type="translate" values="0 0; 28 0; 0 0; 0 0" dur="1.5s" begin="0.2s" repeatCount="indefinite" keytimes="0;0.3;0.6;1" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
|
||||||
|
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
|
||||||
|
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<circle cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(45 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.125s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(90 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.25s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(135 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.375s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(225 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.625s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(270 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.75s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(315 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.875s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
<circle transform="rotate(180 16 16)" cx="16" cy="3" r="0">
|
||||||
|
<animate attributeName="r" values="0;3;0;0" dur="1s" repeatCount="indefinite" begin="0.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" calcMode="spline" />
|
||||||
|
</circle>
|
||||||
|
</svg>
|
||||||
|
`},function(n,r){n.exports=`<svg id="loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(0 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(45 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.125s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(90 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.25s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(135 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.375s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(180 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.5s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(225 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.675s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(270 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.75s"/>
|
||||||
|
</path>
|
||||||
|
<path opacity=".1" d="M14 0 H18 V8 H14 z" transform="rotate(315 16 16)">
|
||||||
|
<animate attributeName="opacity" from="1" to=".1" dur="1s" repeatCount="indefinite" begin="0.875s"/>
|
||||||
|
</path>
|
||||||
|
</svg>
|
||||||
|
`}])})})(iR);const Sm=gu(iR.exports);function Ip(e){window.runtime.LogInfo(e)}function Rue(e,t,n){return window.runtime.EventsOnMultiple(e,t,n)}function aR(e,t){return Rue(e,t,-1)}function sR(e,...t){return window.runtime.EventsOff(e,...t)}function Nue(){window.runtime.WindowToggleMaximise()}function Iue(){window.runtime.WindowMinimise()}function po(e){window.runtime.BrowserOpenURL(e)}function tb(){window.runtime.Quit()}function _ue(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}}function Due(e){return g("div",{className:"wechat-SearchBar",children:g(Dx,{theme:{components:{Input:{activeBorderColor:"#E3E4E5",activeShadow:"#E3E4E5",hoverBorderColor:"#E3E4E5"}}},children:g(lP,{className:"wechat-SearchBar-Input",placeholder:"\u641C\u7D22",prefix:g(uv,{}),allowClear:!0,onChange:t=>e.onChange(t.target.value)})})})}function Fue({className:e,userInfo:t,onClick:n,msg:r,date:o}){return Q("div",{className:`${e} wechat-UserItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),Q("div",{className:"wechat-UserItem-content",children:[g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""}),g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-msg",children:r})]}),g("div",{className:"wechat-UserItem-date",children:o})]})}function kue({className:e,userInfo:t,onClick:n}){return Q("div",{className:`${e} wechat-UserItem wechat-ContactItem`,onClick:n,tabIndex:"0","data-username":t.UserName,children:[g(oi,{className:"wechat-UserItem-content-Avatar",userInfo:t,size:"42"}),g("div",{className:"wechat-UserItem-content wechat-ContactItem-content",children:g("div",{className:"wechat-UserItem-content-text wechat-UserItem-content-name",children:t.ReMark||t.NickName||t.Alias||""})})]})}function Lue(e){const t=new Date(e*1e3),n=t.getFullYear(),r=t.getMonth()+1,o=t.getDate();return t.getHours(),t.getMinutes(),t.getSeconds(),`${n-2e3}/${r}/${o}`}function Bue(e){const[t,n]=p.exports.useState(null),[r,o]=p.exports.useState(0),[i,a]=p.exports.useState(!0),[s,l]=p.exports.useState([]),[c,u]=p.exports.useState(""),d=p.exports.useRef(!1),f=(v,y)=>{n(v),e.onClickItem&&e.onClickItem(y)};p.exports.useEffect(()=>{d.current||(d.current=!0,i&&e.selfName!==""&&(console.log("GetWechatSessionList",r),e.session?Cue(r,100).then(v=>{var y=JSON.parse(v);if(y.Total>0){let b=[];y.Rows.forEach(x=>{x.UserName.startsWith("gh_")||b.push(x)}),l(x=>[...x,...b]),o(x=>x+1)}else a(!1);d.current=!1}):gue(r,800).then(v=>{var y=JSON.parse(v);if(y.Total>0){let b=[];y.Users.forEach(x=>{if(!x.UserName.startsWith("gh_")){const S=new Date;x.Time=parseInt(S.getTime()/1e3),b.push(x)}}),l(x=>[...x,...b]),o(x=>x+1)}else a(!1);d.current=!1})))},[r,i,e.selfName]);const m=p.exports.useCallback(_ue(v=>{console.log(v),u(v)},400),[]),h=s.filter(v=>v.NickName.includes(c)||v.ReMark!==void 0&&v.ReMark.includes(c));return Q("div",{className:"wechat-UserList",onClick:e.onClick,children:[g(Due,{onChange:m}),c.length===0&&h.length===0&&(e.isLoading||d.current===!0)&&g(Sm,{className:"wechat-UserList-Loading",type:"bars",color:"#07C160"}),Q("div",{className:"wechat-UserList-Items",children:[h.map((v,y)=>e.session?g(Fue,{className:t===y?"selectedItem":"",onClick:()=>{f(y,v)},userInfo:v.UserInfo,msg:v.Content,date:Lue(v.Time)},v.UserName):g(kue,{className:t===y?"selectedItem":"",onClick:()=>{f(y,v)},userInfo:v},v.UserName)),g("div",{className:"wechat-UserList-End",children:"- \u5DF2\u7ECF\u5230\u5E95\u5566 -"})]})]})}function lR(e,t){return function(){return e.apply(t,arguments)}}const{toString:zue}=Object.prototype,{getPrototypeOf:US}=Object,Cm=(e=>t=>{const n=zue.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Oo=e=>(e=e.toLowerCase(),t=>Cm(t)===e),wm=e=>t=>typeof t===e,{isArray:Tl}=Array,pu=wm("undefined");function jue(e){return e!==null&&!pu(e)&&e.constructor!==null&&!pu(e.constructor)&&$r(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cR=Oo("ArrayBuffer");function Hue(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&cR(e.buffer),t}const Vue=wm("string"),$r=wm("function"),uR=wm("number"),Am=e=>e!==null&&typeof e=="object",Wue=e=>e===!0||e===!1,Af=e=>{if(Cm(e)!=="object")return!1;const t=US(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Uue=Oo("Date"),Yue=Oo("File"),Kue=Oo("Blob"),Gue=Oo("FileList"),que=e=>Am(e)&&$r(e.pipe),Xue=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$r(e.append)&&((t=Cm(e))==="formdata"||t==="object"&&$r(e.toString)&&e.toString()==="[object FormData]"))},Que=Oo("URLSearchParams"),[Zue,Jue,ede,tde]=["ReadableStream","Request","Response","Headers"].map(Oo),nde=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xu(e,t,{allOwnKeys:n=!1}={}){if(
Line truncated
|
||||||
|
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&Hde[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},xE=Symbol("internals");function nc(e){return e&&String(e).trim().toLowerCase()}function Ef(e){return e===!1||e==null?e:ce.isArray(e)?e.map(Ef):String(e)}function Wde(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Ude=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Og(e,t,n,r,o){if(ce.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!ce.isString(t)){if(ce.isString(r))return t.indexOf(r)!==-1;if(ce.isRegExp(r))return r.test(t)}}function Yde(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Kde(e,t){const n=ce.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class $m{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,c){const u=nc(l);if(!u)throw new Error("header name must be a non-empty string");const d=ce.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=Ef(s))}const a=(s,l)=>ce.forEach(s,(c,u)=>i(c,u,l));if(ce.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(ce.isString(t)&&(t=t.trim())&&!Ude(t))a(Vde(t),n);else if(ce.isHeaders(t))for(const[s,l]of t.entries())i(l,s,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=nc(t),t){const r=ce.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Wde(o);if(ce.isFunction(n))return n.call(this,o,r);if(ce.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=nc(t),t){const r=ce.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Og(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=nc(a),a){const s=ce.findKey(r,a);s&&(!n||Og(r,r[s],s,n))&&(delete r[s],o=!0)}}return ce.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Og(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return ce.forEach(this,(o,i)=>{const a=ce.findKey(r,i);if(a){n[a]=Ef(o),delete n[i];return}const s=t?Yde(i):String(i).trim();s!==i&&delete n[i],n[s]=Ef(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ce.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&ce.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[xE]=this[xE]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=nc(a);r[s]||(Kde(o,a),r[s]=!0)}return ce.isArray(t)?t.forEach(i):i(t),this}}$m.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ce.reduceDescriptors($m.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});ce.freezeMethods($m);const bo=$m;function Mg(e,t){const n=this||qS,r=t||n,o=bo.from(r.headers);let i=r.data;return ce.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function wR(e){return!!(e&&e.__CANCEL__)}function Rl(e,t,n){dt.call(this,e==null?"canceled":e,dt.ERR_CANCELED,t,n),this.name="CanceledError"}ce.inherits(Rl,dt,{__CANCEL__:!0});function AR(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new dt("Request failed with status code "+n.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Gde(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qde(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[i];a||(a=c),n[o]=l,r[o]=c;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const m=u&&c-u;return m?Math.round(f*1e3/m):void 0}}function Xde(e,t){let n=0,r=1e3/t,o,i;const a=(c,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},r-d)))},()=>o&&a(o)]}const _p=(e,t,n=3)=>{let r=0;const o=qde(50,250);return Xde(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,c=o(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},SE=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},CE=e=>(...t)=>ce.asap(()=>e(...t)),Qde=fr.hasStandardBrowserEnv?function(){const t=fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=ce.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Zde=fr.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];ce.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ce.isString(r)&&a.push("path="+r),ce.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Jde(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function efe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ER(e,t){return e&&!Jde(t)?efe(e,t):t}const wE=e=>e instanceof bo?{...e}:e;function ja(e,t){t=t||{};const n={};function r(c,u,d){return ce.isPlainObject(c)&&ce.isPlainObject(u)?ce.merge.call({caseless:d},c,u):ce.isPlainObject(u)?ce.merge({},u):ce.isArray(u)?u.slice():u}function o(c,u,d){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function i(c,u){if(!ce.isUndefined(u))return r(void 0,u)}function a(c,u){if(ce.isUndefined(u)){if(!ce.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>o(wE(c),wE(u),!0)};return ce.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||o,f=d(e[u],t[u],u);ce.isUndefined(f)&&d!==s||(n[u]=f)}),n}const $R=e=>{const t=ja({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=bo.from(a),t.url=xR(ER(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.pas
Line truncated
|
||||||
|
`+i.map($E).join(`
|
||||||
|
`):" "+$E(i[0]):"as no adapter specified";throw new dt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:ab};function Pg(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Rl(null,e)}function OE(e){return Pg(e),e.headers=bo.from(e.headers),e.data=Mg.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),PR.getAdapter(e.adapter||qS.adapter)(e).then(function(r){return Pg(e),r.data=Mg.call(e,e.transformResponse,r),r.headers=bo.from(r.headers),r},function(r){return wR(r)||(Pg(e),r&&r.response&&(r.response.data=Mg.call(e,e.transformResponse,r.response),r.response.headers=bo.from(r.response.headers))),Promise.reject(r)})}const TR="1.7.7",XS={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{XS[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ME={};XS.transitional=function(t,n,r){function o(i,a){return"[Axios v"+TR+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new dt(o(a," has been removed"+(n?" in "+n:"")),dt.ERR_DEPRECATED);return n&&!ME[a]&&(ME[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function vfe(e,t,n){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new dt("option "+i+" must be "+l,dt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new dt("Unknown option "+i,dt.ERR_BAD_OPTION)}}const sb={assertOptions:vfe,validators:XS},yi=sb.validators;class Fp{constructor(t){this.defaults=t,this.interceptors={request:new bE,response:new bE}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||||
|
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ja(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&sb.assertOptions(r,{silentJSONParsing:yi.transitional(yi.boolean),forcedJSONParsing:yi.transitional(yi.boolean),clarifyTimeoutError:yi.transitional(yi.boolean)},!1),o!=null&&(ce.isFunction(o)?n.paramsSerializer={serialize:o}:sb.assertOptions(o,{encode:yi.function,serialize:yi.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&ce.merge(i.common,i[n.method]);i&&ce.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=bo.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!l){const h=[OE.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d<f;)u=u.then(h[d++],h[d++]);return u}f=s.length;let m=n;for(d=0;d<f;){const h=s[d++],v=s[d++];try{m=h(m)}catch(y){v.call(this,y);break}}try{u=OE.call(this,m)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=ja(this.defaults,t);const n=ER(t.baseURL,t.url);return xR(n,t.params,t.paramsSerializer)}}ce.forEach(["delete","get","head","options"],function(t){Fp.prototype[t]=function(n,r){return this.request(ja(r||{},{method:t,url:n,data:(r||{}).data}))}});ce.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,s){return this.request(ja(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Fp.prototype[t]=n(),Fp.prototype[t+"Form"]=n(!0)});const $f=Fp;class QS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Rl(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new QS(function(o){t=o}),cancel:t}}}const mfe=QS;function hfe(e){return function(n){return e.apply(null,n)}}function gfe(e){return ce.isObject(e)&&e.isAxiosError===!0}const lb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(lb).forEach(([e,t])=>{lb[t]=e});const yfe=lb;function RR(e){const t=new $f(e),n=lR($f.prototype.request,t);return ce.extend(n,$f.prototype,t,{allOwnKeys:!0}),ce.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return RR(ja(e,o))},n}const pn=RR(qS);pn.Axios=$f;pn.CanceledError=Rl;pn.CancelToken=mfe;pn.isCancel=wR;pn.VERSION=TR;pn.toFormData=Em;pn.AxiosError=dt;pn.Cancel=pn.CanceledError;pn.all=function(t){return Promise.all(t)};pn.spread=hfe;pn.isAxiosError=gfe;pn.mergeConfig=ja;pn.AxiosHeaders=bo;pn.formToJSON=e=>CR(ce.isHTMLForm(e)?new FormData(e):e);pn.getAdapter=PR.getAdapter;pn.HttpStatusCode=yfe;pn.default=pn;const bfe=pn;const xfe=({isOpen:e,closeModal:t,elem:n})=>{const r=o=>{t&&t()};return Q("div",{className:"MessageModal-Parent",children:[g("div",{}),g(mr,{className:"MessageModal",overlayClassName:"MessageModal-Overlay"
Line truncated
|
||||||
|
happen because the element may not have been added to DOM yet.
|
||||||
|
See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.
|
||||||
|
`),null)},r.onStart=function(o){r.lastScrollTop||(r.dragging=!0,o instanceof MouseEvent?r.startY=o.pageY:o instanceof TouchEvent&&(r.startY=o.touches[0].pageY),r.currentY=r.startY,r._infScroll&&(r._infScroll.style.willChange="transform",r._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},r.onMove=function(o){!r.dragging||(o instanceof MouseEvent?r.currentY=o.pageY:o instanceof TouchEvent&&(r.currentY=o.touches[0].pageY),!(r.currentY<r.startY)&&(r.currentY-r.startY>=Number(r.props.pullDownToRefreshThreshold)&&r.setState({pullToRefreshThresholdBreached:!0}),!(r.currentY-r.startY>r.maxPullDownDistance*1.5)&&r._infScroll&&(r._infScroll.style.overflow="visible",r._infScroll.style.transform="translate3d(0px, "+(r.currentY-r.startY)+"px, 0px)")))},r.onEnd=function(){r.startY=0,r.currentY=0,r.dragging=!1,r.state.pullToRefreshThresholdBreached&&(r.props.refreshFunction&&r.props.refreshFunction(),r.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame(function(){r._infScroll&&(r._infScroll.style.overflow="auto",r._infScroll.style.transform="none",r._infScroll.style.willChange="unset")})},r.onScrollListener=function(o){typeof r.props.onScroll=="function"&&setTimeout(function(){return r.props.onScroll&&r.props.onScroll(o)},0);var i=r.props.height||r._scrollableNode?o.target:document.documentElement.scrollTop?document.documentElement:document.body;if(!r.actionTriggered){var a=r.props.inverse?r.isElementAtTop(i,r.props.scrollThreshold):r.isElementAtBottom(i,r.props.scrollThreshold);a&&r.props.hasMore&&(r.actionTriggered=!0,r.setState({showLoader:!0}),r.props.next&&r.props.next()),r.lastScrollTop=i.scrollTop}},r.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:n.dataLength},r.throttledOnScrollListener=Rfe(150,r.onScrollListener).bind(r),r.onStart=r.onStart.bind(r),r.onMove=r.onMove.bind(r),r.onEnd=r.onEnd.bind(r),r}return t.prototype.componentDidMount=function(){if(typeof this.props.dataLength>"u")throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),typeof this.props.initialScrollY=="number"&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),typeof this.props.refreshFunction!="function"))throw new Error(`Mandatory prop "refreshFunction" missing.
|
||||||
|
Pull Down To Refresh functionality will not work
|
||||||
|
as expected. Check README.md for usage'`)},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)))},t.prototype.componentDidUpdate=function(n){this.props.dataLength!==n.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(n,r){var o=n.dataLength!==r.prevDataLength;return o?Ic(Ic({},r),{prevDataLength:n.dataLength}):null},t.prototype.isElementAtTop=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=RE(r);return i.unit===qs.Pixel?n.scrollTop<=i.value+o-n.scrollHeight+1:n.scrollTop<=i.value/100+o-n.scrollHeight+1},t.prototype.isElementAtBottom=function(n,r){r===void 0&&(r=.8);var o=n===document.body||n===document.documentElement?window.screen.availHeight:n.clientHeight,i=RE(r);return i.unit===qs.Pixel?n.scrollTop+o>=n.scrollHeight-i.value:n.scrollTop+o>=i.value/100*n.scrollHeight},t.prototype.render=function(){var n=this,r=Ic({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),o=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),i=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return g("div",{style:i,className:"infinite-scroll-component__outerdiv",children:Q("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(a){return n._infScroll=a},style:r,children:[this.props.pullDownToRefresh&&g("div",{style:{position:"relative"},ref:function(a){return n._pullDown=a},children:g("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance},children:this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent})}),this.props.children,!this.state.showLoader&&!o&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage]})})},t}(p.exports.Component);const Nfe=.5,Ife=p.exports.forwardRef((e,t)=>{let n=!1,r=!1;e.message.position==="middle"?n=!0:r=e.message.position!=="right";const o=p.exports.useMemo(()=>e.renderMessageContent(e.message),[e.message,e.message.position]);return Q("div",{className:"MessageBubble",id:e.id,ref:t,"data-index":e.dataIndex,children:[g("time",{className:"Time",dateTime:Ht(e.message.createdAt).format(),children:Ht(e.message.createdAt*1e3).format("YYYY\u5E74M\u6708D\u65E5 HH:mm")}),n?o:Q("div",{className:"MessageBubble-content"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-content-Avatar",children:r&&g(oi,{className:"MessageBubble-Avatar-left",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})}),Q("div",{className:"Bubble"+(r?"-left":"-right"),children:[g("div",{className:"MessageBubble-Name"+(r?"-left":"-right"),truncate:1,children:e.message.userInfo.ReMark||e.message.userInfo.NickName||e.message.userInfo.Alias||""}),o]}),g("div",{className:"MessageBubble-content-Avatar",children:!r&&g(oi,{className:"MessageBubble-Avatar-right",userInfo:e.message.userInfo,size:"40",alt:"\u65E0\u6CD5\u52A0\u8F7D\u5934\u50CF"})})]})]})}),_fe=e=>{const t=p.exports.useRef(null),n=p.exports.useRef([]),r=p.exports.useCallback(o=>{const i=o.filter(l=>l.isIntersecting),a=o.filter(l=>!l.isIntersecting);let s=[...n.current];i.forEach(l=>{const c=l.target.dataset.index;s.includes(c)||s.push(c)}),a.forEach(l=>{const c=l.target.dataset.index;s=s.filter(u=>u!==c)}),n.current=s.sort((l,c)=>l-c),n.current.length>0&&e(n.current[0])},[e]);return p.exports.useEffect(()=>(t.current||(t.current=new IntersectionObserver(r,{root:document.querySelector("#scrollableDiv"),threshold:Nfe})),()=>{t.current&&t.current.disconnect()}),[r]),t};function Dfe(e){const t=p.exports.useRef(),n=p.exports.useRef(0),r=p.exports.useRef(null),[o,i]=p.exports.useState(null),a=p.exports.useRef([]),s=_fe(i),l=p.exports.useRef(null);p.exports.useEffect(()=>{a.current.forEach(f=>{f&&s.current.observe(f)})},[e.messages,s]),p.exports.useEffect(()=>{l.current!=o&&(e.onVisibleFirst&&e.onVisibleFirst(o),l.current=o)},[o,e.messages]);const c=(f,m,h)=>{a.current[h]=f,m===e.scrollIntoId&&(t.current=f)},u=f=>{f.srcElement.scrollTop>0&&f.srcElement.scrollTop<1&&(f.srcElement.scrollTop=0),f.srcElement.scrollTop===0?(n.current=f.srcElement.scrollHeight,r.current=f.srcElement,e.atBottom&&e.atBottom()):(n.current=0,r.current=null)};function d(){e.next()}return p.exports.useEffect(()=>{n.current!==0&&r.current&&(r.current.scrollTop=-(r.current.scrollHeight-n.current),n
Line truncated
|
||||||
|
`).forEach((c,u)=>{u>0&&i.push(g("br",{},`${s}-${u}`)),i.push(c)}):i.push(a)}),i};function _c(e){const t=p.exports.useMemo(()=>Wfe(T$),[]),[n,r]=p.exports.useState([]);return p.exports.useEffect(()=>{const o=Ufe(e.text,T$,t);r(o)},[e.text,t]),g(zQ,{className:"CardMessageText "+e.className,size:"small",children:g(Pt,{children:n})})}const Yfe=e=>!!e&&e[0]==="o",R$=pr.exports.unstable_batchedUpdates||(e=>e()),hs=(e,t,n=1e-4)=>Math.abs(e-t)<n,ub=(e,t)=>e===!0||!!(e&&e[t]),xo=(e,t)=>typeof e=="function"?e(t):e,eC=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],o=t[n];typeof o=="function"&&r?e[n]=(...i)=>{o(...i),r(...i)}:e[n]=o}),e),Kfe=e=>{if(typeof e!="string")return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}},R0=e=>{for(;e;){if(e=e.parentNode,!e||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function IR(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function N$(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const kp=({block:e,element:t,modifiers:n,className:r})=>p.exports.useMemo(()=>{const o=t?`${e}__${t}`:e;let i=o;n&&Object.keys(n).forEach(s=>{const l=n[s];l&&(i+=` ${o}--${l===!0?s:`${s}-${l}`}`)});let a=typeof r=="function"?r(n):r;return typeof a=="string"&&(a=a.trim(),a&&(i+=` ${a}`)),i},[e,t,n,r]),Gfe="szh-menu-container",Of="szh-menu",qfe="arrow",Xfe="item",_R=p.exports.createContext(),DR=p.exports.createContext({}),I$=p.exports.createContext({}),FR=p.exports.createContext({}),Qfe=p.exports.createContext({}),tC=p.exports.createContext({}),Go=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),mn=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),vu=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),_$=Object.freeze({FIRST:"first",LAST:"last"}),N0="absolute",Zfe="presentation",kR="menuitem",D$={"aria-hidden":!0,role:kR},Jfe=({className:e,containerRef:t,containerProps:n,children:r,isOpen:o,theming:i,transition:a,onClose:s})=>{const l=ub(a,"item");return g("div",{...eC({onKeyDown:({key:d})=>{switch(d){case Go.ESC:xo(s,{key:d,reason:vu.CANCEL});break}},onBlur:d=>{o&&!d.currentTarget.contains(d.relatedTarget)&&xo(s,{reason:vu.BLUR})}},n),className:kp({block:Gfe,modifiers:p.exports.useMemo(()=>({theme:i,itemTransition:l}),[i,l]),className:e}),style:{position:"absolute",...n==null?void 0:n.style},ref:t,children:r})},epe=()=>{let e,t=0;return{toggle:n=>{n?t++:t--,t=Math.max(t,0)},on:(n,r,o)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):o==null||o()},off:()=>{e&&(clearTimeout(e),e=0)}}},tpe=(e,t)=>{const[n,r]=p.exports.useState(),i=p.exports.useRef({items:[],hoverIndex:-1,sorted:!1}).current,a=p.exports.useCallback((l,c)=>{const{items:u}=i;if(!l)i.items=[];else if(c)u.push(l);else{const d=u.indexOf(l);d>-1&&(u.splice(d,1),l.contains(document.activeElement)&&(t.current.focus(),r()))}i.hoverIndex=-1,i.sorted=!1},[i,t]),s=p.exports.useCallback((l,c,u)=>{const{items:d,hoverIndex:f}=i,m=()=>{if(i.sorted)return;const y=e.current.querySelectorAll(".szh-menu__item");d.sort((b,x)=>N$(y,b)-N$(y,x)),i.sorted=!0};let h=-1,v;switch(l){case mn.RESET:break;case mn.SET:v=c;break;case mn.UNSET:v=y=>y===c?void 0:y;break;case mn.FIRST:m(),h=0,v=d[h];break;case mn.LAST:m(),h=d.length-1,v=d[h];break;case mn.SET_INDEX:m(),h=u,v=d[h];break;case mn.INCREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h++,h>=d.length&&(h=0),v=d[h];break;case mn.DECREASE:m(),h=f,h<0&&(h=d.indexOf(c)),h--,h<0&&(h=d.length-1),v=d[h];break}v||(h=-1),r(v),i.hoverIndex=h},[e,i]);return{hoverItem:n,dispatch:s,updateItems:a}},npe=(e,t,n,r)=>{const o=t.current.getBoundingClientRect(),i=e.current.getBoundingClientRect(),a=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=Kfe(r),l=h=>h+i.left-a.left-s.left,c=h=>h+i.left+o.width-a.right+s.right,u=h=>h+i.top-a.top-s.top,d=h=>h+i.top+o.height-a.bottom+s.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:h=>{let v=l(h);if(v<0)h-=v;else{const y=c(h);y>0&&(h-=y,v=l(h),v<0&&(h-=v))}return h},confineVertically:h=>{let v=u(h);if(v<0)h-=v;else{const y=d(h);y>0&&(h-=y,v=u(h),v<0&&(h-=v))}return h}}},rpe=({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:o})=>{let i=n.top-r.top-t+n.height/2;const a=e.current.offsetHeight*1.25;return i=Math.max(a,i),i=Math.min(i,o.height-a),i},ope=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:o,placeRightX:i,getLeftOverflow:a,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:f,position:m})=>{let h=f,v=r;m!=="initial"&&(v=c(v),m==="anchor"&&(v=Math.min(v,e
Line truncated
|
||||||
|
* clipboard.js v2.0.11
|
||||||
|
* https://clipboardjs.com/
|
||||||
|
*
|
||||||
|
* Licensed MIT © Zeno Rocha
|
||||||
|
*/(function(e,t){(function(r,o){e.exports=o()})(Wn,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return H}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),m=s.n(f);function h(D){try{return document.execCommand(D)}catch{return!1}}var v=function(z){var W=m()(z);return h("cut"),W},y=v;function b(D){var z=document.documentElement.getAttribute("dir")==="rtl",W=document.createElement("textarea");W.style.fontSize="12pt",W.style.border="0",W.style.padding="0",W.style.margin="0",W.style.position="absolute",W.style[z?"right":"left"]="-9999px";var K=window.pageYOffset||document.documentElement.scrollTop;return W.style.top="".concat(K,"px"),W.setAttribute("readonly",""),W.value=D,W}var x=function(z,W){var K=b(z);W.container.appendChild(K);var X=m()(K);return h("copy"),K.remove(),X},S=function(z){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},K="";return typeof z=="string"?K=x(z,W):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?K=x(z.value,W):(K=m()(z),h("copy")),K},C=S;function A(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(W){return typeof W}:A=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},A(D)}var E=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=z.action,K=W===void 0?"copy":W,X=z.container,j=z.target,V=z.text;if(K!=="copy"&&K!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(j!==void 0)if(j&&A(j)==="object"&&j.nodeType===1){if(K==="copy"&&j.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(K==="cut"&&(j.hasAttribute("readonly")||j.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(V)return C(V,{container:X});if(j)return K==="cut"?y(j):C(j,{container:X})},w=E;function M(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(W){return typeof W}:M=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},M(D)}function P(D,z){if(!(D instanceof z))throw new TypeError("Cannot call a class as a function")}function R(D,z){for(var W=0;W<z.length;W++){var K=z[W];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(D,K.key,K)}}function T(D,z,W){return z&&R(D.prototype,z),W&&R(D,W),D}function k(D,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(z&&z.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),z&&B(D,z)}function B(D,z){return B=Object.setPrototypeOf||function(K,X){return K.__proto__=X,K},B(D,z)}function I(D){var z=O();return function(){var K=$(D),X;if(z){var j=$(this).constructor;X=Reflect.construct(K,arguments,j)}else X=K.apply(this,arguments);return F(this,X)}}function F(D,z){return z&&(M(z)==="object"||typeof z=="function")?z:_(D)}function _(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function O(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function $(D){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},$(D)}function L(D,z){var W="data-clipboard-".concat(D);if(!!z.hasAttribute(W))return z.getAttribute(W)}var N=function(D){k(W,D);var z=I(W);function W(K,X){var j;return P(this,W),j=z.call(this),j.resolveOptions(X),j.listenClick(K),j}return T(W,[{key:"resolveOptions",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof X.action=="function"?X.action:this.defaultAction,this.target=typeof X.target=="function"?X.target:this.defaultTarget,this.text=typeof X.text=="function"?X.text:this.defaultText,this.container=M(X.container)==="object"?X.container:document.body}},{key:"listenClick",value:function(X){var j=this;this.listener=d()(X,"click",function(V){return j.onClick(V)})}},{key:"onClick",value:function(X){var j=X.delegateTarget||X.currentTarget,V=this.action(j)||"copy",G=w({action:V,container:this.container,target:this.target(j),text:this.text(j)});this.emit(G?"success":"error",{action:V,text:G,trigger:j,clearSelection:function(){j&&j.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(X){return L("action",X)}},{key:"defaultTarget",value:function(X){var j=L("target",X);if(j)return document.querySelector(j)}},{key:"defaultText",value:function(X){return L("text",X)}},{key:"destroy",value:functLine truncated
|
||||||
|
position: relative;
|
||||||
|
width: -moz-fit-content;
|
||||||
|
width: fit-content;
|
||||||
|
height: -moz-fit-content;
|
||||||
|
height: fit-content;
|
||||||
|
overflow: hidden;
|
||||||
|
-webkit-touch-callout: none; /* iOS Safari */
|
||||||
|
-webkit-user-select: none; /* Safari */
|
||||||
|
-khtml-user-select: none; /* Konqueror HTML */
|
||||||
|
-moz-user-select: none; /* Firefox */
|
||||||
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||||
|
user-select: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.transform-component-module_content__FBWxo {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
width: -moz-fit-content;
|
||||||
|
width: fit-content;
|
||||||
|
height: -moz-fit-content;
|
||||||
|
height: fit-content;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
transform-origin: 0% 0%;
|
||||||
|
}
|
||||||
|
.transform-component-module_content__FBWxo img {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
`,Y$={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo"};Ave(Eve);var $ve=function(e){var t=e.children,n=e.wrapperClass,r=n===void 0?"":n,o=e.contentClass,i=o===void 0?"":o,a=e.wrapperStyle,s=e.contentStyle,l=e.wrapperProps,c=l===void 0?{}:l,u=e.contentProps,d=u===void 0?{}:u,f=p.exports.useContext(iC),m=f.init,h=f.cleanupWindowEvents,v=p.exports.useRef(null),y=p.exports.useRef(null);return p.exports.useEffect(function(){var b=v.current,x=y.current;return b!==null&&x!==null&&m&&(m==null||m(b,x)),function(){h==null||h()}},[]),g("div",{...Bi({},c,{ref:v,className:"".concat(fb.wrapperClass," ").concat(Y$.wrapper," ").concat(r),style:a}),children:g("div",{...Bi({},d,{ref:y,className:"".concat(fb.contentClass," ").concat(Y$.content," ").concat(i),style:s}),children:t})})};const Ove="/assets/errorImg.719abbab.png",Ls=43,rN=1,oN=2,iN=3;function Mve(e){const t=n=>{n==="up"&&e.upDisable||n==="down"&&e.downDisable||e.ButtonEvent&&e.ButtonEvent(n)};return g("div",{className:"MediaViewModal-body-Bar",children:Q("div",{className:"MediaViewModal-Bar-body",children:[Q("div",{className:"MediaViewModal-Bar-func",children:[g("div",{className:`MediaViewModal-Bar-Icon${e.upDisable?"-disable":""}`,onClick:()=>t("up"),title:"\u4E0A\u4E00\u5F20",children:g(L5,{})}),g("div",{className:`MediaViewModal-Bar-Icon${e.downDisable?"-disable":""}`,onClick:()=>t("down"),title:"\u4E0B\u4E00\u5F20",children:g(sF,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomIn"),title:"\u653E\u5927",children:g(Q5,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("zoomOut"),title:"\u7F29\u5C0F",children:g(Z5,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("origin"),title:"\u9002\u5E94\u7A97\u53E3\u5927\u5C0F",children:g(nk,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("left"),title:"\u5DE6\u8F6C",children:g(K5,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("right"),title:"\u53F3\u8F6C",children:g(G5,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipX"),title:"\u6C34\u5E73\u7FFB\u8F6C",children:g(ol,{})}),!e.isVideo&&g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("flipY"),title:"\u5782\u76F4\u7FFB\u8F6C",children:g(ol,{style:{transform:"rotate(90deg)"}})}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("save"),title:"\u4FDD\u5B58\u5230\u672C\u5730",children:g(z5,{})})]}),g("div",{className:"MediaViewModal-Bar-Icon",onClick:()=>t("close"),title:"\u5173\u95ED",children:g(Tr,{className:"MediaViewModal-Bar-Icon"})})]})})}function Pve({msg:e}){const[t,n]=p.exports.useState(!0),r=p.exports.useRef(null),o=()=>{r.current&&(r.current.src=Ove)},i=()=>{if(r.current){const{naturalWidth:a,naturalHeight:s}=r.current;n(a<s)}};return Q("div",{className:"MediaView-thumb-div",children:[g("img",{className:"MediaView-thumb",ref:r,src:e.content.ThumbPath,onError:o,onLoad:i,style:{width:t?"100px":"auto",height:t?"auto":"100px"}}),e.content.type===Ls&&g("div",{className:"MediaView-thumb-mask",children:g("div",{className:"MediaView-thumb-mask-icon-div",children:g(U5,{className:"MediaView-thumb-mask-icon"})})})]})}function Tve({src:e,onError:t,isPlay:n}){const r=p.exports.useRef(null),[o,i]=p.exports.useState(n),[a,s]=p.exports.useState(0),[l,c]=p.exports.useState(1),[u,d]=p.exports.useState(!1),[f,m]=p.exports.useState(!1),[h,v]=p.exports.useState(!1),[y,b]=p.exports.useState("00:00"),[x,S]=p.exports.useState("00:00"),C=()=>{i(!o)},A=F=>{const _=parseFloat(F.target.value);r.current&&(o?(r.current.pause(),setTimeout(()=>{s(_),r.current.currentTime=r.current.duration*_,r.current.play()},30)):r.current.currentTime=r.current.duration*_)},E=F=>{const _=parseFloat(F.target.value);c(_)},w=()=>{i(!1)},M=()=>{console.log("MediaViewvideo handleError"),t&&t()},P=F=>{F.target.getBoundingClientRect().height-F.clientY<=100?m(!0):(m(!1),v(!1))},R=F=>{v(F)},T=()=>{d(F=>!F)},k=F=>{switch(F.code){case"Space":C();break}},B=()=>{if(r.current){const F=r.current.currentTime,_=r.current.duration;if(isNaN(F)||isNaN(_))return;s(F/_),b(D0(F))}},I=()=>{r.current&&(s(0),b(D0(0)),S(D0(r.current.duration)))};return p.exports.useEffect(()=>(r.current&&(o?r.current.play():r.current.pause()),window.addEventListener("keydown",k),()=>{window.removeEventListener("keydown",k)}),[o]),p.exports.useEffect(()=>{r.current&&(r.current.volume=l)},[l]),p.exports.useEffect(()=>{i(n)},[e,n]),Q("div",{className:"MediaViewvideo",onMouseMove:P,children:[g("div",{className:"MediaViewvideo-video-wrap",onClick:C,children:g("video",{className:"MediaViewvideo-video",ref:r,src:e,controls:!1,preload:"auto",muted:u,onTimeUpdate:B,onLoadedMetadata:I,onError:M,onEnded:w})}),Q("div",{className:"MediaView-Player-controls",style:{visibility:f?"visible":"hidden"},children:[g("div",{className:"MediaView-Player-controls-playpuase",onClick:C,children:o?g(cv,{title:"\u6682\u505C"}):g(sv,{tit
Line truncated
|
||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
Vendored
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||||
<title>wechatDataBackup</title>
|
<title>wechatDataBackup</title>
|
||||||
<script type="module" crossorigin src="/assets/index.04e85ebe.js"></script>
|
<script type="module" crossorigin src="/assets/index.e4a8c0f4.js"></script>
|
||||||
<link rel="stylesheet" href="/assets/index.3ddb0aa4.css">
|
<link rel="stylesheet" href="/assets/index.0393a903.css">
|
||||||
</head>
|
</head>
|
||||||
<body >
|
<body >
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ func main() {
|
|||||||
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
BackgroundColour: &options.RGBA{R: 27, G: 38, B: 54, A: 1},
|
||||||
OnStartup: app.startup,
|
OnStartup: app.startup,
|
||||||
OnBeforeClose: app.beforeClose,
|
OnBeforeClose: app.beforeClose,
|
||||||
|
OnShutdown: app.shutdown,
|
||||||
Bind: []interface{}{
|
Bind: []interface{}{
|
||||||
app,
|
app,
|
||||||
},
|
},
|
||||||
@@ -58,6 +59,6 @@ func main() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println("Error:", err.Error())
|
log.Println("Error:", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+5
-1
@@ -185,7 +185,11 @@ func removeCustomTags(input string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Html2Text(htmlStr string) string {
|
func Html2Text(htmlStr string) string {
|
||||||
if htmlStr[0] != '<' {
|
// if htmlStr == "" {
|
||||||
|
// return ""
|
||||||
|
// }
|
||||||
|
|
||||||
|
if len(htmlStr) == 0 || htmlStr[0] != '<' {
|
||||||
return htmlStr
|
return htmlStr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -747,6 +747,7 @@ func hasDeviceSybmol(buffer []byte) int {
|
|||||||
{'p', 'a', 'd', '-', 'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00},
|
{'p', 'a', 'd', '-', 'a', 'n', 'd', 'r', 'o', 'i', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00},
|
||||||
{'i', 'p', 'h', 'o', 'n', 'e', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00},
|
{'i', 'p', 'h', 'o', 'n', 'e', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00},
|
||||||
{'i', 'p', 'a', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00},
|
{'i', 'p', 'a', 'd', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00},
|
||||||
|
{'O', 'H', 'O', 'S', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00},
|
||||||
}
|
}
|
||||||
for _, syb := range sybmols {
|
for _, syb := range sybmols {
|
||||||
if index := bytes.Index(buffer, syb); index != -1 {
|
if index := bytes.Index(buffer, syb); index != -1 {
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ type ChannelsInfo struct {
|
|||||||
ThumbPath string
|
ThumbPath string
|
||||||
ThumbCache string
|
ThumbCache string
|
||||||
NickName string
|
NickName string
|
||||||
|
Description string
|
||||||
}
|
}
|
||||||
|
|
||||||
type MusicInfo struct {
|
type MusicInfo struct {
|
||||||
@@ -219,6 +220,23 @@ type WeChatAccountInfo struct {
|
|||||||
LocalHeadImgUrl string `json:"LocalHeadImgUrl"`
|
LocalHeadImgUrl string `json:"LocalHeadImgUrl"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type WeChatLastTime struct {
|
||||||
|
UserName string `json:"UserName"`
|
||||||
|
Timestamp int64 `json:"Timestamp"`
|
||||||
|
MessageId string `json:"MessageId"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type WeChatBookMark struct {
|
||||||
|
MarkId string `json:"MarkId"`
|
||||||
|
Tag string `json:"Tag"`
|
||||||
|
Info string `json:"Info"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type WeChatBookMarkList struct {
|
||||||
|
Marks []WeChatBookMark `json:"Marks"`
|
||||||
|
Total int `json:"Total"`
|
||||||
|
}
|
||||||
|
|
||||||
type wechatMsgDB struct {
|
type wechatMsgDB struct {
|
||||||
path string
|
path string
|
||||||
db *sql.DB
|
db *sql.DB
|
||||||
@@ -231,17 +249,20 @@ type WechatDataProvider struct {
|
|||||||
prefixResPath string
|
prefixResPath string
|
||||||
microMsg *sql.DB
|
microMsg *sql.DB
|
||||||
openIMContact *sql.DB
|
openIMContact *sql.DB
|
||||||
|
userData *sql.DB
|
||||||
msgDBs []*wechatMsgDB
|
msgDBs []*wechatMsgDB
|
||||||
userInfoMap map[string]WeChatUserInfo
|
userInfoMap map[string]WeChatUserInfo
|
||||||
userInfoMtx sync.Mutex
|
userInfoMtx sync.Mutex
|
||||||
|
|
||||||
SelfInfo *WeChatUserInfo
|
SelfInfo *WeChatUserInfo
|
||||||
ContactList *WeChatContactList
|
ContactList *WeChatContactList
|
||||||
|
IsShareData bool
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MicroMsgDB = "MicroMsg.db"
|
MicroMsgDB = "MicroMsg.db"
|
||||||
OpenIMContactDB = "OpenIMContact.db"
|
OpenIMContactDB = "OpenIMContact.db"
|
||||||
|
UserDataDB = "UserData.db"
|
||||||
)
|
)
|
||||||
|
|
||||||
type byTime []*wechatMsgDB
|
type byTime []*wechatMsgDB
|
||||||
@@ -299,6 +320,26 @@ func CreateWechatDataProvider(resPath string, prefixRes string) (*WechatDataProv
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UserDataDBPath := resPath + "\\Msg\\" + UserDataDB
|
||||||
|
userData := openUserDataDB(UserDataDBPath)
|
||||||
|
if userData == nil {
|
||||||
|
log.Printf("open db %s error: %v", UserDataDBPath, err)
|
||||||
|
return provider, err
|
||||||
|
}
|
||||||
|
|
||||||
|
msgDBPath := fmt.Sprintf("%s\\Msg\\Multi\\MSG.db", provider.resPath)
|
||||||
|
if _, err := os.Stat(msgDBPath); err == nil {
|
||||||
|
log.Println("msgDBPath", msgDBPath)
|
||||||
|
msgDB, err := wechatOpenMsgDB(msgDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("open db %s error: %v", msgDBPath, err)
|
||||||
|
} else {
|
||||||
|
provider.msgDBs = append(provider.msgDBs, msgDB)
|
||||||
|
log.Printf("MSG.db start %d - %d end\n", msgDB.startTime, msgDB.endTime)
|
||||||
|
provider.IsShareData = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
index := 0
|
index := 0
|
||||||
for {
|
for {
|
||||||
msgDBPath := fmt.Sprintf("%s\\Msg\\Multi\\MSG%d.db", provider.resPath, index)
|
msgDBPath := fmt.Sprintf("%s\\Msg\\Multi\\MSG%d.db", provider.resPath, index)
|
||||||
@@ -324,6 +365,7 @@ func CreateWechatDataProvider(resPath string, prefixRes string) (*WechatDataProv
|
|||||||
provider.userInfoMap = make(map[string]WeChatUserInfo)
|
provider.userInfoMap = make(map[string]WeChatUserInfo)
|
||||||
provider.microMsg = microMsg
|
provider.microMsg = microMsg
|
||||||
provider.openIMContact = openIMContact
|
provider.openIMContact = openIMContact
|
||||||
|
provider.userData = userData
|
||||||
provider.SelfInfo, err = provider.WechatGetUserInfoByNameOnCache(userName)
|
provider.SelfInfo, err = provider.WechatGetUserInfoByNameOnCache(userName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("WechatGetUserInfoByName %s failed: %v", userName, err)
|
log.Printf("WechatGetUserInfoByName %s failed: %v", userName, err)
|
||||||
@@ -357,6 +399,13 @@ func (P *WechatDataProvider) WechatWechatDataProviderClose() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if P.userData != nil {
|
||||||
|
err := P.userData.Close()
|
||||||
|
if err != nil {
|
||||||
|
log.Println("db close:", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for _, db := range P.msgDBs {
|
for _, db := range P.msgDBs {
|
||||||
err := db.db.Close()
|
err := db.db.Close()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -374,7 +423,7 @@ func (P *WechatDataProvider) WechatGetUserInfoByName(name string) (*WeChatUserIn
|
|||||||
// log.Println(querySql)
|
// log.Println(querySql)
|
||||||
err := P.microMsg.QueryRow(querySql).Scan(&UserName, &Alias, &ReMark, &NickName)
|
err := P.microMsg.QueryRow(querySql).Scan(&UserName, &Alias, &ReMark, &NickName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("not found User:", err)
|
// log.Println("not found User:", err)
|
||||||
return info, err
|
return info, err
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -580,9 +629,9 @@ func (P *WechatDataProvider) weChatGetMessageListByTime(userName string, time in
|
|||||||
return List, nil
|
return List, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
sqlFormat := "select localId,MsgSvrID,Type,SubType,IsSender,CreateTime,ifnull(StrTalker,'') as StrTalker, ifnull(StrContent,'') as StrContent,ifnull(CompressContent,'') as CompressContent,ifnull(BytesExtra,'') as BytesExtra from MSG Where StrTalker='%s' And CreateTime<=%d order by CreateTime desc limit %d;"
|
sqlFormat := "select localId,MsgSvrID,Type,SubType,IsSender,CreateTime,ifnull(StrTalker,'') as StrTalker, ifnull(StrContent,'') as StrContent,ifnull(CompressContent,'') as CompressContent,ifnull(BytesExtra,'') as BytesExtra from MSG Where StrTalker='%s' And CreateTime<=%d order by Sequence desc limit %d;"
|
||||||
if direction == Message_Search_Backward {
|
if direction == Message_Search_Backward {
|
||||||
sqlFormat = "select localId,MsgSvrID,Type,SubType,IsSender,CreateTime,ifnull(StrTalker,'') as StrTalker, ifnull(StrContent,'') as StrContent,ifnull(CompressContent,'') as CompressContent,ifnull(BytesExtra,'') as BytesExtra from ( select localId, MsgSvrID, Type, SubType, IsSender, CreateTime, StrTalker, StrContent, CompressContent, BytesExtra FROM MSG Where StrTalker='%s' And CreateTime>%d order by CreateTime asc limit %d) AS SubQuery order by CreateTime desc;"
|
sqlFormat = "select localId,MsgSvrID,Type,SubType,IsSender,CreateTime,ifnull(StrTalker,'') as StrTalker, ifnull(StrContent,'') as StrContent,ifnull(CompressContent,'') as CompressContent,ifnull(BytesExtra,'') as BytesExtra from ( select localId, MsgSvrID, Type, SubType, IsSender, CreateTime, Sequence, StrTalker, StrContent, CompressContent, BytesExtra FROM MSG Where StrTalker='%s' And CreateTime>%d order by Sequence asc limit %d) AS SubQuery order by Sequence desc;"
|
||||||
}
|
}
|
||||||
querySql := fmt.Sprintf(sqlFormat, userName, time, pageSize)
|
querySql := fmt.Sprintf(sqlFormat, userName, time, pageSize)
|
||||||
log.Println(querySql)
|
log.Println(querySql)
|
||||||
@@ -994,10 +1043,12 @@ func (P *WechatDataProvider) wechatMessageCompressContentHandle(msg *WeChatMessa
|
|||||||
} else if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_Channels {
|
} else if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_Channels {
|
||||||
msg.ChannelsInfo.NickName = root.FindElementValue("/msg/appmsg/finderFeed/nickname")
|
msg.ChannelsInfo.NickName = root.FindElementValue("/msg/appmsg/finderFeed/nickname")
|
||||||
msg.ChannelsInfo.ThumbPath = root.FindElementValue("/msg/appmsg/finderFeed/mediaList/media/thumbUrl")
|
msg.ChannelsInfo.ThumbPath = root.FindElementValue("/msg/appmsg/finderFeed/mediaList/media/thumbUrl")
|
||||||
|
msg.ChannelsInfo.Description = root.FindElementValue("/msg/appmsg/finderFeed/desc")
|
||||||
msg.ChannelsInfo.ThumbPath = P.urlconvertCacheName(msg.ChannelsInfo.ThumbPath, msg.CreateTime)
|
msg.ChannelsInfo.ThumbPath = P.urlconvertCacheName(msg.ChannelsInfo.ThumbPath, msg.CreateTime)
|
||||||
} else if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_Live {
|
} else if msg.Type == Wechat_Message_Type_Misc && msg.SubType == Wechat_Misc_Message_Live {
|
||||||
msg.ChannelsInfo.NickName = root.FindElementValue("/msg/appmsg/finderLive/nickname")
|
msg.ChannelsInfo.NickName = root.FindElementValue("/msg/appmsg/finderLive/nickname")
|
||||||
msg.ChannelsInfo.ThumbPath = root.FindElementValue("/msg/appmsg/finderLive/media/coverUrl")
|
msg.ChannelsInfo.ThumbPath = root.FindElementValue("/msg/appmsg/finderLive/media/coverUrl")
|
||||||
|
msg.ChannelsInfo.Description = root.FindElementValue("/msg/appmsg/finderLive/desc")
|
||||||
msg.ChannelsInfo.ThumbPath = P.urlconvertCacheName(msg.ChannelsInfo.ThumbPath, msg.CreateTime)
|
msg.ChannelsInfo.ThumbPath = P.urlconvertCacheName(msg.ChannelsInfo.ThumbPath, msg.CreateTime)
|
||||||
} else if msg.Type == Wechat_Message_Type_Misc && (msg.SubType == Wechat_Misc_Message_Music || msg.SubType == Wechat_Misc_Message_TingListen) {
|
} else if msg.Type == Wechat_Message_Type_Misc && (msg.SubType == Wechat_Misc_Message_Music || msg.SubType == Wechat_Misc_Message_TingListen) {
|
||||||
msg.MusicInfo.Title = root.FindElementValue("/msg/appmsg/title")
|
msg.MusicInfo.Title = root.FindElementValue("/msg/appmsg/title")
|
||||||
@@ -1043,6 +1094,11 @@ func (P *WechatDataProvider) wechatMessageVisitHandke(msg *WeChatMessage) {
|
|||||||
msg.VisitInfo.NickName = attr["nickname"]
|
msg.VisitInfo.NickName = attr["nickname"]
|
||||||
msg.VisitInfo.SmallHeadImgUrl = attr["smallheadimgurl"]
|
msg.VisitInfo.SmallHeadImgUrl = attr["smallheadimgurl"]
|
||||||
msg.VisitInfo.BigHeadImgUrl = attr["bigheadimgurl"]
|
msg.VisitInfo.BigHeadImgUrl = attr["bigheadimgurl"]
|
||||||
|
localHeadImgPath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", P.resPath, userName)
|
||||||
|
relativePath := fmt.Sprintf("%s\\FileStorage\\HeadImage\\%s.headimg", P.prefixResPath, userName)
|
||||||
|
if _, err = os.Stat(localHeadImgPath); err == nil {
|
||||||
|
msg.VisitInfo.LocalHeadImgUrl = relativePath
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1068,7 +1124,7 @@ func (P *WechatDataProvider) wechatMessageGetUserInfo(msg *WeChatMessage) {
|
|||||||
|
|
||||||
pinfo, err := P.WechatGetUserInfoByNameOnCache(who)
|
pinfo, err := P.WechatGetUserInfoByNameOnCache(who)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("WechatGetUserInfoByNameOnCache:", err)
|
// log.Println("WechatGetUserInfoByNameOnCache:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,6 +1252,10 @@ func weChatMessageTypeFilter(msg *WeChatMessage, msgType string) bool {
|
|||||||
return msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video
|
return msg.Type == Wechat_Message_Type_Picture || msg.Type == Wechat_Message_Type_Video
|
||||||
case "链接":
|
case "链接":
|
||||||
return msg.Type == Wechat_Message_Type_Misc && (msg.SubType == Wechat_Misc_Message_CardLink || msg.SubType == Wechat_Misc_Message_ThirdVideo)
|
return msg.Type == Wechat_Message_Type_Misc && (msg.SubType == Wechat_Misc_Message_CardLink || msg.SubType == Wechat_Misc_Message_ThirdVideo)
|
||||||
|
case "语音":
|
||||||
|
return msg.Type == Wechat_Message_Type_Voice
|
||||||
|
case "通话":
|
||||||
|
return msg.Type == Wechat_Message_Type_Voip
|
||||||
default:
|
default:
|
||||||
if strings.HasPrefix(msgType, "群成员") {
|
if strings.HasPrefix(msgType, "群成员") {
|
||||||
userName := msgType[len("群成员"):]
|
userName := msgType[len("群成员"):]
|
||||||
@@ -1255,7 +1315,7 @@ func (P *WechatDataProvider) WechatGetUserInfoByNameOnCache(name string) (*WeCha
|
|||||||
pinfo, err = P.WechatGetUserInfoByName(name)
|
pinfo, err = P.WechatGetUserInfoByName(name)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("WechatGetUserInfoByName %s failed: %v\n", name, err)
|
// log.Printf("WechatGetUserInfoByName %s failed: %v\n", name, err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1391,3 +1451,717 @@ func isLinkSubType(subType int) bool {
|
|||||||
}
|
}
|
||||||
return targetSubTypes[subType]
|
return targetSubTypes[subType]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func openUserDataDB(path string) *sql.DB {
|
||||||
|
if _, err := os.Stat(path); err == nil {
|
||||||
|
sql, err := sql.Open("sqlite3", path)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("open db %s error: %v", path, err)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return sql
|
||||||
|
}
|
||||||
|
|
||||||
|
db, err := sql.Open("sqlite3", path)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("open db %s error: %v", path, err)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
createLastTimeTable := `
|
||||||
|
CREATE TABLE IF NOT EXISTS lastTime (
|
||||||
|
localId INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
|
userName TEXT,
|
||||||
|
timestamp INT,
|
||||||
|
messageId TEXT,
|
||||||
|
Reserved0 INT DEFAULT 0,
|
||||||
|
Reserved1 INT DEFAULT 0,
|
||||||
|
Reserved2 TEXT,
|
||||||
|
Reserved3 TEXT
|
||||||
|
);`
|
||||||
|
|
||||||
|
_, err = db.Exec(createLastTimeTable)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("create lastTime table failed: %v", err)
|
||||||
|
db.Close()
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
createBookMarkTable := `
|
||||||
|
CREATE TABLE IF NOT EXISTS bookMark (
|
||||||
|
localId INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||||
|
userName TEXT,
|
||||||
|
markId TEXT,
|
||||||
|
tag TEXT,
|
||||||
|
info TEXT,
|
||||||
|
Reserved0 INT DEFAULT 0,
|
||||||
|
Reserved1 INT DEFAULT 0,
|
||||||
|
Reserved2 TEXT,
|
||||||
|
Reserved3 TEXT
|
||||||
|
);`
|
||||||
|
|
||||||
|
_, err = db.Exec(createBookMarkTable)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("create bookMark table failed: %v", err)
|
||||||
|
db.Close()
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
return db
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatGetSessionLastTime(userName string) *WeChatLastTime {
|
||||||
|
lastTime := &WeChatLastTime{}
|
||||||
|
if P.userData == nil {
|
||||||
|
log.Println("userData DB is nill")
|
||||||
|
return lastTime
|
||||||
|
}
|
||||||
|
|
||||||
|
var timestamp int64
|
||||||
|
var messageId string
|
||||||
|
querySql := fmt.Sprintf("select timestamp, messageId from lastTime where userName='%s';", userName)
|
||||||
|
err := P.userData.QueryRow(querySql).Scan(×tamp, &messageId)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("select DB timestamp failed:", err)
|
||||||
|
return lastTime
|
||||||
|
}
|
||||||
|
|
||||||
|
lastTime.UserName = userName
|
||||||
|
lastTime.MessageId = messageId
|
||||||
|
lastTime.Timestamp = timestamp
|
||||||
|
return lastTime
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatSetSessionLastTime(lastTime *WeChatLastTime) error {
|
||||||
|
var count int
|
||||||
|
querySql := fmt.Sprintf("select COUNT(*) from lastTime where userName='%s';", lastTime.UserName)
|
||||||
|
err := P.userData.QueryRow(querySql).Scan(&count)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("select DB timestamp count failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if count > 0 {
|
||||||
|
_, err := P.userData.Exec("UPDATE lastTime SET timestamp = ?, messageId = ? WHERE userName = ?", lastTime.Timestamp, lastTime.MessageId, lastTime.UserName)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("update timestamp failed: %v", err)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
_, err := P.userData.Exec("INSERT INTO lastTime (userName, timestamp, messageId) VALUES (?, ?, ?)", lastTime.UserName, lastTime.Timestamp, lastTime.MessageId)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("insert failed: %v", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
log.Printf("WeChatSetSessionLastTime %s %d %s done!\n", lastTime.UserName, lastTime.Timestamp, lastTime.MessageId)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatSetSessionBookMask(userName, tag, info string) error {
|
||||||
|
markId := utils.Hash256Sum([]byte(info))
|
||||||
|
querySql := fmt.Sprintf("select COUNT(*) from bookMark where markId='%s';", markId)
|
||||||
|
var count int
|
||||||
|
|
||||||
|
err := P.userData.QueryRow(querySql).Scan(&count)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("select DB markId count failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if count > 0 {
|
||||||
|
log.Printf("exist userName: %s, tag: %s, info: %s, markId: %s\n", userName, tag, info, markId)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
_, err = P.userData.Exec("INSERT INTO bookMark (userName, markId, tag, info) VALUES (?, ?, ?, ?)", userName, markId, tag, info)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("insert failed: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatDelSessionBookMask(markId string) error {
|
||||||
|
querySql := fmt.Sprintf("select COUNT(*) from bookMark where markId='%s';", markId)
|
||||||
|
var count int
|
||||||
|
|
||||||
|
err := P.userData.QueryRow(querySql).Scan(&count)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("select DB markId count failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if count > 0 {
|
||||||
|
_, err = P.userData.Exec("DELETE from bookMark where markId=?", markId)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("delete failed: %v", err)
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
log.Printf("markId %s not exits\n", markId)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatGetSessionBookMaskList(userName string) (*WeChatBookMarkList, error) {
|
||||||
|
markList := &WeChatBookMarkList{}
|
||||||
|
markList.Marks = make([]WeChatBookMark, 0)
|
||||||
|
markList.Total = 0
|
||||||
|
|
||||||
|
querySql := fmt.Sprintf("select markId, tag, info from bookMark where userName='%s';", userName)
|
||||||
|
log.Println("querySql:", querySql)
|
||||||
|
|
||||||
|
rows, err := P.userData.Query(querySql)
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("%s failed %v\n", querySql, err)
|
||||||
|
return markList, err
|
||||||
|
}
|
||||||
|
defer rows.Close()
|
||||||
|
|
||||||
|
var markId, tag, info string
|
||||||
|
for rows.Next() {
|
||||||
|
err = rows.Scan(&markId, &tag, &info)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("rows.Scan failed", err)
|
||||||
|
return markList, err
|
||||||
|
}
|
||||||
|
|
||||||
|
markList.Marks = append(markList.Marks, WeChatBookMark{MarkId: markId, Tag: tag, Info: info})
|
||||||
|
markList.Total += 1
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := rows.Err(); err != nil {
|
||||||
|
log.Println("rows.Scan failed", err)
|
||||||
|
return markList, err
|
||||||
|
}
|
||||||
|
|
||||||
|
return markList, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatExportDataByUserName(userName, exportPath string) error {
|
||||||
|
|
||||||
|
err := P.WeChatExportDBByUserName(userName, exportPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatExportDBByUserName:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
err = P.WeChatExportFileByUserName(userName, exportPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatExportFileByUserName:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
log.Println("WeChatExportDataByUserName done")
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatExportDBByUserName(userName, exportPath string) error {
|
||||||
|
msgPath := fmt.Sprintf("%s\\User\\%s\\Msg", exportPath, P.SelfInfo.UserName)
|
||||||
|
multiPath := fmt.Sprintf("%s\\Multi", msgPath)
|
||||||
|
if _, err := os.Stat(multiPath); err != nil {
|
||||||
|
if err := os.MkdirAll(multiPath, 0644); err != nil {
|
||||||
|
log.Printf("MkdirAll %s failed: %v\n", multiPath, err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
err := P.weChatExportMicroMsgDBByUserName(userName, msgPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("weChatExportMicroMsgDBByUserName failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
err = P.weChatExportMsgDBByUserName(userName, multiPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("weChatExportMsgDBByUserName failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
err = P.weChatExportUserDataDBByUserName(userName, msgPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("weChatExportUserDataDBByUserName failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
err = P.weChatExportOpenIMContactDBByUserName(userName, msgPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("weChatExportOpenIMContactDBByUserName failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) weChatExportMicroMsgDBByUserName(userName, exportPath string) error {
|
||||||
|
exMicroMsgDBPath := exportPath + "\\" + MicroMsgDB
|
||||||
|
if _, err := os.Stat(exMicroMsgDBPath); err == nil {
|
||||||
|
log.Println("exist", exMicroMsgDBPath)
|
||||||
|
return errors.New("exist " + exMicroMsgDBPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
exMicroMsgDB, err := sql.Open("sqlite3", exMicroMsgDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("db open", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer exMicroMsgDB.Close()
|
||||||
|
|
||||||
|
tables := []string{"Contact", "ContactHeadImgUrl", "Session"}
|
||||||
|
IsGroup := false
|
||||||
|
if strings.HasSuffix(userName, "@chatroom") {
|
||||||
|
IsGroup = true
|
||||||
|
tables = append(tables, "ChatRoom", "ChatRoomInfo")
|
||||||
|
}
|
||||||
|
|
||||||
|
err = wechatCopyDBTables(exMicroMsgDB, P.microMsg, tables)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyDBTables:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
copyContactData := func(users []string) error {
|
||||||
|
columns := "UserName, Alias, EncryptUserName, DelFlag, Type, VerifyFlag, Reserved1, Reserved2, Reserved3, Reserved4, Remark, NickName, LabelIDList, DomainList, ChatRoomType, PYInitial, QuanPin, RemarkPYInitial, RemarkQuanPin, BigHeadImgUrl, SmallHeadImgUrl, HeadImgMd5, ChatRoomNotify, Reserved5, Reserved6, Reserved7, ExtraBuf, Reserved8, Reserved9, Reserved10, Reserved11"
|
||||||
|
err = wechatCopyTableData(exMicroMsgDB, P.microMsg, "Contact", columns, "UserName", users)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData Contact:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns = "usrName, smallHeadImgUrl, bigHeadImgUrl, headImgMd5, reverse0, reverse1"
|
||||||
|
err = wechatCopyTableData(exMicroMsgDB, P.microMsg, "ContactHeadImgUrl", columns, "usrName", users)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData ContactHeadImgUrl:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
err = copyContactData([]string{userName, P.SelfInfo.UserName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("copyContactData:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns := "strUsrName, nOrder, nUnReadCount, parentRef, Reserved0, Reserved1, strNickName, nStatus, nIsSend, strContent, nMsgType, nMsgLocalID, nMsgStatus, nTime, editContent, othersAtMe, Reserved2, Reserved3, Reserved4, Reserved5, bytesXml"
|
||||||
|
err = wechatCopyTableData(exMicroMsgDB, P.microMsg, "Session", columns, "strUsrName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData Session:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
if !IsGroup {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
uList, err := P.WeChatGetChatRoomUserList(userName)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatGetChatRoomUserList failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
userNames := make([]string, 0, 100)
|
||||||
|
for i := range uList.Users {
|
||||||
|
userNames = append(userNames, uList.Users[i].UserName)
|
||||||
|
if len(userNames) >= 100 || i == len(uList.Users)-1 {
|
||||||
|
err = copyContactData(userNames)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("copyContactData:", err)
|
||||||
|
}
|
||||||
|
userNames = userNames[:0]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
columns = "ChatRoomName, UserNameList, DisplayNameList, ChatRoomFlag, Owner, IsShowName, SelfDisplayName, Reserved1, Reserved2, Reserved3, Reserved4, Reserved5, Reserved6, RoomData, Reserved7, Reserved8"
|
||||||
|
err = wechatCopyTableData(exMicroMsgDB, P.microMsg, "ChatRoom", columns, "ChatRoomName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData ChatRoom:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns = "ChatRoomName, Announcement, InfoVersion, AnnouncementEditor, AnnouncementPublishTime, ChatRoomStatus, Reserved1, Reserved2, Reserved3, Reserved4, Reserved5, Reserved6, Reserved7, Reserved8"
|
||||||
|
err = wechatCopyTableData(exMicroMsgDB, P.microMsg, "ChatRoomInfo", columns, "ChatRoomName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData ChatRoom:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) weChatExportMsgDBByUserName(userName, exportPath string) error {
|
||||||
|
exMsgDBPath := exportPath + "\\" + "MSG.db"
|
||||||
|
if _, err := os.Stat(exMsgDBPath); err == nil {
|
||||||
|
log.Println("exist", exMsgDBPath)
|
||||||
|
return errors.New("exist " + exMsgDBPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
exMsgDB, err := sql.Open("sqlite3", exMsgDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("db open", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer exMsgDB.Close()
|
||||||
|
|
||||||
|
if len(P.msgDBs) == 0 {
|
||||||
|
return fmt.Errorf("P.msgDBs len = 0")
|
||||||
|
}
|
||||||
|
|
||||||
|
tables := []string{"MSG", "Name2ID"}
|
||||||
|
err = wechatCopyDBTables(exMsgDB, P.msgDBs[0].db, tables)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyDBTables:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns := "TalkerId, MsgSvrID, Type, SubType, IsSender, CreateTime, Sequence, StatusEx, FlagEx, Status, MsgServerSeq, MsgSequence, StrTalker, StrContent, DisplayContent, Reserved0, Reserved1, Reserved2, Reserved3, Reserved4, Reserved5, Reserved6, CompressContent, BytesExtra, BytesTrans"
|
||||||
|
for _, msgDB := range P.msgDBs {
|
||||||
|
err = wechatCopyTableData(exMsgDB, msgDB.db, "MSG", columns, "StrTalker", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData MSG:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
columns = "UsrName"
|
||||||
|
for _, msgDB := range P.msgDBs {
|
||||||
|
err = wechatCopyTableData(exMsgDB, msgDB.db, "Name2ID", columns, "UsrName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
// log.Println("Name2ID:", userName)
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) weChatExportUserDataDBByUserName(userName, exportPath string) error {
|
||||||
|
exUserDataDBPath := exportPath + "\\" + UserDataDB
|
||||||
|
if _, err := os.Stat(exUserDataDBPath); err == nil {
|
||||||
|
log.Println("exist", exUserDataDBPath)
|
||||||
|
return errors.New("exist " + exUserDataDBPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
exUserDataDB, err := sql.Open("sqlite3", exUserDataDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("db open", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer exUserDataDB.Close()
|
||||||
|
|
||||||
|
tables := []string{"lastTime", "bookMark"}
|
||||||
|
err = wechatCopyDBTables(exUserDataDB, P.userData, tables)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyDBTables:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns := "localId,userName,timestamp,messageId,Reserved0,Reserved1,Reserved2,Reserved3"
|
||||||
|
err = wechatCopyTableData(exUserDataDB, P.userData, "lastTime", columns, "userName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData lastTime:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
columns = "localId, userName, markId, tag, info, Reserved0, Reserved1, Reserved2, Reserved3"
|
||||||
|
err = wechatCopyTableData(exUserDataDB, P.userData, "bookMark", columns, "userName", []string{userName})
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData bookMark:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) weChatExportOpenIMContactDBByUserName(userName, exportPath string) error {
|
||||||
|
hasOpenIM := false
|
||||||
|
IsGroup := false
|
||||||
|
if strings.HasSuffix(userName, "@openim") {
|
||||||
|
hasOpenIM = true
|
||||||
|
}
|
||||||
|
|
||||||
|
userNames := make([]string, 0)
|
||||||
|
if strings.HasSuffix(userName, "@chatroom") {
|
||||||
|
IsGroup = true
|
||||||
|
uList, err := P.WeChatGetChatRoomUserList(userName)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("WeChatGetChatRoomUserList failed:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
for i := range uList.Users {
|
||||||
|
if strings.HasSuffix(uList.Users[i].UserName, "@openim") {
|
||||||
|
userNames = append(userNames, uList.Users[i].UserName)
|
||||||
|
hasOpenIM = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if !hasOpenIM || P.openIMContact == nil {
|
||||||
|
log.Println("not Open Im")
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
exOpenIMContactDBPath := exportPath + "\\" + OpenIMContactDB
|
||||||
|
if _, err := os.Stat(exOpenIMContactDBPath); err == nil {
|
||||||
|
log.Println("exist", exOpenIMContactDBPath)
|
||||||
|
return errors.New("exist " + exOpenIMContactDBPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
exOpenIMContactDB, err := sql.Open("sqlite3", exOpenIMContactDBPath)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("db open", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer exOpenIMContactDB.Close()
|
||||||
|
|
||||||
|
tables := []string{"OpenIMContact"}
|
||||||
|
err = wechatCopyDBTables(exOpenIMContactDB, P.openIMContact, tables)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyDBTables:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
copyContactData := func(users []string) error {
|
||||||
|
columns := "UserName, NickName, Type, Remark, BigHeadImgUrl, SmallHeadImgUrl, Source, NickNamePYInit, NickNameQuanPin, RemarkPYInit, RemarkQuanPin, CustomInfoDetail, CustomInfoDetailVisible, AntiSpamTicket, AppId, Sex, DescWordingId, Reserved1, Reserved2, Reserved3, Reserved4, Reserved5, Reserved6, Reserved7, Reserved8, ExtraBuf"
|
||||||
|
err = wechatCopyTableData(exOpenIMContactDB, P.openIMContact, "OpenIMContact", columns, "UserName", users)
|
||||||
|
if err != nil {
|
||||||
|
log.Println("wechatCopyTableData OpenIMContact:", err)
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
if !IsGroup {
|
||||||
|
return copyContactData([]string{userName})
|
||||||
|
}
|
||||||
|
|
||||||
|
chunkSize := 100
|
||||||
|
for i := 0; i < len(userNames); i += chunkSize {
|
||||||
|
end := i + chunkSize
|
||||||
|
if end > len(userNames) {
|
||||||
|
end = len(userNames)
|
||||||
|
}
|
||||||
|
err = copyContactData(userNames[i:end])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func wechatCopyDBTables(dts, src *sql.DB, tables []string) error {
|
||||||
|
for _, tab := range tables {
|
||||||
|
querySql := fmt.Sprintf("SELECT sql FROM sqlite_master WHERE tbl_name='%s';", tab)
|
||||||
|
// log.Println("querySql:", querySql)
|
||||||
|
rows, err := src.Query(querySql)
|
||||||
|
if err != nil {
|
||||||
|
rows.Close()
|
||||||
|
log.Println("src.Query", err)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
var createStatements []string
|
||||||
|
for rows.Next() {
|
||||||
|
var sql string
|
||||||
|
if err := rows.Scan(&sql); err != nil {
|
||||||
|
log.Println(err)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
if sql != "" {
|
||||||
|
createStatements = append(createStatements, sql)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rows.Close()
|
||||||
|
// log.Println("createStatements:", createStatements)
|
||||||
|
tx, err := dts.Begin()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("failed to begin transaction: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, stmt := range createStatements {
|
||||||
|
if _, err := tx.Exec(stmt); err != nil {
|
||||||
|
tx.Rollback()
|
||||||
|
return fmt.Errorf("failed to execute statement: %s, error: %v", stmt, err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := tx.Commit(); err != nil {
|
||||||
|
return fmt.Errorf("failed to commit transaction: %v", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func wechatCopyTableData(dts, src *sql.DB, tableName, columns, conditionField string, conditionValue []string) error {
|
||||||
|
query := fmt.Sprintf("SELECT %s FROM %s WHERE %s = '%s'", columns, tableName, conditionField, conditionValue[0])
|
||||||
|
if len(conditionValue) > 1 {
|
||||||
|
query = fmt.Sprintf("SELECT %s FROM %s WHERE %s IN ('%s')", columns, tableName, conditionField, strings.Join(conditionValue, "','"))
|
||||||
|
}
|
||||||
|
// log.Println("query:", query)
|
||||||
|
rows, err := src.Query(query)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("query src failed: %v", err)
|
||||||
|
}
|
||||||
|
defer rows.Close()
|
||||||
|
|
||||||
|
tx, err := dts.Begin()
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("dts.Begin failed: %v", err)
|
||||||
|
}
|
||||||
|
defer func() {
|
||||||
|
if err != nil {
|
||||||
|
tx.Rollback()
|
||||||
|
} else {
|
||||||
|
tx.Commit()
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
|
columnList := strings.Split(columns, ",")
|
||||||
|
placeholders := strings.Repeat("?, ", len(columnList))
|
||||||
|
placeholders = placeholders[:len(placeholders)-2]
|
||||||
|
insertQuery := fmt.Sprintf("INSERT OR IGNORE INTO %s (%s) VALUES (%s)", tableName, columns, placeholders)
|
||||||
|
// log.Println("wechatCopyTableData:", insertQuery)
|
||||||
|
stmt, err := tx.Prepare(insertQuery)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("prepare insertquery: %v", err)
|
||||||
|
}
|
||||||
|
defer stmt.Close()
|
||||||
|
|
||||||
|
for rows.Next() {
|
||||||
|
values := make([]interface{}, len(columnList))
|
||||||
|
valuePtrs := make([]interface{}, len(columnList))
|
||||||
|
for i := range values {
|
||||||
|
valuePtrs[i] = &values[i]
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := rows.Scan(valuePtrs...); err != nil {
|
||||||
|
return fmt.Errorf("scan rows failed: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if _, err := stmt.Exec(values...); err != nil {
|
||||||
|
return fmt.Errorf("insert data failed: %v", err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (P *WechatDataProvider) WeChatExportFileByUserName(userName, exportPath string) error {
|
||||||
|
|
||||||
|
topDir := filepath.Dir(P.resPath)
|
||||||
|
topDir = filepath.Dir(topDir)
|
||||||
|
pageSize := 600
|
||||||
|
_time := time.Now().Unix()
|
||||||
|
taskChan := make(chan [2]string, 100)
|
||||||
|
var wg sync.WaitGroup
|
||||||
|
|
||||||
|
taskSend := func(topDir, path, exportPath string, taskChan chan [2]string) {
|
||||||
|
if path == "" {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
srcFile := topDir + path
|
||||||
|
if _, err := os.Stat(srcFile); err != nil {
|
||||||
|
// log.Println("no exist:", srcFile)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
dstFile := exportPath + path
|
||||||
|
dstDir := filepath.Dir(dstFile)
|
||||||
|
if _, err := os.Stat(dstDir); err != nil {
|
||||||
|
os.MkdirAll(dstDir, os.ModePerm)
|
||||||
|
}
|
||||||
|
|
||||||
|
task := [2]string{srcFile, dstFile}
|
||||||
|
taskChan <- task
|
||||||
|
}
|
||||||
|
|
||||||
|
for i := 0; i < 20; i++ {
|
||||||
|
wg.Add(1)
|
||||||
|
go func() {
|
||||||
|
defer wg.Done()
|
||||||
|
for task := range taskChan {
|
||||||
|
// log.Println("copy: ", task[0], task[1])
|
||||||
|
utils.CopyFile(task[0], task[1])
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
}
|
||||||
|
|
||||||
|
for {
|
||||||
|
mlist, err := P.WeChatGetMessageListByTime(userName, _time, pageSize, Message_Search_Forward)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
paths := make([]string, 0)
|
||||||
|
for _, m := range mlist.Rows {
|
||||||
|
switch m.Type {
|
||||||
|
case Wechat_Message_Type_Picture:
|
||||||
|
paths = append(paths, m.ThumbPath, m.ImagePath)
|
||||||
|
case Wechat_Message_Type_Voice:
|
||||||
|
paths = append(paths, m.VoicePath)
|
||||||
|
case Wechat_Message_Type_Visit_Card:
|
||||||
|
paths = append(paths, m.VisitInfo.LocalHeadImgUrl)
|
||||||
|
case Wechat_Message_Type_Video:
|
||||||
|
paths = append(paths, m.ThumbPath, m.VideoPath)
|
||||||
|
case Wechat_Message_Type_Location:
|
||||||
|
paths = append(paths, m.LocationInfo.ThumbPath)
|
||||||
|
case Wechat_Message_Type_Misc:
|
||||||
|
switch m.SubType {
|
||||||
|
case Wechat_Misc_Message_Music:
|
||||||
|
paths = append(paths, m.MusicInfo.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_ThirdVideo:
|
||||||
|
paths = append(paths, m.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_CardLink:
|
||||||
|
paths = append(paths, m.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_File:
|
||||||
|
paths = append(paths, m.FileInfo.FilePath)
|
||||||
|
case Wechat_Misc_Message_Applet:
|
||||||
|
paths = append(paths, m.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_Applet2:
|
||||||
|
paths = append(paths, m.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_Channels:
|
||||||
|
paths = append(paths, m.ChannelsInfo.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_Live:
|
||||||
|
paths = append(paths, m.ChannelsInfo.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_Game:
|
||||||
|
paths = append(paths, m.ThumbPath)
|
||||||
|
case Wechat_Misc_Message_TingListen:
|
||||||
|
paths = append(paths, m.MusicInfo.ThumbPath)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, path := range paths {
|
||||||
|
taskSend(topDir, path, exportPath, taskChan)
|
||||||
|
}
|
||||||
|
|
||||||
|
if mlist.Total < pageSize {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
_time = mlist.Rows[mlist.Total-1].CreateTime - 1
|
||||||
|
}
|
||||||
|
log.Println("message file done")
|
||||||
|
//copy HeadImage
|
||||||
|
taskSend(topDir, P.SelfInfo.LocalHeadImgUrl, exportPath, taskChan)
|
||||||
|
info, err := P.WechatGetUserInfoByNameOnCache(userName)
|
||||||
|
if err == nil {
|
||||||
|
taskSend(topDir, info.LocalHeadImgUrl, exportPath, taskChan)
|
||||||
|
}
|
||||||
|
|
||||||
|
if strings.HasSuffix(userName, "@chatroom") {
|
||||||
|
uList, err := P.WeChatGetChatRoomUserList(userName)
|
||||||
|
if err == nil {
|
||||||
|
for _, user := range uList.Users {
|
||||||
|
taskSend(topDir, user.LocalHeadImgUrl, exportPath, taskChan)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
log.Println("HeadImage file done")
|
||||||
|
close(taskChan)
|
||||||
|
wg.Wait()
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
Reference in new issue
Block a user