@para-ui/core 4.0.59 → 4.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Anchor/index.js +1 -1
- package/Argv/index.js +2 -2
- package/AutoButton/index.js +2 -3
- package/AutoTips/index.js +7 -249
- package/Breadcrumbs/index.js +1 -2
- package/Button/index.js +2 -2
- package/ButtonGroup/index.js +2 -2
- package/Cascader/index.js +3 -3
- package/ComboSelect/index.js +6 -7
- package/CopyText/index.js +1 -1
- package/CycleSelector/index.js +2 -2
- package/DatePicker/index.js +5 -5
- package/Descriptions/index.js +2 -2
- package/Desktop/index.js +5 -5
- package/Drawer/index.js +2 -2
- package/DynamicMultiBox/index.js +6 -7
- package/Form/index.js +6 -7
- package/FormItem/index.js +6 -7
- package/FunctionModal/index.js +4 -4
- package/InputCode/index.js +2 -2
- package/InputLang/index.js +1 -1
- package/InputNumber/index.d.ts +4 -0
- package/InputNumber/index.js +84 -78
- package/Menu/index.js +1 -1
- package/Modal/index.js +2 -2
- package/MultiBox/index.js +5 -5
- package/OperateBtn/index.js +2 -2
- package/PageHeader/index.js +2 -2
- package/Pagination/index.js +2 -2
- package/PopConfirm/index.js +2 -2
- package/PopMenu/index.js +1 -1
- package/QuickReply/index.js +2 -2
- package/README.md +11 -0
- package/Result/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +1 -1
- package/SelectInput/index.js +1 -1
- package/Selector/index.js +1 -2
- package/SelectorPicker/index.js +2 -3
- package/SingleBox/index.js +5 -5
- package/Stepper/index.js +2 -2
- package/Table/index.js +499 -435
- package/Tabs/index.js +5 -5
- package/Tag/index.js +1 -1
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +5 -5
- package/Title/index.js +1 -1
- package/ToggleButton/index.js +2 -2
- package/Transfer/index.js +2 -2
- package/Tree/index.js +3 -3
- package/Upload/index.js +2 -2
- package/_verture/{index-320d67c4.js → index-2055d357.js} +1 -1
- package/_verture/{index-0a300edb.js → index-3f811a6c.js} +1 -1
- package/_verture/{index-cd9ede02.js → index-6bbcdc7f.js} +1 -1
- package/_verture/{index-605a20c6.js → index-7d115f38.js} +2 -2
- package/_verture/index-f62daef9.js +298 -0
- package/index.js +6 -7
- package/package.json +1 -1
- package/umd/Anchor.js +1 -1
- package/umd/Argv.js +7 -7
- package/umd/AutoButton.js +2 -2
- package/umd/AutoTips.js +3 -3
- package/umd/Breadcrumbs.js +2 -2
- package/umd/Button.js +1 -1
- package/umd/ButtonGroup.js +1 -1
- package/umd/Cascader.js +1 -1
- package/umd/ComboSelect.js +2 -2
- package/umd/CopyText.js +1 -1
- package/umd/CycleSelector.js +1 -1
- package/umd/DatePicker.js +1 -1
- package/umd/Descriptions.js +1 -1
- package/umd/Desktop.js +1 -1
- package/umd/Drawer.js +1 -1
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Form.js +6 -6
- package/umd/FormItem.js +6 -6
- package/umd/FunctionModal.js +1 -1
- package/umd/InputCode.js +1 -1
- package/umd/InputLang.js +1 -1
- package/umd/InputNumber.js +5 -5
- package/umd/Menu.js +1 -1
- package/umd/Modal.js +1 -1
- package/umd/MultiBox.js +1 -1
- package/umd/OperateBtn.js +1 -1
- package/umd/PageHeader.js +1 -1
- package/umd/Pagination.js +1 -1
- package/umd/PopConfirm.js +1 -1
- package/umd/PopMenu.js +1 -1
- package/umd/QuickReply.js +1 -1
- package/umd/RangeInput.js +5 -5
- package/umd/Result.js +1 -1
- package/umd/Search.js +1 -1
- package/umd/Select.js +1 -1
- package/umd/SelectInput.js +1 -1
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +2 -2
- package/umd/SingleBox.js +1 -1
- package/umd/Stepper.js +1 -1
- package/umd/Table.js +2 -2
- package/umd/Tabs.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TextField.js +1 -1
- package/umd/TimePicker.js +1 -1
- package/umd/Title.js +1 -1
- package/umd/ToggleButton.js +1 -1
- package/umd/Transfer.js +1 -1
- package/umd/Tree.js +1 -1
- package/umd/Upload.js +1 -1
- package/_verture/useResizeObserver-960e470e.js +0 -54
- /package/_verture/{modalContext-ce07f2de.js → modalContext-15114682.js} +0 -0
package/umd/AutoTips.js
CHANGED
|
@@ -17,7 +17,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
17
17
|
object-assign
|
|
18
18
|
(c) Sindre Sorhus
|
|
19
19
|
@license MIT
|
|
20
|
-
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,a,u=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))n.call(i,c)&&(u[c]=i[c]);if(e){a=e(i);for(var l=0;l<a.length;l++)r.call(i,a[l])&&(u[a[l]]=i[a[l]])}}return u}},44785:(t,e,n)=>{"use strict";n.d(e,{A:()=>y});var r=n(64467),o=n(89379),i=n(3453),a=n(82284),u=n(39155),s=n(66588),c=n(8719),l=n(46942),f=n.n(l),p=n(80371),d=n(25931),v=n(25318),h=n(72137),m=n(58515);const y=function(t){var e=t;function n(t){return!(!t.motionName||!e)}"object"===(0,a.A)(t)&&(e=t.transitionSupport);var l=u.forwardRef((function(t,e){var a=t.visible,l=void 0===a||a,y=t.removeOnLeave,g=void 0===y||y,b=t.forceRender,w=t.children,A=t.motionName,O=t.leavedClassName,x=t.eventProps,E=n(t),T=(0,u.useRef)(),C=(0,u.useRef)();var S=(0,v.A)(E,l,(function(){try{return(0,s.Ay)(T.current||C.current)}catch(t){return null}}),t),k=(0,i.A)(S,4),j=k[0],P=k[1],M=k[2],_=k[3],D=u.useRef(_);_&&(D.current=!0);var R=(0,u.useRef)(e);R.current=e;var N,L=u.useCallback((function(t){T.current=t,(0,c.Xf)(R.current,t)}),[]),V=(0,o.A)((0,o.A)({},x),{},{visible:l});if(w)if(j!==d.SF&&n(t)){var H,z;P===d.px?z="prepare":(0,m.$m)(P)?z="active":P===d.Mv&&(z="start"),N=w((0,o.A)((0,o.A)({},V),{},{className:f()((0,p.by)(A,j),(H={},(0,r.A)(H,(0,p.by)(A,"".concat(j,"-").concat(z)),z),(0,r.A)(H,A,"string"==typeof A),H)),style:M}),L)}else N=_?w((0,o.A)({},V),L):!g&&D.current?w((0,o.A)((0,o.A)({},V),{},{className:O}),L):b?w((0,o.A)((0,o.A)({},V),{},{style:{display:"none"}}),L):null;else N=null;return u.createElement(h.A,{ref:C},N)}));return l.displayName="CSSMotion",l}(p.J1)},97333:(t,e,n)=>{"use strict";var r=n(58168),o=n(80045),i=n(89379),a=n(23029),u=n(92901),s=n(85501),c=n(29426),l=n(39155),f=n(44785),p=n(80371),d=n(29710),v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.A,n=function(t){(0,s.A)(f,t);var n=(0,c.A)(f);function f(){var t;return(0,a.A)(this,f),(t=n.apply(this,arguments)).state={keyEntities:[]},t.removeKey=function(e){t.setState((function(t){return{keyEntities:t.keyEntities.map((function(t){return t.key!==e?t:(0,i.A)((0,i.A)({},t),{},{status:d.e8})}))}}))},t}return(0,u.A)(f,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,i=this.props,a=i.component,u=i.children,s=i.onVisibleChanged,c=(0,o.A)(i,["component","children","onVisibleChanged"]),f=a||l.Fragment,p={};return v.forEach((function(t){p[t]=c[t],delete c[t]})),delete c.keys,l.createElement(f,c,n.map((function(n){var i=n.status,a=(0,o.A)(n,["status"]),c=i===d.bK||i===d.xI;return l.createElement(e,(0,r.A)({},p,{key:a.key,visible:c,eventProps:a,onVisibleChanged:function(e){null==s||s(e,{key:a.key}),e||t.removeKey(a.key)}}),u)})))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.keys,r=e.keyEntities,o=(0,d.Ss)(n);return{keyEntities:(0,d.y$)(r,o).filter((function(t){var e=r.find((function(e){var n=e.key;return t.key===n}));return!e||e.status!==d.e8||t.status!==d.au}))}}}]),f}(l.Component);n.defaultProps={component:"div"}}(p.J1)},72137:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(23029),o=n(92901),i=n(85501),a=n(29426),u=n(39155);const s=function(t){(0,i.A)(n,t);var e=(0,a.A)(n);function n(){return(0,r.A)(this,n),e.apply(this,arguments)}return(0,o.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component)},85849:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(39155),o=n(80371);const i=function(t){var e=(0,r.useRef)(),n=(0,r.useRef)(t);n.current=t;var i=r.useCallback((function(t){n.current(t)}),[]);function a(t){t&&(t.removeEventListener(o.m8,i),t.removeEventListener(o.Vc,i))}return r.useEffect((function(){return function(){a(e.current)}}),[]),[function(t){e.current&&e.current!==t&&a(e.current),t&&t!==e.current&&(t.addEventListener(o.m8,i),t.addEventListener(o.Vc,i),e.current=t)},a]}},43982:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(39155);const o=(0,n(20998).A)()?r.useLayoutEffect:r.useEffect},84560:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(39155),o=n(25371);const i=function(){var t=r.useRef(null);function e(){o.A.cancel(t.current)}return r.useEffect((function(){return function(){e()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e();var a=(0,o.A)((function(){i<=1?r({isCanceled:function(){return a!==t.current}}):n(r,i-1)}));t.current=a},e]}},92659:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3453),o=n(39155);function i(t){var e=(0,o.useRef)(!1),n=(0,o.useState)(t),i=(0,r.A)(n,2),a=i[0],u=i[1];return(0,o.useEffect)((function(){return function(){e.current=!0}}),[]),[a,function(t){e.current||u(t)}]}},25318:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var r=n(89379),o=n(64467),i=n(3453),a=n(39155),u=n(25931),s=n(92659),c=n(43982),l=n(58515),f=n(85849);function p(t,e,n,p){var d=p.motionEnter,v=void 0===d||d,h=p.motionAppear,m=void 0===h||h,y=p.motionLeave,g=void 0===y||y,b=p.motionDeadline,w=p.motionLeaveImmediately,A=p.onAppearPrepare,O=p.onEnterPrepare,x=p.onLeavePrepare,E=p.onAppearStart,T=p.onEnterStart,C=p.onLeaveStart,S=p.onAppearActive,k=p.onEnterActive,j=p.onLeaveActive,P=p.onAppearEnd,M=p.onEnterEnd,_=p.onLeaveEnd,D=p.onVisibleChanged,R=(0,s.A)(),N=(0,i.A)(R,2),L=N[0],V=N[1],H=(0,s.A)(u.SF),z=(0,i.A)(H,2),B=z[0],I=z[1],F=(0,s.A)(null),W=(0,i.A)(F,2),Y=W[0],X=W[1],U=(0,a.useRef)(!1),q=(0,a.useRef)(null),$=(0,a.useRef)(!1),G=(0,a.useRef)(null);function K(){return n()||G.current}var J=(0,a.useRef)(!1);function Z(t){var e,n=K();t&&!t.deadline&&t.target!==n||(B===u.Tv&&J.current?e=null==P?void 0:P(n,t):B===u.Wd&&J.current?e=null==M?void 0:M(n,t):B===u.dp&&J.current&&(e=null==_?void 0:_(n,t)),!1===e||$.current||(I(u.SF),X(null)))}var Q=(0,f.A)(Z),tt=(0,i.A)(Q,1)[0],et=a.useMemo((function(){var t,e,n;switch(B){case"appear":return t={},(0,o.A)(t,u.px,A),(0,o.A)(t,u.Mv,E),(0,o.A)(t,u.m7,S),t;case"enter":return e={},(0,o.A)(e,u.px,O),(0,o.A)(e,u.Mv,T),(0,o.A)(e,u.m7,k),e;case"leave":return n={},(0,o.A)(n,u.px,x),(0,o.A)(n,u.Mv,C),(0,o.A)(n,u.m7,j),n;default:return{}}}),[B]),nt=(0,l.Ay)(B,(function(t){if(t===u.px){var e=et[u.px];return e?e(K()):l.es}var n;it in et&&X((null===(n=et[it])||void 0===n?void 0:n.call(et,K(),null))||null);return it===u.m7&&(tt(K()),b>0&&(clearTimeout(q.current),q.current=setTimeout((function(){Z({deadline:!0})}),b))),l.qB})),rt=(0,i.A)(nt,2),ot=rt[0],it=rt[1],at=(0,l.$m)(it);J.current=at,(0,c.A)((function(){V(e);var n,r=U.current;(U.current=!0,t)&&(!r&&e&&m&&(n=u.Tv),r&&e&&v&&(n=u.Wd),(r&&!e&&g||!r&&w&&!e&&g)&&(n=u.dp),n&&(I(n),ot()))}),[e]),(0,a.useEffect)((function(){(B===u.Tv&&!m||B===u.Wd&&!v||B===u.dp&&!g)&&I(u.SF)}),[m,v,g]),(0,a.useEffect)((function(){return function(){clearTimeout(q.current),$.current=!0}}),[]),(0,a.useEffect)((function(){void 0!==L&&B===u.SF&&(null==D||D(L))}),[L,B]);var ut=Y;return et[u.px]&&it===u.Mv&&(ut=(0,r.A)({transition:"none"},ut)),[B,it,ut,null!=L?L:e]}},58515:(t,e,n)=>{"use strict";n.d(e,{$m:()=>f,Ay:()=>p,es:()=>c,qB:()=>l});var r=n(3453),o=n(39155),i=n(25931),a=n(43982),u=n(84560),s=[i.px,i.Mv,i.m7,i.Hs],c=!1,l=!0;function f(t){return t===i.m7||t===i.Hs}const p=function(t,e){var n=o.useState(i.cE),l=(0,r.A)(n,2),f=l[0],p=l[1],d=(0,u.A)(),v=(0,r.A)(d,2),h=v[0],m=v[1];return(0,a.A)((function(){if(f!==i.cE&&f!==i.Hs){var t=s.indexOf(f),n=s[t+1],r=e(f);r===c?p(n):h((function(t){function e(){t.isCanceled()||p(n)}!0===r?e():Promise.resolve(r).then(e)}))}}),[t,f]),o.useEffect((function(){return function(){m()}}),[]),[function(){p(i.px)},f]}},30156:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(44785);n(97333);const o=r.A},25931:(t,e,n)=>{"use strict";n.d(e,{Hs:()=>f,Mv:()=>c,SF:()=>r,Tv:()=>o,Wd:()=>i,cE:()=>u,dp:()=>a,m7:()=>l,px:()=>s});var r="none",o="appear",i="enter",a="leave",u="none",s="prepare",c="start",l="active",f="end"},29710:(t,e,n)=>{"use strict";n.d(e,{Ss:()=>l,au:()=>u,bK:()=>i,e8:()=>s,xI:()=>a,y$:()=>f});var r=n(89379),o=n(82284),i="add",a="keep",u="remove",s="removed";function c(t){var e;return e=t&&"object"===(0,o.A)(t)&&"key"in t?t:{key:t},(0,r.A)((0,r.A)({},e),{},{key:String(e.key)})}function l(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,s=e.length,c=l(t),f=l(e);c.forEach((function(t){for(var e=!1,c=o;c<s;c+=1){var l=f[c];if(l.key===t.key){o<c&&(n=n.concat(f.slice(o,c).map((function(t){return(0,r.A)((0,r.A)({},t),{},{status:i})}))),o=c),n.push((0,r.A)((0,r.A)({},l),{},{status:a})),o+=1,e=!0;break}}e||n.push((0,r.A)((0,r.A)({},t),{},{status:u}))})),o<s&&(n=n.concat(f.slice(o).map((function(t){return(0,r.A)((0,r.A)({},t),{},{status:i})}))));var p={};return n.forEach((function(t){var e=t.key;p[e]=(p[e]||0)+1})),Object.keys(p).filter((function(t){return p[t]>1})).forEach((function(t){(n=n.filter((function(e){var n=e.key,r=e.status;return n!==t||r!==u}))).forEach((function(e){e.key===t&&(e.status=a)}))})),n}},80371:(t,e,n)=>{"use strict";n.d(e,{J1:()=>m,Vc:()=>y,by:()=>b,m8:()=>g});var r=n(82284),o=n(20998);function i(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}var a,u,s,c=(a=(0,o.A)(),u="undefined"!=typeof window?window:{},s={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")},a&&("AnimationEvent"in u||delete s.animationend.animation,"TransitionEvent"in u||delete s.transitionend.transition),s),l={};if((0,o.A)()){var f=document.createElement("div");l=f.style}var p={};function d(t){if(p[t])return p[t];var e=c[t];if(e)for(var n=Object.keys(e),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(e,i)&&i in l)return p[t]=e[i],p[t]}return""}var v=d("animationend"),h=d("transitionend"),m=!(!v||!h),y=v||"animationend",g=h||"transitionend";function b(t,e){return t?"object"===(0,r.A)(t)?t[e.replace(/-\w/g,(function(t){return t[1].toUpperCase()}))]:"".concat(t,"-").concat(e):null}},34307:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(58168),o=n(82284),i=n(89379),a=n(80045),u=n(39155),s=n(34848),c={adjustX:1,adjustY:1},l=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:l},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:l},top:{points:["bc","tc"],overflow:c,offset:[0,-4],targetOffset:l},bottom:{points:["tc","bc"],overflow:c,offset:[0,4],targetOffset:l},topLeft:{points:["bl","tl"],overflow:c,offset:[0,-4],targetOffset:l},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:l},topRight:{points:["br","tr"],overflow:c,offset:[0,-4],targetOffset:l},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:l},bottomRight:{points:["tr","br"],overflow:c,offset:[0,4],targetOffset:l},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:l},bottomLeft:{points:["tl","bl"],overflow:c,offset:[0,4],targetOffset:l},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:l}};const p=function(t){var e=t.overlay,n=t.prefixCls,r=t.id,o=t.overlayInnerStyle;return u.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof e?e():e)};var d=function(t,e){var n=t.overlayClassName,c=t.trigger,l=void 0===c?["hover"]:c,d=t.mouseEnterDelay,v=void 0===d?0:d,h=t.mouseLeaveDelay,m=void 0===h?.1:h,y=t.overlayStyle,g=t.prefixCls,b=void 0===g?"rc-tooltip":g,w=t.children,A=t.onVisibleChange,O=t.afterVisibleChange,x=t.transitionName,E=t.animation,T=t.motion,C=t.placement,S=void 0===C?"right":C,k=t.align,j=void 0===k?{}:k,P=t.destroyTooltipOnHide,M=void 0!==P&&P,_=t.defaultVisible,D=t.getTooltipContainer,R=t.overlayInnerStyle,N=(0,a.A)(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),L=(0,u.useRef)(null);(0,u.useImperativeHandle)(e,(function(){return L.current}));var V=(0,i.A)({},N);"visible"in t&&(V.popupVisible=t.visible);var H=!1,z=!1;if("boolean"==typeof M)H=M;else if(M&&"object"===(0,o.A)(M)){var B=M.keepParent;H=!0===B,z=!1===B}return u.createElement(s.A,(0,r.A)({popupClassName:n,prefixCls:b,popup:function(){var e=t.arrowContent,n=void 0===e?null:e,r=t.overlay,o=t.id;return[u.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),u.createElement(p,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:R})]},action:l,builtinPlacements:f,popupPlacement:S,ref:L,popupAlign:j,getPopupContainer:D,onPopupVisibleChange:A,afterPopupVisibleChange:O,popupTransitionName:x,popupAnimation:E,popupMotion:T,defaultPopupVisible:_,destroyPopupOnHide:H,autoDestroy:z,mouseLeaveDelay:m,popupStyle:y,mouseEnterDelay:v},V),w)};const v=(0,u.forwardRef)(d)},94934:(t,e)=>{"use strict";e.DD=void 0;var n={adjustX:1,adjustY:1},r=[0,0],o={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:r}};e.DD=o},34848:(t,e,n)=>{"use strict";n.d(e,{A:()=>se});var r=n(89379),o=n(58168),i=n(23029),a=n(92901),u=n(9417),s=n(85501),c=n(29426),l=n(64467),f=n(39155),p=n.n(f),d=n(69514),v=n.n(d),h=n(25371),m=n(54808),y=n(66588),g=n(8719),b=n(69916),w=n(88822),A=n(46942),O=n.n(A);function x(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}var E=n(3453),T=n(80045),C=n(68430),S=n(30156);function k(t){var e=t.prefixCls,n=t.motion,r=t.animation,o=t.transitionName;return n||(r?{motionName:"".concat(e,"-").concat(r)}:o?{motionName:o}:null)}function j(t){var e=t.prefixCls,n=t.visible,i=t.zIndex,a=t.mask,u=t.maskMotion,s=t.maskAnimation,c=t.maskTransitionName;if(!a)return null;var l={};return(u||c||s)&&(l=(0,r.A)({motionAppear:!0},k({motion:u,prefixCls:e,transitionName:c,animation:s}))),f.createElement(S.A,(0,o.A)({},l,{visible:n,removeOnLeave:!0}),(function(t){var n=t.className;return f.createElement("div",{style:{zIndex:i},className:O()("".concat(e,"-mask"),n)})}))}var P,M=n(82284);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function D(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){N(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var L={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function V(){if(void 0!==P)return P;P="";var t=document.createElement("p").style;for(var e in L)e+"Transform"in t&&(P=e);return P}function H(){return V()?"".concat(V(),"TransitionProperty"):"transitionProperty"}function z(){return V()?"".concat(V(),"Transform"):"transform"}function B(t,e){var n=H();n&&(t.style[n]=e,"transitionProperty"!==n&&(t.style.transitionProperty=e))}function I(t,e){var n=z();n&&(t.style[n]=e,"transform"!==n&&(t.style.transform=e))}var F,W=/matrix\((.*)\)/,Y=/matrix3d\((.*)\)/;function X(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function U(t,e,n){var r=n;if("object"!==R(e))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(t.style[e]=r)):F(t,e);for(var o in e)e.hasOwnProperty(o)&&U(t,o,e[o])}function q(t,e){var n=t["page".concat(e?"Y":"X","Offset")],r="scroll".concat(e?"Top":"Left");if("number"!=typeof n){var o=t.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function $(t){return q(t)}function G(t){return q(t,!0)}function K(t){var e=function(t){var e,n,r,o=t.ownerDocument,i=o.body,a=o&&o.documentElement;return e=t.getBoundingClientRect(),n=Math.floor(e.left),r=Math.floor(e.top),{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(t),n=t.ownerDocument,r=n.defaultView||n.parentWindow;return e.left+=$(r),e.top+=G(r),e}function J(t){return null!=t&&t==t.window}function Z(t){return J(t)?t.document:9===t.nodeType?t:t.ownerDocument}var Q=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),tt=/^(top|right|bottom|left)$/,et="currentStyle",nt="runtimeStyle",rt="left";function ot(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function it(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function at(t,e,n){"static"===U(t,"position")&&(t.style.position="relative");var r=-999,o=-999,i=ot("left",n),a=ot("top",n),u=it(i),s=it(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,l="",f=K(t);("left"in e||"top"in e)&&(l=(c=t).style.transitionProperty||c.style[H()]||"",B(t,"none")),"left"in e&&(t.style[u]="",t.style[i]="".concat(r,"px")),"top"in e&&(t.style[s]="",t.style[a]="".concat(o,"px")),X(t);var p=K(t),d={};for(var v in e)if(e.hasOwnProperty(v)){var h=ot(v,n),m="left"===v?r:o,y=f[v]-p[v];d[h]=h===v?m+y:m-y}U(t,d),X(t),("left"in e||"top"in e)&&B(t,l);var g={};for(var b in e)if(e.hasOwnProperty(b)){var w=ot(b,n),A=e[b]-f[b];g[w]=b===w?d[w]+A:d[w]-A}U(t,g)}function ut(t,e){var n=K(t),r=function(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(z());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(t),o={x:r.x,y:r.y};"left"in e&&(o.x=r.x+e.left-n.left),"top"in e&&(o.y=r.y+e.top-n.top),function(t,e){var n=window.getComputedStyle(t,null),r=n.getPropertyValue("transform")||n.getPropertyValue(z());if(r&&"none"!==r){var o,i=r.match(W);i?((o=(i=i[1]).split(",").map((function(t){return parseFloat(t,10)})))[4]=e.x,o[5]=e.y,I(t,"matrix(".concat(o.join(","),")"))):((o=r.match(Y)[1].split(",").map((function(t){return parseFloat(t,10)})))[12]=e.x,o[13]=e.y,I(t,"matrix3d(".concat(o.join(","),")")))}else I(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,o)}function st(t,e){for(var n=0;n<t.length;n++)e(t[n])}function ct(t){return"border-box"===F(t,"boxSizing")}"undefined"!=typeof window&&(F=window.getComputedStyle?function(t,e,n){var r=n,o="",i=Z(t);return(r=r||i.defaultView.getComputedStyle(t,null))&&(o=r.getPropertyValue(e)||r[e]),o}:function(t,e){var n=t[et]&&t[et][e];if(Q.test(n)&&!tt.test(e)){var r=t.style,o=r[rt],i=t[nt][rt];t[nt][rt]=t[et][rt],r[rt]="fontSize"===e?"1em":n||0,n=r.pixelLeft+"px",r[rt]=o,t[nt][rt]=i}return""===n?"auto":n});var lt=["margin","border","padding"],ft=-1,pt=2,dt=1;function vt(t,e,n){var r,o,i,a=0;for(o=0;o<e.length;o++)if(r=e[o])for(i=0;i<n.length;i++){var u=void 0;u="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(F(t,u))||0}return a}var ht={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function mt(t,e,n){var r=n;if(J(t))return"width"===e?ht.viewportWidth(t):ht.viewportHeight(t);if(9===t.nodeType)return"width"===e?ht.docWidth(t):ht.docHeight(t);var o="width"===e?["Left","Right"]:["Top","Bottom"],i="width"===e?Math.floor(t.getBoundingClientRect().width):Math.floor(t.getBoundingClientRect().height),a=ct(t),u=0;(null==i||i<=0)&&(i=void 0,(null==(u=F(t,e))||Number(u)<0)&&(u=t.style[e]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?dt:ft);var s=void 0!==i||a,c=i||u;return r===ft?s?c-vt(t,["border","padding"],o):u:s?r===dt?c:c+(r===pt?-vt(t,["border"],o):vt(t,["margin"],o)):u+vt(t,lt.slice(r),o)}st(["Width","Height"],(function(t){ht["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],ht["viewport".concat(t)](n))},ht["viewport".concat(t)]=function(e){var n="client".concat(t),r=e.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var yt={position:"absolute",visibility:"hidden",display:"block"};function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,o=e[0];return 0!==o.offsetWidth?r=mt.apply(void 0,e):function(t,e,n){var r,o={},i=t.style;for(r in e)e.hasOwnProperty(r)&&(o[r]=i[r],i[r]=e[r]);for(r in n.call(t),e)e.hasOwnProperty(r)&&(i[r]=o[r])}(o,yt,(function(){r=mt.apply(void 0,e)})),r}function bt(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}st(["width","height"],(function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);ht["outer".concat(e)]=function(e,n){return e&>(e,t,n?0:dt)};var n="width"===t?["Left","Right"]:["Top","Bottom"];ht[t]=function(e,r){var o=r;return void 0!==o?e?(ct(e)&&(o+=vt(e,["padding","border"],n)),U(e,t,o)):void 0:e&>(e,t,ft)}}));var wt={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:Z,offset:function(t,e,n){if(void 0===e)return K(t);!function(t,e,n){if(n.ignoreShake){var r=K(t),o=r.left.toFixed(0),i=r.top.toFixed(0),a=e.left.toFixed(0),u=e.top.toFixed(0);if(o===a&&i===u)return}n.useCssRight||n.useCssBottom?at(t,e,n):n.useCssTransform&&z()in document.body.style?ut(t,e):at(t,e,n)}(t,e,n||{})},isWindow:J,each:st,css:U,clone:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(n.overflow[e]=t.overflow[e]);return n},mix:bt,getWindowScrollLeft:function(t){return $(t)},getWindowScrollTop:function(t){return G(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)wt.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};bt(wt,ht);var At=wt.getParent;function Ot(t){if(wt.isWindow(t)||9===t.nodeType)return null;var e,n=wt.getDocument(t).body,r=wt.css(t,"position");if(!("fixed"===r||"absolute"===r))return"html"===t.nodeName.toLowerCase()?null:At(t);for(e=At(t);e&&e!==n&&9!==e.nodeType;e=At(e))if("static"!==(r=wt.css(e,"position")))return e;return null}var xt=wt.getParent;function Et(t,e){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Ot(t),o=wt.getDocument(t),i=o.defaultView||o.parentWindow,a=o.body,u=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===u||"visible"===wt.css(r,"overflow")){if(r===a||r===u)break}else{var s=wt.offset(r);s.left+=r.clientLeft,s.top+=r.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+r.clientWidth),n.bottom=Math.min(n.bottom,s.top+r.clientHeight),n.left=Math.max(n.left,s.left)}r=Ot(r)}var c=null;wt.isWindow(t)||9===t.nodeType||(c=t.style.position,"absolute"===wt.css(t,"position")&&(t.style.position="fixed"));var l=wt.getWindowScrollLeft(i),f=wt.getWindowScrollTop(i),p=wt.viewportWidth(i),d=wt.viewportHeight(i),v=u.scrollWidth,h=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(v=i.innerWidth),"hidden"===m.overflowY&&(h=i.innerHeight),t.style&&(t.style.position=c),e||function(t){if(wt.isWindow(t)||9===t.nodeType)return!1;var e=wt.getDocument(t),n=e.body,r=null;for(r=xt(t);r&&r!==n&&r!==e;r=xt(r))if("fixed"===wt.css(r,"position"))return!0;return!1}(t))n.left=Math.max(n.left,l),n.top=Math.max(n.top,f),n.right=Math.min(n.right,l+p),n.bottom=Math.min(n.bottom,f+d);else{var y=Math.max(v,l+p);n.right=Math.min(n.right,y);var g=Math.max(h,f+d);n.bottom=Math.min(n.bottom,g)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Tt(t){var e,n,r;if(wt.isWindow(t)||9===t.nodeType){var o=wt.getWindow(t);e={left:wt.getWindowScrollLeft(o),top:wt.getWindowScrollTop(o)},n=wt.viewportWidth(o),r=wt.viewportHeight(o)}else e=wt.offset(t),n=wt.outerWidth(t),r=wt.outerHeight(t);return e.width=n,e.height=r,e}function Ct(t,e){var n=e.charAt(0),r=e.charAt(1),o=t.width,i=t.height,a=t.left,u=t.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:u}}function St(t,e,n,r,o){var i=Ct(e,n[1]),a=Ct(t,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-u[0]+r[0]-o[0]),top:Math.round(t.top-u[1]+r[1]-o[1])}}function kt(t,e,n){return t.left<n.left||t.left+e.width>n.right}function jt(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function Pt(t,e,n){var r=[];return wt.each(t,(function(t){r.push(t.replace(e,(function(t){return n[t]})))})),r}function Mt(t,e){return t[e]=-t[e],t}function _t(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function Dt(t,e){t[0]=_t(t[0],e.width),t[1]=_t(t[1],e.height)}function Rt(t,e,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||t;i=[].concat(i),a=[].concat(a);var c={},l=0,f=Et(s,!(!(u=u||{})||!u.alwaysByViewport)),p=Tt(s);Dt(i,p),Dt(a,e);var d=St(p,e,o,i,a),v=wt.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&kt(d,p,f)){var h=Pt(o,/[lr]/gi,{l:"r",r:"l"}),m=Mt(i,0),y=Mt(a,0);(function(t,e,n){return t.left>n.right||t.left+e.width<n.left})(St(p,e,h,m,y),p,f)||(l=1,o=h,i=m,a=y)}if(u.adjustY&&jt(d,p,f)){var g=Pt(o,/[tb]/gi,{t:"b",b:"t"}),b=Mt(i,1),w=Mt(a,1);(function(t,e,n){return t.top>n.bottom||t.top+e.height<n.top})(St(p,e,g,b,w),p,f)||(l=1,o=g,i=b,a=w)}l&&(d=St(p,e,o,i,a),wt.mix(v,d));var A=kt(d,p,f),O=jt(d,p,f);if(A||O){var x=o;A&&(x=Pt(o,/[lr]/gi,{l:"r",r:"l"})),O&&(x=Pt(o,/[tb]/gi,{t:"b",b:"t"})),o=x,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=u.adjustX&&A,c.adjustY=u.adjustY&&O,(c.adjustX||c.adjustY)&&(v=function(t,e,n,r){var o=wt.clone(t),i={width:e.width,height:e.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),wt.mix(o,i)}(d,p,f,c))}return v.width!==p.width&&wt.css(s,"width",wt.width(s)+v.width-p.width),v.height!==p.height&&wt.css(s,"height",wt.height(s)+v.height-p.height),wt.offset(s,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function Nt(t,e,n){var r=n.target||e,o=Tt(r),i=!function(t,e){var n=Et(t,e),r=Tt(t);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Rt(t,o,n,i)}Nt.__getOffsetParent=Ot,Nt.__getVisibleRectForElement=Et;var Lt=n(43210),Vt=n(42467),Ht=n(30981);var zt=n(43591);function Bt(t,e){var n=null,r=null;var o=new zt.default((function(t){var o=(0,E.A)(t,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,u=i.height,s=Math.floor(a),c=Math.floor(u);n===s&&r===c||Promise.resolve().then((function(){e({width:s,height:c})})),n=s,r=c}}));return t&&o.observe(t),function(){o.disconnect()}}function It(t){return"function"!=typeof t?null:t()}function Ft(t){return"object"===(0,M.A)(t)&&t?t:null}var Wt=function(t,e){var n=t.children,r=t.disabled,o=t.target,i=t.align,a=t.onAlign,u=t.monitorWindowResize,s=t.monitorBufferTime,c=void 0===s?0:s,l=p().useRef({}),f=p().useRef(),d=p().Children.only(n),v=p().useRef({});v.current.disabled=r,v.current.target=o,v.current.align=i,v.current.onAlign=a;var h=function(t,e){var n=p().useRef(!1),r=p().useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),e);else{if(!1===t(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),e)}},function(){n.current=!1,o()}]}((function(){var t=v.current,e=t.disabled,n=t.target,r=t.align,o=t.onAlign,i=f.current;if(!e&&n&&i){var a,u=It(n),s=Ft(n);l.current.element=u,l.current.point=s,l.current.align=r;var c=document.activeElement;return u&&(0,Vt.A)(u)?a=Nt(i,u,r):s&&(a=function(t,e,n){var r,o,i=wt.getDocument(t),a=i.defaultView||i.parentWindow,u=wt.getWindowScrollLeft(a),s=wt.getWindowScrollTop(a),c=wt.viewportWidth(a),l=wt.viewportHeight(a),f={left:r="pageX"in e?e.pageX:u+e.clientX,top:o="pageY"in e?e.pageY:s+e.clientY,width:0,height:0},p=r>=0&&r<=u+c&&o>=0&&o<=s+l,d=[n.points[0],"cc"];return Rt(t,f,D(D({},n),{},{points:d}),p)}(i,s,r)),function(t,e){t!==document.activeElement&&(0,m.A)(e,t)&&"function"==typeof t.focus&&t.focus()}(c,i),o&&a&&o(i,a),!0}return!1}),c),y=(0,E.A)(h,2),w=y[0],A=y[1],O=p().useState(),x=(0,E.A)(O,2),T=x[0],C=x[1],S=p().useState(),k=(0,E.A)(S,2),j=k[0],P=k[1];return(0,Ht.A)((function(){C(It(o)),P(Ft(o))})),p().useEffect((function(){var t,e;l.current.element===T&&((t=l.current.point)===(e=j)||t&&e&&("pageX"in e&&"pageY"in e?t.pageX===e.pageX&&t.pageY===e.pageY:"clientX"in e&&"clientY"in e&&t.clientX===e.clientX&&t.clientY===e.clientY))&&(0,Lt.A)(l.current.align,i)||w()})),p().useEffect((function(){return Bt(f.current,w)}),[f.current]),p().useEffect((function(){return Bt(T,w)}),[T]),p().useEffect((function(){r?A():w()}),[r]),p().useEffect((function(){if(u)return(0,b.A)(window,"resize",w).remove}),[u]),p().useEffect((function(){return function(){A()}}),[]),p().useImperativeHandle(e,(function(){return{forceAlign:function(){return w(!0)}}})),p().isValidElement(d)&&(d=p().cloneElement(d,{ref:(0,g.K4)(d.ref,f)})),d},Yt=p().forwardRef(Wt);Yt.displayName="Align";const Xt=Yt;var Ut=n(90675),qt=n(10467),$t=n(1233),Gt=["measure","alignPre","align",null,"motion"];var Kt=f.forwardRef((function(t,e){var n=t.visible,i=t.prefixCls,a=t.className,u=t.style,s=t.children,c=t.zIndex,l=t.stretch,p=t.destroyPopupOnHide,d=t.forceRender,v=t.align,m=t.point,y=t.getRootDomNode,g=t.getClassNameFromAlign,b=t.onAlign,w=t.onMouseEnter,A=t.onMouseLeave,x=t.onMouseDown,T=t.onTouchStart,C=t.onClick,j=(0,f.useRef)(),P=(0,f.useRef)(),M=(0,f.useState)(),_=(0,E.A)(M,2),D=_[0],R=_[1],N=function(t){var e=f.useState({width:0,height:0}),n=(0,E.A)(e,2),r=n[0],o=n[1];return[f.useMemo((function(){var e={};if(t){var n=r.width,o=r.height;-1!==t.indexOf("height")&&o?e.height=o:-1!==t.indexOf("minHeight")&&o&&(e.minHeight=o),-1!==t.indexOf("width")&&n?e.width=n:-1!==t.indexOf("minWidth")&&n&&(e.minWidth=n)}return e}),[t,r]),function(t){var e=t.offsetWidth,n=t.offsetHeight,r=t.getBoundingClientRect(),i=r.width,a=r.height;Math.abs(e-i)<1&&Math.abs(n-a)<1&&(e=i,n=a),o({width:e,height:n})}]}(l),L=(0,E.A)(N,2),V=L[0],H=L[1];var z=function(t,e){var n=(0,$t.A)(null),r=(0,E.A)(n,2),o=r[0],i=r[1],a=(0,f.useRef)();function u(t){i(t,!0)}function s(){h.A.cancel(a.current)}return(0,f.useEffect)((function(){u("measure")}),[t]),(0,f.useEffect)((function(){"measure"===o&&e(),o&&(a.current=(0,h.A)((0,qt.A)((0,Ut.A)().mark((function t(){var e,n;return(0,Ut.A)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Gt.indexOf(o),(n=Gt[e+1])&&-1!==e&&u(n);case 3:case"end":return t.stop()}}),t)})))))}),[o]),(0,f.useEffect)((function(){return function(){s()}}),[]),[o,function(t){s(),a.current=(0,h.A)((function(){u((function(t){switch(o){case"align":return"motion";case"motion":return"stable"}return t})),null==t||t()}))}]}(n,(function(){l&&H(y())})),B=(0,E.A)(z,2),I=B[0],F=B[1],W=(0,f.useState)(0),Y=(0,E.A)(W,2),X=Y[0],U=Y[1],q=(0,f.useRef)();function $(){var t;null===(t=j.current)||void 0===t||t.forceAlign()}function G(t,e){var n=g(e);D!==n&&R(n),U((function(t){return t+1})),"align"===I&&(null==b||b(t,e))}(0,Ht.A)((function(){"alignPre"===I&&U(0)}),[I]),(0,Ht.A)((function(){"align"===I&&(X<3?$():F((function(){var t;null===(t=q.current)||void 0===t||t.call(q)})))}),[X]);var K=(0,r.A)({},k(t));function J(){return new Promise((function(t){q.current=t}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(t){var e=K[t];K[t]=function(t,n){return F(),null==e?void 0:e(t,n)}})),f.useEffect((function(){K.motionName||"motion"!==I||F()}),[K.motionName,I]),f.useImperativeHandle(e,(function(){return{forceAlign:$,getElement:function(){return P.current}}}));var Z=(0,r.A)((0,r.A)({},V),{},{zIndex:c,opacity:"motion"!==I&&"stable"!==I&&n?0:void 0,pointerEvents:n||"stable"===I?void 0:"none"},u),Q=!0;null==v||!v.points||"align"!==I&&"stable"!==I||(Q=!1);var tt=s;return f.Children.count(s)>1&&(tt=f.createElement("div",{className:"".concat(i,"-content")},s)),f.createElement(S.A,(0,o.A)({visible:n,ref:P,leavedClassName:"".concat(i,"-hidden")},K,{onAppearPrepare:J,onEnterPrepare:J,removeOnLeave:p,forceRender:d}),(function(t,e){var n=t.className,o=t.style,u=O()(i,a,D,n);return f.createElement(Xt,{target:m||y,key:"popup",ref:j,monitorWindowResize:!0,disabled:Q,align:v,onAlign:G},f.createElement("div",{ref:e,className:u,onMouseEnter:w,onMouseLeave:A,onMouseDownCapture:x,onTouchStartCapture:T,onClick:C,style:(0,r.A)((0,r.A)({},o),Z)},tt))}))}));Kt.displayName="PopupInner";const Jt=Kt;var Zt=f.forwardRef((function(t,e){var n=t.prefixCls,i=t.visible,a=t.zIndex,u=t.children,s=t.mobile,c=(s=void 0===s?{}:s).popupClassName,l=s.popupStyle,p=s.popupMotion,d=void 0===p?{}:p,v=s.popupRender,h=t.onClick,m=f.useRef();f.useImperativeHandle(e,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var y=(0,r.A)({zIndex:a},l),g=u;return f.Children.count(u)>1&&(g=f.createElement("div",{className:"".concat(n,"-content")},u)),v&&(g=v(g)),f.createElement(S.A,(0,o.A)({visible:i,ref:m,removeOnLeave:!0},d),(function(t,e){var o=t.className,i=t.style,a=O()(n,c,o);return f.createElement("div",{ref:e,className:a,onClick:h,style:(0,r.A)((0,r.A)({},i),y)},g)}))}));Zt.displayName="MobilePopupInner";const Qt=Zt;var te=["visible","mobile"],ee=f.forwardRef((function(t,e){var n=t.visible,i=t.mobile,a=(0,T.A)(t,te),u=(0,f.useState)(n),s=(0,E.A)(u,2),c=s[0],l=s[1],p=(0,f.useState)(!1),d=(0,E.A)(p,2),v=d[0],h=d[1],m=(0,r.A)((0,r.A)({},a),{},{visible:c});(0,f.useEffect)((function(){l(n),n&&i&&h((0,C.A)())}),[n,i]);var y=v?f.createElement(Qt,(0,o.A)({},m,{mobile:i,ref:e})):f.createElement(Jt,(0,o.A)({},m,{ref:e}));return f.createElement("div",null,f.createElement(j,m),y)}));ee.displayName="Popup";const ne=ee;const re=f.createContext(null);function oe(){}function ie(){return""}function ae(t){return t?t.ownerDocument:window.document}var ue=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];const se=(ce=w.A,le=function(t){(0,s.A)(n,t);var e=(0,c.A)(n);function n(t){var r,a;return(0,i.A)(this,n),r=e.call(this,t),(0,l.A)((0,u.A)(r),"popupRef",f.createRef()),(0,l.A)((0,u.A)(r),"triggerRef",f.createRef()),(0,l.A)((0,u.A)(r),"portalContainer",void 0),(0,l.A)((0,u.A)(r),"attachId",void 0),(0,l.A)((0,u.A)(r),"clickOutsideHandler",void 0),(0,l.A)((0,u.A)(r),"touchOutsideHandler",void 0),(0,l.A)((0,u.A)(r),"contextMenuOutsideHandler1",void 0),(0,l.A)((0,u.A)(r),"contextMenuOutsideHandler2",void 0),(0,l.A)((0,u.A)(r),"mouseDownTimeout",void 0),(0,l.A)((0,u.A)(r),"focusTime",void 0),(0,l.A)((0,u.A)(r),"preClickTime",void 0),(0,l.A)((0,u.A)(r),"preTouchTime",void 0),(0,l.A)((0,u.A)(r),"delayTimer",void 0),(0,l.A)((0,u.A)(r),"hasPopupMouseDown",void 0),(0,l.A)((0,u.A)(r),"onMouseEnter",(function(t){var e=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",t),r.delaySetPopupVisible(!0,e,e?null:t)})),(0,l.A)((0,u.A)(r),"onMouseMove",(function(t){r.fireEvents("onMouseMove",t),r.setPoint(t)})),(0,l.A)((0,u.A)(r),"onMouseLeave",(function(t){r.fireEvents("onMouseLeave",t),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.A)((0,u.A)(r),"onPopupMouseEnter",(function(){r.clearDelayTimer()})),(0,l.A)((0,u.A)(r),"onPopupMouseLeave",(function(t){var e;t.relatedTarget&&!t.relatedTarget.setTimeout&&(0,m.A)(null===(e=r.popupRef.current)||void 0===e?void 0:e.getElement(),t.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.A)((0,u.A)(r),"onFocus",(function(t){r.fireEvents("onFocus",t),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))})),(0,l.A)((0,u.A)(r),"onMouseDown",(function(t){r.fireEvents("onMouseDown",t),r.preClickTime=Date.now()})),(0,l.A)((0,u.A)(r),"onTouchStart",(function(t){r.fireEvents("onTouchStart",t),r.preTouchTime=Date.now()})),(0,l.A)((0,u.A)(r),"onBlur",(function(t){r.fireEvents("onBlur",t),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)})),(0,l.A)((0,u.A)(r),"onContextMenu",(function(t){t.preventDefault(),r.fireEvents("onContextMenu",t),r.setPopupVisible(!0,t)})),(0,l.A)((0,u.A)(r),"onContextMenuClose",(function(){r.isContextMenuToShow()&&r.close()})),(0,l.A)((0,u.A)(r),"onClick",(function(t){if(r.fireEvents("onClick",t),r.focusTime){var e;if(r.preClickTime&&r.preTouchTime?e=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?e=r.preClickTime:r.preTouchTime&&(e=r.preTouchTime),Math.abs(e-r.focusTime)<20)return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,t)})),(0,l.A)((0,u.A)(r),"onPopupMouseDown",(function(){var t;r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout((function(){r.hasPopupMouseDown=!1}),0),r.context&&(t=r.context).onPopupMouseDown.apply(t,arguments)})),(0,l.A)((0,u.A)(r),"onDocumentClick",(function(t){if(!r.props.mask||r.props.maskClosable){var e=t.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(0,m.A)(n,e)&&!r.isContextMenuOnly()||(0,m.A)(o,e)||r.hasPopupMouseDown||r.close()}})),(0,l.A)((0,u.A)(r),"getRootDomNode",(function(){var t=r.props.getTriggerDOMNode;if(t)return t(r.triggerRef.current);try{var e=(0,y.Ay)(r.triggerRef.current);if(e)return e}catch(t){}return v().findDOMNode((0,u.A)(r))})),(0,l.A)((0,u.A)(r),"getPopupClassNameFromAlign",(function(t){var e=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,u=n.alignPoint,s=n.getPopupClassNameFromAlign;return o&&i&&e.push(function(t,e,n,r){for(var o=n.points,i=Object.keys(t),a=0;a<i.length;a+=1){var u=i[a];if(x(t[u].points,o,r))return"".concat(e,"-placement-").concat(u)}return""}(i,a,t,u)),s&&e.push(s(t)),e.join(" ")})),(0,l.A)((0,u.A)(r),"getComponent",(function(){var t=r.props,e=t.prefixCls,n=t.destroyPopupOnHide,i=t.popupClassName,a=t.onPopupAlign,u=t.popupMotion,s=t.popupAnimation,c=t.popupTransitionName,l=t.popupStyle,p=t.mask,d=t.maskAnimation,v=t.maskTransitionName,h=t.maskMotion,m=t.zIndex,y=t.popup,g=t.stretch,b=t.alignPoint,w=t.mobile,A=t.forceRender,O=t.onPopupClick,x=r.state,E=x.popupVisible,T=x.point,C=r.getPopupAlign(),S={};return r.isMouseEnterToShow()&&(S.onMouseEnter=r.onPopupMouseEnter),r.isMouseLeaveToHide()&&(S.onMouseLeave=r.onPopupMouseLeave),S.onMouseDown=r.onPopupMouseDown,S.onTouchStart=r.onPopupMouseDown,f.createElement(ne,(0,o.A)({prefixCls:e,destroyPopupOnHide:n,visible:E,point:b&&T,className:i,align:C,onAlign:a,animation:s,getClassNameFromAlign:r.getPopupClassNameFromAlign},S,{stretch:g,getRootDomNode:r.getRootDomNode,style:l,mask:p,zIndex:m,transitionName:c,maskAnimation:d,maskTransitionName:v,maskMotion:h,ref:r.popupRef,motion:u,mobile:w,forceRender:A,onClick:O}),"function"==typeof y?y():y)})),(0,l.A)((0,u.A)(r),"attachParent",(function(t){h.A.cancel(r.attachId);var e,n=r.props,o=n.getPopupContainer,i=n.getDocument,a=r.getRootDomNode();o?(a||0===o.length)&&(e=o(a)):e=i(r.getRootDomNode()).body,e?e.appendChild(t):r.attachId=(0,h.A)((function(){r.attachParent(t)}))})),(0,l.A)((0,u.A)(r),"getContainer",(function(){if(!r.portalContainer){var t=(0,r.props.getDocument)(r.getRootDomNode()).createElement("div");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",r.portalContainer=t}return r.attachParent(r.portalContainer),r.portalContainer})),(0,l.A)((0,u.A)(r),"setPoint",(function(t){r.props.alignPoint&&t&&r.setState({point:{pageX:t.pageX,pageY:t.pageY}})})),(0,l.A)((0,u.A)(r),"handlePortalUpdate",(function(){r.state.prevPopupVisible!==r.state.popupVisible&&r.props.afterPopupVisibleChange(r.state.popupVisible)})),(0,l.A)((0,u.A)(r),"triggerContextValue",{onPopupMouseDown:r.onPopupMouseDown}),a="popupVisible"in t?!!t.popupVisible:!!t.defaultPopupVisible,r.state={prevPopupVisible:a,popupVisible:a},ue.forEach((function(t){r["fire".concat(t)]=function(e){r.fireEvents(t,e)}})),r}return(0,a.A)(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var t,e=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(t=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,b.A)(t,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(t=t||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,b.A)(t,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(t=t||e.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,b.A)(t,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,b.A)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),h.A.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var t;return(null===(t=this.popupRef.current)||void 0===t?void 0:t.getElement())||null}},{key:"getPopupAlign",value:function(){var t=this.props,e=t.popupPlacement,n=t.popupAlign,o=t.builtinPlacements;return e&&o?function(t,e,n){var o=t[e]||{};return(0,r.A)((0,r.A)({},o),n)}(o,e,n):n}},{key:"setPopupVisible",value:function(t,e){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==t&&("popupVisible"in this.props||this.setState({popupVisible:t,prevPopupVisible:r}),this.props.onPopupVisibleChange(t)),n&&e&&t&&this.setPoint(e)}},{key:"delaySetPopupVisible",value:function(t,e,n){var r=this,o=1e3*e;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(t,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(t,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(t){var e=this.props.children.props,n=this.props;return e[t]&&n[t]?this["fire".concat(t)]:e[t]||n[t]}},{key:"isClickToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var t=this.props.action;return"contextMenu"===t||1===t.length&&"contextMenu"===t[0]}},{key:"isContextMenuToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var t;this.state.popupVisible&&(null===(t=this.popupRef.current)||void 0===t||t.forceAlign())}},{key:"fireEvents",value:function(t,e){var n=this.props.children.props[t];n&&n(e);var r=this.props[t];r&&r(e)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,e=this.props,n=e.children,o=e.forceRender,i=e.alignPoint,a=e.className,u=e.autoDestroy,s=f.Children.only(n),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,i&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var l=O()(s&&s.props&&s.props.className,a);l&&(c.className=l);var p=(0,r.A)({},c);(0,g.f3)(s)&&(p.ref=(0,g.K4)(this.triggerRef,s.ref));var d,v=f.cloneElement(s,p);return(t||this.popupRef.current||o)&&(d=f.createElement(ce,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&u&&(d=null),f.createElement(re.Provider,{value:this.triggerContextValue},v,d)}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.popupVisible,r={};return void 0!==n&&e.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=e.popupVisible),r}}]),n}(f.Component),(0,l.A)(le,"contextType",re),(0,l.A)(le,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ie,getDocument:ae,onPopupVisibleChange:oe,afterPopupVisibleChange:oe,onPopupAlign:oe,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),le);var ce,le},69916:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(69514),o=n.n(r);function i(t,e,n,r){var i=o().unstable_batchedUpdates?function(t){o().unstable_batchedUpdates(n,t)}:n;return null!=t&&t.addEventListener&&t.addEventListener(e,i,r),{remove:function(){null!=t&&t.removeEventListener&&t.removeEventListener(e,i,r)}}}},20998:(t,e,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(e,{A:()=>r})},54808:(t,e,n)=>{"use strict";function r(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}n.d(e,{A:()=>r})},66588:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>c});var r=n(82284),o=n(39155),i=n.n(o),a=n(69514),u=n.n(a);function s(t){return t instanceof HTMLElement||t instanceof SVGElement}function c(t){var e,n=function(t){return t&&"object"===(0,r.A)(t)&&s(t.nativeElement)?t.nativeElement:s(t)?t:null}(t);return n||(t instanceof i().Component?null===(e=u().findDOMNode)||void 0===e?void 0:e.call(u(),t):null)}},42467:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){if(!t)return!1;if(t instanceof Element){if(t.offsetParent)return!0;if(t.getBBox){var e=t.getBBox(),n=e.width,r=e.height;if(n||r)return!0}if(t.getBoundingClientRect){var o=t.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},88822:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(39155),o=n(69514),i=n.n(o),a=n(20998);const u=(0,r.forwardRef)((function(t,e){var n=t.didUpdate,o=t.getContainer,u=t.children,s=(0,r.useRef)(),c=(0,r.useRef)();(0,r.useImperativeHandle)(e,(function(){return{}}));var l=(0,r.useRef)(!1);return!l.current&&(0,a.A)()&&(c.current=o(),s.current=c.current.parentNode,l.current=!0),(0,r.useEffect)((function(){null==n||n(t)})),(0,r.useEffect)((function(){return null===c.current.parentNode&&null!==s.current&&s.current.appendChild(c.current),function(){var t;null===(t=c.current)||void 0===t||null===(t=t.parentNode)||void 0===t||t.removeChild(c.current)}}),[]),c.current?i().createPortal(u,c.current):null}))},30981:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(39155),o=(0,n(20998).A)()?r.useLayoutEffect:r.useEffect,i=function(t,e){var n=r.useRef(!0);o((function(){return t(n.current)}),e),o((function(){return n.current=!1,function(){n.current=!0}}),[])};const a=i},28104:(t,e,n)=>{"use strict";n(39155)},1233:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3453),o=n(39155);function i(t){var e=o.useRef(!1),n=o.useState(t),i=(0,r.A)(n,2),a=i[0],u=i[1];return o.useEffect((function(){return e.current=!1,function(){e.current=!0}}),[]),[a,function(t,n){n&&e.current||u(t)}]}},43210:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(82284),o=n(68210);const i=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function t(e,a){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(e);if((0,o.Ay)(!s,"Warning: There may be circular references"),s)return!1;if(e===a)return!0;if(n&&u>1)return!1;i.add(e);var c=u+1;if(Array.isArray(e)){if(!Array.isArray(a)||e.length!==a.length)return!1;for(var l=0;l<e.length;l++)if(!t(e[l],a[l],c))return!1;return!0}if(e&&a&&"object"===(0,r.A)(e)&&"object"===(0,r.A)(a)){var f=Object.keys(e);return f.length===Object.keys(a).length&&f.every((function(n){return t(e[n],a[n],c)}))}return!1}(t,e)}},68430:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=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(t)||/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|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))}},25371:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=function(t){return+setTimeout(t,16)},o=function(t){return clearTimeout(t)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(t){return window.requestAnimationFrame(t)},o=function(t){return window.cancelAnimationFrame(t)});var i=0,a=new Map;function u(t){a.delete(t)}var s=function(t){var e=i+=1;return function n(o){if(0===o)u(e),t();else{var i=r((function(){n(o-1)}));a.set(e,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),e};s.cancel=function(t){var e=a.get(t);return u(t),o(e)};const c=s},8719:(t,e,n)=>{"use strict";n.d(e,{K4:()=>u,Xf:()=>a,f3:()=>s});var r=n(82284),o=n(39155),i=n(44363),a=(n(28104),function(t,e){"function"==typeof t?t(e):"object"===(0,r.A)(t)&&t&&"current"in t&&(t.current=e)}),u=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.filter(Boolean);return r.length<=1?r[0]:function(t){e.forEach((function(e){a(e,t)}))}},s=function(t){var e,n,r=(0,i.isMemo)(t)?t.type.type:t.type;return!!("function"!=typeof r||null!==(e=r.prototype)&&void 0!==e&&e.render||r.$$typeof===i.ForwardRef)&&!!("function"!=typeof t||null!==(n=t.prototype)&&void 0!==n&&n.render||t.$$typeof===i.ForwardRef)};function c(t){return(0,o.isValidElement)(t)&&!(0,i.isFragment)(t)}Number(o.version.split(".")[0])},68210:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>c});var r={},o=[];function i(t,e){}function a(t,e){}function u(t,e,n){e||r[n]||(t(!1,n),r[n]=!0)}function s(t,e){u(i,t,e)}s.preMessage=function(t){o.push(t)},s.resetWarned=function(){r={}},s.noteOnce=function(t,e){u(a,t,e)};const c=s},22799:(t,e)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");
|
|
20
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,a,u=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))n.call(i,c)&&(u[c]=i[c]);if(e){a=e(i);for(var l=0;l<a.length;l++)r.call(i,a[l])&&(u[a[l]]=i[a[l]])}}return u}},44785:(t,e,n)=>{"use strict";n.d(e,{A:()=>y});var r=n(64467),o=n(89379),i=n(3453),a=n(82284),u=n(39155),s=n(66588),c=n(8719),l=n(46942),f=n.n(l),p=n(80371),d=n(25931),v=n(25318),h=n(72137),m=n(58515);const y=function(t){var e=t;function n(t){return!(!t.motionName||!e)}"object"===(0,a.A)(t)&&(e=t.transitionSupport);var l=u.forwardRef((function(t,e){var a=t.visible,l=void 0===a||a,y=t.removeOnLeave,g=void 0===y||y,b=t.forceRender,w=t.children,A=t.motionName,O=t.leavedClassName,x=t.eventProps,E=n(t),T=(0,u.useRef)(),C=(0,u.useRef)();var S=(0,v.A)(E,l,(function(){try{return(0,s.Ay)(T.current||C.current)}catch(t){return null}}),t),k=(0,i.A)(S,4),j=k[0],P=k[1],M=k[2],_=k[3],R=u.useRef(_);_&&(R.current=!0);var D=(0,u.useRef)(e);D.current=e;var N,L=u.useCallback((function(t){T.current=t,(0,c.Xf)(D.current,t)}),[]),V=(0,o.A)((0,o.A)({},x),{},{visible:l});if(w)if(j!==d.SF&&n(t)){var H,z;P===d.px?z="prepare":(0,m.$m)(P)?z="active":P===d.Mv&&(z="start"),N=w((0,o.A)((0,o.A)({},V),{},{className:f()((0,p.by)(A,j),(H={},(0,r.A)(H,(0,p.by)(A,"".concat(j,"-").concat(z)),z),(0,r.A)(H,A,"string"==typeof A),H)),style:M}),L)}else N=_?w((0,o.A)({},V),L):!g&&R.current?w((0,o.A)((0,o.A)({},V),{},{className:O}),L):b?w((0,o.A)((0,o.A)({},V),{},{style:{display:"none"}}),L):null;else N=null;return u.createElement(h.A,{ref:C},N)}));return l.displayName="CSSMotion",l}(p.J1)},97333:(t,e,n)=>{"use strict";var r=n(58168),o=n(80045),i=n(89379),a=n(23029),u=n(92901),s=n(85501),c=n(29426),l=n(39155),f=n(44785),p=n(80371),d=n(29710),v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.A,n=function(t){(0,s.A)(f,t);var n=(0,c.A)(f);function f(){var t;return(0,a.A)(this,f),(t=n.apply(this,arguments)).state={keyEntities:[]},t.removeKey=function(e){t.setState((function(t){return{keyEntities:t.keyEntities.map((function(t){return t.key!==e?t:(0,i.A)((0,i.A)({},t),{},{status:d.e8})}))}}))},t}return(0,u.A)(f,[{key:"render",value:function(){var t=this,n=this.state.keyEntities,i=this.props,a=i.component,u=i.children,s=i.onVisibleChanged,c=(0,o.A)(i,["component","children","onVisibleChanged"]),f=a||l.Fragment,p={};return v.forEach((function(t){p[t]=c[t],delete c[t]})),delete c.keys,l.createElement(f,c,n.map((function(n){var i=n.status,a=(0,o.A)(n,["status"]),c=i===d.bK||i===d.xI;return l.createElement(e,(0,r.A)({},p,{key:a.key,visible:c,eventProps:a,onVisibleChanged:function(e){null==s||s(e,{key:a.key}),e||t.removeKey(a.key)}}),u)})))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.keys,r=e.keyEntities,o=(0,d.Ss)(n);return{keyEntities:(0,d.y$)(r,o).filter((function(t){var e=r.find((function(e){var n=e.key;return t.key===n}));return!e||e.status!==d.e8||t.status!==d.au}))}}}]),f}(l.Component);n.defaultProps={component:"div"}}(p.J1)},72137:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(23029),o=n(92901),i=n(85501),a=n(29426),u=n(39155);const s=function(t){(0,i.A)(n,t);var e=(0,a.A)(n);function n(){return(0,r.A)(this,n),e.apply(this,arguments)}return(0,o.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component)},85849:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(39155),o=n(80371);const i=function(t){var e=(0,r.useRef)(),n=(0,r.useRef)(t);n.current=t;var i=r.useCallback((function(t){n.current(t)}),[]);function a(t){t&&(t.removeEventListener(o.m8,i),t.removeEventListener(o.Vc,i))}return r.useEffect((function(){return function(){a(e.current)}}),[]),[function(t){e.current&&e.current!==t&&a(e.current),t&&t!==e.current&&(t.addEventListener(o.m8,i),t.addEventListener(o.Vc,i),e.current=t)},a]}},43982:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(39155);const o=(0,n(20998).A)()?r.useLayoutEffect:r.useEffect},84560:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(39155),o=n(25371);const i=function(){var t=r.useRef(null);function e(){o.A.cancel(t.current)}return r.useEffect((function(){return function(){e()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;e();var a=(0,o.A)((function(){i<=1?r({isCanceled:function(){return a!==t.current}}):n(r,i-1)}));t.current=a},e]}},92659:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3453),o=n(39155);function i(t){var e=(0,o.useRef)(!1),n=(0,o.useState)(t),i=(0,r.A)(n,2),a=i[0],u=i[1];return(0,o.useEffect)((function(){return function(){e.current=!0}}),[]),[a,function(t){e.current||u(t)}]}},25318:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var r=n(89379),o=n(64467),i=n(3453),a=n(39155),u=n(25931),s=n(92659),c=n(43982),l=n(58515),f=n(85849);function p(t,e,n,p){var d=p.motionEnter,v=void 0===d||d,h=p.motionAppear,m=void 0===h||h,y=p.motionLeave,g=void 0===y||y,b=p.motionDeadline,w=p.motionLeaveImmediately,A=p.onAppearPrepare,O=p.onEnterPrepare,x=p.onLeavePrepare,E=p.onAppearStart,T=p.onEnterStart,C=p.onLeaveStart,S=p.onAppearActive,k=p.onEnterActive,j=p.onLeaveActive,P=p.onAppearEnd,M=p.onEnterEnd,_=p.onLeaveEnd,R=p.onVisibleChanged,D=(0,s.A)(),N=(0,i.A)(D,2),L=N[0],V=N[1],H=(0,s.A)(u.SF),z=(0,i.A)(H,2),I=z[0],B=z[1],F=(0,s.A)(null),W=(0,i.A)(F,2),Y=W[0],X=W[1],U=(0,a.useRef)(!1),q=(0,a.useRef)(null),$=(0,a.useRef)(!1),G=(0,a.useRef)(null);function K(){return n()||G.current}var J=(0,a.useRef)(!1);function Z(t){var e,n=K();t&&!t.deadline&&t.target!==n||(I===u.Tv&&J.current?e=null==P?void 0:P(n,t):I===u.Wd&&J.current?e=null==M?void 0:M(n,t):I===u.dp&&J.current&&(e=null==_?void 0:_(n,t)),!1===e||$.current||(B(u.SF),X(null)))}var Q=(0,f.A)(Z),tt=(0,i.A)(Q,1)[0],et=a.useMemo((function(){var t,e,n;switch(I){case"appear":return t={},(0,o.A)(t,u.px,A),(0,o.A)(t,u.Mv,E),(0,o.A)(t,u.m7,S),t;case"enter":return e={},(0,o.A)(e,u.px,O),(0,o.A)(e,u.Mv,T),(0,o.A)(e,u.m7,k),e;case"leave":return n={},(0,o.A)(n,u.px,x),(0,o.A)(n,u.Mv,C),(0,o.A)(n,u.m7,j),n;default:return{}}}),[I]),nt=(0,l.Ay)(I,(function(t){if(t===u.px){var e=et[u.px];return e?e(K()):l.es}var n;it in et&&X((null===(n=et[it])||void 0===n?void 0:n.call(et,K(),null))||null);return it===u.m7&&(tt(K()),b>0&&(clearTimeout(q.current),q.current=setTimeout((function(){Z({deadline:!0})}),b))),l.qB})),rt=(0,i.A)(nt,2),ot=rt[0],it=rt[1],at=(0,l.$m)(it);J.current=at,(0,c.A)((function(){V(e);var n,r=U.current;(U.current=!0,t)&&(!r&&e&&m&&(n=u.Tv),r&&e&&v&&(n=u.Wd),(r&&!e&&g||!r&&w&&!e&&g)&&(n=u.dp),n&&(B(n),ot()))}),[e]),(0,a.useEffect)((function(){(I===u.Tv&&!m||I===u.Wd&&!v||I===u.dp&&!g)&&B(u.SF)}),[m,v,g]),(0,a.useEffect)((function(){return function(){clearTimeout(q.current),$.current=!0}}),[]),(0,a.useEffect)((function(){void 0!==L&&I===u.SF&&(null==R||R(L))}),[L,I]);var ut=Y;return et[u.px]&&it===u.Mv&&(ut=(0,r.A)({transition:"none"},ut)),[I,it,ut,null!=L?L:e]}},58515:(t,e,n)=>{"use strict";n.d(e,{$m:()=>f,Ay:()=>p,es:()=>c,qB:()=>l});var r=n(3453),o=n(39155),i=n(25931),a=n(43982),u=n(84560),s=[i.px,i.Mv,i.m7,i.Hs],c=!1,l=!0;function f(t){return t===i.m7||t===i.Hs}const p=function(t,e){var n=o.useState(i.cE),l=(0,r.A)(n,2),f=l[0],p=l[1],d=(0,u.A)(),v=(0,r.A)(d,2),h=v[0],m=v[1];return(0,a.A)((function(){if(f!==i.cE&&f!==i.Hs){var t=s.indexOf(f),n=s[t+1],r=e(f);r===c?p(n):h((function(t){function e(){t.isCanceled()||p(n)}!0===r?e():Promise.resolve(r).then(e)}))}}),[t,f]),o.useEffect((function(){return function(){m()}}),[]),[function(){p(i.px)},f]}},30156:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(44785);n(97333);const o=r.A},25931:(t,e,n)=>{"use strict";n.d(e,{Hs:()=>f,Mv:()=>c,SF:()=>r,Tv:()=>o,Wd:()=>i,cE:()=>u,dp:()=>a,m7:()=>l,px:()=>s});var r="none",o="appear",i="enter",a="leave",u="none",s="prepare",c="start",l="active",f="end"},29710:(t,e,n)=>{"use strict";n.d(e,{Ss:()=>l,au:()=>u,bK:()=>i,e8:()=>s,xI:()=>a,y$:()=>f});var r=n(89379),o=n(82284),i="add",a="keep",u="remove",s="removed";function c(t){var e;return e=t&&"object"===(0,o.A)(t)&&"key"in t?t:{key:t},(0,r.A)((0,r.A)({},e),{},{key:String(e.key)})}function l(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,s=e.length,c=l(t),f=l(e);c.forEach((function(t){for(var e=!1,c=o;c<s;c+=1){var l=f[c];if(l.key===t.key){o<c&&(n=n.concat(f.slice(o,c).map((function(t){return(0,r.A)((0,r.A)({},t),{},{status:i})}))),o=c),n.push((0,r.A)((0,r.A)({},l),{},{status:a})),o+=1,e=!0;break}}e||n.push((0,r.A)((0,r.A)({},t),{},{status:u}))})),o<s&&(n=n.concat(f.slice(o).map((function(t){return(0,r.A)((0,r.A)({},t),{},{status:i})}))));var p={};return n.forEach((function(t){var e=t.key;p[e]=(p[e]||0)+1})),Object.keys(p).filter((function(t){return p[t]>1})).forEach((function(t){(n=n.filter((function(e){var n=e.key,r=e.status;return n!==t||r!==u}))).forEach((function(e){e.key===t&&(e.status=a)}))})),n}},80371:(t,e,n)=>{"use strict";n.d(e,{J1:()=>m,Vc:()=>y,by:()=>b,m8:()=>g});var r=n(82284),o=n(20998);function i(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}var a,u,s,c=(a=(0,o.A)(),u="undefined"!=typeof window?window:{},s={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")},a&&("AnimationEvent"in u||delete s.animationend.animation,"TransitionEvent"in u||delete s.transitionend.transition),s),l={};if((0,o.A)()){var f=document.createElement("div");l=f.style}var p={};function d(t){if(p[t])return p[t];var e=c[t];if(e)for(var n=Object.keys(e),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(e,i)&&i in l)return p[t]=e[i],p[t]}return""}var v=d("animationend"),h=d("transitionend"),m=!(!v||!h),y=v||"animationend",g=h||"transitionend";function b(t,e){return t?"object"===(0,r.A)(t)?t[e.replace(/-\w/g,(function(t){return t[1].toUpperCase()}))]:"".concat(t,"-").concat(e):null}},34307:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var r=n(58168),o=n(82284),i=n(89379),a=n(80045),u=n(39155),s=n(34848),c={adjustX:1,adjustY:1},l=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:l},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:l},top:{points:["bc","tc"],overflow:c,offset:[0,-4],targetOffset:l},bottom:{points:["tc","bc"],overflow:c,offset:[0,4],targetOffset:l},topLeft:{points:["bl","tl"],overflow:c,offset:[0,-4],targetOffset:l},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:l},topRight:{points:["br","tr"],overflow:c,offset:[0,-4],targetOffset:l},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:l},bottomRight:{points:["tr","br"],overflow:c,offset:[0,4],targetOffset:l},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:l},bottomLeft:{points:["tl","bl"],overflow:c,offset:[0,4],targetOffset:l},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:l}};const p=function(t){var e=t.overlay,n=t.prefixCls,r=t.id,o=t.overlayInnerStyle;return u.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof e?e():e)};var d=function(t,e){var n=t.overlayClassName,c=t.trigger,l=void 0===c?["hover"]:c,d=t.mouseEnterDelay,v=void 0===d?0:d,h=t.mouseLeaveDelay,m=void 0===h?.1:h,y=t.overlayStyle,g=t.prefixCls,b=void 0===g?"rc-tooltip":g,w=t.children,A=t.onVisibleChange,O=t.afterVisibleChange,x=t.transitionName,E=t.animation,T=t.motion,C=t.placement,S=void 0===C?"right":C,k=t.align,j=void 0===k?{}:k,P=t.destroyTooltipOnHide,M=void 0!==P&&P,_=t.defaultVisible,R=t.getTooltipContainer,D=t.overlayInnerStyle,N=(0,a.A)(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),L=(0,u.useRef)(null);(0,u.useImperativeHandle)(e,(function(){return L.current}));var V=(0,i.A)({},N);"visible"in t&&(V.popupVisible=t.visible);var H=!1,z=!1;if("boolean"==typeof M)H=M;else if(M&&"object"===(0,o.A)(M)){var I=M.keepParent;H=!0===I,z=!1===I}return u.createElement(s.A,(0,r.A)({popupClassName:n,prefixCls:b,popup:function(){var e=t.arrowContent,n=void 0===e?null:e,r=t.overlay,o=t.id;return[u.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),u.createElement(p,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:D})]},action:l,builtinPlacements:f,popupPlacement:S,ref:L,popupAlign:j,getPopupContainer:R,onPopupVisibleChange:A,afterPopupVisibleChange:O,popupTransitionName:x,popupAnimation:E,popupMotion:T,defaultPopupVisible:_,destroyPopupOnHide:H,autoDestroy:z,mouseLeaveDelay:m,popupStyle:y,mouseEnterDelay:v},V),w)};const v=(0,u.forwardRef)(d)},94934:(t,e)=>{"use strict";e.DD=void 0;var n={adjustX:1,adjustY:1},r=[0,0],o={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:r},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:r},top:{points:["bc","tc"],overflow:n,offset:[0,-4],targetOffset:r},bottom:{points:["tc","bc"],overflow:n,offset:[0,4],targetOffset:r},topLeft:{points:["bl","tl"],overflow:n,offset:[0,-4],targetOffset:r},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:r},topRight:{points:["br","tr"],overflow:n,offset:[0,-4],targetOffset:r},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:r},bottomRight:{points:["tr","br"],overflow:n,offset:[0,4],targetOffset:r},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:r},bottomLeft:{points:["tl","bl"],overflow:n,offset:[0,4],targetOffset:r},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:r}};e.DD=o},34848:(t,e,n)=>{"use strict";n.d(e,{A:()=>se});var r=n(89379),o=n(58168),i=n(23029),a=n(92901),u=n(9417),s=n(85501),c=n(29426),l=n(64467),f=n(39155),p=n.n(f),d=n(69514),v=n.n(d),h=n(25371),m=n(54808),y=n(66588),g=n(8719),b=n(69916),w=n(88822),A=n(46942),O=n.n(A);function x(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}var E=n(3453),T=n(80045),C=n(68430),S=n(30156);function k(t){var e=t.prefixCls,n=t.motion,r=t.animation,o=t.transitionName;return n||(r?{motionName:"".concat(e,"-").concat(r)}:o?{motionName:o}:null)}function j(t){var e=t.prefixCls,n=t.visible,i=t.zIndex,a=t.mask,u=t.maskMotion,s=t.maskAnimation,c=t.maskTransitionName;if(!a)return null;var l={};return(u||c||s)&&(l=(0,r.A)({motionAppear:!0},k({motion:u,prefixCls:e,transitionName:c,animation:s}))),f.createElement(S.A,(0,o.A)({},l,{visible:n,removeOnLeave:!0}),(function(t){var n=t.className;return f.createElement("div",{style:{zIndex:i},className:O()("".concat(e,"-mask"),n)})}))}var P,M=n(82284);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){N(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var L={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function V(){if(void 0!==P)return P;P="";var t=document.createElement("p").style;for(var e in L)e+"Transform"in t&&(P=e);return P}function H(){return V()?"".concat(V(),"TransitionProperty"):"transitionProperty"}function z(){return V()?"".concat(V(),"Transform"):"transform"}function I(t,e){var n=H();n&&(t.style[n]=e,"transitionProperty"!==n&&(t.style.transitionProperty=e))}function B(t,e){var n=z();n&&(t.style[n]=e,"transform"!==n&&(t.style.transform=e))}var F,W=/matrix\((.*)\)/,Y=/matrix3d\((.*)\)/;function X(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function U(t,e,n){var r=n;if("object"!==D(e))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(t.style[e]=r)):F(t,e);for(var o in e)e.hasOwnProperty(o)&&U(t,o,e[o])}function q(t,e){var n=t["page".concat(e?"Y":"X","Offset")],r="scroll".concat(e?"Top":"Left");if("number"!=typeof n){var o=t.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function $(t){return q(t)}function G(t){return q(t,!0)}function K(t){var e=function(t){var e,n,r,o=t.ownerDocument,i=o.body,a=o&&o.documentElement;return e=t.getBoundingClientRect(),n=Math.floor(e.left),r=Math.floor(e.top),{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(t),n=t.ownerDocument,r=n.defaultView||n.parentWindow;return e.left+=$(r),e.top+=G(r),e}function J(t){return null!=t&&t==t.window}function Z(t){return J(t)?t.document:9===t.nodeType?t:t.ownerDocument}var Q=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),tt=/^(top|right|bottom|left)$/,et="currentStyle",nt="runtimeStyle",rt="left";function ot(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function it(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function at(t,e,n){"static"===U(t,"position")&&(t.style.position="relative");var r=-999,o=-999,i=ot("left",n),a=ot("top",n),u=it(i),s=it(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,l="",f=K(t);("left"in e||"top"in e)&&(l=(c=t).style.transitionProperty||c.style[H()]||"",I(t,"none")),"left"in e&&(t.style[u]="",t.style[i]="".concat(r,"px")),"top"in e&&(t.style[s]="",t.style[a]="".concat(o,"px")),X(t);var p=K(t),d={};for(var v in e)if(e.hasOwnProperty(v)){var h=ot(v,n),m="left"===v?r:o,y=f[v]-p[v];d[h]=h===v?m+y:m-y}U(t,d),X(t),("left"in e||"top"in e)&&I(t,l);var g={};for(var b in e)if(e.hasOwnProperty(b)){var w=ot(b,n),A=e[b]-f[b];g[w]=b===w?d[w]+A:d[w]-A}U(t,g)}function ut(t,e){var n=K(t),r=function(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(z());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(t),o={x:r.x,y:r.y};"left"in e&&(o.x=r.x+e.left-n.left),"top"in e&&(o.y=r.y+e.top-n.top),function(t,e){var n=window.getComputedStyle(t,null),r=n.getPropertyValue("transform")||n.getPropertyValue(z());if(r&&"none"!==r){var o,i=r.match(W);i?((o=(i=i[1]).split(",").map((function(t){return parseFloat(t,10)})))[4]=e.x,o[5]=e.y,B(t,"matrix(".concat(o.join(","),")"))):((o=r.match(Y)[1].split(",").map((function(t){return parseFloat(t,10)})))[12]=e.x,o[13]=e.y,B(t,"matrix3d(".concat(o.join(","),")")))}else B(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,o)}function st(t,e){for(var n=0;n<t.length;n++)e(t[n])}function ct(t){return"border-box"===F(t,"boxSizing")}"undefined"!=typeof window&&(F=window.getComputedStyle?function(t,e,n){var r=n,o="",i=Z(t);return(r=r||i.defaultView.getComputedStyle(t,null))&&(o=r.getPropertyValue(e)||r[e]),o}:function(t,e){var n=t[et]&&t[et][e];if(Q.test(n)&&!tt.test(e)){var r=t.style,o=r[rt],i=t[nt][rt];t[nt][rt]=t[et][rt],r[rt]="fontSize"===e?"1em":n||0,n=r.pixelLeft+"px",r[rt]=o,t[nt][rt]=i}return""===n?"auto":n});var lt=["margin","border","padding"],ft=-1,pt=2,dt=1;function vt(t,e,n){var r,o,i,a=0;for(o=0;o<e.length;o++)if(r=e[o])for(i=0;i<n.length;i++){var u=void 0;u="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(F(t,u))||0}return a}var ht={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function mt(t,e,n){var r=n;if(J(t))return"width"===e?ht.viewportWidth(t):ht.viewportHeight(t);if(9===t.nodeType)return"width"===e?ht.docWidth(t):ht.docHeight(t);var o="width"===e?["Left","Right"]:["Top","Bottom"],i="width"===e?Math.floor(t.getBoundingClientRect().width):Math.floor(t.getBoundingClientRect().height),a=ct(t),u=0;(null==i||i<=0)&&(i=void 0,(null==(u=F(t,e))||Number(u)<0)&&(u=t.style[e]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?dt:ft);var s=void 0!==i||a,c=i||u;return r===ft?s?c-vt(t,["border","padding"],o):u:s?r===dt?c:c+(r===pt?-vt(t,["border"],o):vt(t,["margin"],o)):u+vt(t,lt.slice(r),o)}st(["Width","Height"],(function(t){ht["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],ht["viewport".concat(t)](n))},ht["viewport".concat(t)]=function(e){var n="client".concat(t),r=e.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var yt={position:"absolute",visibility:"hidden",display:"block"};function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,o=e[0];return 0!==o.offsetWidth?r=mt.apply(void 0,e):function(t,e,n){var r,o={},i=t.style;for(r in e)e.hasOwnProperty(r)&&(o[r]=i[r],i[r]=e[r]);for(r in n.call(t),e)e.hasOwnProperty(r)&&(i[r]=o[r])}(o,yt,(function(){r=mt.apply(void 0,e)})),r}function bt(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}st(["width","height"],(function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);ht["outer".concat(e)]=function(e,n){return e&>(e,t,n?0:dt)};var n="width"===t?["Left","Right"]:["Top","Bottom"];ht[t]=function(e,r){var o=r;return void 0!==o?e?(ct(e)&&(o+=vt(e,["padding","border"],n)),U(e,t,o)):void 0:e&>(e,t,ft)}}));var wt={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:Z,offset:function(t,e,n){if(void 0===e)return K(t);!function(t,e,n){if(n.ignoreShake){var r=K(t),o=r.left.toFixed(0),i=r.top.toFixed(0),a=e.left.toFixed(0),u=e.top.toFixed(0);if(o===a&&i===u)return}n.useCssRight||n.useCssBottom?at(t,e,n):n.useCssTransform&&z()in document.body.style?ut(t,e):at(t,e,n)}(t,e,n||{})},isWindow:J,each:st,css:U,clone:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(n.overflow[e]=t.overflow[e]);return n},mix:bt,getWindowScrollLeft:function(t){return $(t)},getWindowScrollTop:function(t){return G(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)wt.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};bt(wt,ht);var At=wt.getParent;function Ot(t){if(wt.isWindow(t)||9===t.nodeType)return null;var e,n=wt.getDocument(t).body,r=wt.css(t,"position");if(!("fixed"===r||"absolute"===r))return"html"===t.nodeName.toLowerCase()?null:At(t);for(e=At(t);e&&e!==n&&9!==e.nodeType;e=At(e))if("static"!==(r=wt.css(e,"position")))return e;return null}var xt=wt.getParent;function Et(t,e){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Ot(t),o=wt.getDocument(t),i=o.defaultView||o.parentWindow,a=o.body,u=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===u||"visible"===wt.css(r,"overflow")){if(r===a||r===u)break}else{var s=wt.offset(r);s.left+=r.clientLeft,s.top+=r.clientTop,n.top=Math.max(n.top,s.top),n.right=Math.min(n.right,s.left+r.clientWidth),n.bottom=Math.min(n.bottom,s.top+r.clientHeight),n.left=Math.max(n.left,s.left)}r=Ot(r)}var c=null;wt.isWindow(t)||9===t.nodeType||(c=t.style.position,"absolute"===wt.css(t,"position")&&(t.style.position="fixed"));var l=wt.getWindowScrollLeft(i),f=wt.getWindowScrollTop(i),p=wt.viewportWidth(i),d=wt.viewportHeight(i),v=u.scrollWidth,h=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(v=i.innerWidth),"hidden"===m.overflowY&&(h=i.innerHeight),t.style&&(t.style.position=c),e||function(t){if(wt.isWindow(t)||9===t.nodeType)return!1;var e=wt.getDocument(t),n=e.body,r=null;for(r=xt(t);r&&r!==n&&r!==e;r=xt(r))if("fixed"===wt.css(r,"position"))return!0;return!1}(t))n.left=Math.max(n.left,l),n.top=Math.max(n.top,f),n.right=Math.min(n.right,l+p),n.bottom=Math.min(n.bottom,f+d);else{var y=Math.max(v,l+p);n.right=Math.min(n.right,y);var g=Math.max(h,f+d);n.bottom=Math.min(n.bottom,g)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Tt(t){var e,n,r;if(wt.isWindow(t)||9===t.nodeType){var o=wt.getWindow(t);e={left:wt.getWindowScrollLeft(o),top:wt.getWindowScrollTop(o)},n=wt.viewportWidth(o),r=wt.viewportHeight(o)}else e=wt.offset(t),n=wt.outerWidth(t),r=wt.outerHeight(t);return e.width=n,e.height=r,e}function Ct(t,e){var n=e.charAt(0),r=e.charAt(1),o=t.width,i=t.height,a=t.left,u=t.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:u}}function St(t,e,n,r,o){var i=Ct(e,n[1]),a=Ct(t,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(t.left-u[0]+r[0]-o[0]),top:Math.round(t.top-u[1]+r[1]-o[1])}}function kt(t,e,n){return t.left<n.left||t.left+e.width>n.right}function jt(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function Pt(t,e,n){var r=[];return wt.each(t,(function(t){r.push(t.replace(e,(function(t){return n[t]})))})),r}function Mt(t,e){return t[e]=-t[e],t}function _t(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function Rt(t,e){t[0]=_t(t[0],e.width),t[1]=_t(t[1],e.height)}function Dt(t,e,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||t;i=[].concat(i),a=[].concat(a);var c={},l=0,f=Et(s,!(!(u=u||{})||!u.alwaysByViewport)),p=Tt(s);Rt(i,p),Rt(a,e);var d=St(p,e,o,i,a),v=wt.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&kt(d,p,f)){var h=Pt(o,/[lr]/gi,{l:"r",r:"l"}),m=Mt(i,0),y=Mt(a,0);(function(t,e,n){return t.left>n.right||t.left+e.width<n.left})(St(p,e,h,m,y),p,f)||(l=1,o=h,i=m,a=y)}if(u.adjustY&&jt(d,p,f)){var g=Pt(o,/[tb]/gi,{t:"b",b:"t"}),b=Mt(i,1),w=Mt(a,1);(function(t,e,n){return t.top>n.bottom||t.top+e.height<n.top})(St(p,e,g,b,w),p,f)||(l=1,o=g,i=b,a=w)}l&&(d=St(p,e,o,i,a),wt.mix(v,d));var A=kt(d,p,f),O=jt(d,p,f);if(A||O){var x=o;A&&(x=Pt(o,/[lr]/gi,{l:"r",r:"l"})),O&&(x=Pt(o,/[tb]/gi,{t:"b",b:"t"})),o=x,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=u.adjustX&&A,c.adjustY=u.adjustY&&O,(c.adjustX||c.adjustY)&&(v=function(t,e,n,r){var o=wt.clone(t),i={width:e.width,height:e.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),wt.mix(o,i)}(d,p,f,c))}return v.width!==p.width&&wt.css(s,"width",wt.width(s)+v.width-p.width),v.height!==p.height&&wt.css(s,"height",wt.height(s)+v.height-p.height),wt.offset(s,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function Nt(t,e,n){var r=n.target||e,o=Tt(r),i=!function(t,e){var n=Et(t,e),r=Tt(t);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Dt(t,o,n,i)}Nt.__getOffsetParent=Ot,Nt.__getVisibleRectForElement=Et;var Lt=n(43210),Vt=n(42467),Ht=n(30981);var zt=n(43591);function It(t,e){var n=null,r=null;var o=new zt.default((function(t){var o=(0,E.A)(t,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,u=i.height,s=Math.floor(a),c=Math.floor(u);n===s&&r===c||Promise.resolve().then((function(){e({width:s,height:c})})),n=s,r=c}}));return t&&o.observe(t),function(){o.disconnect()}}function Bt(t){return"function"!=typeof t?null:t()}function Ft(t){return"object"===(0,M.A)(t)&&t?t:null}var Wt=function(t,e){var n=t.children,r=t.disabled,o=t.target,i=t.align,a=t.onAlign,u=t.monitorWindowResize,s=t.monitorBufferTime,c=void 0===s?0:s,l=p().useRef({}),f=p().useRef(),d=p().Children.only(n),v=p().useRef({});v.current.disabled=r,v.current.target=o,v.current.align=i,v.current.onAlign=a;var h=function(t,e){var n=p().useRef(!1),r=p().useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),e);else{if(!1===t(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),e)}},function(){n.current=!1,o()}]}((function(){var t=v.current,e=t.disabled,n=t.target,r=t.align,o=t.onAlign,i=f.current;if(!e&&n&&i){var a,u=Bt(n),s=Ft(n);l.current.element=u,l.current.point=s,l.current.align=r;var c=document.activeElement;return u&&(0,Vt.A)(u)?a=Nt(i,u,r):s&&(a=function(t,e,n){var r,o,i=wt.getDocument(t),a=i.defaultView||i.parentWindow,u=wt.getWindowScrollLeft(a),s=wt.getWindowScrollTop(a),c=wt.viewportWidth(a),l=wt.viewportHeight(a),f={left:r="pageX"in e?e.pageX:u+e.clientX,top:o="pageY"in e?e.pageY:s+e.clientY,width:0,height:0},p=r>=0&&r<=u+c&&o>=0&&o<=s+l,d=[n.points[0],"cc"];return Dt(t,f,R(R({},n),{},{points:d}),p)}(i,s,r)),function(t,e){t!==document.activeElement&&(0,m.A)(e,t)&&"function"==typeof t.focus&&t.focus()}(c,i),o&&a&&o(i,a),!0}return!1}),c),y=(0,E.A)(h,2),w=y[0],A=y[1],O=p().useState(),x=(0,E.A)(O,2),T=x[0],C=x[1],S=p().useState(),k=(0,E.A)(S,2),j=k[0],P=k[1];return(0,Ht.A)((function(){C(Bt(o)),P(Ft(o))})),p().useEffect((function(){var t,e;l.current.element===T&&((t=l.current.point)===(e=j)||t&&e&&("pageX"in e&&"pageY"in e?t.pageX===e.pageX&&t.pageY===e.pageY:"clientX"in e&&"clientY"in e&&t.clientX===e.clientX&&t.clientY===e.clientY))&&(0,Lt.A)(l.current.align,i)||w()})),p().useEffect((function(){return It(f.current,w)}),[f.current]),p().useEffect((function(){return It(T,w)}),[T]),p().useEffect((function(){r?A():w()}),[r]),p().useEffect((function(){if(u)return(0,b.A)(window,"resize",w).remove}),[u]),p().useEffect((function(){return function(){A()}}),[]),p().useImperativeHandle(e,(function(){return{forceAlign:function(){return w(!0)}}})),p().isValidElement(d)&&(d=p().cloneElement(d,{ref:(0,g.K4)(d.ref,f)})),d},Yt=p().forwardRef(Wt);Yt.displayName="Align";const Xt=Yt;var Ut=n(90675),qt=n(10467),$t=n(1233),Gt=["measure","alignPre","align",null,"motion"];var Kt=f.forwardRef((function(t,e){var n=t.visible,i=t.prefixCls,a=t.className,u=t.style,s=t.children,c=t.zIndex,l=t.stretch,p=t.destroyPopupOnHide,d=t.forceRender,v=t.align,m=t.point,y=t.getRootDomNode,g=t.getClassNameFromAlign,b=t.onAlign,w=t.onMouseEnter,A=t.onMouseLeave,x=t.onMouseDown,T=t.onTouchStart,C=t.onClick,j=(0,f.useRef)(),P=(0,f.useRef)(),M=(0,f.useState)(),_=(0,E.A)(M,2),R=_[0],D=_[1],N=function(t){var e=f.useState({width:0,height:0}),n=(0,E.A)(e,2),r=n[0],o=n[1];return[f.useMemo((function(){var e={};if(t){var n=r.width,o=r.height;-1!==t.indexOf("height")&&o?e.height=o:-1!==t.indexOf("minHeight")&&o&&(e.minHeight=o),-1!==t.indexOf("width")&&n?e.width=n:-1!==t.indexOf("minWidth")&&n&&(e.minWidth=n)}return e}),[t,r]),function(t){var e=t.offsetWidth,n=t.offsetHeight,r=t.getBoundingClientRect(),i=r.width,a=r.height;Math.abs(e-i)<1&&Math.abs(n-a)<1&&(e=i,n=a),o({width:e,height:n})}]}(l),L=(0,E.A)(N,2),V=L[0],H=L[1];var z=function(t,e){var n=(0,$t.A)(null),r=(0,E.A)(n,2),o=r[0],i=r[1],a=(0,f.useRef)();function u(t){i(t,!0)}function s(){h.A.cancel(a.current)}return(0,f.useEffect)((function(){u("measure")}),[t]),(0,f.useEffect)((function(){"measure"===o&&e(),o&&(a.current=(0,h.A)((0,qt.A)((0,Ut.A)().mark((function t(){var e,n;return(0,Ut.A)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Gt.indexOf(o),(n=Gt[e+1])&&-1!==e&&u(n);case 3:case"end":return t.stop()}}),t)})))))}),[o]),(0,f.useEffect)((function(){return function(){s()}}),[]),[o,function(t){s(),a.current=(0,h.A)((function(){u((function(t){switch(o){case"align":return"motion";case"motion":return"stable"}return t})),null==t||t()}))}]}(n,(function(){l&&H(y())})),I=(0,E.A)(z,2),B=I[0],F=I[1],W=(0,f.useState)(0),Y=(0,E.A)(W,2),X=Y[0],U=Y[1],q=(0,f.useRef)();function $(){var t;null===(t=j.current)||void 0===t||t.forceAlign()}function G(t,e){var n=g(e);R!==n&&D(n),U((function(t){return t+1})),"align"===B&&(null==b||b(t,e))}(0,Ht.A)((function(){"alignPre"===B&&U(0)}),[B]),(0,Ht.A)((function(){"align"===B&&(X<3?$():F((function(){var t;null===(t=q.current)||void 0===t||t.call(q)})))}),[X]);var K=(0,r.A)({},k(t));function J(){return new Promise((function(t){q.current=t}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(t){var e=K[t];K[t]=function(t,n){return F(),null==e?void 0:e(t,n)}})),f.useEffect((function(){K.motionName||"motion"!==B||F()}),[K.motionName,B]),f.useImperativeHandle(e,(function(){return{forceAlign:$,getElement:function(){return P.current}}}));var Z=(0,r.A)((0,r.A)({},V),{},{zIndex:c,opacity:"motion"!==B&&"stable"!==B&&n?0:void 0,pointerEvents:n||"stable"===B?void 0:"none"},u),Q=!0;null==v||!v.points||"align"!==B&&"stable"!==B||(Q=!1);var tt=s;return f.Children.count(s)>1&&(tt=f.createElement("div",{className:"".concat(i,"-content")},s)),f.createElement(S.A,(0,o.A)({visible:n,ref:P,leavedClassName:"".concat(i,"-hidden")},K,{onAppearPrepare:J,onEnterPrepare:J,removeOnLeave:p,forceRender:d}),(function(t,e){var n=t.className,o=t.style,u=O()(i,a,R,n);return f.createElement(Xt,{target:m||y,key:"popup",ref:j,monitorWindowResize:!0,disabled:Q,align:v,onAlign:G},f.createElement("div",{ref:e,className:u,onMouseEnter:w,onMouseLeave:A,onMouseDownCapture:x,onTouchStartCapture:T,onClick:C,style:(0,r.A)((0,r.A)({},o),Z)},tt))}))}));Kt.displayName="PopupInner";const Jt=Kt;var Zt=f.forwardRef((function(t,e){var n=t.prefixCls,i=t.visible,a=t.zIndex,u=t.children,s=t.mobile,c=(s=void 0===s?{}:s).popupClassName,l=s.popupStyle,p=s.popupMotion,d=void 0===p?{}:p,v=s.popupRender,h=t.onClick,m=f.useRef();f.useImperativeHandle(e,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var y=(0,r.A)({zIndex:a},l),g=u;return f.Children.count(u)>1&&(g=f.createElement("div",{className:"".concat(n,"-content")},u)),v&&(g=v(g)),f.createElement(S.A,(0,o.A)({visible:i,ref:m,removeOnLeave:!0},d),(function(t,e){var o=t.className,i=t.style,a=O()(n,c,o);return f.createElement("div",{ref:e,className:a,onClick:h,style:(0,r.A)((0,r.A)({},i),y)},g)}))}));Zt.displayName="MobilePopupInner";const Qt=Zt;var te=["visible","mobile"],ee=f.forwardRef((function(t,e){var n=t.visible,i=t.mobile,a=(0,T.A)(t,te),u=(0,f.useState)(n),s=(0,E.A)(u,2),c=s[0],l=s[1],p=(0,f.useState)(!1),d=(0,E.A)(p,2),v=d[0],h=d[1],m=(0,r.A)((0,r.A)({},a),{},{visible:c});(0,f.useEffect)((function(){l(n),n&&i&&h((0,C.A)())}),[n,i]);var y=v?f.createElement(Qt,(0,o.A)({},m,{mobile:i,ref:e})):f.createElement(Jt,(0,o.A)({},m,{ref:e}));return f.createElement("div",null,f.createElement(j,m),y)}));ee.displayName="Popup";const ne=ee;const re=f.createContext(null);function oe(){}function ie(){return""}function ae(t){return t?t.ownerDocument:window.document}var ue=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];const se=(ce=w.A,le=function(t){(0,s.A)(n,t);var e=(0,c.A)(n);function n(t){var r,a;return(0,i.A)(this,n),r=e.call(this,t),(0,l.A)((0,u.A)(r),"popupRef",f.createRef()),(0,l.A)((0,u.A)(r),"triggerRef",f.createRef()),(0,l.A)((0,u.A)(r),"portalContainer",void 0),(0,l.A)((0,u.A)(r),"attachId",void 0),(0,l.A)((0,u.A)(r),"clickOutsideHandler",void 0),(0,l.A)((0,u.A)(r),"touchOutsideHandler",void 0),(0,l.A)((0,u.A)(r),"contextMenuOutsideHandler1",void 0),(0,l.A)((0,u.A)(r),"contextMenuOutsideHandler2",void 0),(0,l.A)((0,u.A)(r),"mouseDownTimeout",void 0),(0,l.A)((0,u.A)(r),"focusTime",void 0),(0,l.A)((0,u.A)(r),"preClickTime",void 0),(0,l.A)((0,u.A)(r),"preTouchTime",void 0),(0,l.A)((0,u.A)(r),"delayTimer",void 0),(0,l.A)((0,u.A)(r),"hasPopupMouseDown",void 0),(0,l.A)((0,u.A)(r),"onMouseEnter",(function(t){var e=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",t),r.delaySetPopupVisible(!0,e,e?null:t)})),(0,l.A)((0,u.A)(r),"onMouseMove",(function(t){r.fireEvents("onMouseMove",t),r.setPoint(t)})),(0,l.A)((0,u.A)(r),"onMouseLeave",(function(t){r.fireEvents("onMouseLeave",t),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.A)((0,u.A)(r),"onPopupMouseEnter",(function(){r.clearDelayTimer()})),(0,l.A)((0,u.A)(r),"onPopupMouseLeave",(function(t){var e;t.relatedTarget&&!t.relatedTarget.setTimeout&&(0,m.A)(null===(e=r.popupRef.current)||void 0===e?void 0:e.getElement(),t.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.A)((0,u.A)(r),"onFocus",(function(t){r.fireEvents("onFocus",t),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))})),(0,l.A)((0,u.A)(r),"onMouseDown",(function(t){r.fireEvents("onMouseDown",t),r.preClickTime=Date.now()})),(0,l.A)((0,u.A)(r),"onTouchStart",(function(t){r.fireEvents("onTouchStart",t),r.preTouchTime=Date.now()})),(0,l.A)((0,u.A)(r),"onBlur",(function(t){r.fireEvents("onBlur",t),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)})),(0,l.A)((0,u.A)(r),"onContextMenu",(function(t){t.preventDefault(),r.fireEvents("onContextMenu",t),r.setPopupVisible(!0,t)})),(0,l.A)((0,u.A)(r),"onContextMenuClose",(function(){r.isContextMenuToShow()&&r.close()})),(0,l.A)((0,u.A)(r),"onClick",(function(t){if(r.fireEvents("onClick",t),r.focusTime){var e;if(r.preClickTime&&r.preTouchTime?e=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?e=r.preClickTime:r.preTouchTime&&(e=r.preTouchTime),Math.abs(e-r.focusTime)<20)return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,t)})),(0,l.A)((0,u.A)(r),"onPopupMouseDown",(function(){var t;r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout((function(){r.hasPopupMouseDown=!1}),0),r.context&&(t=r.context).onPopupMouseDown.apply(t,arguments)})),(0,l.A)((0,u.A)(r),"onDocumentClick",(function(t){if(!r.props.mask||r.props.maskClosable){var e=t.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(0,m.A)(n,e)&&!r.isContextMenuOnly()||(0,m.A)(o,e)||r.hasPopupMouseDown||r.close()}})),(0,l.A)((0,u.A)(r),"getRootDomNode",(function(){var t=r.props.getTriggerDOMNode;if(t)return t(r.triggerRef.current);try{var e=(0,y.Ay)(r.triggerRef.current);if(e)return e}catch(t){}return v().findDOMNode((0,u.A)(r))})),(0,l.A)((0,u.A)(r),"getPopupClassNameFromAlign",(function(t){var e=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,u=n.alignPoint,s=n.getPopupClassNameFromAlign;return o&&i&&e.push(function(t,e,n,r){for(var o=n.points,i=Object.keys(t),a=0;a<i.length;a+=1){var u=i[a];if(x(t[u].points,o,r))return"".concat(e,"-placement-").concat(u)}return""}(i,a,t,u)),s&&e.push(s(t)),e.join(" ")})),(0,l.A)((0,u.A)(r),"getComponent",(function(){var t=r.props,e=t.prefixCls,n=t.destroyPopupOnHide,i=t.popupClassName,a=t.onPopupAlign,u=t.popupMotion,s=t.popupAnimation,c=t.popupTransitionName,l=t.popupStyle,p=t.mask,d=t.maskAnimation,v=t.maskTransitionName,h=t.maskMotion,m=t.zIndex,y=t.popup,g=t.stretch,b=t.alignPoint,w=t.mobile,A=t.forceRender,O=t.onPopupClick,x=r.state,E=x.popupVisible,T=x.point,C=r.getPopupAlign(),S={};return r.isMouseEnterToShow()&&(S.onMouseEnter=r.onPopupMouseEnter),r.isMouseLeaveToHide()&&(S.onMouseLeave=r.onPopupMouseLeave),S.onMouseDown=r.onPopupMouseDown,S.onTouchStart=r.onPopupMouseDown,f.createElement(ne,(0,o.A)({prefixCls:e,destroyPopupOnHide:n,visible:E,point:b&&T,className:i,align:C,onAlign:a,animation:s,getClassNameFromAlign:r.getPopupClassNameFromAlign},S,{stretch:g,getRootDomNode:r.getRootDomNode,style:l,mask:p,zIndex:m,transitionName:c,maskAnimation:d,maskTransitionName:v,maskMotion:h,ref:r.popupRef,motion:u,mobile:w,forceRender:A,onClick:O}),"function"==typeof y?y():y)})),(0,l.A)((0,u.A)(r),"attachParent",(function(t){h.A.cancel(r.attachId);var e,n=r.props,o=n.getPopupContainer,i=n.getDocument,a=r.getRootDomNode();o?(a||0===o.length)&&(e=o(a)):e=i(r.getRootDomNode()).body,e?e.appendChild(t):r.attachId=(0,h.A)((function(){r.attachParent(t)}))})),(0,l.A)((0,u.A)(r),"getContainer",(function(){if(!r.portalContainer){var t=(0,r.props.getDocument)(r.getRootDomNode()).createElement("div");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.width="100%",r.portalContainer=t}return r.attachParent(r.portalContainer),r.portalContainer})),(0,l.A)((0,u.A)(r),"setPoint",(function(t){r.props.alignPoint&&t&&r.setState({point:{pageX:t.pageX,pageY:t.pageY}})})),(0,l.A)((0,u.A)(r),"handlePortalUpdate",(function(){r.state.prevPopupVisible!==r.state.popupVisible&&r.props.afterPopupVisibleChange(r.state.popupVisible)})),(0,l.A)((0,u.A)(r),"triggerContextValue",{onPopupMouseDown:r.onPopupMouseDown}),a="popupVisible"in t?!!t.popupVisible:!!t.defaultPopupVisible,r.state={prevPopupVisible:a,popupVisible:a},ue.forEach((function(t){r["fire".concat(t)]=function(e){r.fireEvents(t,e)}})),r}return(0,a.A)(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var t,e=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(t=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,b.A)(t,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(t=t||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,b.A)(t,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(t=t||e.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,b.A)(t,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,b.A)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),h.A.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var t;return(null===(t=this.popupRef.current)||void 0===t?void 0:t.getElement())||null}},{key:"getPopupAlign",value:function(){var t=this.props,e=t.popupPlacement,n=t.popupAlign,o=t.builtinPlacements;return e&&o?function(t,e,n){var o=t[e]||{};return(0,r.A)((0,r.A)({},o),n)}(o,e,n):n}},{key:"setPopupVisible",value:function(t,e){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==t&&("popupVisible"in this.props||this.setState({popupVisible:t,prevPopupVisible:r}),this.props.onPopupVisibleChange(t)),n&&e&&t&&this.setPoint(e)}},{key:"delaySetPopupVisible",value:function(t,e,n){var r=this,o=1e3*e;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(t,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(t,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(t){var e=this.props.children.props,n=this.props;return e[t]&&n[t]?this["fire".concat(t)]:e[t]||n[t]}},{key:"isClickToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var t=this.props.action;return"contextMenu"===t||1===t.length&&"contextMenu"===t[0]}},{key:"isContextMenuToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var t;this.state.popupVisible&&(null===(t=this.popupRef.current)||void 0===t||t.forceAlign())}},{key:"fireEvents",value:function(t,e){var n=this.props.children.props[t];n&&n(e);var r=this.props[t];r&&r(e)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,e=this.props,n=e.children,o=e.forceRender,i=e.alignPoint,a=e.className,u=e.autoDestroy,s=f.Children.only(n),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,i&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var l=O()(s&&s.props&&s.props.className,a);l&&(c.className=l);var p=(0,r.A)({},c);(0,g.f3)(s)&&(p.ref=(0,g.K4)(this.triggerRef,s.ref));var d,v=f.cloneElement(s,p);return(t||this.popupRef.current||o)&&(d=f.createElement(ce,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&u&&(d=null),f.createElement(re.Provider,{value:this.triggerContextValue},v,d)}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.popupVisible,r={};return void 0!==n&&e.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=e.popupVisible),r}}]),n}(f.Component),(0,l.A)(le,"contextType",re),(0,l.A)(le,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:ie,getDocument:ae,onPopupVisibleChange:oe,afterPopupVisibleChange:oe,onPopupAlign:oe,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),le);var ce,le},69916:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(69514),o=n.n(r);function i(t,e,n,r){var i=o().unstable_batchedUpdates?function(t){o().unstable_batchedUpdates(n,t)}:n;return null!=t&&t.addEventListener&&t.addEventListener(e,i,r),{remove:function(){null!=t&&t.removeEventListener&&t.removeEventListener(e,i,r)}}}},20998:(t,e,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(e,{A:()=>r})},54808:(t,e,n)=>{"use strict";function r(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}n.d(e,{A:()=>r})},66588:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>c});var r=n(82284),o=n(39155),i=n.n(o),a=n(69514),u=n.n(a);function s(t){return t instanceof HTMLElement||t instanceof SVGElement}function c(t){var e,n=function(t){return t&&"object"===(0,r.A)(t)&&s(t.nativeElement)?t.nativeElement:s(t)?t:null}(t);return n||(t instanceof i().Component?null===(e=u().findDOMNode)||void 0===e?void 0:e.call(u(),t):null)}},42467:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(t){if(!t)return!1;if(t instanceof Element){if(t.offsetParent)return!0;if(t.getBBox){var e=t.getBBox(),n=e.width,r=e.height;if(n||r)return!0}if(t.getBoundingClientRect){var o=t.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},88822:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(39155),o=n(69514),i=n.n(o),a=n(20998);const u=(0,r.forwardRef)((function(t,e){var n=t.didUpdate,o=t.getContainer,u=t.children,s=(0,r.useRef)(),c=(0,r.useRef)();(0,r.useImperativeHandle)(e,(function(){return{}}));var l=(0,r.useRef)(!1);return!l.current&&(0,a.A)()&&(c.current=o(),s.current=c.current.parentNode,l.current=!0),(0,r.useEffect)((function(){null==n||n(t)})),(0,r.useEffect)((function(){return null===c.current.parentNode&&null!==s.current&&s.current.appendChild(c.current),function(){var t;null===(t=c.current)||void 0===t||null===(t=t.parentNode)||void 0===t||t.removeChild(c.current)}}),[]),c.current?i().createPortal(u,c.current):null}))},30981:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(39155),o=(0,n(20998).A)()?r.useLayoutEffect:r.useEffect,i=function(t,e){var n=r.useRef(!0);o((function(){return t(n.current)}),e),o((function(){return n.current=!1,function(){n.current=!0}}),[])};const a=i},28104:(t,e,n)=>{"use strict";n(39155)},1233:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(3453),o=n(39155);function i(t){var e=o.useRef(!1),n=o.useState(t),i=(0,r.A)(n,2),a=i[0],u=i[1];return o.useEffect((function(){return e.current=!1,function(){e.current=!0}}),[]),[a,function(t,n){n&&e.current||u(t)}]}},43210:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(82284),o=n(68210);const i=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function t(e,a){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(e);if((0,o.Ay)(!s,"Warning: There may be circular references"),s)return!1;if(e===a)return!0;if(n&&u>1)return!1;i.add(e);var c=u+1;if(Array.isArray(e)){if(!Array.isArray(a)||e.length!==a.length)return!1;for(var l=0;l<e.length;l++)if(!t(e[l],a[l],c))return!1;return!0}if(e&&a&&"object"===(0,r.A)(e)&&"object"===(0,r.A)(a)){var f=Object.keys(e);return f.length===Object.keys(a).length&&f.every((function(n){return t(e[n],a[n],c)}))}return!1}(t,e)}},68430:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=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(t)||/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|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))}},25371:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var r=function(t){return+setTimeout(t,16)},o=function(t){return clearTimeout(t)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(t){return window.requestAnimationFrame(t)},o=function(t){return window.cancelAnimationFrame(t)});var i=0,a=new Map;function u(t){a.delete(t)}var s=function(t){var e=i+=1;return function n(o){if(0===o)u(e),t();else{var i=r((function(){n(o-1)}));a.set(e,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),e};s.cancel=function(t){var e=a.get(t);return u(t),o(e)};const c=s},8719:(t,e,n)=>{"use strict";n.d(e,{K4:()=>u,Xf:()=>a,f3:()=>s});var r=n(82284),o=n(39155),i=n(44363),a=(n(28104),function(t,e){"function"==typeof t?t(e):"object"===(0,r.A)(t)&&t&&"current"in t&&(t.current=e)}),u=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.filter(Boolean);return r.length<=1?r[0]:function(t){e.forEach((function(e){a(e,t)}))}},s=function(t){var e,n,r=(0,i.isMemo)(t)?t.type.type:t.type;return!!("function"!=typeof r||null!==(e=r.prototype)&&void 0!==e&&e.render||r.$$typeof===i.ForwardRef)&&!!("function"!=typeof t||null!==(n=t.prototype)&&void 0!==n&&n.render||t.$$typeof===i.ForwardRef)};function c(t){return(0,o.isValidElement)(t)&&!(0,i.isFragment)(t)}Number(o.version.split(".")[0])},68210:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>c});var r={},o=[];function i(t,e){}function a(t,e){}function u(t,e,n){e||r[n]||(t(!1,n),r[n]=!0)}function s(t,e){u(i,t,e)}s.preMessage=function(t){o.push(t)},s.resetWarned=function(){r={}},s.noteOnce=function(t,e){u(a,t,e)};const c=s},22799:(t,e)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
23
23
|
* react-is.production.min.js
|
|
@@ -34,10 +34,10 @@ object-assign
|
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/n(45228);var r=n(39155),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,r)&&!s.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:l,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},74848:(t,e,n)=>{"use strict";t.exports=n(21020)},43591:(t,e,n)=>{"use strict";n.d(e,{default:()=>E});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&s()}function u(){a(i)}function s(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return s}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function h(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=d(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,u=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=v(r,"left","right")+i),Math.round(s+a)!==n&&(s-=v(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var c=Math.round(u+i)-e,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return g(o.left,o.top,u,s)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):h(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,a,u,s,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),l(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);l(this,{target:t,contentRect:c})},A=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),O="undefined"!=typeof WeakMap?new WeakMap:new r,x=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new A(e,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){x.prototype[t]=function(){var e;return(e=O.get(this))[t].apply(e,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},10458:(t,e,n)=>{var r=n(85072),o=n(16543);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},54497:(t,e,n)=>{var r=n(85072),o=n(45848);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},33981:(t,e,n)=>{var r=n(85072),o=n(96742);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},85072:(t,e,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var v=null,h=0;function m(t,e){var n,r,o;if(e.singleton){var i=h++;n=v||(v=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},14552:(t,e,n)=>{"use strict";n.d(e,{g:()=>o,n:()=>r});var r="paraui-v4",o="component"},17234:(t,e,n)=>{"use strict";n.d(e,{default:()=>T});var r=n(39155),o=n.n(r),i=n(34307),a=n(94934),u=n(20053),s=n(14552);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){c(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function h(t){var e=o().isValidElement(t)?t:o().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},r=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete r[e])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(l({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":null}),c=f(l({},i),{pointerEvents:"none"}),p=o().cloneElement(e,{style:c,className:null});return o().createElement("span",{style:a,className:(0,u.A)(e.props.className,"".concat(s.g,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function m(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(2842);n(33981);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){b(t,e,n[e])}))}return t}function A(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function O(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=o().forwardRef((function(t,e){var n,r=x(o().useState(t.defaultVisible),2),c=r[0],p=r[1],d=o().useRef(),g=o().useRef(),b=x(o().useState([0,0]),2),E=b[0],T=b[1];o().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var C=function(){var e=t.title;return!e&&0!==e},S=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,r=t.verticalArrowShift,o=void 0===r?8:r,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.DD[t]),{offset:(e=t,n=m(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},k=t.prefixCls,j=void 0===k?"".concat(s.g,"-tooltip"):k,P=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,D=t.overlayStyle,R=t.children,N=t.title,L=t.placement,V=t.isPopover,H=t.followCursor,z=t.maxWidth,B=t.disabled,I=O(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),F=c;"visible"in t||"open"in t||!C()||(F=!1);var W=(0,u.A)(!V&&"".concat(s.n,"-tooltip"),M),Y=w({},D);z&&(Y.maxWidth=z);var X={targetOffset:E};return t.offset&&(X.offset=t.offset),o().createElement(i.A,A(w({},I),{prefixCls:j,placement:H?"top":m(L),overlayClassName:W,getTooltipContainer:P,ref:e||g,builtinPlacements:S(),overlay:o().createElement(o().Fragment,null,B&&o().createElement(y.A,{className:"disabled-svg"}),N),visible:F,align:X,onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!C()&&e),C())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=S(),r=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(r){var o=t.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-e.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-e.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:Y,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(s.g,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),s=u.x,c=u.y,l=u.width,f=t.clientX-(s+l/2),p=t.clientY-c+i+a;setTimeout((function(){T([-f,-p])}))}}},h(R)):h(R))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const T=E},32663:t=>{"use strict";t.exports=n},39155:e=>{"use strict";e.exports=t},69514:t=>{"use strict";t.exports=e},46942:(t,e)=>{var n;
|
|
37
|
+
*/n(45228);var r=n(39155),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,r)&&!s.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:l,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},74848:(t,e,n)=>{"use strict";t.exports=n(21020)},43591:(t,e,n)=>{"use strict";n.d(e,{default:()=>E});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&s()}function u(){a(i)}function s(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return s}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function h(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=d(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,u=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=v(r,"left","right")+i),Math.round(s+a)!==n&&(s-=v(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var c=Math.round(u+i)-e,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return g(o.left,o.top,u,s)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):h(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,a,u,s,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),l(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);l(this,{target:t,contentRect:c})},A=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),O="undefined"!=typeof WeakMap?new WeakMap:new r,x=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new A(e,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){x.prototype[t]=function(){var e;return(e=O.get(this))[t].apply(e,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},10458:(t,e,n)=>{var r=n(85072),o=n(16543);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},54497:(t,e,n)=>{var r=n(85072),o=n(45848);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},33981:(t,e,n)=>{var r=n(85072),o=n(96742);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},85072:(t,e,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var v=null,h=0;function m(t,e){var n,r,o;if(e.singleton){var i=h++;n=v||(v=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},14552:(t,e,n)=>{"use strict";n.d(e,{g:()=>o,n:()=>r});var r="paraui-v4",o="component"},17234:(t,e,n)=>{"use strict";n.d(e,{default:()=>T});var r=n(39155),o=n.n(r),i=n(34307),a=n(94934),u=n(20053),s=n(14552);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){c(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function h(t){var e=o().isValidElement(t)?t:o().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},r=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete r[e])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(l({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":null}),c=f(l({},i),{pointerEvents:"none"}),p=o().cloneElement(e,{style:c,className:null});return o().createElement("span",{style:a,className:(0,u.A)(e.props.className,"".concat(s.g,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function m(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(2842);n(33981);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){b(t,e,n[e])}))}return t}function A(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function O(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=o().forwardRef((function(t,e){var n,r=x(o().useState(t.defaultVisible),2),c=r[0],p=r[1],d=o().useRef(),g=o().useRef(),b=x(o().useState([0,0]),2),E=b[0],T=b[1];o().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var C=function(){var e=t.title;return!e&&0!==e},S=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,r=t.verticalArrowShift,o=void 0===r?8:r,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.DD[t]),{offset:(e=t,n=m(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},k=t.prefixCls,j=void 0===k?"".concat(s.g,"-tooltip"):k,P=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,R=t.overlayStyle,D=t.children,N=t.title,L=t.placement,V=t.isPopover,H=t.followCursor,z=t.maxWidth,I=t.disabled,B=O(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),F=c;"visible"in t||"open"in t||!C()||(F=!1);var W=(0,u.A)(!V&&"".concat(s.n,"-tooltip"),M),Y=w({},R);z&&(Y.maxWidth=z);var X={targetOffset:E};return t.offset&&(X.offset=t.offset),o().createElement(i.A,A(w({},B),{prefixCls:j,placement:H?"top":m(L),overlayClassName:W,getTooltipContainer:P,ref:e||g,builtinPlacements:S(),overlay:o().createElement(o().Fragment,null,I&&o().createElement(y.A,{className:"disabled-svg"}),N),visible:F,align:X,onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!C()&&e),C())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=S(),r=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(r){var o=t.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-e.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-e.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:Y,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(s.g,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),s=u.x,c=u.y,l=u.width,f=t.clientX-(s+l/2),p=t.clientY-c+i+a;setTimeout((function(){T([-f,-p])}))}}},h(D)):h(D))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const T=E},38937:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(39155);const o=function(t){var e=(0,r.useRef)({});(0,r.useEffect)((function(){return o(),function(){clearInterval(e.current.resizeTimer),clearTimeout(e.current.resizeLimit)}}),[t.dom]);var n=function(n){var r=n.width,o=n.height;r===e.current.width&&o===e.current.height||(e.current.width=r,e.current.height=o,clearTimeout(e.current.resizeLimit),e.current.resizeLimit=setTimeout((function(){t.cb()}),100))},o=function(){var r=t.dom;r&&(void 0===window.ResizeObserver?(clearInterval(e.current.resizeTimer),e.current.resizeTimer=setInterval((function(){var t=r.getBoundingClientRect();n(t)}))):new ResizeObserver((function(t){var e,r=null===(e=t[0])||void 0===e?void 0:e.contentRect;n(r)})).observe(r))}}},32663:t=>{"use strict";t.exports=n},39155:e=>{"use strict";e.exports=t},69514:t=>{"use strict";t.exports=e},46942:(t,e)=>{var n;
|
|
38
38
|
/*!
|
|
39
39
|
Copyright (c) 2018 Jed Watson.
|
|
40
40
|
Licensed under the MIT License (MIT), see
|
|
41
41
|
http://jedwatson.github.io/classnames
|
|
42
42
|
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t="",e=0;e<arguments.length;e++){var n=arguments[e];n&&(t=a(t,i(n)))}return t}function i(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return o.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var n in t)r.call(t,n)&&t[n]&&(e=a(e,n));return e}function a(t,e){return e?t?t+" "+e:t+e:t}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},43145:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{A:()=>r})},96369:(t,e,n)=>{"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{A:()=>r})},9417:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{A:()=>r})},10467:(t,e,n)=>{"use strict";function r(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}}n.d(e,{A:()=>o})},23029:(t,e,n)=>{"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{A:()=>r})},92901:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(49922);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,r.A)(o.key),o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},29426:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(53954),o=n(52176),i=n(56822);function a(t){var e=(0,o.A)();return function(){var n,o=(0,r.A)(t);if(e){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},64467:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(49922);function o(t,e,n){return(e=(0,r.A)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},58168:(t,e,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})},53954:(t,e,n)=>{"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{A:()=>r})},85501:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(63662);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.A)(t,e)}},52176:(t,e,n)=>{"use strict";function r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(r=function(){return!!t})()}n.d(e,{A:()=>r})},6986:(t,e,n)=>{"use strict";function r(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}n.d(e,{A:()=>r})},76562:(t,e,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{A:()=>r})},89379:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(64467);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},80045:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(98587);function o(t,e){if(null==t)return{};var n,o,i=(0,r.A)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},98587:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}n.d(e,{A:()=>r})},56822:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(82284),o=n(9417);function i(t,e){if(e&&("object"===(0,r.A)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(t)}},90675:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(82284);function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
43
|
-
o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new _(r||[]);return a(i,"_invoke",{value:k(t,n,u)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var v="suspendedStart",h="suspendedYield",m="executing",y="completed",g={};function b(){}function w(){}function A(){}var O={};f(O,s,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(D([])));E&&E!==n&&i.call(E,s)&&(O=E);var T=A.prototype=b.prototype=Object.create(O);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,a,u,s){var c=d(t[o],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==(0,r.A)(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,s)}),(function(t){n("throw",t,u,s)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,s)}))}s(c.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,n,r){var o=v;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=j(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=d(e,n,r);if("normal"===c.type){if(o=r.done?y:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function j(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.A)(e)+" is not iterable")}return w.prototype=A,a(T,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(T),t},e.awrap=function(t){return{__await:t}},C(S.prototype),f(S.prototype,c,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(p(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},C(T),f(T,l,"Generator"),f(T,s,(function(){return this})),f(T,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=D,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:D(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}},63662:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{A:()=>r})},3453:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(96369),o=n(6986),i=n(27800),a=n(76562);function u(t,e){return(0,r.A)(t)||(0,o.A)(t,e)||(0,i.A)(t,e)||(0,a.A)()}},92327:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(82284);function o(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},49922:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(82284),o=n(92327);function i(t){var e=(0,o.A)(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}},82284:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{A:()=>r})},27800:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(43145);function o(t,e){if(t){if("string"==typeof t)return(0,r.A)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(t,e):void 0}}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,exports:{}};return r[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{AutoTipsMultiline:()=>c,default:()=>p});var t=i(39155),e=i.n(t),n=i(17234),r=i(14552),o=i(32663);i(10458);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c=function(o){var i=o.children,a=o.arrow,u=void 0!==a&&a,c=o.placement,l=void 0===c?"bottom-start":c,f=o.tips,p=void 0===f?"":f,d=o.className,v=void 0===d?"":d,h=o.interactive,m=void 0===h||h,y=(o.tipMaxWidth,o.line),g=void 0===y?2:y,b=o.refresh,w=o.style,A=(0,t.useRef)(null),O=(0,t.useRef)([]),x=s((0,t.useState)(),2),E=x[0],T=x[1],C=(0,t.useRef)({line:g,tips:p});C.current.line=g,C.current.tips=p;var S=s((0,t.useState)(""),2),k=S[0],j=S[1];(0,t.useEffect)((function(){return window.addEventListener("resize",M),function(){window.removeEventListener("resize",M)}}),[]),(0,t.useEffect)((function(){M()}),[i,b]);var P,M=function(){var t;if(i){for(var e=[],n=!1,r=(null==A||null===(t=A.current)||void 0===t?void 0:t.clientWidth)||0,o=0,a=0,u=0;u<O.current.length;u++){var s=O.current[u].offsetWidth;if((o+=s)>r){if(!(e.length<C.current.line-1)){n=!0,j(C.current.tips||i),e.push(i.slice(a,i.length));break}e.push(i.slice(a,u)),a=u,o=s,u===O.current.length-1&&(e.length<C.current.line||(n=!0,j(C.current.tips||i)),e.push(i.slice(a,i.length)))}else u===O.current.length-1&&e.push(i.slice(a,i.length))}T({lineArr:e,showTooltip:n})}},_=(0,t.useMemo)((function(){return O.current=[],e().createElement("div",{className:"hidden"},null==i?void 0:i.split("").map((function(t,n){return e().createElement("span",{ref:function(t){return t&&O.current.push(t)},key:n},t)})))}),[i]);return e().createElement("div",{ref:A,className:(P="".concat(r.n,"-auto-tips-multiline"),function(){if(navigator.userAgent.indexOf("Safari")>-1)return!0}()&&(P+=" ".concat(r.n,"-auto-tips-multiline-safari")),v&&(P+=" ".concat(v)),P),style:w},e().createElement(n.default,{arrow:u,title:k,placement:l,interactive:m,boundariesElement:"viewport",overlayClassName:"".concat(r.n,"-auto-tips-multiline-tooltip")},e().createElement("div",{className:"auto-tips-multiline-content-box"},e().createElement("div",{className:"auto-tips-multiline-content"},null==E?void 0:E.lineArr.map((function(t,n){var r="line-text";return n===E.lineArr.length-1&&(r+=" last-line"),e().createElement("div",{className:r,key:n},t)}))),_)))};i(54497);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const p=function(i){var a=i.children,u=i.arrow,s=void 0!==u&&u,c=i.placement,l=void 0===c?"bottom-start":c,p=i.tips,d=void 0===p?"":p,v=i.className,h=void 0===v?"":v,m=i.beyondText,y=void 0===m||m,g=i.interactive,b=void 0===g||g,w=i.tipMaxWidth,A=i.style,O=(0,t.useRef)(),x=(0,t.useRef)(),E=f((0,t.useState)(""),2),T=E[0],C=E[1];(0,t.useEffect)((function(){C(d)}),[d]);var S;return e().createElement(n.default,{arrow:s,title:T,placement:l,interactive:b,boundariesElement:"viewport",overlayClassName:"".concat(r.n,"-auto-tips-tooltip"),maxWidth:w},e().createElement("div",{ref:O,className:(S="".concat(r.n,"-auto-tips"),function(){var t=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(t))return!0}()&&(S+=" ".concat(r.n,"-auto-tips-safari")),h&&(S+=" ".concat(h)),S),onMouseOver:function(){var t="",e=O.current,n=e.getBoundingClientRect(),r=x.current.getBoundingClientRect();O.current&&((0,o.isIE)()?n.width>r.width&&(t=d||(y?e.innerText:a)):r.width>n.width&&(t=d||(y?e.innerText:a))),C(t)},style:A},e().createElement("div",{className:"auto-tips-content",ref:x},a)))}})(),a})()));
|
|
43
|
+
o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new _(r||[]);return a(i,"_invoke",{value:k(t,n,u)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var v="suspendedStart",h="suspendedYield",m="executing",y="completed",g={};function b(){}function w(){}function A(){}var O={};f(O,s,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(R([])));E&&E!==n&&i.call(E,s)&&(O=E);var T=A.prototype=b.prototype=Object.create(O);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function n(o,a,u,s){var c=d(t[o],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==(0,r.A)(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,s)}),(function(t){n("throw",t,u,s)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,s)}))}s(c.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function k(e,n,r){var o=v;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=j(u,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=d(e,n,r);if("normal"===c.type){if(o=r.done?y:h,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=y,r.method="throw",r.arg=c.arg)}}}function j(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function R(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.A)(e)+" is not iterable")}return w.prototype=A,a(T,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(T),t},e.awrap=function(t){return{__await:t}},C(S.prototype),f(S.prototype,c,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(p(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},C(T),f(T,l,"Generator"),f(T,s,(function(){return this})),f(T,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=R,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}},63662:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{A:()=>r})},3453:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(96369),o=n(6986),i=n(27800),a=n(76562);function u(t,e){return(0,r.A)(t)||(0,o.A)(t,e)||(0,i.A)(t,e)||(0,a.A)()}},92327:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(82284);function o(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},49922:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(82284),o=n(92327);function i(t){var e=(0,o.A)(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}},82284:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{A:()=>r})},27800:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(43145);function o(t,e){if(t){if("string"==typeof t)return(0,r.A)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(t,e):void 0}}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,exports:{}};return r[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{AutoTipsMultiline:()=>l,default:()=>d});var t=i(39155),e=i.n(t),n=i(17234),r=i(14552),o=i(32663),u=i(38937);i(10458);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const l=function(o){var i=o.children,a=o.arrow,s=void 0!==a&&a,l=o.placement,f=void 0===l?"bottom-start":l,p=o.tips,d=void 0===p?"":p,v=o.className,h=void 0===v?"":v,m=o.interactive,y=void 0===m||m,g=(o.tipMaxWidth,o.line),b=void 0===g?2:g,w=o.refresh,A=o.style,O=(0,t.useRef)(null),x=(0,t.useRef)([]),E=c((0,t.useState)(),2),T=E[0],C=E[1],S=(0,t.useRef)({line:b,tips:d});S.current.line=b,S.current.tips=d;var k=c((0,t.useState)(""),2),j=k[0],P=k[1];(0,u.A)({dom:O.current,cb:function(){return _()}}),(0,t.useEffect)((function(){_()}),[i,w]);var M,_=function(){var t;if(i){for(var e=[],n=!1,r=(null==O||null===(t=O.current)||void 0===t?void 0:t.clientWidth)||0,o=0,a=0,u=0;u<x.current.length;u++){var s=x.current[u].offsetWidth;if((o+=s)>r){if(!(e.length<S.current.line-1)){n=!0,P(S.current.tips||i),e.push(i.slice(a,i.length));break}e.push(i.slice(a,u)),a=u,o=s,u===x.current.length-1&&(e.length<S.current.line||(n=!0,P(S.current.tips||i)),e.push(i.slice(a,i.length)))}else u===x.current.length-1&&e.push(i.slice(a,i.length))}C({lineArr:e,showTooltip:n})}},R=(0,t.useMemo)((function(){return x.current=[],e().createElement("div",{className:"hidden"},null==i?void 0:i.split("").map((function(t,n){return e().createElement("span",{ref:function(t){return t&&x.current.push(t)},key:n},t)})))}),[i]);return e().createElement("div",{ref:O,className:(M="".concat(r.n,"-auto-tips-multiline"),function(){if(navigator.userAgent.indexOf("Safari")>-1)return!0}()&&(M+=" ".concat(r.n,"-auto-tips-multiline-safari")),h&&(M+=" ".concat(h)),M),style:A},e().createElement(n.default,{arrow:s,title:j,placement:f,interactive:y,boundariesElement:"viewport",overlayClassName:"".concat(r.n,"-auto-tips-multiline-tooltip")},e().createElement("div",{className:"auto-tips-multiline-content-box"},e().createElement("div",{className:"auto-tips-multiline-content"},null==T?void 0:T.lineArr.map((function(t,n){var r="line-text";return n===T.lineArr.length-1&&(r+=" last-line"),e().createElement("div",{className:r,key:n},t)}))),R)))};i(54497);function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const d=function(i){var a=i.children,u=i.arrow,s=void 0!==u&&u,c=i.placement,l=void 0===c?"bottom-start":c,f=i.tips,d=void 0===f?"":f,v=i.className,h=void 0===v?"":v,m=i.beyondText,y=void 0===m||m,g=i.interactive,b=void 0===g||g,w=i.tipMaxWidth,A=i.style,O=(0,t.useRef)(),x=(0,t.useRef)(),E=p((0,t.useState)(""),2),T=E[0],C=E[1];(0,t.useEffect)((function(){C(d)}),[d]);var S;return e().createElement(n.default,{arrow:s,title:T,placement:l,interactive:b,boundariesElement:"viewport",overlayClassName:"".concat(r.n,"-auto-tips-tooltip"),maxWidth:w},e().createElement("div",{ref:O,className:(S="".concat(r.n,"-auto-tips"),function(){var t=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(t))return!0}()&&(S+=" ".concat(r.n,"-auto-tips-safari")),h&&(S+=" ".concat(h)),S),onMouseOver:function(){var t="",e=O.current,n=e.getBoundingClientRect(),r=x.current.getBoundingClientRect();O.current&&((0,o.isIE)()?n.width>r.width&&(t=d||(y?e.innerText:a)):r.width>n.width&&(t=d||(y?e.innerText:a))),C(t)},style:A},e().createElement("div",{className:"auto-tips-content",ref:x},a)))}})(),a})()));
|