@para-ui/core 4.0.15 → 4.0.16

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 (95) hide show
  1. package/Cascader/index.js +7 -6
  2. package/ComboSelect/index.js +7 -3
  3. package/CycleSelector/index.js +1 -2
  4. package/DatePicker/index.js +1 -2
  5. package/DynamicMultiBox/index.js +8 -5
  6. package/Form/index.js +8 -4
  7. package/FormItem/index.js +8 -4
  8. package/FunctionModal/index.js +2 -2
  9. package/PopMenu/context.d.ts +33 -0
  10. package/PopMenu/hooks.d.ts +5 -0
  11. package/PopMenu/index.d.ts +5 -0
  12. package/PopMenu/index.js +288 -0
  13. package/PopMenu/interface.d.ts +61 -0
  14. package/PopMenu/item.d.ts +4 -0
  15. package/PopMenu/list.d.ts +4 -0
  16. package/Popover/index.js +10 -1
  17. package/QuickReply/index.js +1 -1
  18. package/README.md +4 -0
  19. package/Selector/index.js +4 -326
  20. package/SelectorPicker/index.js +4 -2
  21. package/TimePicker/index.js +1 -2
  22. package/Tooltip/index.js +7 -3
  23. package/Tooltip/interface.d.ts +2 -0
  24. package/Tree/index.js +8 -4
  25. package/Upload/index.js +2 -1
  26. package/_verture/{defineProperty-1d116156.js → defineProperty-51493dbe.js} +10 -2
  27. package/_verture/{index-79cebfc8.js → index-06069532.js} +1 -1
  28. package/_verture/{index-767e63dd.js → index-0ad6af26.js} +394 -313
  29. package/_verture/index-287ae1b3.js +327 -0
  30. package/_verture/{index-9784b09c.js → index-782e05bf.js} +5 -20
  31. package/_verture/{slicedToArray-8223a2ef.js → slicedToArray-a8206399.js} +2 -15
  32. package/_verture/toConsumableArray-8f4c9589.js +19 -0
  33. package/_verture/unsupportedIterableToArray-cb478f24.js +16 -0
  34. package/index.d.ts +2 -0
  35. package/index.js +12 -9
  36. package/package.json +1 -1
  37. package/umd/AutoBox.js +1 -1
  38. package/umd/AutoTips.js +1 -1
  39. package/umd/Breadcrumbs.js +1 -1
  40. package/umd/Button.js +1 -1
  41. package/umd/ButtonGroup.js +1 -1
  42. package/umd/Cascader.js +1 -1
  43. package/umd/Checkbox.js +1 -1
  44. package/umd/CheckboxGroup.js +1 -1
  45. package/umd/ComboSelect.js +1 -1
  46. package/umd/CopyText.js +1 -1
  47. package/umd/CycleSelector.js +1 -1
  48. package/umd/DatePicker.js +1 -1
  49. package/umd/Descriptions.js +1 -1
  50. package/umd/Desktop.js +1 -1
  51. package/umd/Drawer.js +1 -1
  52. package/umd/DynamicMultiBox.js +1 -1
  53. package/umd/Form.js +1 -1
  54. package/umd/FormItem.js +1 -1
  55. package/umd/FunctionModal.js +1 -1
  56. package/umd/Help.js +1 -1
  57. package/umd/InputLang.js +1 -1
  58. package/umd/InputNumber.js +1 -1
  59. package/umd/Label.js +1 -1
  60. package/umd/Menu.js +1 -1
  61. package/umd/Modal.js +1 -1
  62. package/umd/MultiBox.js +1 -1
  63. package/umd/OperateBtn.js +1 -1
  64. package/umd/PageHeader.js +1 -1
  65. package/umd/Pagination.js +1 -1
  66. package/umd/PopConfirm.js +1 -1
  67. package/umd/PopMenu.js +43 -0
  68. package/umd/Popover.js +1 -1
  69. package/umd/QuickReply.js +1 -1
  70. package/umd/Radio.js +1 -1
  71. package/umd/RadioGroup.js +1 -1
  72. package/umd/Search.js +1 -1
  73. package/umd/Select.js +1 -1
  74. package/umd/SelectInput.js +1 -1
  75. package/umd/Selector.js +1 -1
  76. package/umd/SelectorPicker.js +1 -1
  77. package/umd/SingleBox.js +1 -1
  78. package/umd/Stepper.js +1 -1
  79. package/umd/Switch.js +1 -1
  80. package/umd/Table.js +1 -1
  81. package/umd/Tabs.js +1 -1
  82. package/umd/Tag.js +1 -1
  83. package/umd/TextEditor.js +1 -1
  84. package/umd/TextField.js +1 -1
  85. package/umd/TimePicker.js +1 -1
  86. package/umd/Title.js +1 -1
  87. package/umd/ToggleButton.js +1 -1
  88. package/umd/Tooltip.js +1 -1
  89. package/umd/Transfer.js +1 -1
  90. package/umd/Tree.js +1 -1
  91. package/umd/Upload.js +1 -1
  92. package/_verture/typeof-adeedc13.js +0 -11
  93. /package/_verture/{index-28a6bc3a.js → index-9bef932a.js} +0 -0
  94. /package/_verture/{modalContext-7380ea41.js → modalContext-b101ffaa.js} +0 -0
  95. /package/_verture/{typeof-c310ee4a.js → typeof-6ec38efd.js} +0 -0
