@para-ui/core 4.0.17 → 4.0.19-aplha

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.
Files changed (128) hide show
  1. package/Breadcrumbs/index.js +2 -2
  2. package/Button/SplitButton.d.ts +1 -1
  3. package/Button/index.js +2 -2
  4. package/ButtonGroup/index.js +2 -2
  5. package/Cascader/OptionList/Column.d.ts +1 -1
  6. package/Cascader/index.js +5 -6
  7. package/ColorPicker/chromePicker/index.d.ts +1 -2
  8. package/ColorPicker/compactPicker/index.d.ts +1 -2
  9. package/ColorPicker/sketchPicker/index.d.ts +1 -2
  10. package/ColorPicker/swatchesPicker/index.d.ts +1 -2
  11. package/ComboSelect/index.js +10 -7
  12. package/Container/index.d.ts +1 -1
  13. package/CopyText/index.js +2 -2
  14. package/CycleSelector/index.js +4 -4
  15. package/DatePicker/PickerButton.d.ts +1 -2
  16. package/DatePicker/PickerTag.d.ts +1 -2
  17. package/DatePicker/index.js +3 -4
  18. package/Descriptions/index.js +2 -2
  19. package/Desktop/index.js +3 -3
  20. package/DragVerify/index.js +3 -2
  21. package/Drawer/index.js +2 -2
  22. package/DynamicMultiBox/formItem.d.ts +1 -2
  23. package/DynamicMultiBox/index.js +10 -8
  24. package/DynamicMultiBox/interface.d.ts +1 -1
  25. package/DynamicMultiBox/rowForm.d.ts +1 -1
  26. package/Empty/images/index.d.ts +2 -3
  27. package/Empty/index.js +4 -3
  28. package/Form/index.js +9 -6
  29. package/FormItem/index.js +9 -6
  30. package/FunctionModal/index.js +4 -5
  31. package/FunctionModal/modalContext.d.ts +1 -2
  32. package/GlobalContext/index.js +3 -39
  33. package/InputLang/index.js +3 -3
  34. package/Message/index.d.ts +1 -1
  35. package/Modal/index.js +4 -5
  36. package/MultiBox/index.js +3 -3
  37. package/OperateBtn/index.js +2 -2
  38. package/PageHeader/index.js +2 -2
  39. package/Pagination/index.js +4 -4
  40. package/ParauiProvider/index.d.ts +2 -2
  41. package/ParauiProvider/index.js +2 -2
  42. package/PopConfirm/index.js +2 -2
  43. package/Prompt/index.d.ts +1 -1
  44. package/Querying/images/index.d.ts +2 -3
  45. package/Querying/index.js +4 -3
  46. package/QuickReply/index.js +3 -3
  47. package/README.md +8 -0
  48. package/Search/index.js +2 -2
  49. package/Select/index.js +4 -4
  50. package/SelectInput/index.js +4 -4
  51. package/Selector/index.js +5 -328
  52. package/SelectorPicker/index.js +4 -3
  53. package/SingleBox/index.js +3 -3
  54. package/Switch/index.js +3 -2
  55. package/Table/index.js +3 -3
  56. package/Tabs/index.js +2 -2
  57. package/TextEditor/index.js +2 -2
  58. package/TextField/index.js +2 -2
  59. package/TimePicker/index.js +3 -4
  60. package/Timeline/TimelineItem.d.ts +1 -1
  61. package/Timeline/index.js +20 -14
  62. package/ToggleButton/index.js +2 -2
  63. package/Tooltip/utils.d.ts +1 -1
  64. package/Transfer/box.d.ts +1 -1
  65. package/Transfer/index.d.ts +1 -1
  66. package/Transfer/index.js +3 -3
  67. package/Tree/index.js +11 -8
  68. package/Tree/utils/treeUtil.d.ts +1 -1
  69. package/Upload/index.js +3 -4
  70. package/_verture/{defineProperty-1d116156.js → defineProperty-51493dbe.js} +10 -2
  71. package/_verture/{index-02b7a0b7.js → index-0447e790.js} +395 -314
  72. package/_verture/index-287ae1b3.js +327 -0
  73. package/_verture/{index-cc76d8d5.js → index-344d4ffe.js} +2 -3
  74. package/_verture/{index-10792f39.js → index-3e98a394.js} +1 -1
  75. package/_verture/{intl-f2f27722.js → index-ca413216.js} +54 -1
  76. package/_verture/{useFormatMessage-eb13cf56.js → useFormatMessage-1fc7c957.js} +1 -1
  77. package/_verture/{useGlobalProps-1e416658.js → useGlobalProps-4ae1a007.js} +1 -1
  78. package/index.js +10 -12
  79. package/package.json +12 -16
  80. package/umd/Breadcrumbs.js +7 -7
  81. package/umd/Button.js +2 -2
  82. package/umd/ButtonGroup.js +4 -4
  83. package/umd/Carousel.js +3 -3
  84. package/umd/Cascader.js +1 -1
  85. package/umd/ColorPicker.js +1 -1
  86. package/umd/ComboSelect.js +5 -5
  87. package/umd/CopyText.js +7 -7
  88. package/umd/CycleSelector.js +5 -5
  89. package/umd/DatePicker.js +2 -2
  90. package/umd/Descriptions.js +7 -7
  91. package/umd/Desktop.js +2 -2
  92. package/umd/DragVerify.js +3 -3
  93. package/umd/Drawer.js +2 -2
  94. package/umd/DynamicMultiBox.js +3 -3
  95. package/umd/Empty.js +1 -1
  96. package/umd/Form.js +3 -3
  97. package/umd/FormItem.js +3 -3
  98. package/umd/FunctionModal.js +7 -7
  99. package/umd/GlobalContext.js +1 -1
  100. package/umd/InputLang.js +2 -2
  101. package/umd/Modal.js +2 -2
  102. package/umd/MultiBox.js +5 -5
  103. package/umd/OperateBtn.js +2 -2
  104. package/umd/PageHeader.js +4 -4
  105. package/umd/Pagination.js +3 -3
  106. package/umd/ParauiProvider.js +1 -1
  107. package/umd/PopConfirm.js +5 -5
  108. package/umd/Querying.js +1 -1
  109. package/umd/QuickReply.js +2 -2
  110. package/umd/Search.js +2 -2
  111. package/umd/Select.js +3 -3
  112. package/umd/SelectInput.js +3 -3
  113. package/umd/Selector.js +2 -2
  114. package/umd/SelectorPicker.js +4 -4
  115. package/umd/SingleBox.js +2 -2
  116. package/umd/Switch.js +2 -2
  117. package/umd/Table.js +5 -5
  118. package/umd/Tabs.js +2 -2
  119. package/umd/TextEditor.js +3 -3
  120. package/umd/TextField.js +2 -2
  121. package/umd/TimePicker.js +2 -2
  122. package/umd/ToggleButton.js +2 -2
  123. package/umd/Transfer.js +8 -8
  124. package/umd/Tree.js +4 -4
  125. package/umd/Upload.js +7 -7
  126. package/_verture/index-c568f272.js +0 -18
  127. package/_verture/typeof-adeedc13.js +0 -11
  128. /package/_verture/{modalContext-b101ffaa.js → modalContext-c8cc3107.js} +0 -0
