!function(){function t(e){return t="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},t(e)}System.register(["./index-legacy-DyPSyNNX.js"],function(e,n){"use strict";var r,a,i,o,c,l,u,s,f,m,v,p,d,y;return{setters:[function(t){r=t.aq,a=t.ar,i=t.m,o=t.r,c=t.C,l=t.g,u=t.w,s=t.Z,f=t.h,m=t.d,v=t.M,p=t.x,d=t.A,y=t.t}],execute:function(){var n=/\s/;var N=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e},b=/^\s+/;var g=function(e){var n=t(e);return null!=e&&("object"==n||"function"==n)},x=function(t){return t?t.slice(0,N(t)+1).replace(b,""):t},E=g,h=r,O=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,C=/^0o[0-7]+$/i,S=parseInt;var P=a,T=g,j=function(){return P.Date.now()},I=function(t){if("number"==typeof t)return t;if(h(t))return NaN;if(E(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=E(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=x(t);var n=w.test(t);return n||C.test(t)?S(t.slice(2),n?2:8):O.test(t)?NaN:+t},M=Math.max,$=Math.min;var k=function(t,e,n){var r,a,i,o,c,l,u=0,s=!1,f=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(e){var n=r,i=a;return r=a=void 0,u=e,o=t.apply(i,n)}function p(t){var n=t-l;return void 0===l||n>=e||n<0||f&&t-u>=i}function d(){var t=j();if(p(t))return y(t);c=setTimeout(d,function(t){var n=e-(t-l);return f?$(n,i-(t-u)):n}(t))}function y(t){return c=void 0,m&&r?v(t):(r=a=void 0,o)}function N(){var t=j(),n=p(t);if(r=arguments,a=this,l=t,n){if(void 0===c)return function(t){return u=t,c=setTimeout(d,e),s?v(t):o}(l);if(f)return clearTimeout(c),c=setTimeout(d,e),v(l)}return void 0===c&&(c=setTimeout(d,e)),o}return e=I(e)||0,T(n)&&(s=!!n.leading,i=(f="maxWait"in n)?M(I(n.maxWait)||0,e):i,m="trailing"in n?!!n.trailing:m),N.cancel=function(){void 0!==c&&clearTimeout(c),u=0,r=l=a=c=void 0},N.flush=function(){return void 0===c?o:y(j())},N},z=i(k);y("small","default","large");var A=null;var D=function(t){var e=t.spinPrefixCls,n=t.spinning,r=void 0===n||n,a=t.delay,i=t.className,c=t.size,y=void 0===c?"default":c,N=t.tip,b=t.wrapperClassName,g=t.style,x=t.children,E=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(t);a<r.length;a++)e.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(n[r[a]]=t[r[a]])}return n}(t,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),h=o.useState(function(){return r&&!function(t,e){return!!t&&!!e&&!isNaN(Number(e))}(r,a)}),O=u(h,2),w=O[0],C=O[1];o.useEffect(function(){var t=z(function(){C(r)},a);return t(),function(){var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}},[a,r]);var S=function(n){var r=n.direction,a=f(e,m(m(m(m(m({},"".concat(e,"-sm"),"small"===y),"".concat(e,"-lg"),"large"===y),"".concat(e,"-spinning"),w),"".concat(e,"-show-text"),!!N),"".concat(e,"-rtl"),"rtl"===r),i),c=v(E,["indicator","prefixCls"]),u=o.createElement("div",l({},c,{style:g,className:a,"aria-live":"polite","aria-busy":w}),function(t,e){var n=e.indicator,r="".concat(t,"-dot");return null===n?null:p(n)?d(n,{className:f(n.props.className,r)}):p(A)?d(A,{className:f(A.props.className,r)}):o.createElement("span",{className:f(r,"".concat(t,"-dot-spin"))},o.createElement("i",{className:"".concat(t,"-dot-item")}),o.createElement("i",{className:"".concat(t,"-dot-item")}),o.createElement("i",{className:"".concat(t,"-dot-item")}),o.createElement("i",{className:"".concat(t,"-dot-item")}))}(e,t),N?o.createElement("div",{className:"".concat(e,"-text")},N):null);if(void 0!==x){var s=f("".concat(e,"-container"),m({},"".concat(e,"-blur"),w));return o.createElement("div",l({},c,{className:f("".concat(e,"-nested-loading"),b)}),w&&o.createElement("div",{key:"loading"},u),o.createElement("div",{className:s,key:"container"},x))}return u};return o.createElement(s,null,S)};e("S",function(t){var e=t.prefixCls,n=(0,o.useContext(c).getPrefixCls)("spin",e),r=l(l({},t),{spinPrefixCls:n});return o.createElement(D,l({},r))}).setDefaultIndicator=function(t){A=t}}}})}();