package/umd/AutoBox.js CHANGED
@@ -40,4 +40,4 @@ Xe=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,r=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 o=n(8156),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,o)&&!u.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!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),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,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,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="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"],u="undefined"!=typeof MutationObserver,s=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,o=!1,r=0;function i(){n&&(n=!1,e()),o&&u()}function c(){a(i)}function u(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return u}(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(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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(){r&&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}(),l=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function v(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 m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),u=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=v(o,"left","right")+i),Math.round(u+a)!==n&&(u-=v(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(c+i)-t,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(r.left,r.top,c,u)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=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=y(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,o,r,i,a,c,u,s=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),u);l(this,{target:e,contentRect:s})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"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 p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(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 p(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}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,Z=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=s.getInstance(),o=new O(t,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){Z.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:Z},43753:(e,t,n)=>{var o=n(93379),r=n(7388);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},24895:(e,t,n)=>{var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},42560:(e,t,n)=>{var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},93379:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},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 u(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],u=t.base?i[0]+t.base:i[0],s=n[u]||0,l="".concat(u," ").concat(s);n[u]=s+1;var p=c(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:l,updater:h(f,t),references:1}),o.push(l)}return o}function s(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[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 l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),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 o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(e,t){var n,o,r;if(t.singleton){var i=m++;n=v||(v=s(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=s(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=u(e,t),s=0;s<n.length;s++){var l=c(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>o,Z:()=>r});var o="paraui-v4",r="component"},30356:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o);function i(e){var t,n,o,r,a,c,u,s,l,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(s=p,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,u=r.overflowY,/auto|scroll|overlay/.test(a+u+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,u,s,l=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(u=r.nodeName)||void 0===u?void 0:u.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(30356),u=n(86010);n(24895);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f=r().forwardRef((function(e,t){var n=e.title,o=e.content,f=p(e,["title","content"]),d=r().useRef(),v=(0,c.Z)(d,e.getPopupContainer),m="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}({},f),{isPopover:!0,prefixCls:m,overlayClassName:(0,u.Z)("".concat(a.W,"-popover"),e.overlayClassName),ref:d,title:function(e){return n||o?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(e,"-title")},n),r().createElement("div",{className:"".concat(e,"-inner-content")},o)):null}(m),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:v}))}));f.displayName="Popover",f.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1};const d=f},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>j});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),c=n(86010),u=n(37464);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}function p(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(e){return"boolean"==typeof e?e?f:d:l({},d,e)}function m(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=l({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(l({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),s=p(l({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:s,className:null});return r().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(u.Z,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(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 y=n(30465);n(42560);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b(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]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){b(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Z(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}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 E=r().forwardRef((function(e,t){var n,o=Z(r().useState(e.defaultVisible),2),s=o[0],f=o[1],d=r().useRef(),g=r().useRef(),b=Z(r().useState([0,0]),2),E=b[0],j=b[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(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},C=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,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,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(l({},a.Ct[e]),{offset:(t=e,n=h(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:v(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},k=e.prefixCls,S=void 0===k?"".concat(u.Z,"-tooltip"):k,T=e.getPopupContainer,M=e.overlayClassName,_=e.overlayInnerStyle,D=e.overlayStyle,L=e.children,A=e.title,R=e.placement,N=e.isPopover,z=e.followCursor,H=e.maxWidth,V=e.disabled,B=x(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),I=s;"visible"in e||"open"in e||!P()||(I=!1);var W=(0,c.Z)(!N&&"".concat(u.W,"-tooltip"),M),F=w({},D);return H&&(F.maxWidth=H),r().createElement(i.Z,O(w({},B),{prefixCls:S,placement:z?"top":h(R),overlayClassName:W,getTooltipContainer:T,ref:t||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,V&&r().createElement(y.Z,{className:"disabled-svg"}),A),visible:I,align:{targetOffset:E},onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!P()&&t),P())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=C(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(u.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.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(),u=c.x,s=c.y,l=c.width,p=e.clientX-(u+l/2),f=e.clientY-s+i+a;setTimeout((function(){j([-p,-f])}))}}},m(L)):m(L))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const j=E},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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{Z:()=>o})},83878:(e,t,n)=>{"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>o})},97326:(e,t,n)=>{"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>o})},15861:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,u,"next",e)}function u(e){o(a,r,i,c,u,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>r})},15671:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>o})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67343);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(61120),r=n(78814),i=n(82963);function a(e){var t=(0,r.Z)();return function(){var n,r=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(67343);function r(e,t,n){return(t=(0,o.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 o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})},61120:(e,t,n)=>{"use strict";function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}n.d(t,{Z:()=>o})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(89611);function r(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,o.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function o(){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:()=>o})},31902:(e,t,n)=>{"use strict";function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}n.d(t,{Z:()=>o})},25267:(e,t,n)=>{"use strict";function o(){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:()=>o})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(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:()=>r});var o=n(63366);function r(e,t){if(null==e)return{};var n,r,i=(0,o.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>o})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(71002),r=n(97326);function i(e,t){if(t&&("object"===(0,o.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},89611:(e,t,n)=>{"use strict";function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}n.d(t,{Z:()=>o})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,o.Z)(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(71002);function r(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,o.Z)(r))return r;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 o=n(71002),r=n(35512);function i(e){var t=(0,r.Z)(e,"string");return"symbol"===(0,o.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}n.d(t,{Z:()=>o})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(30907);function r(e,t){if(e){if("string"==typeof e)return(0,o.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,o.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return o[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,{AutoBox:()=>h,default:()=>y});var e=i(8156),t=i.n(e),n=i(36668),o=i(47111),r=i(58543),c=i(37464);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function s(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(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 u(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.")}()}const l=function(n){var i=n.children,a=n.className,u=n.anchorEl,l=n.onClose,p=s((0,e.useState)({}),2),f=p[0],d=p[1],v=(0,e.useRef)({uuid:"".concat(c.W,"-protal-box-content-").concat((0,r.UUID)())}),m=(0,e.useRef)(),h=(0,e.useRef)();(0,e.useEffect)((function(){return b(),window.addEventListener("click",g),function(){m&&m.current&&m.current.remove(),window.removeEventListener("click",g)}}),[]);var y,g=function(e){v.current&&(function(e,t){for(var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;e&&!n.call(e,t);)e=e.parentElement;return e}(e.target,".".concat(v.current.uuid))||l&&l())},b=function(){if(u&&h.current){var e=u.getBoundingClientRect(),t=h.current.getBoundingClientRect(),n={opacity:1,left:e.left,top:e.top+e.height},o=window.innerHeight,r=window.innerWidth;n.left+t.width>r&&(n.left=r-t.width-8,n.left<0&&(n.left=0)),n.top+t.height>o&&(n.top=o-t.height-8,n.top<0&&(n.top=0)),d(n)}};return t().createElement(t().Fragment,null,(0,o.createPortal)(t().createElement("div",{className:(y="".concat(c.W,"-protal-box"),a&&(y+=" ".concat(a)),y),ref:m},t().createElement("div",{className:"protal-mask"}),t().createElement("div",{className:"protal-content ".concat(v.current.uuid),style:f,ref:h},i)),document.getElementsByTagName("body")[0]))};var p=i(85893),f=i(97435),d=function(e){return(0,p.jsx)(f.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,p.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,p.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},e))};i(43753);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(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 v(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 h=function(o){var r=o.className,i=o.list,a=void 0===i?[]:i,u=o.popoverClassName,s=o.moreCustomize,p=o.anchorEl,f=o.hideMore,v=void 0!==f&&f,h=o.showNum,y=o.onCloseMore,g=o.onShowMore,b=o.style,w=o.trigger,O=void 0===w?"click":w,x=o.placement,Z=void 0===x?"bottomLeft":x,E=(0,e.useRef)(null),j=m((0,e.useState)(null),2),P=j[0],C=j[1],k=m((0,e.useState)(!1),2),S=k[0],T=k[1],M=m((0,e.useState)({}),1)[0],_=(0,e.useRef)();(0,e.useEffect)((function(){void 0!==o.openMore&&T(o.openMore)}),[o.openMore]),(0,e.useEffect)((function(){if(void 0===o.showNum)return N(),window.addEventListener("resize",N),function(){window.removeEventListener("resize",N),clearTimeout(M.timer)}}),[a]),(0,e.useEffect)((function(){void 0!==h&&(C(h),window.removeEventListener("resize",N))}),[h]),(0,e.useEffect)((function(){null!==P&&a.length>P?g&&g(!0):g&&g(!1)}),[a,P,g]);var D,L=function(e){if(e)return T(!0);A()},A=function(){T(!1),y&&y()},R=function(e){if(null!==e&&0!==e){void 0===e&&(e=a.length);var t=E.current;if(t)if(t.scrollWidth>t.clientWidth){var n=Number(e)-1;C(n),R(n)}else a.length<=e&&A()}},N=function(){clearTimeout(M.timer),A(),M.timer=setTimeout((function(){C(a.length),R()}),100)},z=function(){var e="".concat(c.W,"-auto-box-popover");return u&&(e+=" ".concat(u)),e},H=function(){return t().createElement("div",{className:"auto-box-popover-content"},a&&a.map((function(n,o){return null!==P&&P>o?null:t().createElement(e.Fragment,{key:o},n)})))};return t().createElement("div",{className:(D="".concat(c.W,"-auto-box"),r&&(D+=" ".concat(r)),D),style:b,ref:E},a.map((function(n,o){return null!==P&&P<=o?null:t().createElement(e.Fragment,{key:o},n)})),function(){if(null!==P&&a.length>P&&!v){return t().createElement(n.default,{open:S,content:H(),overlayClassName:z(),placement:Z,trigger:O,onVisibleChange:L},t().createElement("div",{className:"auto-box-more",ref:_},s?"function"==typeof s?s(P):s:t().createElement(d,null)))}}(),function(){if(p&&S)return t().createElement(l,{className:z(),anchorEl:p,onClose:A},H())}())};const y=h})(),a})()));
43
+ */n(27418);var o=n(8156),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,o)&&!u.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!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),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,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,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="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"],u="undefined"!=typeof MutationObserver,s=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,o=!1,r=0;function i(){n&&(n=!1,e()),o&&u()}function c(){a(i)}function u(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return u}(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(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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(){r&&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}(),l=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function v(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 m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),u=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=v(o,"left","right")+i),Math.round(u+a)!==n&&(u-=v(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(c+i)-t,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(r.left,r.top,c,u)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):m(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=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=y(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,o,r,i,a,c,u,s=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),u);l(this,{target:e,contentRect:s})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"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 p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(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 p(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}(),x="undefined"!=typeof WeakMap?new WeakMap:new o,Z=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=s.getInstance(),o=new O(t,n,this);x.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){Z.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:Z},43753:(e,t,n)=>{var o=n(93379),r=n(7388);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},24895:(e,t,n)=>{var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},42560:(e,t,n)=>{var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},93379:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},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 u(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],u=t.base?i[0]+t.base:i[0],s=n[u]||0,l="".concat(u," ").concat(s);n[u]=s+1;var p=c(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:l,updater:h(f,t),references:1}),o.push(l)}return o}function s(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[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 l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),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 o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var v=null,m=0;function h(e,t){var n,o,r;if(t.singleton){var i=m++;n=v||(v=s(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=s(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=u(e,t),s=0;s<n.length;s++){var l=c(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>o,Z:()=>r});var o="paraui-v4",r="component"},30356:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o);function i(e){var t,n,o,r,a,c,u,s,l,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(s=p,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,u=r.overflowY,/auto|scroll|overlay/.test(a+u+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,u,s,l=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(u=r.nodeName)||void 0===u?void 0:u.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(30356),u=n(86010);n(24895);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f=r().forwardRef((function(e,t){var n=e.title,f=e.content,d=p(e,["title","content"]),v=r().useRef(),m=(0,c.Z)(v,e.getPopupContainer);(0,o.useEffect)((function(){t&&("function"==typeof t?t(v.current):t.current=v.current)}),[v.current]);var h="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}({},d),{isPopover:!0,prefixCls:h,overlayClassName:(0,u.Z)("".concat(a.W,"-popover"),e.overlayClassName),ref:v,title:function(e){return n||f?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(e,"-title")},n),r().createElement("div",{className:"".concat(e,"-inner-content")},f)):null}(h),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:m}))}));f.displayName="Popover",f.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1};const d=f},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>j});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),c=n(86010),u=n(37464);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}function p(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(e){return"boolean"==typeof e?e?f:d:l({},d,e)}function m(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=l({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(l({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),s=p(l({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:s,className:null});return r().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(u.Z,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(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 y=n(30465);n(42560);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function b(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]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){b(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}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,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Z(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}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 E=r().forwardRef((function(e,t){var n,o=Z(r().useState(e.defaultVisible),2),s=o[0],f=o[1],d=r().useRef(),g=r().useRef(),b=Z(r().useState([0,0]),2),E=b[0],j=b[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(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},C=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,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,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(l({},a.Ct[e]),{offset:(t=e,n=h(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:v(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},k=e.prefixCls,S=void 0===k?"".concat(u.Z,"-tooltip"):k,T=e.getPopupContainer,M=e.overlayClassName,_=e.overlayInnerStyle,D=e.overlayStyle,L=e.children,A=e.title,R=e.placement,N=e.isPopover,z=e.followCursor,H=e.maxWidth,V=e.disabled,B=x(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),I=s;"visible"in e||"open"in e||!P()||(I=!1);var W=(0,c.Z)(!N&&"".concat(u.W,"-tooltip"),M),F=w({},D);H&&(F.maxWidth=H);var Y={targetOffset:E};return e.offset&&(Y.offset=e.offset),r().createElement(i.Z,O(w({},B),{prefixCls:S,placement:z?"top":h(R),overlayClassName:W,getTooltipContainer:T,ref:t||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,V&&r().createElement(y.Z,{className:"disabled-svg"}),A),visible:I,align:Y,onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!P()&&t),P())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=C(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(u.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.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(),u=c.x,s=c.y,l=c.width,p=e.clientX-(u+l/2),f=e.clientY-s+i+a;setTimeout((function(){j([-p,-f])}))}}},m(L)):m(L))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const j=E},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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{Z:()=>o})},83878:(e,t,n)=>{"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>o})},97326:(e,t,n)=>{"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>o})},15861:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,u,"next",e)}function u(e){o(a,r,i,c,u,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>r})},15671:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>o})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67343);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(61120),r=n(78814),i=n(82963);function a(e){var t=(0,r.Z)();return function(){var n,r=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(67343);function r(e,t,n){return(t=(0,o.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 o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})},61120:(e,t,n)=>{"use strict";function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}n.d(t,{Z:()=>o})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(89611);function r(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,o.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function o(){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:()=>o})},31902:(e,t,n)=>{"use strict";function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}n.d(t,{Z:()=>o})},25267:(e,t,n)=>{"use strict";function o(){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:()=>o})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(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:()=>r});var o=n(63366);function r(e,t){if(null==e)return{};var n,r,i=(0,o.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>o})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(71002),r=n(97326);function i(e,t){if(t&&("object"===(0,o.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},89611:(e,t,n)=>{"use strict";function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}n.d(t,{Z:()=>o})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,o.Z)(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(71002);function r(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,o.Z)(r))return r;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 o=n(71002),r=n(35512);function i(e){var t=(0,r.Z)(e,"string");return"symbol"===(0,o.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}n.d(t,{Z:()=>o})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(30907);function r(e,t){if(e){if("string"==typeof e)return(0,o.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,o.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return o[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,{AutoBox:()=>h,default:()=>y});var e=i(8156),t=i.n(e),n=i(36668),o=i(47111),r=i(58543),c=i(37464);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function s(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(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 u(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.")}()}const l=function(n){var i=n.children,a=n.className,u=n.anchorEl,l=n.onClose,p=s((0,e.useState)({}),2),f=p[0],d=p[1],v=(0,e.useRef)({uuid:"".concat(c.W,"-protal-box-content-").concat((0,r.UUID)())}),m=(0,e.useRef)(),h=(0,e.useRef)();(0,e.useEffect)((function(){return b(),window.addEventListener("click",g),function(){m&&m.current&&m.current.remove(),window.removeEventListener("click",g)}}),[]);var y,g=function(e){v.current&&(function(e,t){for(var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;e&&!n.call(e,t);)e=e.parentElement;return e}(e.target,".".concat(v.current.uuid))||l&&l())},b=function(){if(u&&h.current){var e=u.getBoundingClientRect(),t=h.current.getBoundingClientRect(),n={opacity:1,left:e.left,top:e.top+e.height},o=window.innerHeight,r=window.innerWidth;n.left+t.width>r&&(n.left=r-t.width-8,n.left<0&&(n.left=0)),n.top+t.height>o&&(n.top=o-t.height-8,n.top<0&&(n.top=0)),d(n)}};return t().createElement(t().Fragment,null,(0,o.createPortal)(t().createElement("div",{className:(y="".concat(c.W,"-protal-box"),a&&(y+=" ".concat(a)),y),ref:m},t().createElement("div",{className:"protal-mask"}),t().createElement("div",{className:"protal-content ".concat(v.current.uuid),style:f,ref:h},i)),document.getElementsByTagName("body")[0]))};var p=i(85893),f=i(97435),d=function(e){return(0,p.jsx)(f.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,p.jsx)(p.Fragment,{children:(0,p.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,p.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,p.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},e))};i(43753);function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return v(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 v(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 h=function(o){var r=o.className,i=o.list,a=void 0===i?[]:i,u=o.popoverClassName,s=o.moreCustomize,p=o.anchorEl,f=o.hideMore,v=void 0!==f&&f,h=o.showNum,y=o.onCloseMore,g=o.onShowMore,b=o.style,w=o.trigger,O=void 0===w?"click":w,x=o.placement,Z=void 0===x?"bottomLeft":x,E=(0,e.useRef)(null),j=m((0,e.useState)(null),2),P=j[0],C=j[1],k=m((0,e.useState)(!1),2),S=k[0],T=k[1],M=m((0,e.useState)({}),1)[0],_=(0,e.useRef)();(0,e.useEffect)((function(){void 0!==o.openMore&&T(o.openMore)}),[o.openMore]),(0,e.useEffect)((function(){if(void 0===o.showNum)return N(),window.addEventListener("resize",N),function(){window.removeEventListener("resize",N),clearTimeout(M.timer)}}),[a]),(0,e.useEffect)((function(){void 0!==h&&(C(h),window.removeEventListener("resize",N))}),[h]),(0,e.useEffect)((function(){null!==P&&a.length>P?g&&g(!0):g&&g(!1)}),[a,P,g]);var D,L=function(e){if(e)return T(!0);A()},A=function(){T(!1),y&&y()},R=function(e){if(null!==e&&0!==e){void 0===e&&(e=a.length);var t=E.current;if(t)if(t.scrollWidth>t.clientWidth){var n=Number(e)-1;C(n),R(n)}else a.length<=e&&A()}},N=function(){clearTimeout(M.timer),A(),M.timer=setTimeout((function(){C(a.length),R()}),100)},z=function(){var e="".concat(c.W,"-auto-box-popover");return u&&(e+=" ".concat(u)),e},H=function(){return t().createElement("div",{className:"auto-box-popover-content"},a&&a.map((function(n,o){return null!==P&&P>o?null:t().createElement(e.Fragment,{key:o},n)})))};return t().createElement("div",{className:(D="".concat(c.W,"-auto-box"),r&&(D+=" ".concat(r)),D),style:b,ref:E},a.map((function(n,o){return null!==P&&P<=o?null:t().createElement(e.Fragment,{key:o},n)})),function(){if(null!==P&&a.length>P&&!v){return t().createElement(n.default,{open:S,content:H(),overlayClassName:z(),placement:Z,trigger:O,onVisibleChange:L},t().createElement("div",{className:"auto-box-more",ref:_},s?"function"==typeof s?s(P):s:t().createElement(d,null)))}}(),function(){if(p&&S)return t().createElement(l,{className:z(),anchorEl:p,onClose:A},H())}())};const y=h})(),a})()));
package/umd/AutoTips.js CHANGED
@@ -40,4 +40,4 @@ Xt=function(){return e};var t,e={},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(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,r)&&!s.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:l,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},85893:(t,e,n)=>{"use strict";t.exports=n(75251)},91033:(t,e,n)=>{"use strict";n.d(e,{default:()=>E});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&s()}function u(){a(i)}function s(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return s}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function h(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=d(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,u=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=v(r,"left","right")+i),Math.round(s+a)!==n&&(s-=v(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var c=Math.round(u+i)-e,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return g(o.left,o.top,u,s)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):h(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,a,u,s,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),l(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);l(this,{target:t,contentRect:c})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),Z="undefined"!=typeof WeakMap?new WeakMap:new r,x=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new O(e,n,this);Z.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){x.prototype[t]=function(){var e;return(e=Z.get(this))[t].apply(e,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},29697:(t,e,n)=>{var r=n(93379),o=n(67921);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},89034:(t,e,n)=>{var r=n(93379),o=n(2565);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},42560:(t,e,n)=>{var r=n(93379),o=n(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},93379:(t,e,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var v=null,h=0;function m(t,e){var n,r,o;if(e.singleton){var i=h++;n=v||(v=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:(t,e,n)=>{"use strict";n.d(e,{W:()=>r,Z:()=>o});var r="paraui-v4",o="component"},77918:(t,e,n)=>{"use strict";n.d(e,{default:()=>C});var r=n(8156),o=n.n(r),i=n(79483),a=n(24375),u=n(86010),s=n(37464);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){c(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function h(t){var e=o().isValidElement(t)?t:o().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},r=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete r[e])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(l({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":null}),c=f(l({},i),{pointerEvents:"none"}),p=o().cloneElement(e,{style:c,className:null});return o().createElement("span",{style:a,className:(0,u.Z)(e.props.className,"".concat(s.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function m(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(30465);n(42560);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){b(t,e,n[e])}))}return t}function O(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function Z(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=o().forwardRef((function(t,e){var n,r=x(o().useState(t.defaultVisible),2),c=r[0],p=r[1],d=o().useRef(),g=o().useRef(),b=x(o().useState([0,0]),2),E=b[0],C=b[1];o().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var T=function(){var e=t.title;return!e&&0!==e},j=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,r=t.verticalArrowShift,o=void 0===r?8:r,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.Ct[t]),{offset:(e=t,n=m(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},P=t.prefixCls,k=void 0===P?"".concat(s.Z,"-tooltip"):P,S=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,A=t.overlayStyle,D=t.children,R=t.title,L=t.placement,N=t.isPopover,H=t.followCursor,V=t.maxWidth,z=t.disabled,I=Z(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),W=c;"visible"in t||"open"in t||!T()||(W=!1);var B=(0,u.Z)(!N&&"".concat(s.W,"-tooltip"),M),F=w({},A);return V&&(F.maxWidth=V),o().createElement(i.Z,O(w({},I),{prefixCls:k,placement:H?"top":m(L),overlayClassName:B,getTooltipContainer:S,ref:e||g,builtinPlacements:j(),overlay:o().createElement(o().Fragment,null,z&&o().createElement(y.Z,{className:"disabled-svg"}),R),visible:W,align:{targetOffset:E},onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!T()&&e),T())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=j(),r=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(r){var o=t.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-e.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-e.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(s.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),s=u.x,c=u.y,l=u.width,f=t.clientX-(s+l/2),p=t.clientY-c+i+a;setTimeout((function(){C([-f,-p])}))}}},h(D)):h(D))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=E},58543:t=>{"use strict";t.exports=n},8156:e=>{"use strict";e.exports=t},47111:t=>{"use strict";t.exports=e},30907:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},83878:(t,e,n)=>{"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{Z:()=>r})},97326:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:()=>r})},15861:(t,e,n)=>{"use strict";function r(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}}n.d(e,{Z:()=>o})},15671:(t,e,n)=>{"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:()=>r})},43144:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(67343);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,r.Z)(o.key),o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},29388:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(61120),o=n(78814),i=n(82963);function a(t){var e=(0,o.Z)();return function(){var n,o=(0,r.Z)(t);if(e){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:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(67343);function o(t,e,n){return(e=(0,r.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},87462:(t,e,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:()=>r})},61120:(t,e,n)=>{"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{Z:()=>r})},60136:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(89611);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.Z)(t,e)}},78814:(t,e,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(t){return!1}}n.d(e,{Z:()=>r})},31902:(t,e,n)=>{"use strict";function r(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}n.d(e,{Z:()=>r})},25267:(t,e,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:()=>r})},1413:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(4942);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},45987:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(63366);function o(t,e){if(null==t)return{};var n,o,i=(0,r.Z)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},63366:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},82963:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(71002),o=n(97326);function i(t,e){if(e&&("object"===(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(t)}},89611:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:()=>r})},93324:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function u(t,e){return(0,r.Z)(t)||(0,o.Z)(t,e)||(0,i.Z)(t,e)||(0,a.Z)()}},35512:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(71002);function o(t,e){if("object"!==(0,r.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},67343:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(71002),o=n(35512);function i(t){var e=(0,o.Z)(t,"string");return"symbol"===(0,r.Z)(e)?e:String(e)}},71002:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},40181:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(30907);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,exports:{}};return r[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{AutoTipsMultiline:()=>c,default:()=>p});var t=i(8156),e=i.n(t),n=i(77918),r=i(37464),o=i(58543);i(29697);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c=function(o){var i=o.children,a=o.arrow,u=void 0!==a&&a,c=o.placement,l=void 0===c?"bottom-start":c,f=o.tips,p=void 0===f?"":f,d=o.className,v=void 0===d?"":d,h=o.interactive,m=void 0===h||h,y=(o.tipMaxWidth,o.line),g=void 0===y?2:y,b=o.refresh,w=o.style,O=(0,t.useRef)(null),Z=(0,t.useRef)([]),x=s((0,t.useState)(),2),E=x[0],C=x[1],T=(0,t.useRef)({line:g,tips:p});T.current.line=g,T.current.tips=p;var j=s((0,t.useState)(""),2),P=j[0],k=j[1];(0,t.useEffect)((function(){return window.addEventListener("resize",M),function(){window.removeEventListener("resize",M)}}),[]),(0,t.useEffect)((function(){M()}),[i,b]);var S,M=function(){var t;if(i){for(var e=[],n=!1,r=(null==O||null===(t=O.current)||void 0===t?void 0:t.clientWidth)||0,o=0,a=0,u=0;u<Z.current.length;u++){var s=Z.current[u].offsetWidth;if((o+=s)>r){if(!(e.length<T.current.line-1)){n=!0,k(T.current.tips||i),e.push(i.slice(a,i.length));break}e.push(i.slice(a,u)),a=u,o=s}else u===Z.current.length-1&&e.push(i.slice(a,i.length))}C({lineArr:e,showTooltip:n})}},_=(0,t.useMemo)((function(){return Z.current=[],e().createElement("div",{className:"hidden"},null==i?void 0:i.split("").map((function(t,n){return e().createElement("span",{ref:function(t){return t&&Z.current.push(t)},key:n},t)})))}),[i]);return e().createElement("div",{ref:O,className:(S="".concat(r.W,"-auto-tips-multiline"),function(){if(navigator.userAgent.indexOf("Safari")>-1)return!0}()&&(S+=" ".concat(r.W,"-auto-tips-multiline-safari")),v&&(S+=" ".concat(v)),S),style:w},e().createElement(n.default,{arrow:u,title:P,placement:l,interactive:m,boundariesElement:"viewport",overlayClassName:"".concat(r.W,"-auto-tips-multiline-tooltip")},e().createElement("div",{className:"auto-tips-multiline-content-box"},e().createElement("div",{className:"auto-tips-multiline-content"},null==E?void 0:E.lineArr.map((function(t,n){var r="line-text";return n===E.lineArr.length-1&&(r+=" last-line"),e().createElement("div",{className:r,key:n},t)}))),_)))};i(89034);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const p=function(i){var a=i.children,u=i.arrow,s=void 0!==u&&u,c=i.placement,l=void 0===c?"bottom-start":c,p=i.tips,d=void 0===p?"":p,v=i.className,h=void 0===v?"":v,m=i.beyondText,y=void 0===m||m,g=i.interactive,b=void 0===g||g,w=i.tipMaxWidth,O=i.style,Z=(0,t.useRef)(),x=(0,t.useRef)(),E=f((0,t.useState)(""),2),C=E[0],T=E[1];(0,t.useEffect)((function(){T(d)}),[d]);var j;return e().createElement("div",{ref:Z,className:(j="".concat(r.W,"-auto-tips"),function(){var t=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(t))return!0}()&&(j+=" ".concat(r.W,"-auto-tips-safari")),h&&(j+=" ".concat(h)),j),onMouseOver:function(){var t="",e=Z.current,n=e.getBoundingClientRect(),r=x.current.getBoundingClientRect();Z.current&&((0,o.isIE)()?n.width>r.width&&(t=d||(y?e.innerText:a)):r.width>n.width&&(t=d||(y?e.innerText:a))),T(t)},style:O},e().createElement(n.default,{arrow:s,title:C,placement:l,interactive:b,boundariesElement:"viewport",overlayClassName:"".concat(r.W,"-auto-tips-tooltip"),maxWidth:w},e().createElement("div",{className:"auto-tips-content",ref:x},a)))}})(),a})()));
43
+ */n(27418);var r=n(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,l=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(l=e.ref),e)u.call(e,r)&&!s.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:l,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},85893:(t,e,n)=>{"use strict";t.exports=n(75251)},91033:(t,e,n)=>{"use strict";n.d(e,{default:()=>E});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&s()}function u(){a(i)}function s(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return s}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function h(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=d(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,u=d(r.width),s=d(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=v(r,"left","right")+i),Math.round(s+a)!==n&&(s-=v(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var c=Math.round(u+i)-e,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return g(o.left,o.top,u,s)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):h(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,a,u,s,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),l(s,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),s);l(this,{target:t,contentRect:c})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),Z="undefined"!=typeof WeakMap?new WeakMap:new r,x=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new O(e,n,this);Z.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){x.prototype[t]=function(){var e;return(e=Z.get(this))[t].apply(e,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:x},29697:(t,e,n)=>{var r=n(93379),o=n(67921);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},89034:(t,e,n)=>{var r=n(93379),o=n(2565);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},42560:(t,e,n)=>{var r=n(93379),o=n(9929);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var i={insert:"head",singleton:!1};r(o,i);t.exports=o.locals||{}},93379:(t,e,n)=>{"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function u(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],c=n[s]||0,l="".concat(s," ").concat(c);n[s]=c+1;var f=u(l),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(a[f].references++,a[f].updater(p)):a.push({identifier:l,updater:m(p,e),references:1}),r.push(l)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=i(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var l,f=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function p(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=f(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var v=null,h=0;function m(t,e){var n,r,o;if(e.singleton){var i=h++;n=v||(v=c(e)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=c(e),r=d.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=s(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=u(n[r]);a[o].references--}for(var i=s(t,e),c=0;c<n.length;c++){var l=u(n[c]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},37464:(t,e,n)=>{"use strict";n.d(e,{W:()=>r,Z:()=>o});var r="paraui-v4",o="component"},77918:(t,e,n)=>{"use strict";n.d(e,{default:()=>C});var r=n(8156),o=n.n(r),i=n(79483),a=n(24375),u=n(86010),s=n(37464);function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){c(t,e,n[e])}))}return t}function f(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}var p={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function v(t){return"boolean"==typeof t?t?p:d:l({},d,t)}function h(t){var e=o().isValidElement(t)?t:o().createElement("span",null,t);if("button"===e.type&&e.props.disabled){var n=function(t,e){var n={},r=l({},t);return e.forEach((function(e){t&&e in t&&(n[e]=t[e],delete r[e])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),r=n.picked,i=n.omitted,a=f(l({display:"inline-block"},r),{cursor:"not-allowed",width:e.props.block?"100%":null}),c=f(l({},i),{pointerEvents:"none"}),p=o().cloneElement(e,{style:c,className:null});return o().createElement("span",{style:a,className:(0,u.Z)(e.props.className,"".concat(s.Z,"-tooltip-disabled-compatible-wrapper"))},p)}return e}function m(t){return{"bottom-end":"bottomRight","bottom-start":"bottomLeft","left-end":"leftBottom","left-start":"leftTop","right-end":"rightBottom","right-start":"rightTop","top-end":"topRight","top-start":"topLeft"}[t]||t}var y=n(30465);n(42560);function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){b(t,e,n[e])}))}return t}function O(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})),t}function Z(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var E=o().forwardRef((function(t,e){var n,r=x(o().useState(t.defaultVisible),2),c=r[0],p=r[1],d=o().useRef(),g=o().useRef(),b=x(o().useState([0,0]),2),E=b[0],C=b[1];o().useEffect((function(){var e;("visible"in t||"open"in t)&&p(!!(null!==(e=t.visible)&&void 0!==e?e:t.open))}),[null!==(n=t.visible)&&void 0!==n?n:t.open]);var T=function(){var e=t.title;return!e&&0!==e},j=function(){var e=t.builtinPlacements,n=t.autoAdjustOverflow;return e||function(t){var e=t.horizontalArrowShift,n=void 0===e?16:e,r=t.verticalArrowShift,o=void 0===r?8:r,i=t.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-8,0]},right:{points:["cl","cr"],offset:[8,0]},top:{points:["bc","tc"],offset:[0,-8]},bottom:{points:["tc","bc"],offset:[0,8]},topLeft:{points:["bl","tc"],offset:[-n,-8]},leftTop:{points:["tr","cl"],offset:[-8,-o]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-o]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,o]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,o]}};return Object.keys(u).forEach((function(t){var e,n;u[t]=f(l({},a.Ct[t]),{offset:(e=t,n=m(e),{left:{offset:[-8,0]},right:{offset:[8,0]},top:{offset:[0,-8]},bottom:{offset:[0,8]},topLeft:{offset:[0,-8]},leftTop:{offset:[-8,0]},topRight:{offset:[0,-8]},rightTop:{offset:[8,0]},bottomRight:{offset:[0,8]},rightBottom:{offset:[8,0]},bottomLeft:{offset:[0,8]},leftBottom:{offset:[-8,0]}}[n]).offset,overflow:v(i)}),u[t].ignoreShake=!0})),u}({autoAdjustOverflow:n})},P=t.prefixCls,k=void 0===P?"".concat(s.Z,"-tooltip"):P,S=t.getPopupContainer,M=t.overlayClassName,_=t.overlayInnerStyle,A=t.overlayStyle,D=t.children,R=t.title,L=t.placement,N=t.isPopover,H=t.followCursor,V=t.maxWidth,z=t.disabled,I=Z(t,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),W=c;"visible"in t||"open"in t||!T()||(W=!1);var B=(0,u.Z)(!N&&"".concat(s.W,"-tooltip"),M),F=w({},A);V&&(F.maxWidth=V);var Y={targetOffset:E};return t.offset&&(Y.offset=t.offset),o().createElement(i.Z,O(w({},I),{prefixCls:k,placement:H?"top":m(L),overlayClassName:B,getTooltipContainer:S,ref:e||g,builtinPlacements:j(),overlay:o().createElement(o().Fragment,null,z&&o().createElement(y.Z,{className:"disabled-svg"}),R),visible:W,align:Y,onVisibleChange:function(e){var n;("visible"in t||"open"in t||p(!T()&&e),T())||(null===(n=t.onVisibleChange)||void 0===n||n.call(t,e))},onPopupAlign:function(t,e){var n=j(),r=Object.keys(n).find((function(t){return n[t].points[0]===e.points[0]&&n[t].points[1]===e.points[1]}));if(r){var o=t.getBoundingClientRect(),i={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-e.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-e.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-e.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-e.offset[0],"px")),t.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(s.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),H?o().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(t){if(d.current){var e,n,r,o,i=(null===(o=g.current)||void 0===o||null===(r=o.popupRef)||void 0===r||null===(n=r.current)||void 0===n||null===(e=n.getElement())||void 0===e?void 0:e.offsetHeight)||0,a=0===i?60:30,u=d.current.getBoundingClientRect(),s=u.x,c=u.y,l=u.width,f=t.clientX-(s+l/2),p=t.clientY-c+i+a;setTimeout((function(){C([-f,-p])}))}}},h(D)):h(D))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const C=E},58543:t=>{"use strict";t.exports=n},8156:e=>{"use strict";e.exports=t},47111:t=>{"use strict";t.exports=e},30907:(t,e,n)=>{"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{Z:()=>r})},83878:(t,e,n)=>{"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,{Z:()=>r})},97326:(t,e,n)=>{"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:()=>r})},15861:(t,e,n)=>{"use strict";function r(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}}n.d(e,{Z:()=>o})},15671:(t,e,n)=>{"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,{Z:()=>r})},43144:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(67343);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,r.Z)(o.key),o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},29388:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(61120),o=n(78814),i=n(82963);function a(t){var e=(0,o.Z)();return function(){var n,o=(0,r.Z)(t);if(e){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:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(67343);function o(t,e,n){return(e=(0,r.Z)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},87462:(t,e,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{Z:()=>r})},61120:(t,e,n)=>{"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,{Z:()=>r})},60136:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(89611);function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.Z)(t,e)}},78814:(t,e,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(t){return!1}}n.d(e,{Z:()=>r})},31902:(t,e,n)=>{"use strict";function r(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}n.d(e,{Z:()=>r})},25267:(t,e,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,{Z:()=>r})},1413:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(4942);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},45987:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(63366);function o(t,e){if(null==t)return{};var n,o,i=(0,r.Z)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},63366:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,{Z:()=>r})},82963:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(71002),o=n(97326);function i(t,e){if(e&&("object"===(0,r.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(t)}},89611:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,{Z:()=>r})},93324:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var r=n(83878),o=n(31902),i=n(40181),a=n(25267);function u(t,e){return(0,r.Z)(t)||(0,o.Z)(t,e)||(0,i.Z)(t,e)||(0,a.Z)()}},35512:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(71002);function o(t,e){if("object"!==(0,r.Z)(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},67343:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});var r=n(71002),o=n(35512);function i(t){var e=(0,o.Z)(t,"string");return"symbol"===(0,r.Z)(e)?e:String(e)}},71002:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,{Z:()=>r})},40181:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r=n(30907);function o(t,e){if(t){if("string"==typeof t)return(0,r.Z)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(t,e):void 0}}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,exports:{}};return r[t](n,n.exports,i),n.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.r(a),i.d(a,{AutoTipsMultiline:()=>c,default:()=>p});var t=i(8156),e=i.n(t),n=i(77918),r=i(37464),o=i(58543);i(29697);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const c=function(o){var i=o.children,a=o.arrow,u=void 0!==a&&a,c=o.placement,l=void 0===c?"bottom-start":c,f=o.tips,p=void 0===f?"":f,d=o.className,v=void 0===d?"":d,h=o.interactive,m=void 0===h||h,y=(o.tipMaxWidth,o.line),g=void 0===y?2:y,b=o.refresh,w=o.style,O=(0,t.useRef)(null),Z=(0,t.useRef)([]),x=s((0,t.useState)(),2),E=x[0],C=x[1],T=(0,t.useRef)({line:g,tips:p});T.current.line=g,T.current.tips=p;var j=s((0,t.useState)(""),2),P=j[0],k=j[1];(0,t.useEffect)((function(){return window.addEventListener("resize",M),function(){window.removeEventListener("resize",M)}}),[]),(0,t.useEffect)((function(){M()}),[i,b]);var S,M=function(){var t;if(i){for(var e=[],n=!1,r=(null==O||null===(t=O.current)||void 0===t?void 0:t.clientWidth)||0,o=0,a=0,u=0;u<Z.current.length;u++){var s=Z.current[u].offsetWidth;if((o+=s)>r){if(!(e.length<T.current.line-1)){n=!0,k(T.current.tips||i),e.push(i.slice(a,i.length));break}e.push(i.slice(a,u)),a=u,o=s}else u===Z.current.length-1&&e.push(i.slice(a,i.length))}C({lineArr:e,showTooltip:n})}},_=(0,t.useMemo)((function(){return Z.current=[],e().createElement("div",{className:"hidden"},null==i?void 0:i.split("").map((function(t,n){return e().createElement("span",{ref:function(t){return t&&Z.current.push(t)},key:n},t)})))}),[i]);return e().createElement("div",{ref:O,className:(S="".concat(r.W,"-auto-tips-multiline"),function(){if(navigator.userAgent.indexOf("Safari")>-1)return!0}()&&(S+=" ".concat(r.W,"-auto-tips-multiline-safari")),v&&(S+=" ".concat(v)),S),style:w},e().createElement(n.default,{arrow:u,title:P,placement:l,interactive:m,boundariesElement:"viewport",overlayClassName:"".concat(r.W,"-auto-tips-multiline-tooltip")},e().createElement("div",{className:"auto-tips-multiline-content-box"},e().createElement("div",{className:"auto-tips-multiline-content"},null==E?void 0:E.lineArr.map((function(t,n){var r="line-text";return n===E.lineArr.length-1&&(r+=" last-line"),e().createElement("div",{className:r,key:n},t)}))),_)))};i(89034);function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const p=function(i){var a=i.children,u=i.arrow,s=void 0!==u&&u,c=i.placement,l=void 0===c?"bottom-start":c,p=i.tips,d=void 0===p?"":p,v=i.className,h=void 0===v?"":v,m=i.beyondText,y=void 0===m||m,g=i.interactive,b=void 0===g||g,w=i.tipMaxWidth,O=i.style,Z=(0,t.useRef)(),x=(0,t.useRef)(),E=f((0,t.useState)(""),2),C=E[0],T=E[1];(0,t.useEffect)((function(){T(d)}),[d]);var j;return e().createElement("div",{ref:Z,className:(j="".concat(r.W,"-auto-tips"),function(){var t=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(t))return!0}()&&(j+=" ".concat(r.W,"-auto-tips-safari")),h&&(j+=" ".concat(h)),j),onMouseOver:function(){var t="",e=Z.current,n=e.getBoundingClientRect(),r=x.current.getBoundingClientRect();Z.current&&((0,o.isIE)()?n.width>r.width&&(t=d||(y?e.innerText:a)):r.width>n.width&&(t=d||(y?e.innerText:a))),T(t)},style:O},e().createElement(n.default,{arrow:s,title:C,placement:l,interactive:b,boundariesElement:"viewport",overlayClassName:"".concat(r.W,"-auto-tips-tooltip"),maxWidth:w},e().createElement("div",{className:"auto-tips-content",ref:x},a)))}})(),a})()));
@@ -40,4 +40,4 @@ Xe=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,r=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 o=n(8156),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,o)&&!u.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!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),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,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,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="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"],u="undefined"!=typeof MutationObserver,s=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,o=!1,r=0;function i(){n&&(n=!1,e()),o&&u()}function c(){a(i)}function u(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return u}(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(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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(){r&&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}(),l=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function m(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 f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),u=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=m(o,"left","right")+i),Math.round(u+a)!==n&&(u-=m(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(c+i)-t,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(r.left,r.top,c,u)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):v(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}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,o,r,i,a,c,u,s=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),u);l(this,{target:e,contentRect:s})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"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 p(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 p(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}(),O="undefined"!=typeof WeakMap?new WeakMap:new o,Z=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=s.getInstance(),o=new x(t,n,this);O.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){Z.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:Z},29697:(e,t,n)=>{var o=n(93379),r=n(67921);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},89034:(e,t,n)=>{var o=n(93379),r=n(2565);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},34817:(e,t,n)=>{var o=n(93379),r=n(44044);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},24895:(e,t,n)=>{var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},42560:(e,t,n)=>{var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},93379:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},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 u(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],u=t.base?i[0]+t.base:i[0],s=n[u]||0,l="".concat(u," ").concat(s);n[u]=s+1;var p=c(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:l,updater:h(f,t),references:1}),o.push(l)}return o}function s(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[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 l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),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 o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var m=null,v=0;function h(e,t){var n,o,r;if(t.singleton){var i=v++;n=m||(m=s(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=s(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=u(e,t),s=0;s<n.length;s++){var l=c(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},52211:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(58543);n(29697);n(89034);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function s(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(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 u(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.")}()}const l=function(e){var t=e.children,n=e.arrow,u=void 0!==n&&n,l=e.placement,p=void 0===l?"bottom-start":l,f=e.tips,d=void 0===f?"":f,m=e.className,v=void 0===m?"":m,h=e.beyondText,b=void 0===h||h,g=e.interactive,y=void 0===g||g,w=e.tipMaxWidth,x=e.style,O=(0,o.useRef)(),Z=(0,o.useRef)(),E=s((0,o.useState)(""),2),k=E[0],j=E[1];(0,o.useEffect)((function(){j(d)}),[d]);var C;return r().createElement("div",{ref:O,className:(C="".concat(a.W,"-auto-tips"),function(){var e=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(e))return!0}()&&(C+=" ".concat(a.W,"-auto-tips-safari")),v&&(C+=" ".concat(v)),C),onMouseOver:function(){var e="",n=O.current,o=n.getBoundingClientRect(),r=Z.current.getBoundingClientRect();O.current&&((0,c.isIE)()?o.width>r.width&&(e=d||(b?n.innerText:t)):r.width>o.width&&(e=d||(b?n.innerText:t))),j(e)},style:x},r().createElement(i.default,{arrow:u,title:k,placement:p,interactive:y,boundariesElement:"viewport",overlayClassName:"".concat(a.W,"-auto-tips-tooltip"),maxWidth:w},r().createElement("div",{className:"auto-tips-content",ref:Z},t)))}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>o,Z:()=>r});var o="paraui-v4",r="component"},60855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o),i=n(18628);const a=function(e,t){var n=r().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)}},30356:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o);function i(e){var t,n,o,r,a,c,u,s,l,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(s=p,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,u=r.overflowY,/auto|scroll|overlay/.test(a+u+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,u,s,l=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(u=r.nodeName)||void 0===u?void 0:u.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(30356),u=n(86010);n(24895);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f=r().forwardRef((function(e,t){var n=e.title,o=e.content,f=p(e,["title","content"]),d=r().useRef(),m=(0,c.Z)(d,e.getPopupContainer),v="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}({},f),{isPopover:!0,prefixCls:v,overlayClassName:(0,u.Z)("".concat(a.W,"-popover"),e.overlayClassName),ref:d,title:function(e){return n||o?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(e,"-title")},n),r().createElement("div",{className:"".concat(e,"-inner-content")},o)):null}(v),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:m}))}));f.displayName="Popover",f.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1};const d=f},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>k});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),c=n(86010),u=n(37464);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}function p(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function m(e){return"boolean"==typeof e?e?f:d:l({},d,e)}function v(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=l({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(l({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),s=p(l({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:s,className:null});return r().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(u.Z,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(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,o=new Array(t);n<t;n++)o[n]=e[n];return o}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]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){y(e,t,n[t])}))}return e}function x(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function O(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Z(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}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 E=r().forwardRef((function(e,t){var n,o=Z(r().useState(e.defaultVisible),2),s=o[0],f=o[1],d=r().useRef(),g=r().useRef(),y=Z(r().useState([0,0]),2),E=y[0],k=y[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var j=function(){var t=e.title;return!t&&0!==t},C=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,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,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(l({},a.Ct[e]),{offset:(t=e,n=h(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:m(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},S=e.prefixCls,P=void 0===S?"".concat(u.Z,"-tooltip"):S,T=e.getPopupContainer,M=e.overlayClassName,_=e.overlayInnerStyle,A=e.overlayStyle,D=e.children,N=e.title,L=e.placement,R=e.isPopover,z=e.followCursor,H=e.maxWidth,B=e.disabled,I=O(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),V=s;"visible"in e||"open"in e||!j()||(V=!1);var W=(0,c.Z)(!R&&"".concat(u.W,"-tooltip"),M),F=w({},A);return H&&(F.maxWidth=H),r().createElement(i.Z,x(w({},I),{prefixCls:P,placement:z?"top":h(L),overlayClassName:W,getTooltipContainer:T,ref:t||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,B&&r().createElement(b.Z,{className:"disabled-svg"}),N),visible:V,align:{targetOffset:E},onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!j()&&t),j())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=C(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(u.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.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(),u=c.x,s=c.y,l=c.width,p=e.clientX-(u+l/2),f=e.clientY-s+i+a;setTimeout((function(){k([-p,-f])}))}}},v(D)):v(D))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const k=E},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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{Z:()=>o})},83878:(e,t,n)=>{"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>o})},97326:(e,t,n)=>{"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>o})},15861:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,u,"next",e)}function u(e){o(a,r,i,c,u,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>r})},15671:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>o})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67343);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(61120),r=n(78814),i=n(82963);function a(e){var t=(0,r.Z)();return function(){var n,r=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(67343);function r(e,t,n){return(t=(0,o.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 o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})},61120:(e,t,n)=>{"use strict";function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}n.d(t,{Z:()=>o})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(89611);function r(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,o.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function o(){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:()=>o})},31902:(e,t,n)=>{"use strict";function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}n.d(t,{Z:()=>o})},25267:(e,t,n)=>{"use strict";function o(){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:()=>o})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(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:()=>r});var o=n(63366);function r(e,t){if(null==e)return{};var n,r,i=(0,o.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>o})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(71002),r=n(97326);function i(e,t){if(t&&("object"===(0,o.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},89611:(e,t,n)=>{"use strict";function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}n.d(t,{Z:()=>o})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,o.Z)(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(71002);function r(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,o.Z)(r))return r;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 o=n(71002),r=n(35512);function i(e){var t=(0,r.Z)(e,"string");return"symbol"===(0,o.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}n.d(t,{Z:()=>o})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(30907);function r(e,t){if(e){if("string"==typeof e)return(0,o.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,o.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return o[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,{Breadcrumbs:()=>b,default:()=>g});var e=i(8156),t=i.n(e),n=i(36668),o=i(52211),r=i(85893),c=i(97435),u=function(e){return(0,r.jsx)(c.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},e))},s=function(e){return(0,r.jsx)(c.l,Object.assign({dataName:"Return",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"Return",transform:"translate(-435 -1743)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(435 1743)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M11.4,2.8H4.263L5.7,1.367A.8.8,0,0,0,4.565.235l-2.8,2.8a.8.8,0,0,0,0,1.131l2.8,2.8A.8.8,0,0,0,5.7,5.834L4.263,4.4H11.4a4.934,4.934,0,0,1,0,9.868H.8a.8.8,0,1,0,0,1.6H11.4A6.534,6.534,0,0,0,11.4,2.8",transform:"translate(438.067 1747.067)"})]}))})},e))},l=i(37464),p=i(60855);const f={zh:{back:"返回"},en:{back:"Back"}};i(34817);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||h(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.")}()}function v(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return d(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(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}var b=function(r){var i=r.maxWidth,a=void 0===i?"160px":i,c=r.className,d=r.list,h=r.separator,b=void 0===h?"/":h,g=r.popoverClassName,y=r.isShrink,w=void 0===y||y,x=r.isBack,O=void 0!==x&&x,Z=r.minNum,E=void 0===Z?2:Z,k=r.trigger,j=void 0===k?"hover":k,C=r.placement,S=void 0===C?"bottomLeft":C,P=r.backRender,T=r.onClickItem,M=r.onBack,_=r.style,A=(0,p.Z)("Breadcrumbs",f),D=m((0,e.useState)(!1),2),N=D[0],L=D[1],R=m((0,e.useState)([]),2),z=R[0],H=R[1],B=(0,e.useRef)(),I=(0,e.useRef)({minNum:E,isBack:O,isShrink:w,timer:null,showMore:!1,hideArr:[],hidePos:0});I.current.isBack=O,I.current.showMore=N,I.current.isShrink=w,I.current.minNum=E,(0,e.useEffect)((function(){return window.addEventListener("resize",F),function(){clearTimeout(I.current.timer),window.removeEventListener("resize",F)}}),[]),(0,e.useEffect)((function(){var e=new Array(r.list.length).fill(!1);I.current.hideArr=e,H(e),X()}),[d]);var V,W=function(e,t){return function(){r.list.length-1===t||e.disabled||T&&T(e)}},F=function(){X()},Y=function(){B.current.classList.remove("".concat(l.W,"-breadcrumbs-calculation"))},X=function(e){if(!I.current.isShrink)return Y();if(clearTimeout(I.current.timer),!e){I.current.hidePos=0,I.current.showMore=!1;var t=new Array(r.list.length).fill(!1);I.current.hideArr=t,H(t),L(!1)}return r.list.length<=I.current.minNum+1||I.current.hidePos===r.list.length-I.current.minNum-1?Y():(B.current.classList.add("".concat(l.W,"-breadcrumbs-calculation")),void(I.current.timer=setTimeout((function(){B.current.clientWidth>B.current.querySelector(".breadcrumbs-list").clientWidth+(I.current.isBack?B.current.querySelector(".breadcrumbs-back").clientWidth:0)?Y():(I.current.hidePos+=1,I.current.hideArr[I.current.hidePos]=!0,H(v(I.current.hideArr)),L(!0),X(!0))}),50)))},U=function(){var e="".concat(l.W,"-breadcrumbs-popover");return g&&(e+=" ".concat(g)),e};return t().createElement("div",{className:(V="".concat(l.W,"-breadcrumbs"),w&&(V+=" ".concat(l.W,"-breadcrumbs-shrink")),c&&(V+=" ".concat(c)),V),style:_,ref:B},t().createElement("ul",{className:"breadcrumbs-list"},d.map((function(r,i){if(!z[i]){var c="breadcrumbs-item";return i===d.length-1&&(c+=" breadcrumbs-item-current"),i===d.length-1||r.disabled||(c+=" breadcrumbs-item-click"),r.disabled&&(c+=" breadcrumbs-item-disabled"),t().createElement(e.Fragment,{key:i},t().createElement("li",{className:c,style:{maxWidth:r.maxWidth||a},onClick:W(r,i)},t().createElement(o.default,null,t().createElement("span",{className:"breadcrumbs-item-content"},r.label))),i!==d.length-1&&t().createElement("li",{className:"separator"},b),N&&0===i&&t().createElement(t().Fragment,null,t().createElement(n.default,{content:t().createElement("div",{className:"breadcrumbs-popover-content"},d.map((function(e,n){if(!z[n])return null;var o="breadcrumbs-popover-content-item";return n===d.length-1||e.disabled||(o+=" breadcrumbs-popover-content-item-click"),n===d.length-1&&(o+=" breadcrumbs-popover-content-item-current"),e.disabled&&(o+=" breadcrumbs-popover-content-item-disabled"),t().createElement("div",{key:n,className:o,onClick:W(e,n)},e.label)}))),overlayClassName:U(),trigger:j,placement:S,destroyTooltipOnHide:!0},t().createElement("li",{className:"breadcrumbs-item-more"},t().createElement(u,null))),!z[d.length-1]&&t().createElement("li",{className:"separator"},b)))}}))),O&&t().createElement("div",{className:"breadcrumbs-back"},t().createElement("span",{className:"line"}),t().createElement("div",{className:"breadcrumbs-back-content",onClick:function(){if(M)return M();if(!(r.list.length<2)){var e=r.list[r.list.length-2];W(e,r.list.length-2)()}}},P||t().createElement(t().Fragment,null,t().createElement(s,null),t().createElement("span",null,A({id:"back"}))))))};const g=b})(),a})()));
43
+ */n(27418);var o=n(8156),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var o,i={},s=null,l=null;for(o in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,o)&&!u.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},85893:(e,t,n)=>{"use strict";e.exports=n(75251)},91033:(e,t,n)=>{"use strict";n.d(t,{default:()=>E});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!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),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,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,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="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"],u="undefined"!=typeof MutationObserver,s=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,o=!1,r=0;function i(){n&&(n=!1,e()),o&&u()}function c(){a(i)}function u(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(c,t);r=e}return u}(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(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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(){r&&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}(),l=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=g(0,0,0,0);function d(e){return parseFloat(e)||0}function m(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 f;var o=p(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=d(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,c=d(o.width),u=d(o.height);if("border-box"===o.boxSizing&&(Math.round(c+i)!==t&&(c-=m(o,"left","right")+i),Math.round(u+a)!==n&&(u-=m(o,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var s=Math.round(c+i)-t,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(r.left,r.top,c,u)}var h="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return r?h(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):v(e):f}function g(e,t,n,o){return{x:e,y:t,width:n,height:o}}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,o,r,i,a,c,u,s=(o=(n=t).x,r=n.y,i=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:o,y:r,width:i,height:a,top:r,right:o+i,bottom:a+r,left:o}),u);l(this,{target:e,contentRect:s})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"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 p(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 p(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}(),O="undefined"!=typeof WeakMap?new WeakMap:new o,Z=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=s.getInstance(),o=new x(t,n,this);O.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){Z.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));const E=void 0!==i.ResizeObserver?i.ResizeObserver:Z},29697:(e,t,n)=>{var o=n(93379),r=n(67921);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},89034:(e,t,n)=>{var o=n(93379),r=n(2565);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},34817:(e,t,n)=>{var o=n(93379),r=n(44044);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},24895:(e,t,n)=>{var o=n(93379),r=n(95845);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},42560:(e,t,n)=>{var o=n(93379),r=n(9929);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.id,r,""]]);var i={insert:"head",singleton:!1};o(r,i);e.exports=r.locals||{}},93379:(e,t,n)=>{"use strict";var o,r=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},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 u(e,t){for(var n={},o=[],r=0;r<e.length;r++){var i=e[r],u=t.base?i[0]+t.base:i[0],s=n[u]||0,l="".concat(u," ").concat(s);n[u]=s+1;var p=c(l),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(a[p].references++,a[p].updater(f)):a.push({identifier:l,updater:h(f,t),references:1}),o.push(l)}return o}function s(e){var t=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var r=n.nc;r&&(o.nonce=r)}if(Object.keys(o).forEach((function(e){t.setAttribute(e,o[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 l,p=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function f(e,t,n,o){var r=n?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=p(t,r);else{var i=document.createTextNode(r),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 o=n.css,r=n.media,i=n.sourceMap;if(r?e.setAttribute("media",r):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var m=null,v=0;function h(e,t){var n,o,r;if(t.singleton){var i=v++;n=m||(m=s(t)),o=f.bind(null,n,i,!1),r=f.bind(null,n,i,!0)}else n=s(t),o=d.bind(null,n,t),r=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=r());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<n.length;o++){var r=c(n[o]);a[r].references--}for(var i=u(e,t),s=0;s<n.length;s++){var l=c(n[s]);0===a[l].references&&(a[l].updater(),a.splice(l,1))}n=i}}}},52211:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(58543);n(29697);n(89034);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function s(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(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 u(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.")}()}const l=function(e){var t=e.children,n=e.arrow,u=void 0!==n&&n,l=e.placement,p=void 0===l?"bottom-start":l,f=e.tips,d=void 0===f?"":f,m=e.className,v=void 0===m?"":m,h=e.beyondText,b=void 0===h||h,g=e.interactive,y=void 0===g||g,w=e.tipMaxWidth,x=e.style,O=(0,o.useRef)(),Z=(0,o.useRef)(),E=s((0,o.useState)(""),2),k=E[0],j=E[1];(0,o.useEffect)((function(){j(d)}),[d]);var C;return r().createElement("div",{ref:O,className:(C="".concat(a.W,"-auto-tips"),function(){var e=navigator.userAgent;if(/^((?!chrome|android).)*safari/i.test(e))return!0}()&&(C+=" ".concat(a.W,"-auto-tips-safari")),v&&(C+=" ".concat(v)),C),onMouseOver:function(){var e="",n=O.current,o=n.getBoundingClientRect(),r=Z.current.getBoundingClientRect();O.current&&((0,c.isIE)()?o.width>r.width&&(e=d||(b?n.innerText:t)):r.width>o.width&&(e=d||(b?n.innerText:t))),j(e)},style:x},r().createElement(i.default,{arrow:u,title:k,placement:p,interactive:y,boundariesElement:"viewport",overlayClassName:"".concat(a.W,"-auto-tips-tooltip"),maxWidth:w},r().createElement("div",{className:"auto-tips-content",ref:Z},t)))}},37464:(e,t,n)=>{"use strict";n.d(t,{W:()=>o,Z:()=>r});var o="paraui-v4",r="component"},60855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o),i=n(18628);const a=function(e,t){var n=r().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)}},30356:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(8156),r=n.n(o);function i(e){var t,n,o,r,a,c,u,s,l,p=e.parentNode||e.ownerDocument,f=(null==p||null===(t=p.nodeName)||void 0===t?void 0:t.toLowerCase())||"";return["html","body","#document"].includes(f)?null==e||null===(n=e.ownerDocument)||void 0===n?void 0:n.body:(s=p,(null!=(l=window.HTMLElement)&&"undefined"!=typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](s):s instanceof l)&&(o=p,r=window.getComputedStyle(o),a=r.overflow,c=r.overflowX,u=r.overflowY,/auto|scroll|overlay/.test(a+u+c))?p:i(p))}function a(e,t){var n=r().useRef();return r().useEffect((function(){return function(){n.current&&(n.current.style.position="")}}),[]),function(o){var r;if(t)r=t(o)||document.body;else{var a,c,u,s,l=null===(c=e.current)||void 0===c||null===(a=c.getRootDomNode)||void 0===a?void 0:a.call(c);if(l)(r=i(l)).scrollHeight<=r.clientHeight&&(r=document.body);else r=document.body;if("body"!==(null===(u=r.nodeName)||void 0===u?void 0:u.toLowerCase()))"static"===(null===(s=window.getComputedStyle(r))||void 0===s?void 0:s.position)&&(r.style.position="relative");n.current=r}return r}}},36668:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var o=n(8156),r=n.n(o),i=n(77918),a=n(37464),c=n(30356),u=n(86010);n(24895);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function p(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var f=r().forwardRef((function(e,t){var n=e.title,f=e.content,d=p(e,["title","content"]),m=r().useRef(),v=(0,c.Z)(m,e.getPopupContainer);(0,o.useEffect)((function(){t&&("function"==typeof t?t(m.current):t.current=m.current)}),[m.current]);var h="".concat(a.Z,"-popover");return r().createElement(i.default,l(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}({},d),{isPopover:!0,prefixCls:h,overlayClassName:(0,u.Z)("".concat(a.W,"-popover"),e.overlayClassName),ref:m,title:function(e){return n||f?r().createElement(r().Fragment,null,n&&r().createElement("div",{className:"".concat(e,"-title")},n),r().createElement("div",{className:"".concat(e,"-inner-content")},f)):null}(h),transitionName:"".concat(a.Z,"-popover-zoom-big"),getPopupContainer:v}))}));f.displayName="Popover",f.defaultProps={placement:"bottom",trigger:"click",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrow:!1};const d=f},77918:(e,t,n)=>{"use strict";n.d(t,{default:()=>k});var o=n(8156),r=n.n(o),i=n(79483),a=n(24375),c=n(86010),u=n(37464);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){s(e,t,n[t])}))}return e}function p(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var f={adjustX:1,adjustY:1},d={adjustX:0,adjustY:0};function m(e){return"boolean"==typeof e?e?f:d:l({},d,e)}function v(e){var t=r().isValidElement(e)?e:r().createElement("span",null,e);if("button"===t.type&&t.props.disabled){var n=function(e,t){var n={},o=l({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete o[t])})),{picked:n,omitted:o}}(t.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=p(l({display:"inline-block"},o),{cursor:"not-allowed",width:t.props.block?"100%":null}),s=p(l({},i),{pointerEvents:"none"}),f=r().cloneElement(t,{style:s,className:null});return r().createElement("span",{style:a,className:(0,c.Z)(t.props.className,"".concat(u.Z,"-tooltip-disabled-compatible-wrapper"))},f)}return t}function h(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,o=new Array(t);n<t;n++)o[n]=e[n];return o}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]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){y(e,t,n[t])}))}return e}function x(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 o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function O(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Z(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}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 E=r().forwardRef((function(e,t){var n,o=Z(r().useState(e.defaultVisible),2),s=o[0],f=o[1],d=r().useRef(),g=r().useRef(),y=Z(r().useState([0,0]),2),E=y[0],k=y[1];r().useEffect((function(){var t;("visible"in e||"open"in e)&&f(!!(null!==(t=e.visible)&&void 0!==t?t:e.open))}),[null!==(n=e.visible)&&void 0!==n?n:e.open]);var j=function(){var t=e.title;return!t&&0!==t},C=function(){var t=e.builtinPlacements,n=e.autoAdjustOverflow;return t||function(e){var t=e.horizontalArrowShift,n=void 0===t?16:t,o=e.verticalArrowShift,r=void 0===o?8:o,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,-r]},topRight:{points:["br","tc"],offset:[n,-8]},rightTop:{points:["tl","cr"],offset:[8,-r]},bottomRight:{points:["tr","bc"],offset:[n,8]},rightBottom:{points:["bl","cr"],offset:[8,r]},bottomLeft:{points:["tl","bc"],offset:[-n,8]},leftBottom:{points:["br","cl"],offset:[-8,r]}};return Object.keys(c).forEach((function(e){var t,n;c[e]=p(l({},a.Ct[e]),{offset:(t=e,n=h(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:m(i)}),c[e].ignoreShake=!0})),c}({autoAdjustOverflow:n})},S=e.prefixCls,P=void 0===S?"".concat(u.Z,"-tooltip"):S,T=e.getPopupContainer,M=e.overlayClassName,_=e.overlayInnerStyle,A=e.overlayStyle,D=e.children,N=e.title,L=e.placement,R=e.isPopover,z=e.followCursor,H=e.maxWidth,B=e.disabled,I=O(e,["prefixCls","getPopupContainer","overlayClassName","overlayInnerStyle","overlayStyle","children","title","placement","isPopover","followCursor","maxWidth","disabled"]),V=s;"visible"in e||"open"in e||!j()||(V=!1);var W=(0,c.Z)(!R&&"".concat(u.W,"-tooltip"),M),F=w({},A);H&&(F.maxWidth=H);var Y={targetOffset:E};return e.offset&&(Y.offset=e.offset),r().createElement(i.Z,x(w({},I),{prefixCls:P,placement:z?"top":h(L),overlayClassName:W,getTooltipContainer:T,ref:t||g,builtinPlacements:C(),overlay:r().createElement(r().Fragment,null,B&&r().createElement(b.Z,{className:"disabled-svg"}),N),visible:V,align:Y,onVisibleChange:function(t){var n;("visible"in e||"open"in e||f(!j()&&t),j())||(null===(n=e.onVisibleChange)||void 0===n||n.call(e,t))},onPopupAlign:function(e,t){var n=C(),o=Object.keys(n).find((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}));if(o){var r=e.getBoundingClientRect(),i={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?i.top="".concat(r.height-t.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?i.left="".concat(r.width-t.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayStyle:F,overlayInnerStyle:_,arrowContent:null,motion:{motionName:"".concat(u.Z,"-tooltip-zoom-big-fast"),motionDeadline:1e3}}),z?r().createElement("div",{style:{display:"inline-block"},ref:d,onMouseMove:function(e){if(d.current){var t,n,o,r,i=(null===(r=g.current)||void 0===r||null===(o=r.popupRef)||void 0===o||null===(n=o.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(),u=c.x,s=c.y,l=c.width,p=e.clientX-(u+l/2),f=e.clientY-s+i+a;setTimeout((function(){k([-p,-f])}))}}},v(D)):v(D))}));E.displayName="Tooltip",E.defaultProps={placement:"topLeft",mouseEnterDelay:.1,mouseLeaveDelay:.1,autoAdjustOverflow:!0,defaultVisible:!1,followCursor:!1,maxWidth:500};const k=E},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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n.d(t,{Z:()=>o})},83878:(e,t,n)=>{"use strict";function o(e){if(Array.isArray(e))return e}n.d(t,{Z:()=>o})},97326:(e,t,n)=>{"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>o})},15861:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,u,"next",e)}function u(e){o(a,r,i,c,u,"throw",e)}c(void 0)}))}}n.d(t,{Z:()=>r})},15671:(e,t,n)=>{"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:()=>o})},43144:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67343);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,o.Z)(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},29388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(61120),r=n(78814),i=n(82963);function a(e){var t=(0,r.Z)();return function(){var n,r=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,i.Z)(this,n)}}},4942:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(67343);function r(e,t,n){return(t=(0,o.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 o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o.apply(this,arguments)}n.d(t,{Z:()=>o})},61120:(e,t,n)=>{"use strict";function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}n.d(t,{Z:()=>o})},60136:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(89611);function r(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,o.Z)(e,t)}},78814:(e,t,n)=>{"use strict";function o(){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:()=>o})},31902:(e,t,n)=>{"use strict";function o(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,c=[],u=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(c.push(o.value),c.length!==t);u=!0);}catch(e){s=!0,r=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return c}}n.d(t,{Z:()=>o})},25267:(e,t,n)=>{"use strict";function o(){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:()=>o})},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(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:()=>r});var o=n(63366);function r(e,t){if(null==e)return{};var n,r,i=(0,o.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},63366:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>o})},82963:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(71002),r=n(97326);function i(e,t){if(t&&("object"===(0,o.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}},89611:(e,t,n)=>{"use strict";function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}n.d(t,{Z:()=>o})},93324:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(83878),r=n(31902),i=n(40181),a=n(25267);function c(e,t){return(0,o.Z)(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||(0,a.Z)()}},35512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(71002);function r(e,t){if("object"!==(0,o.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==(0,o.Z)(r))return r;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 o=n(71002),r=n(35512);function i(e){var t=(0,r.Z)(e,"string");return"symbol"===(0,o.Z)(t)?t:String(t)}},71002:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}n.d(t,{Z:()=>o})},40181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(30907);function r(e,t){if(e){if("string"==typeof e)return(0,o.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,o.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return o[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,{Breadcrumbs:()=>b,default:()=>g});var e=i(8156),t=i.n(e),n=i(36668),o=i(52211),r=i(85893),c=i(97435),u=function(e){return(0,r.jsx)(c.l,Object.assign({dataName:"More",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"More",transform:"translate(-140 -354)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(140 354)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M14.8,1.6a1.6,1.6,0,1,1,1.6,1.6A1.6,1.6,0,0,1,14.8,1.6Zm-7.4,0A1.6,1.6,0,1,1,9,3.2,1.6,1.6,0,0,1,7.4,1.6ZM0,1.6A1.6,1.6,0,1,1,1.6,3.2,1.6,1.6,0,0,1,0,1.6Z",transform:"translate(143 364.4)"})]}))})},e))},s=function(e){return(0,r.jsx)(c.l,Object.assign({dataName:"Return",viewBox:"0 0 24 24",path:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("g",Object.assign({id:"Return",transform:"translate(-435 -1743)"},{children:[(0,r.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(435 1743)",fill:"none"}),(0,r.jsx)("path",{id:"icon",d:"M11.4,2.8H4.263L5.7,1.367A.8.8,0,0,0,4.565.235l-2.8,2.8a.8.8,0,0,0,0,1.131l2.8,2.8A.8.8,0,0,0,5.7,5.834L4.263,4.4H11.4a4.934,4.934,0,0,1,0,9.868H.8a.8.8,0,1,0,0,1.6H11.4A6.534,6.534,0,0,0,11.4,2.8",transform:"translate(438.067 1747.067)"})]}))})},e))},l=i(37464),p=i(60855);const f={zh:{back:"返回"},en:{back:"Back"}};i(34817);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function m(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 o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}}(e,t)||h(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.")}()}function v(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return d(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(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}var b=function(r){var i=r.maxWidth,a=void 0===i?"160px":i,c=r.className,d=r.list,h=r.separator,b=void 0===h?"/":h,g=r.popoverClassName,y=r.isShrink,w=void 0===y||y,x=r.isBack,O=void 0!==x&&x,Z=r.minNum,E=void 0===Z?2:Z,k=r.trigger,j=void 0===k?"hover":k,C=r.placement,S=void 0===C?"bottomLeft":C,P=r.backRender,T=r.onClickItem,M=r.onBack,_=r.style,A=(0,p.Z)("Breadcrumbs",f),D=m((0,e.useState)(!1),2),N=D[0],L=D[1],R=m((0,e.useState)([]),2),z=R[0],H=R[1],B=(0,e.useRef)(),I=(0,e.useRef)({minNum:E,isBack:O,isShrink:w,timer:null,showMore:!1,hideArr:[],hidePos:0});I.current.isBack=O,I.current.showMore=N,I.current.isShrink=w,I.current.minNum=E,(0,e.useEffect)((function(){return window.addEventListener("resize",F),function(){clearTimeout(I.current.timer),window.removeEventListener("resize",F)}}),[]),(0,e.useEffect)((function(){var e=new Array(r.list.length).fill(!1);I.current.hideArr=e,H(e),X()}),[d]);var V,W=function(e,t){return function(){r.list.length-1===t||e.disabled||T&&T(e)}},F=function(){X()},Y=function(){B.current.classList.remove("".concat(l.W,"-breadcrumbs-calculation"))},X=function(e){if(!I.current.isShrink)return Y();if(clearTimeout(I.current.timer),!e){I.current.hidePos=0,I.current.showMore=!1;var t=new Array(r.list.length).fill(!1);I.current.hideArr=t,H(t),L(!1)}return r.list.length<=I.current.minNum+1||I.current.hidePos===r.list.length-I.current.minNum-1?Y():(B.current.classList.add("".concat(l.W,"-breadcrumbs-calculation")),void(I.current.timer=setTimeout((function(){B.current.clientWidth>B.current.querySelector(".breadcrumbs-list").clientWidth+(I.current.isBack?B.current.querySelector(".breadcrumbs-back").clientWidth:0)?Y():(I.current.hidePos+=1,I.current.hideArr[I.current.hidePos]=!0,H(v(I.current.hideArr)),L(!0),X(!0))}),50)))},U=function(){var e="".concat(l.W,"-breadcrumbs-popover");return g&&(e+=" ".concat(g)),e};return t().createElement("div",{className:(V="".concat(l.W,"-breadcrumbs"),w&&(V+=" ".concat(l.W,"-breadcrumbs-shrink")),c&&(V+=" ".concat(c)),V),style:_,ref:B},t().createElement("ul",{className:"breadcrumbs-list"},d.map((function(r,i){if(!z[i]){var c="breadcrumbs-item";return i===d.length-1&&(c+=" breadcrumbs-item-current"),i===d.length-1||r.disabled||(c+=" breadcrumbs-item-click"),r.disabled&&(c+=" breadcrumbs-item-disabled"),t().createElement(e.Fragment,{key:i},t().createElement("li",{className:c,style:{maxWidth:r.maxWidth||a},onClick:W(r,i)},t().createElement(o.default,null,t().createElement("span",{className:"breadcrumbs-item-content"},r.label))),i!==d.length-1&&t().createElement("li",{className:"separator"},b),N&&0===i&&t().createElement(t().Fragment,null,t().createElement(n.default,{content:t().createElement("div",{className:"breadcrumbs-popover-content"},d.map((function(e,n){if(!z[n])return null;var o="breadcrumbs-popover-content-item";return n===d.length-1||e.disabled||(o+=" breadcrumbs-popover-content-item-click"),n===d.length-1&&(o+=" breadcrumbs-popover-content-item-current"),e.disabled&&(o+=" breadcrumbs-popover-content-item-disabled"),t().createElement("div",{key:n,className:o,onClick:W(e,n)},e.label)}))),overlayClassName:U(),trigger:j,placement:S,destroyTooltipOnHide:!0},t().createElement("li",{className:"breadcrumbs-item-more"},t().createElement(u,null))),!z[d.length-1]&&t().createElement("li",{className:"separator"},b)))}}))),O&&t().createElement("div",{className:"breadcrumbs-back"},t().createElement("span",{className:"line"}),t().createElement("div",{className:"breadcrumbs-back-content",onClick:function(){if(M)return M();if(!(r.list.length<2)){var e=r.list[r.list.length-2];W(e,r.list.length-2)()}}},P||t().createElement(t().Fragment,null,t().createElement(s,null),t().createElement("span",null,A({id:"back"}))))))};const g=b})(),a})()));