package/umd/Switch.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("@paraview/lib")):"function"==typeof define&&define.amd?define(["react","react-dom","@paraview/lib"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom"),require("@paraview/lib")):e.ParaUI=t(e.react,e["react-dom"],e["@paraview/lib"])}(self,((e,t,n)=>(()=>{var r={18628:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(8156),o=n.n(r),i=n(76445),a=n(58543),c=n(55934);Object.assign({},c.d.zh);const s=o().createContext({language:(0,a.GetLanguage)(),intlFormat:(e,t)=>(e,n)=>{const r=(0,a.GetLanguage)();return(0,i.i)({ops:e,i18nData:{},lang:r,params:n,defI18nData:t})},componentsProps:{}})},55934:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r={cancel:"Cancel",ok:"Ok"},o={cancel:"取 消",ok:"确 定"},i={zh:o,en:r,"zh-CN":o,"en-US":r}},76445:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});const r=(e,t)=>{if(!t)return e;e=e.replace(/\"/g,'\\"');const n=/({[^{}]+})/g;return e.split(n).map((e=>{if(e.match(n)){const n=e.replace(/({|})/g,""),r=((e,t,n)=>{const r=t.replace(/\[(\d+)\]/g,".$1").split(".");let o=e;for(const e of r)if(o=Object(o)[e],void 0===o)return n;return o})(t,n);return void 0===r?n:r}return e}))},o=e=>{var t,n;const{ops:o,i18nData:i,lang:a,params:c,defI18nData:s}=e;let l,u;if("string"==typeof o)u=o;else if("object"==typeof o){if("string"!=typeof o.id)return'i18n intl object "id" is missing';u=o.id}return void 0!==u&&(l=null===(t=i[a])||void 0===t?void 0:t[u],void 0===l&&s&&(l=null===(n=s[a])||void 0===n?void 0:n[u])),"string"!=typeof l?"{".concat(u,"}"):r(l,c)}},30465:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(85893),o=n(97435),i=function(e){return(0,r.jsx)(o.l,Object.assign({dataName:"Forbid",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"Forbid",transform:"translate(-185 -273)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(185 273)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M9.6,0a9.6,9.6,0,1,0,9.6,9.6A9.609,9.609,0,0,0,9.6,0m-8,9.6A7.959,7.959,0,0,1,3.595,4.331L14.433,15.959A7.985,7.985,0,0,1,1.6,9.6m14,5.269L4.767,3.24A7.986,7.986,0,0,1,15.6,14.868",transform:"translate(187.4 275.4)"})]}))})},e))}},61217:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(85893),o=n(97435),i=function(e){return(0,r.jsx)(o.l,Object.assign({dataName:"LoadingF",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"LoadingF",transform:"translate(-430 -2399)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(430 2399)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M7.2,0H8.885L8.9.15h.089L9,.169h.081l.022,0h0L9.135.2h.007l.022,0h0L9.208.21h0l.007,0h0l.007,0h0L9.252.22h0l.007,0h0l.007,0h0l.007,0h0l.007,0h0l.007,0h0a9.618,9.618,0,0,1,6.676,5.448h0l.012.027h0l.012.026h0L16,5.756h0l0,.006h0l0,.007h0l0,.007h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.005h0l0,.005h0l0,.005h0l0,.005h0l0,.006h0l0,.006h0l0,.006h0l0,.005v0l0,.005h0l0,.006h0l0,.006h0L16.1,6V6L16.1,6h0l0,.006h0l0,.006h0l0,.005v0l0,.005v0l0,.005h0l0,.005h0l0,.005v0l0,.005h0l0,.006h0l0,.005h0l0,.005v0l0,.005v0l0,.005v0l0,.005h0l0,.005v0l0,0v0l0,0v0l0,.005v0l0,0v0l0,0v0l0,0v0l0,.005v0l0,0v0l0,0v0l0,.005v0l0,.005v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0,0,.007,0,.007,0,.007v0l0,0,0,.007,0,.007,0,.007v0l0,0,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007v0l0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007v.014l0,.007,0,.007,0,.007,0,.007,0,.007v.066l0,0v0l0,0v.016l0,0v0l0,0V6.8l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v.016l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v.016l0,.005h0l0,.006v0l0,.005v.009l0,.005v0l0,.006v0l0,.005v.014h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006v0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006v0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.007h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.006h0l.005.021h0l0,.014h0l0,.007h0l0,.007h0a9.617,9.617,0,0,1,.29,2.338l-1.333,0A8.278,8.278,0,0,0,7.2,1.333V0Z",transform:"translate(434.8 2401.401)"})]}))})},e))}},97435:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(85893);
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom"),require("@paraview/lib")):"function"==typeof define&&define.amd?define(["react","react-dom","@paraview/lib"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom"),require("@paraview/lib")):e.ParaUI=t(e.react,e["react-dom"],e["@paraview/lib"])}(self,((e,t,n)=>(()=>{var r={30465:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(85893),o=n(97435),i=function(e){return(0,r.jsx)(o.l,Object.assign({dataName:"Forbid",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"Forbid",transform:"translate(-185 -273)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(185 273)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M9.6,0a9.6,9.6,0,1,0,9.6,9.6A9.609,9.609,0,0,0,9.6,0m-8,9.6A7.959,7.959,0,0,1,3.595,4.331L14.433,15.959A7.985,7.985,0,0,1,1.6,9.6m14,5.269L4.767,3.24A7.986,7.986,0,0,1,15.6,14.868",transform:"translate(187.4 275.4)"})]}))})},e))}},61217:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(85893),o=n(97435),i=function(e){return(0,r.jsx)(o.l,Object.assign({dataName:"LoadingF",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"LoadingF",transform:"translate(-430 -2399)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(430 2399)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M7.2,0H8.885L8.9.15h.089L9,.169h.081l.022,0h0L9.135.2h.007l.022,0h0L9.208.21h0l.007,0h0l.007,0h0L9.252.22h0l.007,0h0l.007,0h0l.007,0h0l.007,0h0l.007,0h0a9.618,9.618,0,0,1,6.676,5.448h0l.012.027h0l.012.026h0L16,5.756h0l0,.006h0l0,.007h0l0,.007h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.005h0l0,.005h0l0,.005h0l0,.005h0l0,.006h0l0,.006h0l0,.006h0l0,.005v0l0,.005h0l0,.006h0l0,.006h0L16.1,6V6L16.1,6h0l0,.006h0l0,.006h0l0,.005v0l0,.005v0l0,.005h0l0,.005h0l0,.005v0l0,.005h0l0,.006h0l0,.005h0l0,.005v0l0,.005v0l0,.005v0l0,.005h0l0,.005v0l0,0v0l0,0v0l0,.005v0l0,0v0l0,0v0l0,0v0l0,.005v0l0,0v0l0,0v0l0,.005v0l0,.005v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0v0l0,0,0,.007,0,.007,0,.007v0l0,0,0,.007,0,.007,0,.007v0l0,0,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007v0l0,.007,0,.007,0,.007,0,.007,0,.007,0,.007,0,.007v.014l0,.007,0,.007,0,.007,0,.007,0,.007v.066l0,0v0l0,0v.016l0,0v0l0,0V6.8l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v.016l0,.005v0l0,.005v0l0,.005v0l0,.005v0l0,.005v.016l0,.005h0l0,.006v0l0,.005v.009l0,.005v0l0,.006v0l0,.005v.014h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006v0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006v0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.007h0l0,.006h0l0,.006h0l0,.006h0l0,.006h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.007h0l0,.006h0l.005.021h0l0,.014h0l0,.007h0l0,.007h0a9.617,9.617,0,0,1,.29,2.338l-1.333,0A8.278,8.278,0,0,0,7.2,1.333V0Z",transform:"translate(434.8 2401.401)"})]}))})},e))}},97435:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(85893);
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -40,4 +40,4 @@ Ye=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Objec
40
40
  *
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
- */n(27418);var r=n(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,i={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)c.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.jsx=l,t.jsxs=l},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>Z});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function c(){a(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=d(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,c=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=h(r,"left","right")+i),Math.round(s+a)!==n&&(s-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var l=Math.round(c+i)-t,u=Math.round(s+a)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return g(o.left,o.top,c,s)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):v(e):p}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,r,o,i,a,c,s,l=(r=(n=t).x,o=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),u(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);u(this,{target:e,contentRect:l})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new O(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));const Z=void 0!==i.ResizeObserver?i.ResizeObserver:x},62195:(e,t,n)=>{var r=n(93379),o=n(7381);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},80666:(e,t,n)=>{var r=n(93379),o=n(84928);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},64649:(e,t,n)=>{var r=n(93379),o=n(66378);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},42560:(e,t,n)=>{var r=n(93379),o=n(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},93379:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],s=t.base?i[0]+t.base:i[0],l=n[s]||0,u="".concat(s," ").concat(l);n[s]=l+1;var f=c(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:u,updater:m(p,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function m(e,t){var n,r,o;if(t.singleton){var i=v++;n=h||(h=l(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=l(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);a[o].references--}for(var i=s(e,t),l=0;l<n.length;l++){var u=c(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>r,Z:()=>o});var r="paraui-v4",o="component"},60855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8156),o=n.n(r),i=n(18628);const a=function(e,t){var n=o().useContext(i.ZP).intlFormat;return t.zh_CN=t.zh,t["zh-CN"]=t.zh,t.en_US=t.en,t["en-US"]=t.en,n&&n(e,t)}},79389:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(8156),o=n.n(r),i=n(77918),a=n(85893),c=n(97435),s=function(e){return(0,a.jsx)(c.l,Object.assign({dataName:"Help",viewBox:"0 0 24 24",path:(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("g",Object.assign({id:"Help",transform:"translate(-140 -499)"},{children:[(0,a.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 499)",fill:"none"}),(0,a.jsx)("path",{id:"icon",d:"M0,9.6a9.6,9.6,0,1,1,9.6,9.6A9.611,9.611,0,0,1,0,9.6Zm1.6,0a8,8,0,1,0,8-8A8.01,8.01,0,0,0,1.6,9.6ZM8.4,14a1,1,0,1,1,1,1A1,1,0,0,1,8.4,14Zm.162-2.6A1.643,1.643,0,0,1,8.7,10.66,3.615,3.615,0,0,1,10.264,9.1c.929-.616,1.538-1.07,1.538-1.746a1.748,1.748,0,0,0-.719-1.346A2.048,2.048,0,0,0,9.42,5.573,2.083,2.083,0,0,0,7.667,7.492a.778.778,0,0,1-.806.788.8.8,0,0,1-.792-.793A3.692,3.692,0,0,1,9.037,4.02a3.645,3.645,0,0,1,3.031.73A3.321,3.321,0,0,1,13.4,7.356c0,1.586-1.3,2.449-2.254,3.08a3.557,3.557,0,0,0-.943.758l-.052.13a.806.806,0,0,1-.771.835H9.355A.789.789,0,0,1,8.558,11.4Z",transform:"translate(142.4 501.4)"})]}))})},e))},l=n(86010),u=n(37464);n(62195);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const d=function(e){var t=e.title,n=void 0===t?"":t,r=e.children,a=e.arrow,c=void 0===a||a,d=e.className,h=e.placement,v=void 0===h?"top-start":h,m=p(e,["title","children","arrow","className","placement"]);return o().createElement(i.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}({title:n,arrow:c,placement:v},m),o().createElement("span",{className:(0,l.Z)("".concat(u.W,"-help"),d)},r||o().createElement(s,null)))}},50134:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(8156),o=n.n(r),i=n(79389),a=n(37464);n(80666);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const u=function(e){var t=e.className,n=e.helpClassName,r=e.style,c=e.label,u=e.labelSign,f=e.required,p=void 0!==f&&f,d=e.tooltip,h=e.tooltipType,v=void 0===h?"icon":h,m=e.placement,b=e.arrow,g=e.tooltipIcon,y=e.onClick,w=l(e,["className","helpClassName","style","label","labelSign","required","tooltip","tooltipType","placement","arrow","tooltipIcon","onClick"]),O=function(){var e="".concat(a.W,"-label");return v&&(e+=" ".concat(a.W,"-label-").concat(v)),d&&(e+=" ".concat(a.W,"-label-tooltip")),t&&(e+=" ".concat(t)),e},E=function(e){y&&y(e)};return o().createElement(o().Fragment,null,"icon"===v&&o().createElement("label",{className:O(),style:r,onClick:E},o().createElement(o().Fragment,null,c),p&&o().createElement("span",{className:"label-required"},"*"),u&&o().createElement("span",null,u),d&&o().createElement(i.default,s({title:d,placement:m,arrow:b,className:n},w),g)),"line"===v&&o().createElement(i.default,s({title:d||"",placement:m,arrow:b,className:n},w),o().createElement("label",{className:O(),style:r,onClick:E},o().createElement(o().Fragment,null,c),p&&o().createElement("span",{className:"label-required"},"*"),u&&o().createElement("span",null,u))))}},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>C});var r=n(8156),o=n.n(r),i=n(79483),a=n(24375),c=n(86010),s=n(37464);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function h(e){return"boolean"==typeof e?e?p:d:u({},d,e)}function v(e){var t=o().isValidElement(e)?e:o().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},r=u({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(u({display:"inline-block"},r),{cursor:"not-allowed",width:t.props.block?"100%":null}),l=f(u({},i),{pointerEvents:"none"}),p=o().cloneElement(t,{style:l,className:null});return o().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(s.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return t}function m(e){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[e]||e}var b=n(30465);n(42560);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}function O(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Z=o().forwardRef((function(e,t){var n,r=x(o().useState(e.defaultVisible),2),l=r[0],p=r[1],d=o().useRef(),g=o().useRef(),y=x(o().useState([0,0]),2),Z=y[0],C=y[1];o().useEffect((function(){var t;("visible"in e||"open"in e)&&p(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var P=function(){var t=e.title;return!t&&0!==t},S=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,r=e.verticalArrowShift,o=void 0===r?8:r,i=e.autoAdjustOverflow,c={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=f(u({},a.Ct[e]),{offset:(t=e,n=m(t),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:h(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},T=e.prefixCls,j=void 0===T?"".concat(s.Z,"-tooltip"):T,k=e.getPopupContainer,M=e.overlayClassName,N=e.overlayInnerStyle,_=e.overlayStyle,A=e.children,D=e.title,L=e.placement,R=e.isPopover,I=e.followCursor,H=e.maxWidth,F=e.disabled,z=E(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),V=l;"visible"in e||"open"in e||!P()||(V=!1);var W=(0,c.Z)(!R&&"".concat(s.W,"-tooltip"),M),U=w({},_);H&&(U.maxWidth=H);var B={targetOffset:Z};return e.offset&&(B.offset=e.offset),o().createElement(i.Z,O(w({},z),{prefixCls:j,placement:I?"top":m(L),overlayClassName:W,getTooltipContainer:k,ref:t||g,builtinPlacements:S(),overlay:o().createElement(o().Fragment,null,F&&o().createElement(b.Z,{className:"disabled-svg"}),D),visible:V,align:B,onVisibleChange:function(t){var n;("visible"in e||"open"in e||p(!P()&&t),P())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=S(),r=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:U,overlayInnerStyle:N,arrowContent:null,motion:{motionName:"".concat(s.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),I?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(t=n.getElement())||void 0===t?void 0:t.offsetHeight)||0,a=0===i?60:30,c=d.current.getBoundingClientRect(),s=c.x,l=c.y,u=c.width,f=e.clientX-(s+u/2),p=e.clientY-l+i+a;setTimeout((function(){C([-f,-p])}))}}},v(A)):v(A))}));Z.displayName="Tooltip",Z.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=Z},58543:e=>{"use strict";e.exports=n},8156:t=>{"use strict";t.exports=e},47111:e=>{"use strict";e.exports=t},30907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},97326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},15861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},15671:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(67343);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(61120),o=n(78814),i=n(82963);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(67343);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},61120:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(89611);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:()=>r})},31902:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}n.d(t,{Z:()=>r})},25267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4942);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},45987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(63366);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(97326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},89611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(71002);function o(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},67343:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(35512);function i(e){var t=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{Switch:()=>Z,default:()=>C});var e=i(61217),t=i(4942),n=i(93324),r=i(45987),o=i(8156),c=i.n(o),s=i(94184),l=i.n(s),u=i(21770),f=i(15105),p=o.forwardRef((function(e,i){var a,c=e.prefixCls,s=void 0===c?"rc-switch":c,p=e.className,d=e.checked,h=e.defaultChecked,v=e.disabled,m=e.loadingIcon,b=e.checkedChildren,g=e.unCheckedChildren,y=e.onClick,w=e.onChange,O=e.onKeyDown,E=(0,r.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,u.Z)(!1,{value:d,defaultValue:h}),Z=(0,n.Z)(x,2),C=Z[0],P=Z[1];function S(e,t){var n=C;return v||(P(n=e),null==w||w(n,t)),n}var T=l()(s,p,(a={},(0,t.Z)(a,"".concat(s,"-checked"),C),(0,t.Z)(a,"".concat(s,"-disabled"),v),a));return o.createElement("button",Object.assign({},E,{type:"button",role:"switch","aria-checked":C,disabled:v,className:T,ref:i,onKeyDown:function(e){e.which===f.Z.LEFT?S(!1,e):e.which===f.Z.RIGHT&&S(!0,e),null==O||O(e)},onClick:function(e){var t=S(!C,e);null==y||y(t,e)}}),m,o.createElement("span",{className:"".concat(s,"-inner")},C?b:g))}));p.displayName="Switch";const d=p;var h=i(86010),v=i(37464),m=i(50134),b=i(77918),g=i(60855);const y={zh:{ing:"正在进行中"},en:{ing:"In Progress"}};i(64649);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w(e,t,n[t])}))}return e}function E(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Z=function(t){var n,r=(0,g.Z)("Switch",y),o=(t.size,t.loading),i=t.disabled,a=t.className,s=t.label,l=t.required,u=void 0!==l&&l,f=t.desc,p=t.labelTooltip,Z=t.descTooltip,C=t.disabledTooltip,P=t.loadingTitle,S=void 0===P?r({id:"ing"}):P,T=t.labelPlacement,j=void 0===T?"top":T,k=t.descPlacement,M=void 0===k?"start":k,N=t.supText,_=x(t,["size","loading","disabled","className","label","required","desc","labelTooltip","descTooltip","disabledTooltip","loadingTitle","labelPlacement","descPlacement","supText"]),A=(0,h.Z)("".concat(v.W,"-switch"),(w(n={},"".concat(v.W,"-switch-loading"),o),w(n,"".concat(v.W,"-switch-disabled"),i),n),a),D=(0,h.Z)("".concat(v.W,"-switch-label"),"".concat(v.W,"-switch-label-").concat(j),"".concat(v.W,"-switch-desc-").concat(M)),L=c().createElement("div",{className:"".concat(v.Z,"-switch-handle")},o&&c().createElement(e.Z,{className:"".concat(v.Z,"-switch-loading-icon")})),R=function(){return i&&C?c().createElement(b.default,O({disabled:!0},C),c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({className:A},_),{prefixCls:"".concat(v.Z,"-switch"),disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N))):c().createElement(c().Fragment,null,S&&o?c().createElement(b.default,{disabled:!0,title:S},c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({},_),{prefixCls:"".concat(v.Z,"-switch"),className:A,disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N))):c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({},_),{prefixCls:"".concat(v.Z,"-switch"),className:A,disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N)))};return s||f?c().createElement("span",{className:D},f&&c().createElement(m.default,E(O({label:f,required:u},Z),{className:"".concat(v.Z,"-desc-text ").concat(i?"".concat(v.Z,"-disabled-text"):"")})),c().createElement("span",{className:"".concat(v.W,"-label-text-container")},s&&c().createElement(m.default,E(O({label:s,required:u},p),{className:"".concat(v.Z,"-switch-text ").concat(i?"".concat(v.Z,"-disabled-text"):"")})),R())):R()};const C=Z})(),a})()));
43
+ */n(27418);var r=n(8156),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,i={},l=null,u=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(u=t.ref),t)c.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:a.current}}t.jsx=l,t.jsxs=l},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>Z});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function c(){a(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+d(e["border-"+n+"-width"])}),0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=d(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,c=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=h(r,"left","right")+i),Math.round(s+a)!==n&&(s-=h(r,"top","bottom")+a)),!function(e){return e===f(e).document.documentElement}(e)){var l=Math.round(c+i)-t,u=Math.round(s+a)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return g(o.left,o.top,c,s)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return o?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):v(e):p}function g(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,r,o,i,a,c,s,l=(r=(n=t).x,o=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),u(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);u(this,{target:e,contentRect:l})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new O(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));const Z=void 0!==i.ResizeObserver?i.ResizeObserver:x},62195:(e,t,n)=>{var r=n(93379),o=n(7381);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},80666:(e,t,n)=>{var r=n(93379),o=n(84928);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},64649:(e,t,n)=>{var r=n(93379),o=n(66378);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},42560:(e,t,n)=>{var r=n(93379),o=n(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},93379:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],s=t.base?i[0]+t.base:i[0],l=n[s]||0,u="".concat(s," ").concat(l);n[s]=l+1;var f=c(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:u,updater:m(p,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,f=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function m(e,t){var n,r,o;if(t.singleton){var i=v++;n=h||(h=l(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=l(t),r=d.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=c(n[r]);a[o].references--}for(var i=s(e,t),l=0;l<n.length;l++){var u=c(n[l]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>r,Z:()=>o});var r="paraui-v4",o="component"},63732:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(8156),o=n.n(r),i=n(20075),a=n(58543);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}s({},n(57213).Z.zh);var l=o().createContext({language:(0,a.GetLanguage)(),intlFormat:function(e,t){return function(e,n){var r=(0,a.GetLanguage)();return(0,i.ex)({ops:e,i18nData:{},lang:r,params:n,defI18nData:t})}},componentsProps:{}});const u=l},20075:(e,t,n)=>{"use strict";n.d(t,{ex:()=>o});n(8156);var r=function(e,t){if(!t)return e;e=e.replace(/\"/g,'\\"');var n=/({[^{}]+})/g;return e.split(n).map((function(e){if(e.match(n)){var r=e.replace(/({|})/g,""),o=function(e,t,n){var r=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,i=!0,a=!1,c=void 0;try{for(var s,l=r[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;if(void 0===(o=Object(o)[u]))return n}}catch(e){a=!0,c=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw c}}return o}(t,r);return void 0===o?r:o}return e}))},o=function(e){var t,n,o,i,a=e.ops,c=e.i18nData,s=e.lang,l=e.params,u=e.defI18nData;if("string"==typeof a)n=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';n=a.id}void 0!==n&&(void 0===(t=null===(o=c[s])||void 0===o?void 0:o[n])&&u&&(t=null===(i=u[s])||void 0===i?void 0:i[n]));return"string"!=typeof t?"{".concat(n,"}"):r(t,l)}},60855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8156),o=n.n(r),i=n(63732);const a=function(e,t){var n=o().useContext(i.default).intlFormat;return t.zh_CN=t.zh,t["zh-CN"]=t.zh,t.en_US=t.en,t["en-US"]=t.en,n&&n(e,t)}},79389:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(8156),o=n.n(r),i=n(77918),a=n(85893),c=n(97435),s=function(e){return(0,a.jsx)(c.l,Object.assign({dataName:"Help",viewBox:"0 0 24 24",path:(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("g",Object.assign({id:"Help",transform:"translate(-140 -499)"},{children:[(0,a.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 499)",fill:"none"}),(0,a.jsx)("path",{id:"icon",d:"M0,9.6a9.6,9.6,0,1,1,9.6,9.6A9.611,9.611,0,0,1,0,9.6Zm1.6,0a8,8,0,1,0,8-8A8.01,8.01,0,0,0,1.6,9.6ZM8.4,14a1,1,0,1,1,1,1A1,1,0,0,1,8.4,14Zm.162-2.6A1.643,1.643,0,0,1,8.7,10.66,3.615,3.615,0,0,1,10.264,9.1c.929-.616,1.538-1.07,1.538-1.746a1.748,1.748,0,0,0-.719-1.346A2.048,2.048,0,0,0,9.42,5.573,2.083,2.083,0,0,0,7.667,7.492a.778.778,0,0,1-.806.788.8.8,0,0,1-.792-.793A3.692,3.692,0,0,1,9.037,4.02a3.645,3.645,0,0,1,3.031.73A3.321,3.321,0,0,1,13.4,7.356c0,1.586-1.3,2.449-2.254,3.08a3.557,3.557,0,0,0-.943.758l-.052.13a.806.806,0,0,1-.771.835H9.355A.789.789,0,0,1,8.558,11.4Z",transform:"translate(142.4 501.4)"})]}))})},e))},l=n(86010),u=n(37464);n(62195);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const d=function(e){var t=e.title,n=void 0===t?"":t,r=e.children,a=e.arrow,c=void 0===a||a,d=e.className,h=e.placement,v=void 0===h?"top-start":h,m=p(e,["title","children","arrow","className","placement"]);return o().createElement(i.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}({title:n,arrow:c,placement:v},m),o().createElement("span",{className:(0,l.Z)("".concat(u.W,"-help"),d)},r||o().createElement(s,null)))}},50134:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(8156),o=n.n(r),i=n(79389),a=n(37464);n(80666);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const u=function(e){var t=e.className,n=e.helpClassName,r=e.style,c=e.label,u=e.labelSign,f=e.required,p=void 0!==f&&f,d=e.tooltip,h=e.tooltipType,v=void 0===h?"icon":h,m=e.placement,b=e.arrow,g=e.tooltipIcon,y=e.onClick,w=l(e,["className","helpClassName","style","label","labelSign","required","tooltip","tooltipType","placement","arrow","tooltipIcon","onClick"]),O=function(){var e="".concat(a.W,"-label");return v&&(e+=" ".concat(a.W,"-label-").concat(v)),d&&(e+=" ".concat(a.W,"-label-tooltip")),t&&(e+=" ".concat(t)),e},E=function(e){y&&y(e)};return o().createElement(o().Fragment,null,"icon"===v&&o().createElement("label",{className:O(),style:r,onClick:E},o().createElement(o().Fragment,null,c),p&&o().createElement("span",{className:"label-required"},"*"),u&&o().createElement("span",null,u),d&&o().createElement(i.default,s({title:d,placement:m,arrow:b,className:n},w),g)),"line"===v&&o().createElement(i.default,s({title:d||"",placement:m,arrow:b,className:n},w),o().createElement("label",{className:O(),style:r,onClick:E},o().createElement(o().Fragment,null,c),p&&o().createElement("span",{className:"label-required"},"*"),u&&o().createElement("span",null,u))))}},57213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={cancel:"Cancel",ok:"Ok"},o={cancel:"取 消",ok:"确 定"},i={zh:o,en:r,"zh-CN":o,"en-US":r}},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>C});var r=n(8156),o=n.n(r),i=n(79483),a=n(24375),c=n(86010),s=n(37464);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function h(e){return"boolean"==typeof e?e?p:d:u({},d,e)}function v(e){var t=o().isValidElement(e)?e:o().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},r=u({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(u({display:"inline-block"},r),{cursor:"not-allowed",width:t.props.block?"100%":null}),l=f(u({},i),{pointerEvents:"none"}),p=o().cloneElement(t,{style:l,className:null});return o().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(s.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return t}function m(e){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[e]||e}var b=n(30465);n(42560);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}function O(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Z=o().forwardRef((function(e,t){var n,r=x(o().useState(e.defaultVisible),2),l=r[0],p=r[1],d=o().useRef(),g=o().useRef(),y=x(o().useState([0,0]),2),Z=y[0],C=y[1];o().useEffect((function(){var t;("visible"in e||"open"in e)&&p(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var P=function(){var t=e.title;return!t&&0!==t},S=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,r=e.verticalArrowShift,o=void 0===r?8:r,i=e.autoAdjustOverflow,c={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=f(u({},a.Ct[e]),{offset:(t=e,n=m(t),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:h(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},T=e.prefixCls,j=void 0===T?"".concat(s.Z,"-tooltip"):T,k=e.getPopupContainer,M=e.overlayClassName,N=e.overlayInnerStyle,_=e.overlayStyle,A=e.children,D=e.title,L=e.placement,R=e.isPopover,I=e.followCursor,H=e.maxWidth,F=e.disabled,z=E(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),V=l;"visible"in e||"open"in e||!P()||(V=!1);var W=(0,c.Z)(!R&&"".concat(s.W,"-tooltip"),M),U=w({},_);H&&(U.maxWidth=H);var B={targetOffset:Z};return e.offset&&(B.offset=e.offset),o().createElement(i.Z,O(w({},z),{prefixCls:j,placement:I?"top":m(L),overlayClassName:W,getTooltipContainer:k,ref:t||g,builtinPlacements:S(),overlay:o().createElement(o().Fragment,null,F&&o().createElement(b.Z,{className:"disabled-svg"}),D),visible:V,align:B,onVisibleChange:function(t){var n;("visible"in e||"open"in e||p(!P()&&t),P())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=S(),r=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(r){var o=e.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:U,overlayInnerStyle:N,arrowContent:null,motion:{motionName:"".concat(s.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),I?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(t=n.getElement())||void 0===t?void 0:t.offsetHeight)||0,a=0===i?60:30,c=d.current.getBoundingClientRect(),s=c.x,l=c.y,u=c.width,f=e.clientX-(s+u/2),p=e.clientY-l+i+a;setTimeout((function(){C([-f,-p])}))}}},v(A)):v(A))}));Z.displayName="Tooltip",Z.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=Z},58543:e=>{"use strict";e.exports=n},8156:t=>{"use strict";t.exports=e},47111:e=>{"use strict";e.exports=t},30907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},83878:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>r})},97326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},15861:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>o})},15671:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>r})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(67343);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.Z)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(61120),o=n(78814),i=n(82963);function a(e){var t=(0,o.Z)();return function(){var n,o=(0,r.Z)(e);if(t){var a=(0,r.Z)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(67343);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},87462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},61120:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:()=>r})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(89611);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{Z:()=>r})},31902:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){l=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}n.d(t,{Z:()=>r})},25267:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:()=>r})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(4942);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},45987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(63366);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(97326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},89611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,r.Z)(e)||(0,o.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(71002);function o(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},67343:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(71002),o=n(35512);function i(e){var t=(0,o.Z)(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(30907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{Switch:()=>Z,default:()=>C});var e=i(61217),t=i(4942),n=i(93324),r=i(45987),o=i(8156),c=i.n(o),s=i(94184),l=i.n(s),u=i(21770),f=i(15105),p=o.forwardRef((function(e,i){var a,c=e.prefixCls,s=void 0===c?"rc-switch":c,p=e.className,d=e.checked,h=e.defaultChecked,v=e.disabled,m=e.loadingIcon,b=e.checkedChildren,g=e.unCheckedChildren,y=e.onClick,w=e.onChange,O=e.onKeyDown,E=(0,r.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),x=(0,u.Z)(!1,{value:d,defaultValue:h}),Z=(0,n.Z)(x,2),C=Z[0],P=Z[1];function S(e,t){var n=C;return v||(P(n=e),null==w||w(n,t)),n}var T=l()(s,p,(a={},(0,t.Z)(a,"".concat(s,"-checked"),C),(0,t.Z)(a,"".concat(s,"-disabled"),v),a));return o.createElement("button",Object.assign({},E,{type:"button",role:"switch","aria-checked":C,disabled:v,className:T,ref:i,onKeyDown:function(e){e.which===f.Z.LEFT?S(!1,e):e.which===f.Z.RIGHT&&S(!0,e),null==O||O(e)},onClick:function(e){var t=S(!C,e);null==y||y(t,e)}}),m,o.createElement("span",{className:"".concat(s,"-inner")},C?b:g))}));p.displayName="Switch";const d=p;var h=i(86010),v=i(37464),m=i(50134),b=i(77918),g=i(60855);const y={zh:{ing:"正在进行中"},en:{ing:"In Progress"}};i(64649);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w(e,t,n[t])}))}return e}function E(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):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}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function x(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Z=function(t){var n,r=(0,g.Z)("Switch",y),o=(t.size,t.loading),i=t.disabled,a=t.className,s=t.label,l=t.required,u=void 0!==l&&l,f=t.desc,p=t.labelTooltip,Z=t.descTooltip,C=t.disabledTooltip,P=t.loadingTitle,S=void 0===P?r({id:"ing"}):P,T=t.labelPlacement,j=void 0===T?"top":T,k=t.descPlacement,M=void 0===k?"start":k,N=t.supText,_=x(t,["size","loading","disabled","className","label","required","desc","labelTooltip","descTooltip","disabledTooltip","loadingTitle","labelPlacement","descPlacement","supText"]),A=(0,h.Z)("".concat(v.W,"-switch"),(w(n={},"".concat(v.W,"-switch-loading"),o),w(n,"".concat(v.W,"-switch-disabled"),i),n),a),D=(0,h.Z)("".concat(v.W,"-switch-label"),"".concat(v.W,"-switch-label-").concat(j),"".concat(v.W,"-switch-desc-").concat(M)),L=c().createElement("div",{className:"".concat(v.Z,"-switch-handle")},o&&c().createElement(e.Z,{className:"".concat(v.Z,"-switch-loading-icon")})),R=function(){return i&&C?c().createElement(b.default,O({disabled:!0},C),c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({className:A},_),{prefixCls:"".concat(v.Z,"-switch"),disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N))):c().createElement(c().Fragment,null,S&&o?c().createElement(b.default,{disabled:!0,title:S},c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({},_),{prefixCls:"".concat(v.Z,"-switch"),className:A,disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N))):c().createElement("div",{className:"".concat(v.Z,"-label-box")},c().createElement(d,E(O({},_),{prefixCls:"".concat(v.Z,"-switch"),className:A,disabled:i||o,loadingIcon:L})),N&&c().createElement("span",{className:"sup-text"},N)))};return s||f?c().createElement("span",{className:D},f&&c().createElement(m.default,E(O({label:f,required:u},Z),{className:"".concat(v.Z,"-desc-text ").concat(i?"".concat(v.Z,"-disabled-text"):"")})),c().createElement("span",{className:"".concat(v.W,"-label-text-container")},s&&c().createElement(m.default,E(O({label:s,required:u},p),{className:"".concat(v.Z,"-switch-text ").concat(i?"".concat(v.Z,"-disabled-text"):"")})),R())):R()};const C=Z})(),a})()));