@para-ui/core 4.0.0-rc → 4.0.0-rc.2
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/AutoBox/index.d.ts +1 -1
- package/AutoBox/index.js +12 -12
- package/AutoTips/autoTipsMultiline/index.d.ts +1 -1
- package/AutoTips/index.d.ts +2 -2
- package/AutoTips/index.js +15 -21
- package/Badge/index.d.ts +23 -0
- package/Badge/index.js +54 -0
- package/Breadcrumbs/index.js +8 -8
- package/Button/SplitButton.d.ts +1 -1
- package/Button/index.d.ts +1 -1
- package/Button/index.js +8 -38
- package/Carousel/index.d.ts +6 -6
- package/Carousel/index.js +5 -5
- package/Cascader/Cascader.d.ts +10 -10
- package/Cascader/OptionList/Column.d.ts +3 -3
- package/Cascader/OptionList/index.d.ts +2 -2
- package/Cascader/index.d.ts +1 -1
- package/Cascader/index.js +4 -2
- package/Cascader/lang/en_US.d.ts +5 -0
- package/Cascader/lang/index.d.ts +11 -0
- package/Cascader/lang/zh_CN.d.ts +5 -0
- package/Cascader/utils/treeUtil.d.ts +1 -1
- package/Checkbox/index.d.ts +1 -1
- package/Checkbox/index.js +5 -5
- package/CheckboxGroup/index.d.ts +2 -2
- package/CheckboxGroup/index.js +4 -4
- package/Collapse/index.js +5 -5
- package/CollapseBox/index.js +12 -20
- package/CollapseLayout/index.js +21 -21
- package/ColorPicker/index.js +2 -2
- package/ComboSelect/index.js +43 -52
- package/ComboSelect/interface.d.ts +3 -3
- package/Container/index.d.ts +3 -3
- package/Container/index.js +56 -56
- package/CopyText/index.d.ts +2 -2
- package/CopyText/index.js +3 -3
- package/DatePicker/generatePicker/index.d.ts +22 -22
- package/DatePicker/index.js +10 -9
- package/DatePicker/util.d.ts +1 -1
- package/Descriptions/index.d.ts +38 -0
- package/Descriptions/index.js +23 -0
- package/Desktop/index.d.ts +1 -1
- package/Desktop/index.js +18 -13
- package/DragVerify/index.d.ts +1 -1
- package/DragVerify/index.js +13 -13
- package/Drawer/index.js +40 -38
- package/Drawer/interface.d.ts +4 -6
- package/Dropdown/index.d.ts +1 -1
- package/DynamicMultiBox/formItem.d.ts +1 -1
- package/DynamicMultiBox/index.d.ts +1 -1
- package/DynamicMultiBox/index.js +38 -35
- package/DynamicMultiBox/interface.d.ts +8 -8
- package/DynamicMultiBox/rowForm.d.ts +3 -1
- package/Empty/index.d.ts +1 -1
- package/Empty/index.js +3 -3
- package/Form/index.d.ts +12 -13
- package/Form/index.js +10 -8
- package/FormItem/compoments/defaultCompoments/index.d.ts +4 -4
- package/FormItem/compoments/formCheckboxGroup/index.d.ts +1 -1
- package/FormItem/compoments/formFile/index.d.ts +2 -2
- package/FormItem/compoments/formRadioGroup/index.d.ts +1 -1
- package/FormItem/compoments/formSelect/index.d.ts +7 -7
- package/FormItem/errorTips.d.ts +3 -3
- package/FormItem/index.d.ts +5 -5
- package/FormItem/index.js +3 -2
- package/FormItem/lang/en_US.d.ts +10 -0
- package/FormItem/lang/index.d.ts +21 -0
- package/FormItem/lang/zh_CN.d.ts +10 -0
- package/FormItem/validateFunction.d.ts +1 -1
- package/FunctionModal/dialog.d.ts +26 -26
- package/FunctionModal/index.d.ts +6 -6
- package/FunctionModal/index.js +9 -10
- package/FunctionModal/modalContext.d.ts +3 -3
- package/GlobalContext/componentsProps.d.ts +7 -7
- package/GlobalContext/confirmLocale.d.ts +1 -2
- package/GlobalContext/index.d.ts +2 -2
- package/GlobalContext/index.js +3 -2
- package/GlobalContext/useFormatMessage.d.ts +1 -1
- package/Help/index.js +2 -2
- package/HelperText/index.js +1 -1
- package/InputLang/index.d.ts +2 -2
- package/InputLang/index.js +8 -8
- package/InputNumber/index.d.ts +4 -2
- package/InputNumber/index.js +27 -15
- package/Label/index.js +2 -2
- package/Loading/index.js +1 -1
- package/Menu/index.js +17 -17
- package/Menu/interface.d.ts +1 -1
- package/Message/index.js +13 -13
- package/Modal/Confirm/index.d.ts +3 -3
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +20 -17
- package/Modal/lang/index.d.ts +8 -0
- package/MultiBox/index.d.ts +2 -2
- package/MultiBox/index.js +4 -4
- package/Notification/index.js +2 -2
- package/OperateBtn/index.d.ts +2 -2
- package/OperateBtn/index.js +49 -49
- package/PageHeader/index.js +45 -34
- package/PageHeader/interface.d.ts +1 -1
- package/Pagination/index.d.ts +1 -1
- package/Pagination/index.js +19 -19
- package/PasswordRules/index.js +8 -8
- package/PopConfirm/index.js +8 -7
- package/Progress/Line.d.ts +10 -10
- package/Progress/Steps.d.ts +2 -2
- package/Progress/index.d.ts +12 -12
- package/Progress/index.js +43 -42
- package/Progress/utils.d.ts +4 -4
- package/Querying/index.d.ts +1 -1
- package/Querying/index.js +3 -3
- package/README.md +7 -0
- package/Radio/index.d.ts +1 -1
- package/Radio/index.js +5 -5
- package/RadioGroup/index.d.ts +2 -2
- package/RadioGroup/index.js +4 -4
- package/Search/index.js +1 -1
- package/Select/index.d.ts +3 -3
- package/Select/index.js +43 -43
- package/SelectInput/index.js +2 -2
- package/Selector/index.js +26 -34
- package/Selector/interface.d.ts +6 -6
- package/SelectorPicker/index.d.ts +4 -4
- package/SelectorPicker/index.js +10 -10
- package/SingleBox/index.d.ts +2 -2
- package/SingleBox/index.js +4 -4
- package/Slider/index.js +1 -1
- package/Slider/interface.d.ts +1 -1
- package/Status/index.d.ts +4 -4
- package/Status/index.js +6 -7
- package/Stepper/index.d.ts +5 -5
- package/Stepper/index.js +23 -23
- package/Styles/theme.scss +1 -0
- package/Switch/index.d.ts +7 -7
- package/Switch/index.js +38 -21
- package/Switch/lang/en_US.d.ts +4 -0
- package/Switch/lang/index.d.ts +9 -0
- package/Switch/lang/zh_CN.d.ts +4 -0
- package/Table/index.js +35 -35
- package/Table/interface.d.ts +4 -4
- package/Table/tableBodyElement/index.d.ts +1 -1
- package/Table/tableBodyInterface.d.ts +2 -2
- package/Table/tableContainer/index.d.ts +1 -1
- package/Table/tableElement/index.d.ts +1 -1
- package/Table/tableHeadElement/index.d.ts +1 -1
- package/Table/tableHeadInterface.d.ts +1 -1
- package/Table/tablePaginationInterface.d.ts +6 -6
- package/Table/tdElement/index.d.ts +1 -1
- package/Table/thElement/index.d.ts +2 -2
- package/Table/trElement/index.d.ts +1 -1
- package/Table/util.d.ts +1 -1
- package/Tabs/index.d.ts +1 -1
- package/Tabs/index.js +27 -19
- package/Tag/TagGroup.d.ts +5 -5
- package/Tag/index.d.ts +7 -7
- package/Tag/index.js +25 -25
- package/TextEditor/index.d.ts +2 -2
- package/TextEditor/index.js +45 -27
- package/TextEditor/lang/en_US.d.ts +4 -0
- package/TextEditor/lang/index.d.ts +9 -0
- package/TextEditor/lang/zh_CN.d.ts +4 -0
- package/TextField/index.d.ts +1 -1
- package/TextField/index.js +19 -16
- package/TimePicker/index.d.ts +1 -1
- package/TimePicker/index.js +2 -2
- package/Timeline/TimelineItem.d.ts +1 -1
- package/Timeline/index.d.ts +5 -5
- package/Timeline/index.js +14 -14
- package/Title/index.d.ts +4 -4
- package/Title/index.js +3 -3
- package/ToggleButton/ToggleButtonGroup.d.ts +1 -1
- package/ToggleButton/index.d.ts +5 -1
- package/ToggleButton/index.js +18 -11
- package/Transfer/box.d.ts +6 -6
- package/Transfer/index.js +22 -25
- package/Tree/OperateBar/index.d.ts +4 -4
- package/Tree/Tree.d.ts +2 -2
- package/Tree/index.js +2 -2
- package/Tree/interface.d.ts +4 -4
- package/Tree/utils/tools.d.ts +1 -1
- package/Upload/Dragger/index.d.ts +2 -2
- package/Upload/ErroTip/index.d.ts +1 -1
- package/Upload/index.d.ts +2 -2
- package/Upload/index.js +10 -11
- package/Upload/interface.d.ts +1 -1
- package/_verture/{index-8469865e.js → index-024bbc9b.js} +3 -3
- package/_verture/{index-19947788.js → index-05f7bf11.js} +3 -1
- package/_verture/{index-e1b800aa.js → index-50f56891.js} +49 -25
- package/_verture/{index-1c8d3e94.js → index-649b450f.js} +102 -48
- package/_verture/{index-47297a40.js → index-692e29c1.js} +53 -46
- package/_verture/{modalContext-670eab09.js → modalContext-11c51a45.js} +25 -25
- package/index.d.ts +4 -0
- package/index.js +14 -11
- package/locale/en-US.d.ts +19 -0
- package/locale/index.d.ts +38 -0
- package/locale/index.js +40 -2
- package/locale/zh-CN.d.ts +19 -0
- package/package.json +4 -2
- package/umd/AutoBox.js +1 -1
- package/umd/AutoTips.js +1 -1
- package/umd/Badge.js +1 -0
- package/umd/Breadcrumbs.js +1 -1
- package/umd/Button.js +2 -2
- package/umd/ButtonGroup.js +2 -2
- package/umd/Cascader.js +4 -4
- package/umd/Checkbox.js +2 -2
- package/umd/CheckboxGroup.js +2 -2
- package/umd/Collapse.js +5 -5
- package/umd/CollapseBox.js +1 -1
- package/umd/CollapseLayout.js +4 -4
- package/umd/ColorPicker.js +1 -1
- package/umd/ComboSelect.js +4 -4
- package/umd/CopyText.js +2 -2
- package/umd/DatePicker.js +2 -2
- package/umd/Descriptions.js +1 -0
- package/umd/Desktop.js +2 -2
- package/umd/DragVerify.js +4 -4
- package/umd/Drawer.js +2 -2
- package/umd/DynamicMultiBox.js +4 -4
- package/umd/Empty.js +1 -1
- package/umd/Form.js +4 -4
- package/umd/FormItem.js +4 -4
- package/umd/FunctionModal.js +4 -4
- package/umd/GlobalContext.js +1 -1
- package/umd/Help.js +2 -2
- package/umd/HelperText.js +1 -1
- package/umd/InputLang.js +2 -2
- package/umd/InputNumber.js +4 -4
- package/umd/Label.js +2 -2
- package/umd/Loading.js +1 -1
- package/umd/Menu.js +3 -3
- package/umd/Message.js +2 -2
- package/umd/Modal.js +4 -4
- package/umd/MultiBox.js +7 -7
- package/umd/Notification.js +2 -2
- package/umd/OperateBtn.js +4 -4
- package/umd/PageHeader.js +4 -4
- package/umd/Pagination.js +2 -2
- package/umd/PasswordRules.js +4 -4
- package/umd/PopConfirm.js +2 -2
- package/umd/Progress.js +3 -3
- package/umd/Querying.js +1 -1
- package/umd/Radio.js +2 -2
- package/umd/RadioGroup.js +2 -2
- package/umd/Search.js +7 -7
- package/umd/Select.js +2 -2
- package/umd/SelectInput.js +2 -2
- package/umd/Selector.js +2 -2
- package/umd/SelectorPicker.js +2 -2
- package/umd/SingleBox.js +2 -2
- package/umd/Slider.js +1 -1
- package/umd/Status.js +2 -2
- package/umd/Stepper.js +1 -1
- package/umd/Switch.js +5 -5
- package/umd/Table.js +6 -6
- package/umd/Tabs.js +6 -6
- package/umd/Tag.js +1 -1
- package/umd/TextEditor.js +3 -3
- package/umd/TextField.js +7 -7
- package/umd/TimePicker.js +2 -2
- package/umd/Title.js +7 -7
- package/umd/ToggleButton.js +4 -4
- package/umd/Transfer.js +3 -3
- package/umd/Tree.js +2 -2
- package/umd/Upload.js +2 -2
- package/umd/locale.js +1 -1
package/umd/Slider.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},86010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{Z:function(){return o}})},18872:function(e,t,n){(t=n(23645)(!1)).push([e.id,".paraui-v4-slider{position:relative;height:2px;padding:0;width:100%;border-radius:4px;touch-action:none;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-v4-slider .component-slider-rail{position:absolute;width:100%;background-color:#eaecf1;height:2px;border-radius:4px}.paraui-v4-slider .component-slider-track{position:absolute;left:0;height:2px;border-radius:4px;background-color:#2e65e6}.paraui-v4-slider .component-slider-handle{position:absolute;width:12px;height:12px;cursor:pointer;margin-top:-5px;border-radius:50%;border:solid 2px #2e65e6;background-color:#fff;touch-action:pan-x}.paraui-v4-slider .component-slider-handle-dragging{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa}.paraui-v4-slider .component-slider-handle:focus{outline:none}.paraui-v4-slider .component-slider-handle-click-focused:focus{border-color:#2e65e6;box-shadow:unset}.paraui-v4-slider .component-slider-handle:hover{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa}.paraui-v4-slider .component-slider-handle:active{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa;cursor:grabbing}.paraui-v4-slider .component-slider-mark{position:absolute;top:8px;left:0;width:100%;font-size:12px}.paraui-v4-slider .component-slider-mark-text{position:absolute;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;color:#5c6573}.paraui-v4-slider .component-slider-mark-text-active{color:#5c6573}.paraui-v4-slider .component-slider-step{position:absolute;width:100%;height:2px;background:rgba(0,0,0,0)}.paraui-v4-slider .component-slider-dot{position:absolute;bottom:-3px;margin-left:-4px;width:8px;height:8px;border:solid 2px #eaecf1;background-color:#fff;cursor:pointer;border-radius:50%;vertical-align:middle}.paraui-v4-slider .component-slider-dot-active{border-color:#2e65e6}.paraui-v4-slider .component-slider-dot-reverse{margin-right:-4px}.paraui-v4-slider.component-slider-disabled{background-color:#eaecf1}.paraui-v4-slider.component-slider-disabled .component-slider-handle{box-shadow:none !important;outline:none !important}.paraui-v4-slider.component-slider-disabled .component-slider-track{background-color:#a1a8b3}.paraui-v4-slider.component-slider-disabled .component-slider-handle,.paraui-v4-slider.component-slider-disabled .component-slider-dot{border-color:#a1a8b3;box-shadow:none;background-color:#fff;cursor:not-allowed}.paraui-v4-slider.component-slider-disabled .component-slider-mark-text,.paraui-v4-slider.component-slider-disabled .component-slider-dot{cursor:not-allowed !important}.paraui-v4-slider.component-slider-vertical{width:14px;height:100%;padding:0 5px}.paraui-v4-slider.component-slider-vertical .component-slider-rail{height:100%;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-track{left:5px;bottom:0;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-handle{margin-left:-4px;touch-action:pan-y}.paraui-v4-slider.component-slider-vertical .component-slider-mark{top:0;left:18px;height:100%}.paraui-v4-slider.component-slider-vertical .component-slider-step{height:100%;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-dot{left:0px;margin-bottom:-4px}.paraui-v4-slider.component-slider-vertical .component-slider-dot:first-child{margin-bottom:-4px;margin-left:-2px}.paraui-v4-slider.component-slider-vertical .component-slider-dot:last-child{margin-bottom:-4px;margin-left:-2px}.component-slider-tooltip{position:absolute;display:block;left:-9999px;top:-9999px;max-width:250px;z-index:1500;visibility:visible;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.component-slider-tooltip-hidden{display:none}.component-slider-tooltip-inner{min-width:24px;font-size:14px;line-height:1;color:#5c6573;text-align:center;text-decoration:none;background-color:rgba(0,0,0,0);border-radius:6px;white-space:nowrap;box-shadow:none}.component-slider-tooltip-placement-top{top:-18px !important}.component-slider-tooltip-zoom-down-enter,.component-slider-tooltip-zoom-down-appear{animation-duration:.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.component-slider-tooltip-zoom-down-leave{animation-duration:.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.component-slider-tooltip-zoom-down-enter.component-slider-tooltip-zoom-down-enter-active,.component-slider-tooltip-zoom-down-appear.component-slider-tooltip-zoom-down-appear-active{animation-name:sliderTooltipZoomDownIn;animation-play-state:running}.component-slider-tooltip-zoom-down-leave.component-slider-tooltip-zoom-down-leave-active{animation-name:sliderTooltipZoomDownOut;animation-play-state:running}.component-slider-tooltip-zoom-down-enter,.component-slider-tooltip-zoom-down-appear{transform:scale(0, 0);animation-timing-function:cubic-bezier(0.23, 1, 0.32, 1)}.component-slider-tooltip-zoom-down-leave{animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06)}@keyframes sliderTooltipZoomDownIn{0%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}100%{transform-origin:50% 100%;transform:scale(1, 1)}}@keyframes sliderTooltipZoomDownOut{0%{transform-origin:50% 100%;transform:scale(1, 1)}100%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}}",""]),e.exports=t},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,u=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(u),"/*# ".concat(s," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,u,s;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var u=0;u<e.length;u++){var s=[].concat(e[u]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},15407:function(e,t,n){"use strict";var r=n(4942),o=n(1413),i=n(93324),a=n(71002),u=n(8156),s=n(34203),c=n(42550),l=n(94184),f=n.n(l),p=n(94159),d=n(21279),h=n(72215),v=n(44154),m=n(10179);t.Z=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var l=u.forwardRef((function(e,t){var a=e.visible,l=void 0===a||a,y=e.removeOnLeave,g=void 0===y||y,b=e.forceRender,w=e.children,Z=e.motionName,E=e.leavedClassName,x=e.eventProps,k=n(e),O=(0,u.useRef)(),M=(0,u.useRef)();var C=(0,h.Z)(k,l,(function(){try{return(0,s.Z)(O.current||M.current)}catch(e){return null}}),e),S=(0,i.Z)(C,4),T=S[0],P=S[1],N=S[2],_=S[3],D=u.useRef(_);_&&(D.current=!0);var L=(0,u.useRef)(t);L.current=t;var A,R=u.useCallback((function(e){O.current=e,(0,c.mH)(L.current,e)}),[]),j=(0,o.Z)((0,o.Z)({},x),{},{visible:l});if(w)if(T!==d.ib&&n(e)){var H,V;P===d.yH?V="prepare":(0,m.zh)(P)?V="active":P===d.$D&&(V="start"),A=w((0,o.Z)((0,o.Z)({},j),{},{className:f()((0,p.mL)(Z,T),(H={},(0,r.Z)(H,(0,p.mL)(Z,"".concat(T,"-").concat(V)),V),(0,r.Z)(H,Z,"string"==typeof Z),H)),style:N}),R)}else A=_?w((0,o.Z)({},j),R):!g&&D.current?w((0,o.Z)((0,o.Z)({},j),{},{className:E}),R):b?w((0,o.Z)((0,o.Z)({},j),{},{style:{display:"none"}}),R):null;else A=null;return u.createElement(v.Z,{ref:M},A)}));return l.displayName="CSSMotion",l}(p.Cq)},84173:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(1413),a=n(15671),u=n(43144),s=n(60136),c=n(29388),l=n(8156),f=n(15407),p=n(94159),d=n(52378),h=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.Z,n=function(e){(0,s.Z)(f,e);var n=(0,c.Z)(f);function f(){var e;return(0,a.Z)(this,f),(e=n.apply(this,arguments)).state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:(0,i.Z)((0,i.Z)({},e),{},{status:d.Td})}))}}))},e}return(0,u.Z)(f,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,i=this.props,a=i.component,u=i.children,s=i.onVisibleChanged,c=(0,o.Z)(i,["component","children","onVisibleChanged"]),f=a||l.Fragment,p={};return h.forEach((function(e){p[e]=c[e],delete c[e]})),delete c.keys,l.createElement(f,c,n.map((function(n){var i=n.status,a=(0,o.Z)(n,["status"]),c=i===d.zM||i===d.ff;return l.createElement(t,(0,r.Z)({},p,{key:a.key,visible:c,eventProps:a,onVisibleChanged:function(t){null==s||s(t,{key:a.key}),t||e.removeKey(a.key)}}),u)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=(0,d.l4)(n);return{keyEntities:(0,d.uz)(r,o).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==d.Td||e.status!==d.p4}))}}}]),f}(l.Component);n.defaultProps={component:"div"}}(p.Cq)},44154:function(e,t,n){"use strict";var r=n(15671),o=n(43144),i=n(60136),a=n(29388),u=n(8156),s=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component);t.Z=s},68377:function(e,t,n){"use strict";var r=n(8156),o=n(94159);t.Z=function(e){var t=(0,r.useRef)(),n=(0,r.useRef)(e);n.current=e;var i=r.useCallback((function(e){n.current(e)}),[]);function a(e){e&&(e.removeEventListener(o.SG,i),e.removeEventListener(o.nI,i))}return r.useEffect((function(){return function(){a(t.current)}}),[]),[function(e){t.current&&t.current!==e&&a(t.current),e&&e!==t.current&&(e.addEventListener(o.SG,i),e.addEventListener(o.nI,i),t.current=e)},a]}},10586:function(e,t,n){"use strict";var r=n(8156),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect;t.Z=o},54194:function(e,t,n){"use strict";var r=n(8156),o=n(75164);t.Z=function(){var e=r.useRef(null);function t(){o.Z.cancel(e.current)}return r.useEffect((function(){return function(){t()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,o.Z)((function(){i<=1?r({isCanceled:function(){return a!==e.current}}):n(r,i-1)}));e.current=a},t]}},56740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(93324),o=n(8156);function i(e){var t=(0,o.useRef)(!1),n=(0,o.useState)(e),i=(0,r.Z)(n,2),a=i[0],u=i[1];return(0,o.useEffect)((function(){return function(){t.current=!0}}),[]),[a,function(e){t.current||u(e)}]}},72215:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1413),o=n(4942),i=n(93324),a=n(8156),u=n(21279),s=n(56740),c=n(10586),l=n(10179),f=n(68377);function p(e,t,n,p){var d=p.motionEnter,h=void 0===d||d,v=p.motionAppear,m=void 0===v||v,y=p.motionLeave,g=void 0===y||y,b=p.motionDeadline,w=p.motionLeaveImmediately,Z=p.onAppearPrepare,E=p.onEnterPrepare,x=p.onLeavePrepare,k=p.onAppearStart,O=p.onEnterStart,M=p.onLeaveStart,C=p.onAppearActive,S=p.onEnterActive,T=p.onLeaveActive,P=p.onAppearEnd,N=p.onEnterEnd,_=p.onLeaveEnd,D=p.onVisibleChanged,L=(0,s.Z)(),A=(0,i.Z)(L,2),R=A[0],j=A[1],H=(0,s.Z)(u.ib),V=(0,i.Z)(H,2),I=V[0],F=V[1],B=(0,s.Z)(null),U=(0,i.Z)(B,2),W=U[0],z=U[1],G=(0,a.useRef)(!1),Y=(0,a.useRef)(null),X=(0,a.useRef)(!1),K=(0,a.useRef)(null);function q(){return n()||K.current}var Q=(0,a.useRef)(!1);function $(e){var t,n=q();e&&!e.deadline&&e.target!==n||(I===u.LO&&Q.current?t=null==P?void 0:P(n,e):I===u.Df&&Q.current?t=null==N?void 0:N(n,e):I===u.jf&&Q.current&&(t=null==_?void 0:_(n,e)),!1===t||X.current||(F(u.ib),z(null)))}var J=(0,f.Z)($),ee=(0,i.Z)(J,1)[0],te=a.useMemo((function(){var e,t,n;switch(I){case"appear":return e={},(0,o.Z)(e,u.yH,Z),(0,o.Z)(e,u.$D,k),(0,o.Z)(e,u.fh,C),e;case"enter":return t={},(0,o.Z)(t,u.yH,E),(0,o.Z)(t,u.$D,O),(0,o.Z)(t,u.fh,S),t;case"leave":return n={},(0,o.Z)(n,u.yH,x),(0,o.Z)(n,u.$D,M),(0,o.Z)(n,u.fh,T),n;default:return{}}}),[I]),ne=(0,l.ZP)(I,(function(e){if(e===u.yH){var t=te[u.yH];return t?t(q()):l.I5}var n;ie in te&&z((null===(n=te[ie])||void 0===n?void 0:n.call(te,q(),null))||null);return ie===u.fh&&(ee(q()),b>0&&(clearTimeout(Y.current),Y.current=setTimeout((function(){$({deadline:!0})}),b))),l.eF})),re=(0,i.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,l.zh)(ie);Q.current=ae,(0,c.Z)((function(){j(t);var n,r=G.current;(G.current=!0,e)&&(!r&&t&&m&&(n=u.LO),r&&t&&h&&(n=u.Df),(r&&!t&&g||!r&&w&&!t&&g)&&(n=u.jf),n&&(F(n),oe()))}),[t]),(0,a.useEffect)((function(){(I===u.LO&&!m||I===u.Df&&!h||I===u.jf&&!g)&&F(u.ib)}),[m,h,g]),(0,a.useEffect)((function(){return function(){clearTimeout(Y.current),X.current=!0}}),[]),(0,a.useEffect)((function(){void 0!==R&&I===u.ib&&(null==D||D(R))}),[R,I]);var ue=W;return te[u.yH]&&ie===u.$D&&(ue=(0,r.Z)({transition:"none"},ue)),[I,ie,ue,null!=R?R:t]}},10179:function(e,t,n){"use strict";n.d(t,{I5:function(){return c},eF:function(){return l},zh:function(){return f}});var r=n(93324),o=n(8156),i=n(21279),a=n(10586),u=n(54194),s=[i.yH,i.$D,i.fh,i.cD],c=!1,l=!0;function f(e){return e===i.fh||e===i.cD}t.ZP=function(e,t){var n=o.useState(i.EQ),l=(0,r.Z)(n,2),f=l[0],p=l[1],d=(0,u.Z)(),h=(0,r.Z)(d,2),v=h[0],m=h[1];return(0,a.Z)((function(){if(f!==i.EQ&&f!==i.cD){var e=s.indexOf(f),n=s[e+1],r=t(f);r===c?p(n):v((function(e){function t(){e.isCanceled()||p(n)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,f]),o.useEffect((function(){return function(){m()}}),[]),[function(){p(i.yH)},f]}},93587:function(e,t,n){"use strict";var r=n(15407);n(84173);t.Z=r.Z},21279:function(e,t,n){"use strict";n.d(t,{$D:function(){return c},Df:function(){return i},EQ:function(){return u},LO:function(){return o},cD:function(){return f},fh:function(){return l},ib:function(){return r},jf:function(){return a},yH:function(){return s}});var r="none",o="appear",i="enter",a="leave",u="none",s="prepare",c="start",l="active",f="end"},52378:function(e,t,n){"use strict";n.d(t,{Td:function(){return s},ff:function(){return a},l4:function(){return l},p4:function(){return u},uz:function(){return f},zM:function(){return i}});var r=n(1413),o=n(71002),i="add",a="keep",u="remove",s="removed";function c(e){var t;return t=e&&"object"===(0,o.Z)(e)&&"key"in e?e:{key:e},(0,r.Z)((0,r.Z)({},t),{},{key:String(t.key)})}function l(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,s=t.length,c=l(e),f=l(t);c.forEach((function(e){for(var t=!1,c=o;c<s;c+=1){var l=f[c];if(l.key===e.key){o<c&&(n=n.concat(f.slice(o,c).map((function(e){return(0,r.Z)((0,r.Z)({},e),{},{status:i})}))),o=c),n.push((0,r.Z)((0,r.Z)({},l),{},{status:a})),o+=1,t=!0;break}}t||n.push((0,r.Z)((0,r.Z)({},e),{},{status:u}))})),o<s&&(n=n.concat(f.slice(o).map((function(e){return(0,r.Z)((0,r.Z)({},e),{},{status:i})}))));var p={};return n.forEach((function(e){var t=e.key;p[t]=(p[t]||0)+1})),Object.keys(p).filter((function(e){return p[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==u}))).forEach((function(t){t.key===e&&(t.status=a)}))})),n}},94159:function(e,t,n){"use strict";n.d(t,{Cq:function(){return m},SG:function(){return g},mL:function(){return b},nI:function(){return y}});var r=n(71002),o=n(98924);function i(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var a,u,s,c=(a=(0,o.Z)(),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.Z)()){var f=document.createElement("div");l=f.style}var p={};function d(e){if(p[e])return p[e];var t=c[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in l)return p[e]=t[i],p[e]}return""}var h=d("animationend"),v=d("transitionend"),m=!(!h||!v),y=h||"animationend",g=v||"transitionend";function b(e,t){return e?"object"===(0,r.Z)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}},79483:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),u=n(8156),s=n(22117),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}},p=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle;return u.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t)},d=function(e,t){var n=e.overlayClassName,c=e.trigger,l=void 0===c?["hover"]:c,d=e.mouseEnterDelay,h=void 0===d?0:d,v=e.mouseLeaveDelay,m=void 0===v?.1:v,y=e.overlayStyle,g=e.prefixCls,b=void 0===g?"rc-tooltip":g,w=e.children,Z=e.onVisibleChange,E=e.afterVisibleChange,x=e.transitionName,k=e.animation,O=e.motion,M=e.placement,C=void 0===M?"right":M,S=e.align,T=void 0===S?{}:S,P=e.destroyTooltipOnHide,N=void 0!==P&&P,_=e.defaultVisible,D=e.getTooltipContainer,L=e.overlayInnerStyle,A=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),R=(0,u.useRef)(null);(0,u.useImperativeHandle)(t,(function(){return R.current}));var j=(0,i.Z)({},A);"visible"in e&&(j.popupVisible=e.visible);var H=!1,V=!1;if("boolean"==typeof N)H=N;else if(N&&"object"===(0,o.Z)(N)){var I=N.keepParent;H=!0===I,V=!1===I}return u.createElement(s.Z,(0,r.Z)({popupClassName:n,prefixCls:b,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,o=e.id;return[u.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),u.createElement(p,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:L})]},action:l,builtinPlacements:f,popupPlacement:C,ref:R,popupAlign:T,getPopupContainer:D,onPopupVisibleChange:Z,afterPopupVisibleChange:E,popupTransitionName:x,popupAnimation:k,popupMotion:O,defaultPopupVisible:_,destroyPopupOnHide:H,autoDestroy:V,mouseLeaveDelay:m,popupStyle:y,mouseEnterDelay:h},j),w)},h=(0,u.forwardRef)(d)},22117:function(e,t,n){"use strict";n.d(t,{Z:function(){return lt}});var r=n(1413),o=n(87462),i=n(15671),a=n(43144),u=n(97326),s=n(60136),c=n(29388),l=n(4942),f=n(8156),p=n.n(f),d=n(47111),h=n.n(d),v=n(75164),m=n(94999),y=n(34203),g=n(42550),b=n(64019),w=n(59015),Z=n(94184),E=n.n(Z);function x(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var k=n(93324),O=n(45987),M=n(31131),C=n(93587);function S(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function T(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,a=e.mask,u=e.maskMotion,s=e.maskAnimation,c=e.maskTransitionName;if(!a)return null;var l={};return(u||c||s)&&(l=(0,r.Z)({motionAppear:!0},S({motion:u,prefixCls:t,transitionName:c,animation:s}))),f.createElement(C.Z,(0,o.Z)({},l,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return f.createElement("div",{style:{zIndex:i},className:E()("".concat(t,"-mask"),n)})}))}var P,N=n(71002);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function j(){if(void 0!==P)return P;P="";var e=document.createElement("p").style;for(var t in R)t+"Transform"in e&&(P=t);return P}function H(){return j()?"".concat(j(),"TransitionProperty"):"transitionProperty"}function V(){return j()?"".concat(j(),"Transform"):"transform"}function I(e,t){var n=H();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function F(e,t){var n=V();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var B,U=/matrix\((.*)\)/,W=/matrix3d\((.*)\)/;function z(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function G(e,t,n){var r=n;if("object"!==L(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):B(e,t);for(var o in t)t.hasOwnProperty(o)&&G(e,o,t[o])}function Y(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function X(e){return Y(e)}function K(e){return Y(e,!0)}function q(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=X(r),t.top+=K(r),t}function Q(e){return null!=e&&e==e.window}function $(e){return Q(e)?e.document:9===e.nodeType?e:e.ownerDocument}var J=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),ee=/^(top|right|bottom|left)$/,te="currentStyle",ne="runtimeStyle",re="left";function oe(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ie(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function ae(e,t,n){"static"===G(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=oe("left",n),a=oe("top",n),u=ie(i),s=ie(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,l="",f=q(e);("left"in t||"top"in t)&&(l=(c=e).style.transitionProperty||c.style[H()]||"",I(e,"none")),"left"in t&&(e.style[u]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[s]="",e.style[a]="".concat(o,"px")),z(e);var p=q(e),d={};for(var h in t)if(t.hasOwnProperty(h)){var v=oe(h,n),m="left"===h?r:o,y=f[h]-p[h];d[v]=v===h?m+y:m-y}G(e,d),z(e),("left"in t||"top"in t)&&I(e,l);var g={};for(var b in t)if(t.hasOwnProperty(b)){var w=oe(b,n),Z=t[b]-f[b];g[w]=b===w?d[w]+Z:d[w]-Z}G(e,g)}function ue(e,t){var n=q(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(V());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}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(V());if(r&&"none"!==r){var o,i=r.match(U);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,F(e,"matrix(".concat(o.join(","),")"))):((o=r.match(W)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,F(e,"matrix3d(".concat(o.join(","),")")))}else F(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}function se(e,t){for(var n=0;n<e.length;n++)t(e[n])}function ce(e){return"border-box"===B(e,"boxSizing")}"undefined"!=typeof window&&(B=window.getComputedStyle?function(e,t,n){var r=n,o="",i=$(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e[te]&&e[te][t];if(J.test(n)&&!ee.test(t)){var r=e.style,o=r[re],i=e[ne][re];e[ne][re]=e[te][re],r[re]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[re]=o,e[ne][re]=i}return""===n?"auto":n});var le=["margin","border","padding"],fe=-1,pe=2,de=1;function he(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[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(B(e,u))||0}return a}var ve={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function me(e,t,n){var r=n;if(Q(e))return"width"===t?ve.viewportWidth(e):ve.viewportHeight(e);if(9===e.nodeType)return"width"===t?ve.docWidth(e):ve.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=ce(e),u=0;(null==i||i<=0)&&(i=void 0,(null==(u=B(e,t))||Number(u)<0)&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?de:fe);var s=void 0!==i||a,c=i||u;return r===fe?s?c-he(e,["border","padding"],o):u:s?r===de?c:c+(r===pe?-he(e,["border"],o):he(e,["margin"],o)):u+he(e,le.slice(r),o)}se(["Width","Height"],(function(e){ve["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],ve["viewport".concat(e)](n))},ve["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var ye={position:"absolute",visibility:"hidden",display:"block"};function ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=me.apply(void 0,t):function(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}(o,ye,(function(){r=me.apply(void 0,t)})),r}function be(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}se(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);ve["outer".concat(t)]=function(t,n){return t&&ge(t,e,n?0:de)};var n="width"===e?["Left","Right"]:["Top","Bottom"];ve[e]=function(t,r){var o=r;return void 0!==o?t?(ce(t)&&(o+=he(t,["padding","border"],n)),G(t,e,o)):void 0:t&&ge(t,e,fe)}}));var we={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:$,offset:function(e,t,n){if(void 0===t)return q(e);!function(e,t,n){if(n.ignoreShake){var r=q(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),u=t.top.toFixed(0);if(o===a&&i===u)return}n.useCssRight||n.useCssBottom?ae(e,t,n):n.useCssTransform&&V()in document.body.style?ue(e,t):ae(e,t,n)}(e,t,n||{})},isWindow:Q,each:se,css:G,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:be,getWindowScrollLeft:function(e){return X(e)},getWindowScrollTop:function(e){return K(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)we.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};be(we,ve);var Ze=we.getParent;function Ee(e){if(we.isWindow(e)||9===e.nodeType)return null;var t,n=we.getDocument(e).body,r=we.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:Ze(e);for(t=Ze(e);t&&t!==n&&9!==t.nodeType;t=Ze(t))if("static"!==(r=we.css(t,"position")))return t;return null}var xe=we.getParent;function ke(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Ee(e),o=we.getDocument(e),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"===we.css(r,"overflow")){if(r===a||r===u)break}else{var s=we.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=Ee(r)}var c=null;we.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===we.css(e,"position")&&(e.style.position="fixed"));var l=we.getWindowScrollLeft(i),f=we.getWindowScrollTop(i),p=we.viewportWidth(i),d=we.viewportHeight(i),h=u.scrollWidth,v=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(h=i.innerWidth),"hidden"===m.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if(we.isWindow(e)||9===e.nodeType)return!1;var t=we.getDocument(e),n=t.body,r=null;for(r=xe(e);r&&r!==n&&r!==t;r=xe(r))if("fixed"===we.css(r,"position"))return!0;return!1}(e))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(h,l+p);n.right=Math.min(n.right,y);var g=Math.max(v,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 Oe(e){var t,n,r;if(we.isWindow(e)||9===e.nodeType){var o=we.getWindow(e);t={left:we.getWindowScrollLeft(o),top:we.getWindowScrollTop(o)},n=we.viewportWidth(o),r=we.viewportHeight(o)}else t=we.offset(e),n=we.outerWidth(e),r=we.outerHeight(e);return t.width=n,t.height=r,t}function Me(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,u=e.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 Ce(e,t,n,r,o){var i=Me(t,n[1]),a=Me(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+r[0]-o[0]),top:Math.round(e.top-u[1]+r[1]-o[1])}}function Se(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Te(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function Pe(e,t,n){var r=[];return we.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Ne(e,t){return e[t]=-e[t],e}function _e(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function De(e,t){e[0]=_e(e[0],t.width),e[1]=_e(e[1],t.height)}function Le(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a);var c={},l=0,f=ke(s,!(!(u=u||{})||!u.alwaysByViewport)),p=Oe(s);De(i,p),De(a,t);var d=Ce(p,t,o,i,a),h=we.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&Se(d,p,f)){var v=Pe(o,/[lr]/gi,{l:"r",r:"l"}),m=Ne(i,0),y=Ne(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(Ce(p,t,v,m,y),p,f)||(l=1,o=v,i=m,a=y)}if(u.adjustY&&Te(d,p,f)){var g=Pe(o,/[tb]/gi,{t:"b",b:"t"}),b=Ne(i,1),w=Ne(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(Ce(p,t,g,b,w),p,f)||(l=1,o=g,i=b,a=w)}l&&(d=Ce(p,t,o,i,a),we.mix(h,d));var Z=Se(d,p,f),E=Te(d,p,f);if(Z||E){var x=o;Z&&(x=Pe(o,/[lr]/gi,{l:"r",r:"l"})),E&&(x=Pe(o,/[tb]/gi,{t:"b",b:"t"})),o=x,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=u.adjustX&&Z,c.adjustY=u.adjustY&&E,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=we.clone(e),i={width:t.width,height:t.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)),we.mix(o,i)}(d,p,f,c))}return h.width!==p.width&&we.css(s,"width",we.width(s)+h.width-p.width),h.height!==p.height&&we.css(s,"height",we.height(s)+h.height-p.height),we.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function Ae(e,t,n){var r=n.target||t,o=Oe(r),i=!function(e,t){var n=ke(e,t),r=Oe(e);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 Le(e,o,n,i)}Ae.__getOffsetParent=Ee,Ae.__getVisibleRectForElement=ke;var Re=n(91881),je=n(5110),He=n(8410),Ve=n(91033);function Ie(e,t){var n=null,r=null;var o=new Ve.default((function(e){var o=(0,k.Z)(e,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(){t({width:s,height:c})})),n=s,r=c}}));return e&&o.observe(e),function(){o.disconnect()}}function Fe(e){return"function"!=typeof e?null:e()}function Be(e){return"object"===(0,N.Z)(e)&&e?e:null}var Ue=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,u=e.monitorWindowResize,s=e.monitorBufferTime,c=void 0===s?0:s,l=p().useRef({}),f=p().useRef(),d=p().Children.only(n),h=p().useRef({});h.current.disabled=r,h.current.target=o,h.current.align=i,h.current.onAlign=a;var v=function(e,t){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()}),t);else{if(!1===e(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}((function(){var e=h.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign,i=f.current;if(!t&&n&&i){var a,u=Fe(n),s=Be(n);l.current.element=u,l.current.point=s,l.current.align=r;var c=document.activeElement;return u&&(0,je.Z)(u)?a=Ae(i,u,r):s&&(a=function(e,t,n){var r,o,i=we.getDocument(e),a=i.defaultView||i.parentWindow,u=we.getWindowScrollLeft(a),s=we.getWindowScrollTop(a),c=we.viewportWidth(a),l=we.viewportHeight(a),f={left:r="pageX"in t?t.pageX:u+t.clientX,top:o="pageY"in t?t.pageY:s+t.clientY,width:0,height:0},p=r>=0&&r<=u+c&&o>=0&&o<=s+l,d=[n.points[0],"cc"];return Le(e,f,D(D({},n),{},{points:d}),p)}(i,s,r)),function(e,t){e!==document.activeElement&&(0,m.Z)(t,e)&&"function"==typeof e.focus&&e.focus()}(c,i),o&&a&&o(i,a),!0}return!1}),c),y=(0,k.Z)(v,2),w=y[0],Z=y[1],E=p().useState(),x=(0,k.Z)(E,2),O=x[0],M=x[1],C=p().useState(),S=(0,k.Z)(C,2),T=S[0],P=S[1];return(0,He.Z)((function(){M(Fe(o)),P(Be(o))})),p().useEffect((function(){var e,t;l.current.element===O&&((e=l.current.point)===(t=T)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&(0,Re.Z)(l.current.align,i)||w()})),p().useEffect((function(){return Ie(f.current,w)}),[f.current]),p().useEffect((function(){return Ie(O,w)}),[O]),p().useEffect((function(){r?Z():w()}),[r]),p().useEffect((function(){if(u)return(0,b.Z)(window,"resize",w).remove}),[u]),p().useEffect((function(){return function(){Z()}}),[]),p().useImperativeHandle(t,(function(){return{forceAlign:function(){return w(!0)}}})),p().isValidElement(d)&&(d=p().cloneElement(d,{ref:(0,g.sQ)(d.ref,f)})),d},We=p().forwardRef(Ue);We.displayName="Align";var ze=We;function Ge(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
6
|
+
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&e.push(a)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},86010:function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{Z:function(){return o}})},18872:function(e,t,n){(t=n(23645)(!1)).push([e.id,".paraui-v4-slider{position:relative;height:2px;padding:0;width:100%;border-radius:4px;touch-action:none;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-v4-slider .component-slider-rail{position:absolute;width:100%;background-color:#eaecf1;height:2px;border-radius:4px}.paraui-v4-slider .component-slider-track{position:absolute;left:0;height:2px;border-radius:4px;background-color:#2e65e6}.paraui-v4-slider .component-slider-handle{position:absolute;width:12px;height:12px;cursor:pointer;margin-top:-5px;border-radius:50%;border:solid 2px #2e65e6;background-color:#fff;touch-action:pan-x}.paraui-v4-slider .component-slider-handle-dragging{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa}.paraui-v4-slider .component-slider-handle:focus{outline:none}.paraui-v4-slider .component-slider-handle-click-focused:focus{border-color:#2e65e6;box-shadow:unset}.paraui-v4-slider .component-slider-handle:hover{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa}.paraui-v4-slider .component-slider-handle:active{border-color:#2e65e6;box-shadow:0 0 5px #d5e0fa;outline:2px solid #d5e0fa;cursor:grabbing}.paraui-v4-slider .component-slider-mark{position:absolute;top:8px;left:0;width:100%;font-size:12px}.paraui-v4-slider .component-slider-mark-text{position:absolute;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;color:#1d2126}.paraui-v4-slider .component-slider-mark-text-active{color:#1d2126}.paraui-v4-slider .component-slider-step{position:absolute;width:100%;height:2px;background:rgba(0,0,0,0)}.paraui-v4-slider .component-slider-dot{position:absolute;bottom:-3px;margin-left:-4px;width:8px;height:8px;border:solid 2px #eaecf1;background-color:#fff;cursor:pointer;border-radius:50%;vertical-align:middle}.paraui-v4-slider .component-slider-dot:hover{border-color:#2e65e6;box-shadow:0 0 4px #d5e0fa;outline:2px solid #d5e0fa}.paraui-v4-slider .component-slider-dot-active{border-color:#2e65e6}.paraui-v4-slider .component-slider-dot-reverse{margin-right:-4px}.paraui-v4-slider.component-slider-disabled{background-color:#eaecf1}.paraui-v4-slider.component-slider-disabled .component-slider-handle{box-shadow:none !important;outline:none !important}.paraui-v4-slider.component-slider-disabled .component-slider-track{background-color:#a1a8b3}.paraui-v4-slider.component-slider-disabled .component-slider-handle,.paraui-v4-slider.component-slider-disabled .component-slider-dot{border-color:#a1a8b3;box-shadow:none;background-color:#fff;cursor:not-allowed}.paraui-v4-slider.component-slider-disabled .component-slider-mark-text,.paraui-v4-slider.component-slider-disabled .component-slider-dot{cursor:not-allowed !important}.paraui-v4-slider.component-slider-vertical{width:14px;height:100%;padding:0 5px}.paraui-v4-slider.component-slider-vertical .component-slider-rail{height:100%;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-track{left:5px;bottom:0;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-handle{margin-left:-4px;touch-action:pan-y}.paraui-v4-slider.component-slider-vertical .component-slider-mark{top:0;left:18px;height:100%}.paraui-v4-slider.component-slider-vertical .component-slider-step{height:100%;width:4px}.paraui-v4-slider.component-slider-vertical .component-slider-dot{left:0px;margin-bottom:-4px}.paraui-v4-slider.component-slider-vertical .component-slider-dot:first-child{margin-bottom:-4px;margin-left:-2px}.paraui-v4-slider.component-slider-vertical .component-slider-dot:last-child{margin-bottom:-4px;margin-left:-2px}.component-slider-tooltip{position:absolute;display:block;left:-9999px;top:-9999px;max-width:250px;z-index:1500;visibility:visible;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.component-slider-tooltip-hidden{display:none}.component-slider-tooltip-inner{min-width:24px;font-size:14px;line-height:1;color:#5c6573;text-align:center;text-decoration:none;background-color:rgba(0,0,0,0);border-radius:6px;white-space:nowrap;box-shadow:none}.component-slider-tooltip-placement-top{top:-18px !important}.component-slider-tooltip-zoom-down-enter,.component-slider-tooltip-zoom-down-appear{animation-duration:.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.component-slider-tooltip-zoom-down-leave{animation-duration:.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.component-slider-tooltip-zoom-down-enter.component-slider-tooltip-zoom-down-enter-active,.component-slider-tooltip-zoom-down-appear.component-slider-tooltip-zoom-down-appear-active{animation-name:sliderTooltipZoomDownIn;animation-play-state:running}.component-slider-tooltip-zoom-down-leave.component-slider-tooltip-zoom-down-leave-active{animation-name:sliderTooltipZoomDownOut;animation-play-state:running}.component-slider-tooltip-zoom-down-enter,.component-slider-tooltip-zoom-down-appear{transform:scale(0, 0);animation-timing-function:cubic-bezier(0.23, 1, 0.32, 1)}.component-slider-tooltip-zoom-down-leave{animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06)}@keyframes sliderTooltipZoomDownIn{0%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}100%{transform-origin:50% 100%;transform:scale(1, 1)}}@keyframes sliderTooltipZoomDownOut{0%{transform-origin:50% 100%;transform:scale(1, 1)}100%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}}",""]),e.exports=t},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,u=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(u),"/*# ".concat(s," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,u,s;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var u=0;u<e.length;u++){var s=[].concat(e[u]);r&&o[s[0]]||(n&&(s[2]?s[2]="".concat(n," and ").concat(s[2]):s[2]=n),t.push(s))}},t}},15407:function(e,t,n){"use strict";var r=n(4942),o=n(1413),i=n(93324),a=n(71002),u=n(8156),s=n(34203),c=n(42550),l=n(94184),f=n.n(l),p=n(94159),d=n(21279),h=n(72215),v=n(44154),m=n(10179);t.Z=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var l=u.forwardRef((function(e,t){var a=e.visible,l=void 0===a||a,y=e.removeOnLeave,g=void 0===y||y,b=e.forceRender,w=e.children,Z=e.motionName,E=e.leavedClassName,x=e.eventProps,k=n(e),O=(0,u.useRef)(),M=(0,u.useRef)();var C=(0,h.Z)(k,l,(function(){try{return(0,s.Z)(O.current||M.current)}catch(e){return null}}),e),S=(0,i.Z)(C,4),T=S[0],P=S[1],N=S[2],_=S[3],D=u.useRef(_);_&&(D.current=!0);var L=(0,u.useRef)(t);L.current=t;var A,R=u.useCallback((function(e){O.current=e,(0,c.mH)(L.current,e)}),[]),j=(0,o.Z)((0,o.Z)({},x),{},{visible:l});if(w)if(T!==d.ib&&n(e)){var H,V;P===d.yH?V="prepare":(0,m.zh)(P)?V="active":P===d.$D&&(V="start"),A=w((0,o.Z)((0,o.Z)({},j),{},{className:f()((0,p.mL)(Z,T),(H={},(0,r.Z)(H,(0,p.mL)(Z,"".concat(T,"-").concat(V)),V),(0,r.Z)(H,Z,"string"==typeof Z),H)),style:N}),R)}else A=_?w((0,o.Z)({},j),R):!g&&D.current?w((0,o.Z)((0,o.Z)({},j),{},{className:E}),R):b?w((0,o.Z)((0,o.Z)({},j),{},{style:{display:"none"}}),R):null;else A=null;return u.createElement(v.Z,{ref:M},A)}));return l.displayName="CSSMotion",l}(p.Cq)},84173:function(e,t,n){"use strict";var r=n(87462),o=n(45987),i=n(1413),a=n(15671),u=n(43144),s=n(60136),c=n(29388),l=n(8156),f=n(15407),p=n(94159),d=n(52378),h=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.Z,n=function(e){(0,s.Z)(f,e);var n=(0,c.Z)(f);function f(){var e;return(0,a.Z)(this,f),(e=n.apply(this,arguments)).state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:(0,i.Z)((0,i.Z)({},e),{},{status:d.Td})}))}}))},e}return(0,u.Z)(f,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,i=this.props,a=i.component,u=i.children,s=i.onVisibleChanged,c=(0,o.Z)(i,["component","children","onVisibleChanged"]),f=a||l.Fragment,p={};return h.forEach((function(e){p[e]=c[e],delete c[e]})),delete c.keys,l.createElement(f,c,n.map((function(n){var i=n.status,a=(0,o.Z)(n,["status"]),c=i===d.zM||i===d.ff;return l.createElement(t,(0,r.Z)({},p,{key:a.key,visible:c,eventProps:a,onVisibleChanged:function(t){null==s||s(t,{key:a.key}),t||e.removeKey(a.key)}}),u)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,o=(0,d.l4)(n);return{keyEntities:(0,d.uz)(r,o).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==d.Td||e.status!==d.p4}))}}}]),f}(l.Component);n.defaultProps={component:"div"}}(p.Cq)},44154:function(e,t,n){"use strict";var r=n(15671),o=n(43144),i=n(60136),a=n(29388),u=n(8156),s=function(e){(0,i.Z)(n,e);var t=(0,a.Z)(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,o.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(u.Component);t.Z=s},68377:function(e,t,n){"use strict";var r=n(8156),o=n(94159);t.Z=function(e){var t=(0,r.useRef)(),n=(0,r.useRef)(e);n.current=e;var i=r.useCallback((function(e){n.current(e)}),[]);function a(e){e&&(e.removeEventListener(o.SG,i),e.removeEventListener(o.nI,i))}return r.useEffect((function(){return function(){a(t.current)}}),[]),[function(e){t.current&&t.current!==e&&a(t.current),e&&e!==t.current&&(e.addEventListener(o.SG,i),e.addEventListener(o.nI,i),t.current=e)},a]}},10586:function(e,t,n){"use strict";var r=n(8156),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect;t.Z=o},54194:function(e,t,n){"use strict";var r=n(8156),o=n(75164);t.Z=function(){var e=r.useRef(null);function t(){o.Z.cancel(e.current)}return r.useEffect((function(){return function(){t()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,o.Z)((function(){i<=1?r({isCanceled:function(){return a!==e.current}}):n(r,i-1)}));e.current=a},t]}},56740:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(93324),o=n(8156);function i(e){var t=(0,o.useRef)(!1),n=(0,o.useState)(e),i=(0,r.Z)(n,2),a=i[0],u=i[1];return(0,o.useEffect)((function(){return function(){t.current=!0}}),[]),[a,function(e){t.current||u(e)}]}},72215:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(1413),o=n(4942),i=n(93324),a=n(8156),u=n(21279),s=n(56740),c=n(10586),l=n(10179),f=n(68377);function p(e,t,n,p){var d=p.motionEnter,h=void 0===d||d,v=p.motionAppear,m=void 0===v||v,y=p.motionLeave,g=void 0===y||y,b=p.motionDeadline,w=p.motionLeaveImmediately,Z=p.onAppearPrepare,E=p.onEnterPrepare,x=p.onLeavePrepare,k=p.onAppearStart,O=p.onEnterStart,M=p.onLeaveStart,C=p.onAppearActive,S=p.onEnterActive,T=p.onLeaveActive,P=p.onAppearEnd,N=p.onEnterEnd,_=p.onLeaveEnd,D=p.onVisibleChanged,L=(0,s.Z)(),A=(0,i.Z)(L,2),R=A[0],j=A[1],H=(0,s.Z)(u.ib),V=(0,i.Z)(H,2),I=V[0],F=V[1],B=(0,s.Z)(null),U=(0,i.Z)(B,2),W=U[0],z=U[1],G=(0,a.useRef)(!1),Y=(0,a.useRef)(null),X=(0,a.useRef)(!1),K=(0,a.useRef)(null);function q(){return n()||K.current}var Q=(0,a.useRef)(!1);function $(e){var t,n=q();e&&!e.deadline&&e.target!==n||(I===u.LO&&Q.current?t=null==P?void 0:P(n,e):I===u.Df&&Q.current?t=null==N?void 0:N(n,e):I===u.jf&&Q.current&&(t=null==_?void 0:_(n,e)),!1===t||X.current||(F(u.ib),z(null)))}var J=(0,f.Z)($),ee=(0,i.Z)(J,1)[0],te=a.useMemo((function(){var e,t,n;switch(I){case"appear":return e={},(0,o.Z)(e,u.yH,Z),(0,o.Z)(e,u.$D,k),(0,o.Z)(e,u.fh,C),e;case"enter":return t={},(0,o.Z)(t,u.yH,E),(0,o.Z)(t,u.$D,O),(0,o.Z)(t,u.fh,S),t;case"leave":return n={},(0,o.Z)(n,u.yH,x),(0,o.Z)(n,u.$D,M),(0,o.Z)(n,u.fh,T),n;default:return{}}}),[I]),ne=(0,l.ZP)(I,(function(e){if(e===u.yH){var t=te[u.yH];return t?t(q()):l.I5}var n;ie in te&&z((null===(n=te[ie])||void 0===n?void 0:n.call(te,q(),null))||null);return ie===u.fh&&(ee(q()),b>0&&(clearTimeout(Y.current),Y.current=setTimeout((function(){$({deadline:!0})}),b))),l.eF})),re=(0,i.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,l.zh)(ie);Q.current=ae,(0,c.Z)((function(){j(t);var n,r=G.current;(G.current=!0,e)&&(!r&&t&&m&&(n=u.LO),r&&t&&h&&(n=u.Df),(r&&!t&&g||!r&&w&&!t&&g)&&(n=u.jf),n&&(F(n),oe()))}),[t]),(0,a.useEffect)((function(){(I===u.LO&&!m||I===u.Df&&!h||I===u.jf&&!g)&&F(u.ib)}),[m,h,g]),(0,a.useEffect)((function(){return function(){clearTimeout(Y.current),X.current=!0}}),[]),(0,a.useEffect)((function(){void 0!==R&&I===u.ib&&(null==D||D(R))}),[R,I]);var ue=W;return te[u.yH]&&ie===u.$D&&(ue=(0,r.Z)({transition:"none"},ue)),[I,ie,ue,null!=R?R:t]}},10179:function(e,t,n){"use strict";n.d(t,{I5:function(){return c},eF:function(){return l},zh:function(){return f}});var r=n(93324),o=n(8156),i=n(21279),a=n(10586),u=n(54194),s=[i.yH,i.$D,i.fh,i.cD],c=!1,l=!0;function f(e){return e===i.fh||e===i.cD}t.ZP=function(e,t){var n=o.useState(i.EQ),l=(0,r.Z)(n,2),f=l[0],p=l[1],d=(0,u.Z)(),h=(0,r.Z)(d,2),v=h[0],m=h[1];return(0,a.Z)((function(){if(f!==i.EQ&&f!==i.cD){var e=s.indexOf(f),n=s[e+1],r=t(f);r===c?p(n):v((function(e){function t(){e.isCanceled()||p(n)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,f]),o.useEffect((function(){return function(){m()}}),[]),[function(){p(i.yH)},f]}},93587:function(e,t,n){"use strict";var r=n(15407);n(84173);t.Z=r.Z},21279:function(e,t,n){"use strict";n.d(t,{$D:function(){return c},Df:function(){return i},EQ:function(){return u},LO:function(){return o},cD:function(){return f},fh:function(){return l},ib:function(){return r},jf:function(){return a},yH:function(){return s}});var r="none",o="appear",i="enter",a="leave",u="none",s="prepare",c="start",l="active",f="end"},52378:function(e,t,n){"use strict";n.d(t,{Td:function(){return s},ff:function(){return a},l4:function(){return l},p4:function(){return u},uz:function(){return f},zM:function(){return i}});var r=n(1413),o=n(71002),i="add",a="keep",u="remove",s="removed";function c(e){var t;return t=e&&"object"===(0,o.Z)(e)&&"key"in e?e:{key:e},(0,r.Z)((0,r.Z)({},t),{},{key:String(t.key)})}function l(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,s=t.length,c=l(e),f=l(t);c.forEach((function(e){for(var t=!1,c=o;c<s;c+=1){var l=f[c];if(l.key===e.key){o<c&&(n=n.concat(f.slice(o,c).map((function(e){return(0,r.Z)((0,r.Z)({},e),{},{status:i})}))),o=c),n.push((0,r.Z)((0,r.Z)({},l),{},{status:a})),o+=1,t=!0;break}}t||n.push((0,r.Z)((0,r.Z)({},e),{},{status:u}))})),o<s&&(n=n.concat(f.slice(o).map((function(e){return(0,r.Z)((0,r.Z)({},e),{},{status:i})}))));var p={};return n.forEach((function(e){var t=e.key;p[t]=(p[t]||0)+1})),Object.keys(p).filter((function(e){return p[e]>1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==u}))).forEach((function(t){t.key===e&&(t.status=a)}))})),n}},94159:function(e,t,n){"use strict";n.d(t,{Cq:function(){return m},SG:function(){return g},mL:function(){return b},nI:function(){return y}});var r=n(71002),o=n(98924);function i(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var a,u,s,c=(a=(0,o.Z)(),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.Z)()){var f=document.createElement("div");l=f.style}var p={};function d(e){if(p[e])return p[e];var t=c[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o<r;o+=1){var i=n[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in l)return p[e]=t[i],p[e]}return""}var h=d("animationend"),v=d("transitionend"),m=!(!h||!v),y=h||"animationend",g=v||"transitionend";function b(e,t){return e?"object"===(0,r.Z)(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}},79483:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(71002),i=n(1413),a=n(45987),u=n(8156),s=n(22117),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}},p=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle;return u.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t)},d=function(e,t){var n=e.overlayClassName,c=e.trigger,l=void 0===c?["hover"]:c,d=e.mouseEnterDelay,h=void 0===d?0:d,v=e.mouseLeaveDelay,m=void 0===v?.1:v,y=e.overlayStyle,g=e.prefixCls,b=void 0===g?"rc-tooltip":g,w=e.children,Z=e.onVisibleChange,E=e.afterVisibleChange,x=e.transitionName,k=e.animation,O=e.motion,M=e.placement,C=void 0===M?"right":M,S=e.align,T=void 0===S?{}:S,P=e.destroyTooltipOnHide,N=void 0!==P&&P,_=e.defaultVisible,D=e.getTooltipContainer,L=e.overlayInnerStyle,A=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),R=(0,u.useRef)(null);(0,u.useImperativeHandle)(t,(function(){return R.current}));var j=(0,i.Z)({},A);"visible"in e&&(j.popupVisible=e.visible);var H=!1,V=!1;if("boolean"==typeof N)H=N;else if(N&&"object"===(0,o.Z)(N)){var I=N.keepParent;H=!0===I,V=!1===I}return u.createElement(s.Z,(0,r.Z)({popupClassName:n,prefixCls:b,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,o=e.id;return[u.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),u.createElement(p,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:L})]},action:l,builtinPlacements:f,popupPlacement:C,ref:R,popupAlign:T,getPopupContainer:D,onPopupVisibleChange:Z,afterPopupVisibleChange:E,popupTransitionName:x,popupAnimation:k,popupMotion:O,defaultPopupVisible:_,destroyPopupOnHide:H,autoDestroy:V,mouseLeaveDelay:m,popupStyle:y,mouseEnterDelay:h},j),w)},h=(0,u.forwardRef)(d)},22117:function(e,t,n){"use strict";n.d(t,{Z:function(){return lt}});var r=n(1413),o=n(87462),i=n(15671),a=n(43144),u=n(97326),s=n(60136),c=n(29388),l=n(4942),f=n(8156),p=n.n(f),d=n(47111),h=n.n(d),v=n(75164),m=n(94999),y=n(34203),g=n(42550),b=n(64019),w=n(59015),Z=n(94184),E=n.n(Z);function x(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var k=n(93324),O=n(45987),M=n(31131),C=n(93587);function S(e){var t=e.prefixCls,n=e.motion,r=e.animation,o=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:o?{motionName:o}:null)}function T(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,a=e.mask,u=e.maskMotion,s=e.maskAnimation,c=e.maskTransitionName;if(!a)return null;var l={};return(u||c||s)&&(l=(0,r.Z)({motionAppear:!0},S({motion:u,prefixCls:t,transitionName:c,animation:s}))),f.createElement(C.Z,(0,o.Z)({},l,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return f.createElement("div",{style:{zIndex:i},className:E()("".concat(t,"-mask"),n)})}))}var P,N=n(71002);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function j(){if(void 0!==P)return P;P="";var e=document.createElement("p").style;for(var t in R)t+"Transform"in e&&(P=t);return P}function H(){return j()?"".concat(j(),"TransitionProperty"):"transitionProperty"}function V(){return j()?"".concat(j(),"Transform"):"transform"}function I(e,t){var n=H();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function F(e,t){var n=V();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var B,U=/matrix\((.*)\)/,W=/matrix3d\((.*)\)/;function z(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function G(e,t,n){var r=n;if("object"!==L(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):B(e,t);for(var o in t)t.hasOwnProperty(o)&&G(e,o,t[o])}function Y(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function X(e){return Y(e)}function K(e){return Y(e,!0)}function q(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),r=Math.floor(t.top),{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=X(r),t.top+=K(r),t}function Q(e){return null!=e&&e==e.window}function $(e){return Q(e)?e.document:9===e.nodeType?e:e.ownerDocument}var J=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),ee=/^(top|right|bottom|left)$/,te="currentStyle",ne="runtimeStyle",re="left";function oe(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ie(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function ae(e,t,n){"static"===G(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=oe("left",n),a=oe("top",n),u=ie(i),s=ie(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,l="",f=q(e);("left"in t||"top"in t)&&(l=(c=e).style.transitionProperty||c.style[H()]||"",I(e,"none")),"left"in t&&(e.style[u]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[s]="",e.style[a]="".concat(o,"px")),z(e);var p=q(e),d={};for(var h in t)if(t.hasOwnProperty(h)){var v=oe(h,n),m="left"===h?r:o,y=f[h]-p[h];d[v]=v===h?m+y:m-y}G(e,d),z(e),("left"in t||"top"in t)&&I(e,l);var g={};for(var b in t)if(t.hasOwnProperty(b)){var w=oe(b,n),Z=t[b]-f[b];g[w]=b===w?d[w]+Z:d[w]-Z}G(e,g)}function ue(e,t){var n=q(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(V());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}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(V());if(r&&"none"!==r){var o,i=r.match(U);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,F(e,"matrix(".concat(o.join(","),")"))):((o=r.match(W)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,F(e,"matrix3d(".concat(o.join(","),")")))}else F(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}function se(e,t){for(var n=0;n<e.length;n++)t(e[n])}function ce(e){return"border-box"===B(e,"boxSizing")}"undefined"!=typeof window&&(B=window.getComputedStyle?function(e,t,n){var r=n,o="",i=$(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e[te]&&e[te][t];if(J.test(n)&&!ee.test(t)){var r=e.style,o=r[re],i=e[ne][re];e[ne][re]=e[te][re],r[re]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[re]=o,e[ne][re]=i}return""===n?"auto":n});var le=["margin","border","padding"],fe=-1,pe=2,de=1;function he(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[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(B(e,u))||0}return a}var ve={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function me(e,t,n){var r=n;if(Q(e))return"width"===t?ve.viewportWidth(e):ve.viewportHeight(e);if(9===e.nodeType)return"width"===t?ve.docWidth(e):ve.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=ce(e),u=0;(null==i||i<=0)&&(i=void 0,(null==(u=B(e,t))||Number(u)<0)&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===r&&(r=a?de:fe);var s=void 0!==i||a,c=i||u;return r===fe?s?c-he(e,["border","padding"],o):u:s?r===de?c:c+(r===pe?-he(e,["border"],o):he(e,["margin"],o)):u+he(e,le.slice(r),o)}se(["Width","Height"],(function(e){ve["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],ve["viewport".concat(e)](n))},ve["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var ye={position:"absolute",visibility:"hidden",display:"block"};function ge(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=me.apply(void 0,t):function(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}(o,ye,(function(){r=me.apply(void 0,t)})),r}function be(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}se(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);ve["outer".concat(t)]=function(t,n){return t&&ge(t,e,n?0:de)};var n="width"===e?["Left","Right"]:["Top","Bottom"];ve[e]=function(t,r){var o=r;return void 0!==o?t?(ce(t)&&(o+=he(t,["padding","border"],n)),G(t,e,o)):void 0:t&&ge(t,e,fe)}}));var we={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:$,offset:function(e,t,n){if(void 0===t)return q(e);!function(e,t,n){if(n.ignoreShake){var r=q(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),u=t.top.toFixed(0);if(o===a&&i===u)return}n.useCssRight||n.useCssBottom?ae(e,t,n):n.useCssTransform&&V()in document.body.style?ue(e,t):ae(e,t,n)}(e,t,n||{})},isWindow:Q,each:se,css:G,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:be,getWindowScrollLeft:function(e){return X(e)},getWindowScrollTop:function(e){return K(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)we.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};be(we,ve);var Ze=we.getParent;function Ee(e){if(we.isWindow(e)||9===e.nodeType)return null;var t,n=we.getDocument(e).body,r=we.css(e,"position");if(!("fixed"===r||"absolute"===r))return"html"===e.nodeName.toLowerCase()?null:Ze(e);for(t=Ze(e);t&&t!==n&&9!==t.nodeType;t=Ze(t))if("static"!==(r=we.css(t,"position")))return t;return null}var xe=we.getParent;function ke(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Ee(e),o=we.getDocument(e),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"===we.css(r,"overflow")){if(r===a||r===u)break}else{var s=we.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=Ee(r)}var c=null;we.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===we.css(e,"position")&&(e.style.position="fixed"));var l=we.getWindowScrollLeft(i),f=we.getWindowScrollTop(i),p=we.viewportWidth(i),d=we.viewportHeight(i),h=u.scrollWidth,v=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(h=i.innerWidth),"hidden"===m.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if(we.isWindow(e)||9===e.nodeType)return!1;var t=we.getDocument(e),n=t.body,r=null;for(r=xe(e);r&&r!==n&&r!==t;r=xe(r))if("fixed"===we.css(r,"position"))return!0;return!1}(e))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(h,l+p);n.right=Math.min(n.right,y);var g=Math.max(v,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 Oe(e){var t,n,r;if(we.isWindow(e)||9===e.nodeType){var o=we.getWindow(e);t={left:we.getWindowScrollLeft(o),top:we.getWindowScrollTop(o)},n=we.viewportWidth(o),r=we.viewportHeight(o)}else t=we.offset(e),n=we.outerWidth(e),r=we.outerHeight(e);return t.width=n,t.height=r,t}function Me(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,u=e.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 Ce(e,t,n,r,o){var i=Me(t,n[1]),a=Me(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+r[0]-o[0]),top:Math.round(e.top-u[1]+r[1]-o[1])}}function Se(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Te(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function Pe(e,t,n){var r=[];return we.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Ne(e,t){return e[t]=-e[t],e}function _e(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function De(e,t){e[0]=_e(e[0],t.width),e[1]=_e(e[1],t.height)}function Le(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||e;i=[].concat(i),a=[].concat(a);var c={},l=0,f=ke(s,!(!(u=u||{})||!u.alwaysByViewport)),p=Oe(s);De(i,p),De(a,t);var d=Ce(p,t,o,i,a),h=we.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&Se(d,p,f)){var v=Pe(o,/[lr]/gi,{l:"r",r:"l"}),m=Ne(i,0),y=Ne(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(Ce(p,t,v,m,y),p,f)||(l=1,o=v,i=m,a=y)}if(u.adjustY&&Te(d,p,f)){var g=Pe(o,/[tb]/gi,{t:"b",b:"t"}),b=Ne(i,1),w=Ne(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(Ce(p,t,g,b,w),p,f)||(l=1,o=g,i=b,a=w)}l&&(d=Ce(p,t,o,i,a),we.mix(h,d));var Z=Se(d,p,f),E=Te(d,p,f);if(Z||E){var x=o;Z&&(x=Pe(o,/[lr]/gi,{l:"r",r:"l"})),E&&(x=Pe(o,/[tb]/gi,{t:"b",b:"t"})),o=x,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=u.adjustX&&Z,c.adjustY=u.adjustY&&E,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=we.clone(e),i={width:t.width,height:t.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)),we.mix(o,i)}(d,p,f,c))}return h.width!==p.width&&we.css(s,"width",we.width(s)+h.width-p.width),h.height!==p.height&&we.css(s,"height",we.height(s)+h.height-p.height),we.offset(s,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function Ae(e,t,n){var r=n.target||t,o=Oe(r),i=!function(e,t){var n=ke(e,t),r=Oe(e);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 Le(e,o,n,i)}Ae.__getOffsetParent=Ee,Ae.__getVisibleRectForElement=ke;var Re=n(91881),je=n(5110),He=n(8410),Ve=n(91033);function Ie(e,t){var n=null,r=null;var o=new Ve.default((function(e){var o=(0,k.Z)(e,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(){t({width:s,height:c})})),n=s,r=c}}));return e&&o.observe(e),function(){o.disconnect()}}function Fe(e){return"function"!=typeof e?null:e()}function Be(e){return"object"===(0,N.Z)(e)&&e?e:null}var Ue=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,u=e.monitorWindowResize,s=e.monitorBufferTime,c=void 0===s?0:s,l=p().useRef({}),f=p().useRef(),d=p().Children.only(n),h=p().useRef({});h.current.disabled=r,h.current.target=o,h.current.align=i,h.current.onAlign=a;var v=function(e,t){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()}),t);else{if(!1===e(a))return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}((function(){var e=h.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign,i=f.current;if(!t&&n&&i){var a,u=Fe(n),s=Be(n);l.current.element=u,l.current.point=s,l.current.align=r;var c=document.activeElement;return u&&(0,je.Z)(u)?a=Ae(i,u,r):s&&(a=function(e,t,n){var r,o,i=we.getDocument(e),a=i.defaultView||i.parentWindow,u=we.getWindowScrollLeft(a),s=we.getWindowScrollTop(a),c=we.viewportWidth(a),l=we.viewportHeight(a),f={left:r="pageX"in t?t.pageX:u+t.clientX,top:o="pageY"in t?t.pageY:s+t.clientY,width:0,height:0},p=r>=0&&r<=u+c&&o>=0&&o<=s+l,d=[n.points[0],"cc"];return Le(e,f,D(D({},n),{},{points:d}),p)}(i,s,r)),function(e,t){e!==document.activeElement&&(0,m.Z)(t,e)&&"function"==typeof e.focus&&e.focus()}(c,i),o&&a&&o(i,a),!0}return!1}),c),y=(0,k.Z)(v,2),w=y[0],Z=y[1],E=p().useState(),x=(0,k.Z)(E,2),O=x[0],M=x[1],C=p().useState(),S=(0,k.Z)(C,2),T=S[0],P=S[1];return(0,He.Z)((function(){M(Fe(o)),P(Be(o))})),p().useEffect((function(){var e,t;l.current.element===O&&((e=l.current.point)===(t=T)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&(0,Re.Z)(l.current.align,i)||w()})),p().useEffect((function(){return Ie(f.current,w)}),[f.current]),p().useEffect((function(){return Ie(O,w)}),[O]),p().useEffect((function(){r?Z():w()}),[r]),p().useEffect((function(){if(u)return(0,b.Z)(window,"resize",w).remove}),[u]),p().useEffect((function(){return function(){Z()}}),[]),p().useImperativeHandle(t,(function(){return{forceAlign:function(){return w(!0)}}})),p().isValidElement(d)&&(d=p().cloneElement(d,{ref:(0,g.sQ)(d.ref,f)})),d},We=p().forwardRef(Ue);We.displayName="Align";var ze=We;function Ge(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
7
7
|
Ge=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),u=new P(r||[]);return o(a,"_invoke",{value:M(e,n,u)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var p="suspendedStart",d="suspendedYield",h="executing",v="completed",m={};function y(){}function g(){}function b(){}var w={};c(w,a,(function(){return this}));var Z=Object.getPrototypeOf,E=Z&&Z(Z(_([])));E&&E!==n&&r.call(E,a)&&(w=E);var x=b.prototype=y.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,a,u){var s=f(e[o],e,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==(0,N.Z)(l)&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function M(t,n,r){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var s=C(u,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=f(t,n,r);if("normal"===c.type){if(o=r.done?v:d,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=v,r.method="throw",r.arg=c.arg)}}}function C(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,C(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=f(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function _(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,N.Z)(t)+" is not iterable")}return g.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=c(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},k(O.prototype),c(O.prototype,u,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(x),c(x,s,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=_,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:_(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}var Ye=n(15861),Xe=n(30470),Ke=["measure","alignPre","align",null,"motion"],qe=f.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,a=e.className,u=e.style,s=e.children,c=e.zIndex,l=e.stretch,p=e.destroyPopupOnHide,d=e.forceRender,h=e.align,m=e.point,y=e.getRootDomNode,g=e.getClassNameFromAlign,b=e.onAlign,w=e.onMouseEnter,Z=e.onMouseLeave,x=e.onMouseDown,O=e.onTouchStart,M=e.onClick,T=(0,f.useRef)(),P=(0,f.useRef)(),N=(0,f.useState)(),_=(0,k.Z)(N,2),D=_[0],L=_[1],A=function(e){var t=f.useState({width:0,height:0}),n=(0,k.Z)(t,2),r=n[0],o=n[1];return[f.useMemo((function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]),function(e){var t=e.offsetWidth,n=e.offsetHeight,r=e.getBoundingClientRect(),i=r.width,a=r.height;Math.abs(t-i)<1&&Math.abs(n-a)<1&&(t=i,n=a),o({width:t,height:n})}]}(l),R=(0,k.Z)(A,2),j=R[0],H=R[1];var V=function(e,t){var n=(0,Xe.Z)(null),r=(0,k.Z)(n,2),o=r[0],i=r[1],a=(0,f.useRef)();function u(e){i(e,!0)}function s(){v.Z.cancel(a.current)}return(0,f.useEffect)((function(){u("measure")}),[e]),(0,f.useEffect)((function(){"measure"===o&&t(),o&&(a.current=(0,v.Z)((0,Ye.Z)(Ge().mark((function e(){var t,n;return Ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ke.indexOf(o),(n=Ke[t+1])&&-1!==t&&u(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),(0,f.useEffect)((function(){return function(){s()}}),[]),[o,function(e){s(),a.current=(0,v.Z)((function(){u((function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e})),null==e||e()}))}]}(n,(function(){l&&H(y())})),I=(0,k.Z)(V,2),F=I[0],B=I[1],U=(0,f.useState)(0),W=(0,k.Z)(U,2),z=W[0],G=W[1],Y=(0,f.useRef)();function X(){var e;null===(e=T.current)||void 0===e||e.forceAlign()}function K(e,t){var n=g(t);D!==n&&L(n),G((function(e){return e+1})),"align"===F&&(null==b||b(e,t))}(0,He.Z)((function(){"alignPre"===F&&G(0)}),[F]),(0,He.Z)((function(){"align"===F&&(z<3?X():B((function(){var e;null===(e=Y.current)||void 0===e||e.call(Y)})))}),[z]);var q=(0,r.Z)({},S(e));function Q(){return new Promise((function(e){Y.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=q[e];q[e]=function(e,n){return B(),null==t?void 0:t(e,n)}})),f.useEffect((function(){q.motionName||"motion"!==F||B()}),[q.motionName,F]),f.useImperativeHandle(t,(function(){return{forceAlign:X,getElement:function(){return P.current}}}));var $=(0,r.Z)((0,r.Z)({},j),{},{zIndex:c,opacity:"motion"!==F&&"stable"!==F&&n?0:void 0,pointerEvents:n||"stable"===F?void 0:"none"},u),J=!0;null==h||!h.points||"align"!==F&&"stable"!==F||(J=!1);var ee=s;return f.Children.count(s)>1&&(ee=f.createElement("div",{className:"".concat(i,"-content")},s)),f.createElement(C.Z,(0,o.Z)({visible:n,ref:P,leavedClassName:"".concat(i,"-hidden")},q,{onAppearPrepare:Q,onEnterPrepare:Q,removeOnLeave:p,forceRender:d}),(function(e,t){var n=e.className,o=e.style,u=E()(i,a,D,n);return f.createElement(ze,{target:m||y,key:"popup",ref:T,monitorWindowResize:!0,disabled:J,align:h,onAlign:K},f.createElement("div",{ref:t,className:u,onMouseEnter:w,onMouseLeave:Z,onMouseDownCapture:x,onTouchStartCapture:O,onClick:M,style:(0,r.Z)((0,r.Z)({},o),$)},ee))}))}));qe.displayName="PopupInner";var Qe=qe,$e=f.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,a=e.zIndex,u=e.children,s=e.mobile,c=(s=void 0===s?{}:s).popupClassName,l=s.popupStyle,p=s.popupMotion,d=void 0===p?{}:p,h=s.popupRender,v=e.onClick,m=f.useRef();f.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var y=(0,r.Z)({zIndex:a},l),g=u;return f.Children.count(u)>1&&(g=f.createElement("div",{className:"".concat(n,"-content")},u)),h&&(g=h(g)),f.createElement(C.Z,(0,o.Z)({visible:i,ref:m,removeOnLeave:!0},d),(function(e,t){var o=e.className,i=e.style,a=E()(n,c,o);return f.createElement("div",{ref:t,className:a,onClick:v,style:(0,r.Z)((0,r.Z)({},i),y)},g)}))}));$e.displayName="MobilePopupInner";var Je=$e,et=["visible","mobile"],tt=f.forwardRef((function(e,t){var n=e.visible,i=e.mobile,a=(0,O.Z)(e,et),u=(0,f.useState)(n),s=(0,k.Z)(u,2),c=s[0],l=s[1],p=(0,f.useState)(!1),d=(0,k.Z)(p,2),h=d[0],v=d[1],m=(0,r.Z)((0,r.Z)({},a),{},{visible:c});(0,f.useEffect)((function(){l(n),n&&i&&v((0,M.Z)())}),[n,i]);var y=h?f.createElement(Je,(0,o.Z)({},m,{mobile:i,ref:t})):f.createElement(Qe,(0,o.Z)({},m,{ref:t}));return f.createElement("div",null,f.createElement(T,m),y)}));tt.displayName="Popup";var nt=tt,rt=f.createContext(null);function ot(){}function it(){return""}function at(e){return e?e.ownerDocument:window.document}var ut=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var st,ct,lt=(st=w.Z,ct=function(e){(0,s.Z)(n,e);var t=(0,c.Z)(n);function n(e){var r,a;return(0,i.Z)(this,n),r=t.call(this,e),(0,l.Z)((0,u.Z)(r),"popupRef",f.createRef()),(0,l.Z)((0,u.Z)(r),"triggerRef",f.createRef()),(0,l.Z)((0,u.Z)(r),"portalContainer",void 0),(0,l.Z)((0,u.Z)(r),"attachId",void 0),(0,l.Z)((0,u.Z)(r),"clickOutsideHandler",void 0),(0,l.Z)((0,u.Z)(r),"touchOutsideHandler",void 0),(0,l.Z)((0,u.Z)(r),"contextMenuOutsideHandler1",void 0),(0,l.Z)((0,u.Z)(r),"contextMenuOutsideHandler2",void 0),(0,l.Z)((0,u.Z)(r),"mouseDownTimeout",void 0),(0,l.Z)((0,u.Z)(r),"focusTime",void 0),(0,l.Z)((0,u.Z)(r),"preClickTime",void 0),(0,l.Z)((0,u.Z)(r),"preTouchTime",void 0),(0,l.Z)((0,u.Z)(r),"delayTimer",void 0),(0,l.Z)((0,u.Z)(r),"hasPopupMouseDown",void 0),(0,l.Z)((0,u.Z)(r),"onMouseEnter",(function(e){var t=r.props.mouseEnterDelay;r.fireEvents("onMouseEnter",e),r.delaySetPopupVisible(!0,t,t?null:e)})),(0,l.Z)((0,u.Z)(r),"onMouseMove",(function(e){r.fireEvents("onMouseMove",e),r.setPoint(e)})),(0,l.Z)((0,u.Z)(r),"onMouseLeave",(function(e){r.fireEvents("onMouseLeave",e),r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.Z)((0,u.Z)(r),"onPopupMouseEnter",(function(){r.clearDelayTimer()})),(0,l.Z)((0,u.Z)(r),"onPopupMouseLeave",(function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&(0,m.Z)(null===(t=r.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||r.delaySetPopupVisible(!1,r.props.mouseLeaveDelay)})),(0,l.Z)((0,u.Z)(r),"onFocus",(function(e){r.fireEvents("onFocus",e),r.clearDelayTimer(),r.isFocusToShow()&&(r.focusTime=Date.now(),r.delaySetPopupVisible(!0,r.props.focusDelay))})),(0,l.Z)((0,u.Z)(r),"onMouseDown",(function(e){r.fireEvents("onMouseDown",e),r.preClickTime=Date.now()})),(0,l.Z)((0,u.Z)(r),"onTouchStart",(function(e){r.fireEvents("onTouchStart",e),r.preTouchTime=Date.now()})),(0,l.Z)((0,u.Z)(r),"onBlur",(function(e){r.fireEvents("onBlur",e),r.clearDelayTimer(),r.isBlurToHide()&&r.delaySetPopupVisible(!1,r.props.blurDelay)})),(0,l.Z)((0,u.Z)(r),"onContextMenu",(function(e){e.preventDefault(),r.fireEvents("onContextMenu",e),r.setPopupVisible(!0,e)})),(0,l.Z)((0,u.Z)(r),"onContextMenuClose",(function(){r.isContextMenuToShow()&&r.close()})),(0,l.Z)((0,u.Z)(r),"onClick",(function(e){if(r.fireEvents("onClick",e),r.focusTime){var t;if(r.preClickTime&&r.preTouchTime?t=Math.min(r.preClickTime,r.preTouchTime):r.preClickTime?t=r.preClickTime:r.preTouchTime&&(t=r.preTouchTime),Math.abs(t-r.focusTime)<20)return;r.focusTime=0}r.preClickTime=0,r.preTouchTime=0,r.isClickToShow()&&(r.isClickToHide()||r.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!r.state.popupVisible;(r.isClickToHide()&&!n||n&&r.isClickToShow())&&r.setPopupVisible(!r.state.popupVisible,e)})),(0,l.Z)((0,u.Z)(r),"onPopupMouseDown",(function(){var e;r.hasPopupMouseDown=!0,clearTimeout(r.mouseDownTimeout),r.mouseDownTimeout=window.setTimeout((function(){r.hasPopupMouseDown=!1}),0),r.context&&(e=r.context).onPopupMouseDown.apply(e,arguments)})),(0,l.Z)((0,u.Z)(r),"onDocumentClick",(function(e){if(!r.props.mask||r.props.maskClosable){var t=e.target,n=r.getRootDomNode(),o=r.getPopupDomNode();(0,m.Z)(n,t)&&!r.isContextMenuOnly()||(0,m.Z)(o,t)||r.hasPopupMouseDown||r.close()}})),(0,l.Z)((0,u.Z)(r),"getRootDomNode",(function(){var e=r.props.getTriggerDOMNode;if(e)return e(r.triggerRef.current);try{var t=(0,y.Z)(r.triggerRef.current);if(t)return t}catch(e){}return h().findDOMNode((0,u.Z)(r))})),(0,l.Z)((0,u.Z)(r),"getPopupClassNameFromAlign",(function(e){var t=[],n=r.props,o=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,u=n.alignPoint,s=n.getPopupClassNameFromAlign;return o&&i&&t.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var u=i[a];if(x(e[u].points,o,r))return"".concat(t,"-placement-").concat(u)}return""}(i,a,e,u)),s&&t.push(s(e)),t.join(" ")})),(0,l.Z)((0,u.Z)(r),"getComponent",(function(){var e=r.props,t=e.prefixCls,n=e.destroyPopupOnHide,i=e.popupClassName,a=e.onPopupAlign,u=e.popupMotion,s=e.popupAnimation,c=e.popupTransitionName,l=e.popupStyle,p=e.mask,d=e.maskAnimation,h=e.maskTransitionName,v=e.maskMotion,m=e.zIndex,y=e.popup,g=e.stretch,b=e.alignPoint,w=e.mobile,Z=e.forceRender,E=e.onPopupClick,x=r.state,k=x.popupVisible,O=x.point,M=r.getPopupAlign(),C={};return r.isMouseEnterToShow()&&(C.onMouseEnter=r.onPopupMouseEnter),r.isMouseLeaveToHide()&&(C.onMouseLeave=r.onPopupMouseLeave),C.onMouseDown=r.onPopupMouseDown,C.onTouchStart=r.onPopupMouseDown,f.createElement(nt,(0,o.Z)({prefixCls:t,destroyPopupOnHide:n,visible:k,point:b&&O,className:i,align:M,onAlign:a,animation:s,getClassNameFromAlign:r.getPopupClassNameFromAlign},C,{stretch:g,getRootDomNode:r.getRootDomNode,style:l,mask:p,zIndex:m,transitionName:c,maskAnimation:d,maskTransitionName:h,maskMotion:v,ref:r.popupRef,motion:u,mobile:w,forceRender:Z,onClick:E}),"function"==typeof y?y():y)})),(0,l.Z)((0,u.Z)(r),"attachParent",(function(e){v.Z.cancel(r.attachId);var t,n=r.props,o=n.getPopupContainer,i=n.getDocument,a=r.getRootDomNode();o?(a||0===o.length)&&(t=o(a)):t=i(r.getRootDomNode()).body,t?t.appendChild(e):r.attachId=(0,v.Z)((function(){r.attachParent(e)}))})),(0,l.Z)((0,u.Z)(r),"getContainer",(function(){if(!r.portalContainer){var e=(0,r.props.getDocument)(r.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",r.portalContainer=e}return r.attachParent(r.portalContainer),r.portalContainer})),(0,l.Z)((0,u.Z)(r),"setPoint",(function(e){r.props.alignPoint&&e&&r.setState({point:{pageX:e.pageX,pageY:e.pageY}})})),(0,l.Z)((0,u.Z)(r),"handlePortalUpdate",(function(){r.state.prevPopupVisible!==r.state.popupVisible&&r.props.afterPopupVisibleChange(r.state.popupVisible)})),(0,l.Z)((0,u.Z)(r),"triggerContextValue",{onPopupMouseDown:r.onPopupMouseDown}),a="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,r.state={prevPopupVisible:a,popupVisible:a},ut.forEach((function(e){r["fire".concat(e)]=function(t){r.fireEvents(e,t)}})),r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=(0,b.Z)(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=(0,b.Z)(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=(0,b.Z)(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=(0,b.Z)(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),v.Z.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,o=e.builtinPlacements;return t&&o?function(e,t,n){var o=e[t]||{};return(0,r.Z)((0,r.Z)({},o),n)}(o,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,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(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var e=this.state.popupVisible,t=this.props,n=t.children,o=t.forceRender,i=t.alignPoint,a=t.className,u=t.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=E()(s&&s.props&&s.props.className,a);l&&(c.className=l);var p=(0,r.Z)({},c);(0,g.Yr)(s)&&(p.ref=(0,g.sQ)(this.triggerRef,s.ref));var d,h=f.cloneElement(s,p);return(e||this.popupRef.current||o)&&(d=f.createElement(st,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!e&&u&&(d=null),f.createElement(rt.Provider,{value:this.triggerContextValue},h,d)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),n}(f.Component),(0,l.Z)(ct,"contextType",rt),(0,l.Z)(ct,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:it,getDocument:at,onPopupVisibleChange:ot,afterPopupVisibleChange:ot,onPopupAlign:ot,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),ct)},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(47111),o=n.n(r);function i(e,t,n,r){var i=o().unstable_batchedUpdates?function(e){o().unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}},98924:function(e,t,n){"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(8156),o=n.n(r),i=n(47111),a=n.n(i);function u(e){return function(e){return e instanceof HTMLElement||e instanceof SVGElement}(e)?e:e instanceof o().Component?a().findDOMNode(e):null}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},15105:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},59015:function(e,t,n){"use strict";var r=n(8156),o=n(47111),i=n.n(o),a=n(98924),u=(0,r.forwardRef)((function(e,t){var n=e.didUpdate,o=e.getContainer,u=e.children,s=(0,r.useRef)(),c=(0,r.useRef)();(0,r.useImperativeHandle)(t,(function(){return{}}));var l=(0,r.useRef)(!1);return!l.current&&(0,a.Z)()&&(c.current=o(),s.current=c.current.parentNode,l.current=!0),(0,r.useEffect)((function(){null==n||n(e)})),(0,r.useEffect)((function(){return null===c.current.parentNode&&null!==s.current&&s.current.appendChild(c.current),function(){var e,t;null===(e=c.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(c.current)}}),[]),c.current?i().createPortal(u,c.current):null}));t.Z=u},8410:function(e,t,n){"use strict";var r=n(8156),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])};t.Z=i},56982:function(e,t,n){"use strict";n(8156)},30470:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(93324),o=n(8156);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.Z)(n,2),a=i[0],u=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||u(e)}]}},91881:function(e,t,n){"use strict";var r=n(71002),o=n(80334);t.Z=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(n&&u>1)return!1;i.add(t);var c=u+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var l=0;l<t.length;l++)if(!e(t[l],a[l],c))return!1;return!0}if(t&&a&&"object"===(0,r.Z)(t)&&"object"===(0,r.Z)(a)){var f=Object.keys(t);return f.length===Object.keys(a).length&&f.every((function(n){return e(t[n],a[n],c)}))}return!1}(e,t)}},31131:function(e,t){"use strict";t.Z=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},75164:function(e,t){"use strict";var n=function(e){return+setTimeout(e,16)},r=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},r=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function a(e){i.delete(e)}var u=function(e){var t=o+=1;return function r(o){if(0===o)a(t),e();else{var u=n((function(){r(o-1)}));i.set(t,u)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};u.cancel=function(e){var t=i.get(e);return a(t),r(t)},t.Z=u},42550:function(e,t,n){"use strict";n.d(t,{Yr:function(){return u},mH:function(){return i},sQ:function(){return a}});var r=n(71002),o=(n(8156),n(59864));n(56982);function i(e,t){"function"==typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter((function(e){return e}));return r.length<=1?r[0]:function(e){t.forEach((function(t){i(t,e)}))}}function u(e){var t,n,r=(0,o.isMemo)(e)?e.type.type:e.type;return!!("function"!=typeof r||null!==(t=r.prototype)&&void 0!==t&&t.render)&&!!("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&n.render)}},80334:function(e,t,n){"use strict";var r={},o=[];function i(e,t){}function a(e,t){}function u(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function s(e,t){u(i,e,t)}s.preMessage=function(e){o.push(e)},s.resetWarned=function(){r={}},s.noteOnce=function(e,t){u(a,e,t)},t.ZP=s},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;
|
|
8
8
|
/** @license React v16.13.1
|
|
9
9
|
* react-is.production.min.js
|
package/umd/Status.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ParaUI=e(require("react")):t.ParaUI=e(t.react)}(self,(function(t){return function(){var e={34887:function(t,e,r){(e=r(23645)(!1)).push([t.id,".paraui-v4-status{display:inline-flex;align-items:center}.paraui-v4-status .status-ink{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:10px;height:10px}.paraui-v4-status .status-ink .status-radius{width:6px;height:6px;border-radius:50%}.paraui-v4-status .status-icon{display:inline-flex;font-size:16px}.paraui-v4-status .status-icon svg{font-size:16px}.paraui-v4-status .status-icon .status-icon-success{color:#13bf4c}.paraui-v4-status .status-icon .status-icon-error{color:#f44242}.paraui-v4-status .status-text{margin-left:4px;font-size:14px;color
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ParaUI=e(require("react")):t.ParaUI=e(t.react)}(self,(function(t){return function(){var e={34887:function(t,e,r){(e=r(23645)(!1)).push([t.id,".paraui-v4-status{display:inline-flex;align-items:center}.paraui-v4-status .status-ink{display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:10px;height:10px}.paraui-v4-status .status-ink .status-radius{width:6px;height:6px;border-radius:50%}.paraui-v4-status .status-icon{display:inline-flex;font-size:16px}.paraui-v4-status .status-icon svg{font-size:16px}.paraui-v4-status .status-icon .status-icon-success{color:#13bf4c}.paraui-v4-status .status-icon .status-icon-error{color:#f44242}.paraui-v4-status .status-text{margin-left:4px;font-size:14px;color:#1d2126}.paraui-v4-status-info .status-ink{background:rgba(46,101,230,.1)}.paraui-v4-status-info .status-ink .status-radius{background-color:#2e65e6}.paraui-v4-status-success .status-ink{background-color:rgba(19,191,76,.1)}.paraui-v4-status-success .status-ink .status-radius{background-color:#13bf4c}.paraui-v4-status-warning .status-ink{background-color:rgba(255,147,38,.1)}.paraui-v4-status-warning .status-ink .status-radius{background-color:#ff9326}.paraui-v4-status-error .status-ink{background-color:rgba(244,66,66,.1)}.paraui-v4-status-error .status-ink .status-radius{background-color:#f44242}.paraui-v4-status-completed .status-ink{background-color:#f7f8fa}.paraui-v4-status-completed .status-ink .status-radius{background-color:#a1a8b3}",""]),t.exports=e},23645:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var a=(o=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u," */")),i=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(i).concat([a]).join("\n")}var o,s,u;return[r].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var s=0;s<t.length;s++){var u=[].concat(t[s]);n&&a[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),e.push(u))}},e}},27418:function(t){"use strict";
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
@@ -26,4 +26,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
26
26
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
27
|
PERFORMANCE OF THIS SOFTWARE.
|
|
28
28
|
***************************************************************************** */
|
|
29
|
-
function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r}(t,["path","className","color","size","dataName","style"]),g="paraui-v4",p="primary"===s||"secondary"===s||"info"===s||"success"===s||"warn"===s||"error"===s;return(0,o.jsx)("svg",Object.assign({className:(r="".concat(g,"-icon"),r+=" svg-icon",a&&(r+=" "+a),p&&(r+=" ".concat(g,"-icon-").concat(s)),c&&(r+=" ".concat(g,"-icon-").concat(c)),r),viewBox:"0 0 1024 1024","data-name":l,style:(e=Object.assign({},h),s&&!p&&(e.color=s),e)},d,{children:n}))},u=function(t){return(0,o.jsx)(s,Object.assign({dataName:"CloseCircleF",viewBox:"0 0 24 24",path:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("g",Object.assign({id:"CloseCircleF",transform:"translate(-70 -157)"},{children:[(0,o.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(70 157)",fill:"none"}),(0,o.jsx)("path",{id:"路径_20942","data-name":"路径 20942",d:"M81.6,0a9.6,9.6,0,1,0,9.6,9.6A9.611,9.611,0,0,0,81.6,0m3.627,13.16a.768.768,0,0,1-.56.24.786.786,0,0,1-.56-.227l-2.493-2.44L79.16,13.227a.775.775,0,0,1-.573.24.834.834,0,0,1-.56-.227.8.8,0,0,1,0-1.133l2.44-2.493L77.973,7.16a.785.785,0,0,1-.013-1.12.8.8,0,0,1,1.133-.013l2.493,2.44,2.44-2.493A.8.8,0,0,1,85.16,5.96a.813.813,0,0,1,.013,1.133L82.72,9.587l2.507,2.44a.8.8,0,0,1,0,1.133",transform:"translate(0.4 159.4)"})]}))})},t))},c=function(t){return(0,o.jsx)(s,Object.assign({dataName:"CheckCircleF",viewBox:"0 0 24 24",path:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("g",Object.assign({id:"CheckCircleF",transform:"translate(-88 -157)"},{children:[(0,o.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(88 157)",fill:"none"}),(0,o.jsx)("path",{id:"路径_20943","data-name":"路径 20943",d:"M117.67,0a9.6,9.6,0,1,0,9.6,9.6,9.611,9.611,0,0,0-9.6-9.6m4.813,7.307-5.707,5.707a.71.71,0,0,1-.267.173.807.807,0,0,1-.293.067.8.8,0,0,1-.573-.24l-2.787-2.788a.8.8,0,0,1,1.133-1.132l2.227,2.227,5.133-5.133a.8.8,0,0,1,1.133,1.12",transform:"translate(-17.67 159.399)"})]}))})},t))};function f(t){return f="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},f(t)}var l=/^\s+/,h=/\s+$/;function d(t,e){if(e=e||{},(t=t||"")instanceof d)return t;if(!(this instanceof d))return new d(t,e);var r=function(t){var e={r:0,g:0,b:0},r=1,n=null,a=null,i=null,o=!1,s=!1;"string"==typeof t&&(t=function(t){t=t.replace(l,"").replace(h,"").toLowerCase();var e,r=!1;if(N[t])t=N[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=$.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=$.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=$.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=$.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=$.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=$.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=$.hex8.exec(t))return{r:T(e[1]),g:T(e[2]),b:T(e[3]),a:z(e[4]),format:r?"name":"hex8"};if(e=$.hex6.exec(t))return{r:T(e[1]),g:T(e[2]),b:T(e[3]),format:r?"name":"hex"};if(e=$.hex4.exec(t))return{r:T(e[1]+""+e[1]),g:T(e[2]+""+e[2]),b:T(e[3]+""+e[3]),a:z(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=$.hex3.exec(t))return{r:T(e[1]+""+e[1]),g:T(e[2]+""+e[2]),b:T(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==f(t)&&(D(t.r)&&D(t.g)&&D(t.b)?(u=t.r,c=t.g,d=t.b,e={r:255*E(u,255),g:255*E(c,255),b:255*E(d,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):D(t.h)&&D(t.s)&&D(t.v)?(n=I(t.s),a=I(t.v),e=function(t,e,r){t=6*E(t,360),e=E(e,100),r=E(r,100);var n=Math.floor(t),a=t-n,i=r*(1-e),o=r*(1-a*e),s=r*(1-(1-a)*e),u=n%6,c=[r,o,i,i,s,r][u],f=[s,r,r,o,i,i][u],l=[i,i,s,r,r,o][u];return{r:255*c,g:255*f,b:255*l}}(t.h,n,a),o=!0,s="hsv"):D(t.h)&&D(t.s)&&D(t.l)&&(n=I(t.s),i=I(t.l),e=function(t,e,r){var n,a,i;function o(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=E(t,360),e=E(e,100),r=E(r,100),0===e)n=a=i=r;else{var s=r<.5?r*(1+e):r+e-r*e,u=2*r-s;n=o(u,s,t+1/3),a=o(u,s,t),i=o(u,s,t-1/3)}return{r:255*n,g:255*a,b:255*i}}(t.h,n,i),o=!0,s="hsl"),t.hasOwnProperty("a")&&(r=t.a));var u,c,d;return r=F(r),{ok:o,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function g(t,e,r){t=E(t,255),e=E(e,255),r=E(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=(i+o)/2;if(i==o)n=a=0;else{var u=i-o;switch(a=s>.5?u/(2-i-o):u/(i+o),i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,l:s}}function p(t,e,r){t=E(t,255),e=E(e,255),r=E(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=i,u=i-o;if(a=0===i?0:u/i,i==o)n=0;else{switch(i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,v:s}}function b(t,e,r,n){var a=[P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function m(t,e,r,n){return[P(L(n)),P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16))].join("")}function v(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s-=e/100,r.s=H(r.s),d(r)}function y(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s+=e/100,r.s=H(r.s),d(r)}function _(t){return d(t).desaturate(100)}function x(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l+=e/100,r.l=H(r.l),d(r)}function M(t,e){e=0===e?0:e||10;var r=d(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),d(r)}function k(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l-=e/100,r.l=H(r.l),d(r)}function w(t,e){var r=d(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,d(r)}function A(t){var e=d(t).toHsl();return e.h=(e.h+180)%360,d(e)}function S(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=d(t).toHsl(),n=[d(t)],a=360/e,i=1;i<e;i++)n.push(d({h:(r.h+i*a)%360,s:r.s,l:r.l}));return n}function j(t){var e=d(t).toHsl(),r=e.h;return[d(t),d({h:(r+72)%360,s:e.s,l:e.l}),d({h:(r+216)%360,s:e.s,l:e.l})]}function O(t,e,r){e=e||6,r=r||30;var n=d(t).toHsl(),a=360/r,i=[d(t)];for(n.h=(n.h-(a*e>>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(d(n));return i}function C(t,e){e=e||6;for(var r=d(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/e;e--;)o.push(d({h:n,s:a,v:i})),i=(i+s)%1;return o}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=F(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=p(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=g(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=g(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return b(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,a){var i=[P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16)),P(L(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*E(this._r,255))+"%",g:Math.round(100*E(this._g,255))+"%",b:Math.round(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%)":"rgba("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+m(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=d(t);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(M,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(S,[3])},tetrad:function(){return this._applyCombination(S,[4])}},d.fromRatio=function(t,e){if("object"==f(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:I(t[n]));t=r}return d(t,e)},d.equals=function(t,e){return!(!t||!e)&&d(t).toRgbString()==d(e).toRgbString()},d.random=function(){return d.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},d.mix=function(t,e,r){r=0===r?0:r||50;var n=d(t).toRgb(),a=d(e).toRgb(),i=r/100;return d({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},d.readability=function(t,e){var r=d(t),n=d(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},d.isReadable=function(t,e,r){var n,a,i=d.readability(t,e);switch(a=!1,(n=function(t){var e,r;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==r&&"large"!==r&&(r="small");return{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},d.mostReadable=function(t,e,r){var n,a,i,o,s=null,u=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var c=0;c<e.length;c++)(n=d.readability(t,e[c]))>u&&(u=n,s=d(e[c]));return d.isReadable(t,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,d.mostReadable(t,["#fff","#000"],r))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=d.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(N);function F(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function E(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function H(t){return Math.min(1,Math.max(0,t))}function T(t){return parseInt(t,16)}function P(t){return 1==t.length?"0"+t:""+t}function I(t){return t<=1&&(t=100*t+"%"),t}function L(t){return Math.round(255*parseFloat(t)).toString(16)}function z(t){return T(t)/255}var q,U,B,$=(U="[\\s|\\(]+("+(q="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",B="[\\s|\\(]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",{CSS_UNIT:new RegExp(q),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function D(t){return!!$.CSS_UNIT.exec(t)}n(72e3);var J=function(t){var n=t.text,a=t.status,o=void 0===a?"info":a,s=t.icon,f=t.className,l=t.style,h=t.color,g=function(){for(var t,e,n=0,a="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(a&&(a+=" "),a+=e);return a}("".concat(i,"-status"),f,o&&!s&&"".concat(i,"-status-").concat(o));return e().createElement("span",{className:g,style:l},s?e().createElement("span",{className:"status-icon"},function(){if(s){if("string"!=typeof s)return s;switch(s){case"success":return e().createElement(c,{className:"status-icon-".concat(s)});case"error":return e().createElement(u,{className:"status-icon-".concat(s)});default:return null}}}()):e().createElement("div",{className:"status-ink",style:{backgroundColor:h?d(h).setAlpha(.1).toRgbString():void 0}},e().createElement("span",{className:"status-radius",style:{backgroundColor:h||void 0}})),e().createElement("span",{className:"status-text"},n))},G=J}(),a}()}));
|
|
29
|
+
function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r}(t,["path","className","color","size","dataName","style"]),g="paraui-v4",p="primary"===s||"secondary"===s||"info"===s||"success"===s||"warn"===s||"error"===s;return(0,o.jsx)("svg",Object.assign({className:(r="".concat(g,"-icon"),r+=" svg-icon",a&&(r+=" "+a),p&&(r+=" ".concat(g,"-icon-").concat(s)),c&&(r+=" ".concat(g,"-icon-").concat(c)),r),viewBox:"0 0 1024 1024","data-name":l,style:(e=Object.assign({},h),s&&!p&&(e.color=s),e)},d,{children:n}))},u=function(t){return(0,o.jsx)(s,Object.assign({dataName:"CloseCircleF",viewBox:"0 0 24 24",path:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("g",Object.assign({id:"CloseCircleF",transform:"translate(-70 -157)"},{children:[(0,o.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(70 157)",fill:"none"}),(0,o.jsx)("path",{id:"路径_20942","data-name":"路径 20942",d:"M81.6,0a9.6,9.6,0,1,0,9.6,9.6A9.611,9.611,0,0,0,81.6,0m3.627,13.16a.768.768,0,0,1-.56.24.786.786,0,0,1-.56-.227l-2.493-2.44L79.16,13.227a.775.775,0,0,1-.573.24.834.834,0,0,1-.56-.227.8.8,0,0,1,0-1.133l2.44-2.493L77.973,7.16a.785.785,0,0,1-.013-1.12.8.8,0,0,1,1.133-.013l2.493,2.44,2.44-2.493A.8.8,0,0,1,85.16,5.96a.813.813,0,0,1,.013,1.133L82.72,9.587l2.507,2.44a.8.8,0,0,1,0,1.133",transform:"translate(0.4 159.4)"})]}))})},t))},c=function(t){return(0,o.jsx)(s,Object.assign({dataName:"CheckCircleF",viewBox:"0 0 24 24",path:(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("g",Object.assign({id:"CheckCircleF",transform:"translate(-88 -157)"},{children:[(0,o.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(88 157)",fill:"none"}),(0,o.jsx)("path",{id:"路径_20943","data-name":"路径 20943",d:"M117.67,0a9.6,9.6,0,1,0,9.6,9.6,9.611,9.611,0,0,0-9.6-9.6m4.813,7.307-5.707,5.707a.71.71,0,0,1-.267.173.807.807,0,0,1-.293.067.8.8,0,0,1-.573-.24l-2.787-2.788a.8.8,0,0,1,1.133-1.132l2.227,2.227,5.133-5.133a.8.8,0,0,1,1.133,1.12",transform:"translate(-17.67 159.399)"})]}))})},t))};function f(t){return f="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},f(t)}var l=/^\s+/,h=/\s+$/;function d(t,e){if(e=e||{},(t=t||"")instanceof d)return t;if(!(this instanceof d))return new d(t,e);var r=function(t){var e={r:0,g:0,b:0},r=1,n=null,a=null,i=null,o=!1,s=!1;"string"==typeof t&&(t=function(t){t=t.replace(l,"").replace(h,"").toLowerCase();var e,r=!1;if(N[t])t=N[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=$.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=$.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=$.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=$.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=$.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=$.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=$.hex8.exec(t))return{r:T(e[1]),g:T(e[2]),b:T(e[3]),a:z(e[4]),format:r?"name":"hex8"};if(e=$.hex6.exec(t))return{r:T(e[1]),g:T(e[2]),b:T(e[3]),format:r?"name":"hex"};if(e=$.hex4.exec(t))return{r:T(e[1]+""+e[1]),g:T(e[2]+""+e[2]),b:T(e[3]+""+e[3]),a:z(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=$.hex3.exec(t))return{r:T(e[1]+""+e[1]),g:T(e[2]+""+e[2]),b:T(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==f(t)&&(D(t.r)&&D(t.g)&&D(t.b)?(u=t.r,c=t.g,d=t.b,e={r:255*E(u,255),g:255*E(c,255),b:255*E(d,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):D(t.h)&&D(t.s)&&D(t.v)?(n=I(t.s),a=I(t.v),e=function(t,e,r){t=6*E(t,360),e=E(e,100),r=E(r,100);var n=Math.floor(t),a=t-n,i=r*(1-e),o=r*(1-a*e),s=r*(1-(1-a)*e),u=n%6,c=[r,o,i,i,s,r][u],f=[s,r,r,o,i,i][u],l=[i,i,s,r,r,o][u];return{r:255*c,g:255*f,b:255*l}}(t.h,n,a),o=!0,s="hsv"):D(t.h)&&D(t.s)&&D(t.l)&&(n=I(t.s),i=I(t.l),e=function(t,e,r){var n,a,i;function o(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=E(t,360),e=E(e,100),r=E(r,100),0===e)n=a=i=r;else{var s=r<.5?r*(1+e):r+e-r*e,u=2*r-s;n=o(u,s,t+1/3),a=o(u,s,t),i=o(u,s,t-1/3)}return{r:255*n,g:255*a,b:255*i}}(t.h,n,i),o=!0,s="hsl"),t.hasOwnProperty("a")&&(r=t.a));var u,c,d;return r=F(r),{ok:o,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function g(t,e,r){t=E(t,255),e=E(e,255),r=E(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=(i+o)/2;if(i==o)n=a=0;else{var u=i-o;switch(a=s>.5?u/(2-i-o):u/(i+o),i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,l:s}}function p(t,e,r){t=E(t,255),e=E(e,255),r=E(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=i,u=i-o;if(a=0===i?0:u/i,i==o)n=0;else{switch(i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,v:s}}function b(t,e,r,n){var a=[P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function m(t,e,r,n){return[P(L(n)),P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16))].join("")}function v(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s-=e/100,r.s=H(r.s),d(r)}function y(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s+=e/100,r.s=H(r.s),d(r)}function _(t){return d(t).desaturate(100)}function x(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l+=e/100,r.l=H(r.l),d(r)}function M(t,e){e=0===e?0:e||10;var r=d(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),d(r)}function k(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l-=e/100,r.l=H(r.l),d(r)}function w(t,e){var r=d(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,d(r)}function A(t){var e=d(t).toHsl();return e.h=(e.h+180)%360,d(e)}function S(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=d(t).toHsl(),n=[d(t)],a=360/e,i=1;i<e;i++)n.push(d({h:(r.h+i*a)%360,s:r.s,l:r.l}));return n}function j(t){var e=d(t).toHsl(),r=e.h;return[d(t),d({h:(r+72)%360,s:e.s,l:e.l}),d({h:(r+216)%360,s:e.s,l:e.l})]}function O(t,e,r){e=e||6,r=r||30;var n=d(t).toHsl(),a=360/r,i=[d(t)];for(n.h=(n.h-(a*e>>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(d(n));return i}function C(t,e){e=e||6;for(var r=d(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/e;e--;)o.push(d({h:n,s:a,v:i})),i=(i+s)%1;return o}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=F(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=p(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=g(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=g(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return b(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,a){var i=[P(Math.round(t).toString(16)),P(Math.round(e).toString(16)),P(Math.round(r).toString(16)),P(L(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*E(this._r,255))+"%",g:Math.round(100*E(this._g,255))+"%",b:Math.round(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%)":"rgba("+Math.round(100*E(this._r,255))+"%, "+Math.round(100*E(this._g,255))+"%, "+Math.round(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[b(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+m(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=d(t);r="#"+m(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return d(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(M,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(S,[3])},tetrad:function(){return this._applyCombination(S,[4])}},d.fromRatio=function(t,e){if("object"==f(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:I(t[n]));t=r}return d(t,e)},d.equals=function(t,e){return!(!t||!e)&&d(t).toRgbString()==d(e).toRgbString()},d.random=function(){return d.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},d.mix=function(t,e,r){r=0===r?0:r||50;var n=d(t).toRgb(),a=d(e).toRgb(),i=r/100;return d({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},d.readability=function(t,e){var r=d(t),n=d(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},d.isReadable=function(t,e,r){var n,a,i=d.readability(t,e);switch(a=!1,(n=function(t){var e,r;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==r&&"large"!==r&&(r="small");return{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},d.mostReadable=function(t,e,r){var n,a,i,o,s=null,u=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var c=0;c<e.length;c++)(n=d.readability(t,e[c]))>u&&(u=n,s=d(e[c]));return d.isReadable(t,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,d.mostReadable(t,["#fff","#000"],r))};var N=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=d.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(N);function F(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function E(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function H(t){return Math.min(1,Math.max(0,t))}function T(t){return parseInt(t,16)}function P(t){return 1==t.length?"0"+t:""+t}function I(t){return t<=1&&(t=100*t+"%"),t}function L(t){return Math.round(255*parseFloat(t)).toString(16)}function z(t){return T(t)/255}var q,U,B,$=(U="[\\s|\\(]+("+(q="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",B="[\\s|\\(]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")[,|\\s]+("+q+")\\s*\\)?",{CSS_UNIT:new RegExp(q),rgb:new RegExp("rgb"+U),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+U),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+U),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function D(t){return!!$.CSS_UNIT.exec(t)}n(72e3);var J=function(t){var n=t.text,a=t.status,o=void 0===a?"info":a,s=t.icon,f=t.className,l=t.style,h=t.color,g=function(){for(var t,e,n=0,a="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(a&&(a+=" "),a+=e);return a}("".concat(i,"-status"),f,o&&!s&&"".concat(i,"-status-").concat(o));return e().createElement("span",{className:g,style:l},s?e().createElement("span",{className:"status-icon"},function(){if(s){if("string"!=typeof s)return s;if("string"==typeof s)switch(s){case"success":return e().createElement(c,{className:"status-icon-".concat(s)});case"error":return e().createElement(u,{className:"status-icon-".concat(s)});default:return null}}}()):e().createElement("div",{className:"status-ink",style:{backgroundColor:h?d(h).setAlpha(.1).toRgbString():void 0}},e().createElement("span",{className:"status-radius",style:{backgroundColor:h||void 0}})),e().createElement("span",{className:"status-text"},n))},G=J}(),a}()}));
|