diff --git a/javascript/main.js b/javascript/main.js index 961ed6c..879cdb4 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -1,9 +1,9 @@ -function e(e,t){for(var n=0;nr[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){var t,n;return e.__esModule?e:("function"==typeof(t=e.default)?(n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)},n.prototype=t.prototype):n={},Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n)}function r(e,t,n){this.props=e,this.context=t,this.refs=nJ,this.updater=n||eJ}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=nJ,this.updater=n||eJ}function a(e,t,n){var r,o,i,a,s={},l=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(l=""+t.key),t)dy.call(t,r)&&!fy.hasOwnProperty(r)&&(s[r]=t[r]);if(1==(o=arguments.length-2))s.children=n;else if(1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Ay.call(My,e)||!Ay.call(Fy,e)&&(Ry.test(e)?My[e]=!0:(Fy[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function v(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=tv&&e[tv]||e["@@iterator"])?e:null}function w(e){if(void 0===rv)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);rv=t&&t[1]||""}return"\n"+rv+e}function x(e,t){var n,r,o,i,a,s,l;if(!e||ov)return"";ov=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return l="\n"+o[a].replace(" at new "," at "),e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ov=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?w(e):""}function S(e){switch(e.tag){case 5:return w(e.type);case 16:return w("Lazy");case 13:return w("Suspense");case 19:return w("SuspenseList");case 0:case 2:case 15:return x(e.type,!1);case 11:return x(e.type.render,!1);case 1:return x(e.type,!0);default:return""}}function E(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Wy:return"Fragment";case Uy:return"Portal";case Vy:return"Profiler";case Gy:return"StrictMode";case Yy:return"Suspense";case Jy:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Xy:return(e.displayName||"Context")+".Consumer";case qy:return(e._context.displayName||"Context")+".Provider";case Ky:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Qy:return null!==(t=e.displayName||null)?t:E(e.type)||"Memo";case Zy:t=e._payload,e=e._init;try{return E(e(t))}catch(n){}}return null}function C(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return E(t);case 8:return t===Gy?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function k(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function O(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function D(e){e._valueTracker||(e._valueTracker=function(e){var t,n,r=O(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),i=""+e[r];if(!e.hasOwnProperty(r)&&void 0!==o&&"function"==typeof o.get&&"function"==typeof o.set)return t=o.get,n=o.set,Object.defineProperty(e,r,{configurable:!0,get:function(){return t.call(this)},set:function(e){i=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}(e))}function $(e){var t,n,r;return!(!e||(t=e._valueTracker)&&(n=t.getValue(),r="",e&&(r=O(e)?e.checked?"true":"false":e.value),(e=r)===n||(t.setValue(e),0)))}function _(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function N(e,t){var n=t.checked;return nv({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function j(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=k(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function P(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function T(e,t){P(e,t);var n=k(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?A(e,t.type,n):t.hasOwnProperty("defaultValue")&&A(e,t.type,k(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function I(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function A(e,t,n){"number"===t&&_(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function R(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&s),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0n;n++)t.push(e);return t}function ge(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Rv(t)]=n}function me(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-Rv(o)))&t|e[n]&t&&(e[n]|=t),o&=~r}function be(e){return 1<(e&=-e)?4=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qe(r)}}function et(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?et(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tt(){var e,t,n;for(e=window,t=_();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=_((e=t.contentWindow).document)}return t}function nt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function rt(e){var t,n,r,o=tt(),i=e.focusedElem,a=e.selectionRange;if(o!==i&&i&&i.ownerDocument&&et(i.ownerDocument.documentElement,i)){null!==a&&nt(i)&&(o=a.start,void 0===(e=a.end)&&(e=o),"selectionStart"in i?(i.selectionStart=o,i.selectionEnd=Math.min(e,i.value.length)):(e=(o=i.ownerDocument||document)&&o.defaultView||window).getSelection&&(e=e.getSelection(),t=i.textContent.length,n=Math.min(a.start,t),a=void 0===a.end?n:Math.min(a.end,t),!e.extend&&n>a&&(t=a,a=n,n=t),t=Ze(i,n),r=Ze(i,a),t&&r&&(1!==e.rangeCount||e.anchorNode!==t.node||e.anchorOffset!==t.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&((o=o.createRange()).setStart(t.node,t.offset),e.removeAllRanges(),n>a?(e.addRange(o),e.extend(r.node,r.offset)):(o.setEnd(r.node,r.offset),e.addRange(o))))),o=[];for(e=i;e=e.parentNode;)1===e.nodeType&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;iFx||(e.current=Rx[Fx],Rx[Fx]=null,Fx--)}function Tt(e,t){Fx++,Rx[Fx]=e.current,e.current=t}function It(e,t){var n,r,o,i=e.type.contextTypes;if(!i)return Mx;if((n=e.stateNode)&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;for(o in r={},i)r[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function At(e){return null!=e.childContextTypes}function Rt(){Pt(Bx),Pt(Lx)}function Ft(e,t,n){if(Lx.current!==Mx)throw Error(f(168));Tt(Lx,t),Tt(Bx,n)}function Mt(e,t,n){var r,o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(r in o=o.getChildContext())if(!(r in t))throw Error(f(108,C(e)||"Unknown",r));return nv({},n,o)}function Lt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mx,zx=Lx.current,Tt(Lx,e),Tt(Bx,Bx.current),!0}function Bt(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=Mt(e,t,zx),r.__reactInternalMemoizedMergedChildContext=e,Pt(Bx),Pt(Lx),Tt(Lx,e)):Pt(Bx),Tt(Bx,n)}function zt(e){null===Hx?Hx=[e]:Hx.push(e)}function Ht(){var e,t,n,r;if(!Wx&&null!==Hx){Wx=!0,e=0,t=zv;try{for(n=Hx,zv=1;e>=a,o-=a,Qx=1<<32-Rv(t)+o|n<g?(m=f,f=null):m=f.sibling,null===(b=p(o,f,s[g],l))){null===f&&(f=m);break}e&&f&&null===b.alternate&&t(o,f),a=i(b,a,g),null===u?c=b:u.sibling=b,u=b,f=m}if(g===s.length)return n(o,f),nS&&Ut(o,g),c;if(null===f){for(;gg?(m=u,u=null):m=u.sibling,null===(y=p(o,u,b.value,l))){null===u&&(u=m);break}e&&u&&null===y.alternate&&t(o,u),a=i(y,a,g),null===c?w=y:c.sibling=y,c=y,u=m}if(b.done)return n(o,u),nS&&Ut(o,g),w;if(null===u){for(;!b.done;g++,b=s.next())null!==(b=d(o,b.value,l))&&(a=i(b,a,g),null===c?w=b:c.sibling=b,c=b);return nS&&Ut(o,g),w}for(u=r(o,u);!b.done;g++,b=s.next())null!==(b=h(u,o,g,b.value,l))&&(e&&null!==b.alternate&&u.delete(null===b.key?g:b.key),a=i(b,a,g),null===c?w=b:c.sibling=b,c=b);return e&&u.forEach((function(e){return t(o,e)})),nS&&Ut(o,g),w}(l,c,u,g);On(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(c=o(c,u)).return=l,l=c):(n(l,c),(c=ni(u,l.mode,g)).return=l,l=c),a(l)):n(l,c)}}function _n(e){if(e===gS)throw Error(f(174));return e}function Nn(e,t){switch(Tt(yS,t),Tt(bS,e),Tt(mS,gS),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:H(null,"");break;default:t=H(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Pt(mS),Tt(mS,t)}function jn(){Pt(mS),Pt(bS),Pt(yS)}function Pn(e){var t,n;_n(yS.current),(t=_n(mS.current))!==(n=H(t,e.type))&&(Tt(bS,e),Tt(mS,n))}function Tn(e){bS.current===e&&(Pt(mS),Pt(bS))}function In(e){var t,n;for(t=e;null!==t;){if(13===t.tag){if(null!==(n=t.memoizedState)&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function An(){for(var e=0;er?r:4,e(!0),n=SS.transition,SS.transition={};try{e(!1),t()}finally{zv=r,SS.transition=n}}function hr(){return zn().memoizedState}function gr(e,t,n){var r=wo(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},br(e)?yr(t,n):null!==(n=un(e,t,n,r))&&(xo(n,e,r,vo()),vr(n,t,r))}function mr(e,t,n){var r,o,i,a,s=wo(e),l={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(br(e))yr(t,l);else{if(r=e.alternate,0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{if(i=r(o=t.lastRenderedState,n),l.hasEagerState=!0,l.eagerState=i,tx(i,o))return null===(a=t.interleaved)?(l.next=l,cn(t)):(l.next=a.next,a.next=l),void(t.interleaved=l)}catch(c){}null!==(n=un(e,t,l,s))&&(xo(n,e,s,l=vo()),vr(n,t,s))}}function br(e){var t=e.alternate;return e===CS||null!==t&&t===CS}function yr(e,t){$S=DS=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vr(e,t,n){if(0!=(4194240&n)){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,me(e,n)}}function wr(e,t){var n,r,o;try{n="",r=t;do{n+=S(r),r=r.return}while(r);o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function xr(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Sr(e,t,n){(n=hn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){mE||(mE=!0,bE=r)},n}function Er(e,t,n){var r,o,i;return(n=hn(-1,n)).tag=3,"function"==typeof(r=e.type.getDerivedStateFromError)&&(o=t.value,n.payload=function(){return r(o)},n.callback=function(){}),null!==(i=e.stateNode)&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===yE?yE=new Set([this]):yE.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function Cr(e,t,n){var r,o=e.pingCache;null===o?(o=e.pingCache=new AS).set(t,r=new Set):void 0===(r=o.get(t))&&o.set(t,r=new Set),r.has(n)||(r.add(n),e=Wo.bind(null,e,t,n),t.then(e,e))}function kr(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Or(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=hn(-1,1)).tag=2,gn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Dr(e,t,n,r){t.child=null===e?hS(t,null,n,r):fS(t,e.child,n,r)}function $r(e,t,n,r,o){n=n.render;var i=t.ref;return sn(t,o),r=Mn(e,t,n,r,i,o),n=Ln(),null===e||FS?(nS&&n&&Gt(t),t.flags|=1,Dr(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vr(e,t,o))}function _r(e,t,n,r,o){var i;return null===e?"function"!=typeof(i=n.type)||Jo(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zo(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Nr(e,t,i,r,o)):(i=e.child,0==(e.lanes&o)&&(n=null!==(n=n.compare)?n:Je)(i.memoizedProps,r)&&e.ref===t.ref?Vr(e,t,o):(t.flags|=1,(e=Qo(i,r)).ref=t.ref,e.return=t,t.child=e))}function Nr(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Je(i,r)&&e.ref===t.ref){if(FS=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Vr(e,t,o);0!=(131072&e.flags)&&(FS=!0)}}return Tr(e,t,n,r,o)}function jr(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tt(iE,oE),oE|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Tt(iE,oE),oE|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Tt(iE,oE),oE|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Tt(iE,oE),oE|=r;return Dr(e,t,o,n),t.child}function Pr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tr(e,t,n,r,o){var i=At(n)?zx:Lx.current;return i=It(t,i),sn(t,o),n=Mn(e,t,n,r,i,o),r=Ln(),null===e||FS?(nS&&r&&Gt(t),t.flags|=1,Dr(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vr(e,t,o))}function Ir(e,t,n,r,o){var i,a,s,l,c,u,d,p,f,h;return At(n)?(i=!0,Lt(t)):i=!1,sn(t,o),null===t.stateNode?(Gr(e,t),Sn(t,n,r),Cn(t,n,r,o),r=!0):null===e?((a=t.stateNode).props=s=t.memoizedProps,l=a.context,c="object"==typeof(c=n.contextType)&&null!==c?ln(c):It(t,c=At(n)?zx:Lx.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&En(t,a,r,c),uS=!1,a.state=p=t.memoizedState,yn(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Bx.current||uS?("function"==typeof u&&(wn(t,n,u,r),l=t.memoizedState),(s=uS||xn(t,n,s,r,p,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)):(a=t.stateNode,fn(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:nn(t.type,s),a.props=c,d=t.pendingProps,p=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ln(l):It(t,l=At(n)?zx:Lx.current),(u="function"==typeof(f=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||p!==l)&&En(t,a,r,l),uS=!1,a.state=p=t.memoizedState,yn(t,r,a,o),h=t.memoizedState,s!==d||p!==h||Bx.current||uS?("function"==typeof f&&(wn(t,n,f,r),h=t.memoizedState),(c=uS||xn(t,n,c,r,p,h,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)),Ar(e,t,n,r,i,o)}function Ar(e,t,n,r,o,i){var a,s;return Pr(e,t),a=0!=(128&t.flags),r||a?(r=t.stateNode,RS.current=t,s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&a?(t.child=fS(t,e.child,null,i),t.child=fS(t,null,s,i)):Dr(e,t,s,i),t.memoizedState=r.state,o&&Bt(t,n,!0),t.child):(o&&Bt(t,n,!1),Vr(e,t,i))}function Rr(e){var t=e.stateNode;t.pendingContext?Ft(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ft(0,t.context,!1),Nn(e,t.containerInfo)}function Fr(e,t,n,r,o){return en(),tn(o),t.flags|=256,Dr(e,t,n,r),t.child}function Mr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lr(e,t,n){var r,o,i=t.pendingProps,a=vS.current,s=!1,l=0!=(128&t.flags);return(r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Tt(vS,1&a),null===e?(Yt(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(t.lanes=0==(1&t.mode)?1:"$!"===e.data?8:1073741824,null):(l=i.children,e=i.fallback,s?(s=t.child,l={mode:"hidden",children:l},0==(1&(i=t.mode))&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ti(l,i,0,null),e=ei(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Mr(n),t.memoizedState=MS,e):Br(t,l))):null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)?function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,zr(e,t,a,r=xr(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,r=ti({mode:"visible",children:r.children},o=t.mode,0,null),(i=ei(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&fS(t,e.child,null,a),t.child.memoizedState=Mr(a),t.memoizedState=MS,i);if(0==(1&t.mode))return zr(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,zr(e,t,a,r=xr(i=Error(f(419)),r,void 0))}if(s=0!=(a&e.childLanes),FS||s){if(null!==(r=tE)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,dn(e,o),xo(r,e,o,-1))}return Io(),zr(e,t,a,r=xr(Error(f(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Vo.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,tS=kt(o.nextSibling),eS=t,nS=!0,rS=null,null!==e&&(Kx[Yx++]=Qx,Kx[Yx++]=Zx,Kx[Yx++]=Jx,Qx=e.id,Zx=e.overflow,Jx=t),(t=Br(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n):s?(s=i.fallback,r=(a=e.child).sibling,o={mode:"hidden",children:i.children},0==(1&(l=t.mode))&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=o,t.deletions=null):(i=Qo(a,o)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Qo(r,s):(s=ei(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Mr(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=MS,i):(e=(s=e.child).sibling,i=Qo(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i)}function Br(e,t){return(t=ti({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zr(e,t,n,r){return null!==r&&tn(r),fS(t,e.child,null,n),(e=Br(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hr(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),an(e.return,t,n)}function Ur(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Wr(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Dr(e,t,r.children,n),0!=(2&(r=vS.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hr(e,n,t);else if(19===e.tag)Hr(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Tt(vS,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===In(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ur(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===In(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ur(t,!0,n,null,i);break;case"together":Ur(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gr(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vr(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lE|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=Qo(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Qo(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function qr(e,t){var n,r;if(!nS)switch(e.tailMode){case"hidden":for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":for(n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xr(e){var t,n=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(n)for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=14680064&t.subtreeFlags,o|=14680064&t.flags,t.return=e,t=t.sibling;else for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=t.subtreeFlags,o|=t.flags,t.return=e,t=t.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function Kr(e,t,n){var r,o,i,a,s,l=t.pendingProps;switch(Vt(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xr(t),null;case 1:case 17:return At(t.type)&&Rt(),Xr(t),null;case 3:return l=t.stateNode,jn(),Pt(Bx),Pt(Lx),An(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(Qt(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==rS&&(ko(rS),rS=null))),BS(e,t),Xr(t),null;case 5:if(Tn(t),r=_n(yS.current),n=t.type,null!==e&&null!=t.stateNode)zS(e,t,n,l,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(null===t.stateNode)throw Error(f(166));return Xr(t),null}if(e=_n(mS.current),Qt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[Nx]=t,l[jx]=o,e=0!=(1&t.mode),n){case"dialog":ut("cancel",l),ut("close",l);break;case"iframe":case"object":case"embed":ut("load",l);break;case"video":case"audio":for(r=0;r<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(n,{is:l.is}):(e=i.createElement(n),"select"===n&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,n),e[Nx]=t,e[jx]=l,LS(e,t,!1,!1),t.stateNode=e;e:{switch(i=q(n,l),n){case"dialog":ut("cancel",e),ut("close",e),r=l;break;case"iframe":case"object":case"embed":ut("load",e),r=l;break;case"video":case"audio":for(r=0;rhE&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=In(i))){if(t.flags|=128,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!nS)return Xr(t),null}else 2*Dv()-o.renderingStartTime>hE&&1073741824!==n&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=o.last)?n.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(o.rendering=t=o.tail,o.tail=t.sibling,o.renderingStartTime=Dv(),t.sibling=null,n=vS.current,Tt(vS,l?1&n|2:1&n),t):(Xr(t),null);case 22:case 23:return No(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&oE)&&(Xr(t),6&t.subtreeFlags&&(t.flags|=8192)):Xr(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}function Yr(e,t){switch(Vt(t),t.tag){case 1:return At(t.type)&&Rt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return jn(),Pt(Bx),Pt(Lx),An(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Tn(t),null;case 13:if(Pt(vS),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));en()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Pt(vS),null;case 4:return jn(),null;case 10:return on(t.type._context),null;case 22:case 23:return No(),null;default:return null}}function Jr(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Uo(e,t,r)}else n.current=null}function Qr(e,t,n){try{n()}catch(r){Uo(e,t,r)}}function Zr(e,t,n){var r,o,i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){r=i=i.next;do{(r.tag&e)===e&&(o=r.destroy,r.destroy=void 0,void 0!==o&&Qr(t,n,o)),r=r.next}while(r!==i)}}function eo(e,t){var n;if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function to(e){var t=e.ref;null!==t&&(e=e.stateNode,"function"==typeof t?t(e):t.current=e)}function no(e){var t=e.alternate;null!==t&&(e.alternate=null,no(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Nx],delete t[jx],delete t[Tx],delete t[Ix],delete t[Ax]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ro(e){return 5===e.tag||3===e.tag||4===e.tag}function oo(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ro(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function io(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=xt));else if(4!==r&&null!==(e=e.child))for(io(e,t,n),e=e.sibling;null!==e;)io(e,t,n),e=e.sibling}function ao(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ao(e,t,n),e=e.sibling;null!==e;)ao(e,t,n),e=e.sibling}function so(e,t,n){for(n=n.child;null!==n;)lo(e,t,n),n=n.sibling}function lo(e,t,n){var r,o,i,a;if(Av&&"function"==typeof Av.onCommitFiberUnmount)try{Av.onCommitFiberUnmount(Iv,n)}catch(s){}switch(n.tag){case 5:WS||Jr(n,t);case 6:r=XS,o=KS,XS=null,so(e,t,n),KS=o,null!==(XS=r)&&(KS?(n=n.stateNode,8===(e=XS).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):XS.removeChild(n.stateNode));break;case 18:null!==XS&&(KS?(n=n.stateNode,8===(e=XS).nodeType?Ct(e.parentNode,n):1===e.nodeType&&Ct(e,n),ke(e)):Ct(XS,n.stateNode));break;case 4:r=XS,o=KS,XS=n.stateNode.containerInfo,KS=!0,so(e,t,n),XS=r,KS=o;break;case 0:case 11:case 14:case 15:if(!WS&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{a=(i=o).destroy,i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Qr(n,t,a),o=o.next}while(o!==r)}so(e,t,n);break;case 1:if(!WS&&(Jr(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Uo(n,t,s)}so(e,t,n);break;case 21:so(e,t,n);break;case 22:1&n.mode?(WS=(r=WS)||null!==n.memoizedState,so(e,t,n),WS=r):so(e,t,n);break;default:so(e,t,n)}}function co(e){var t,n=e.updateQueue;null!==n&&(e.updateQueue=null,null===(t=e.stateNode)&&(t=e.stateNode=new GS),n.forEach((function(n){var r=qo.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})))}function uo(e,t){var n,r,o,i,a,s,l=t.deletions;if(null!==l)for(n=0;no&&(o=a),r&=~i;if(r=o,10<(r=(120>(r=Dv()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*YS(r/1960))-r)){e.timeoutHandle=kx(Bo.bind(null,e,pE,gE),r);break}Bo(e,pE,gE);break;default:throw Error(f(329))}}}return So(e,Dv()),e.callbackNode===n?Eo.bind(null,e):null}function Co(e,t){var n=dE;return e.current.memoizedState.isDehydrated&&(jo(e,t).flags|=256),2!==(e=Ao(e,t))&&(t=pE,pE=n,null!==t&&ko(t)),e}function ko(e){null===pE?pE=e:pE.push.apply(pE,e)}function Oo(e,t){for(t&=~uE,e.suspendedLanes|=t&=~cE,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===wE)r=!1;else{if(e=wE,wE=null,xE=0,0!=(6&eE))throw Error(f(331));for(o=eE,eE|=4,VS=e.current;null!==VS;){if(a=(i=VS).child,0!=(16&VS.flags)&&null!==(s=i.deletions)){for(l=0;lDv()-fE?jo(e,0):uE|=n),So(e,t)}function Go(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Bv,0==(130023424&(Bv<<=1))&&(Bv=4194304)));var n=vo();null!==(e=dn(e,t))&&(ge(e,t,n),So(e,n))}function Vo(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Go(e,n)}function qo(e,t){var n,r,o=0;switch(e.tag){case 13:n=e.stateNode,null!==(r=e.memoizedState)&&(o=r.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(f(314))}null!==n&&n.delete(t),Go(e,o)}function Xo(e,t){return Ev(e,t)}function Ko(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yo(e,t,n,r){return new Ko(e,t,n,r)}function Jo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qo(e,t){var n=e.alternate;return null===n?((n=Yo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Jo(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Wy:return ei(n.children,o,i,t);case Gy:a=8,o|=8;break;case Vy:return(e=Yo(12,n,t,2|o)).elementType=Vy,e.lanes=i,e;case Yy:return(e=Yo(13,n,t,o)).elementType=Yy,e.lanes=i,e;case Jy:return(e=Yo(19,n,t,o)).elementType=Jy,e.lanes=i,e;case ev:return ti(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case qy:a=10;break e;case Xy:a=9;break e;case Ky:a=11;break e;case Qy:a=14;break e;case Zy:a=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=Yo(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function ei(e,t,n,r){return(e=Yo(7,e,r,t)).lanes=n,e}function ti(e,t,n,r){return(e=Yo(22,e,r,t)).elementType=ev,e.lanes=n,e.stateNode={isHidden:!1},e}function ni(e,t,n){return(e=Yo(6,e,null,t)).lanes=n,e}function ri(e,t,n){return(t=Yo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oi(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=he(0),this.expirationTimes=he(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=he(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ii(e,t,n,r,o,i,a,s,l){return e=new oi(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Yo(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},pn(i),e}function ai(e){var t,n;if(!e)return Mx;e:{if(oe(e=e._reactInternals)!==e||1!==e.tag)throw Error(f(170));t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(At(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(f(171))}return 1===e.tag&&At(n=e.type)?Mt(e,n,t):t}function si(e,t,n,r,o,i,a,s,l){return(e=ii(n,r,!0,e,0,i,0,s,l)).context=ai(null),n=e.current,(i=hn(r=vo(),o=wo(n))).callback=null!=t?t:null,gn(n,i,o),e.current.lanes=o,ge(e,o,r),So(e,r),e}function li(e,t,n,r){var o=t.current,i=vo(),a=wo(o);return n=ai(n),null===t.context?t.context=n:t.pendingContext=n,(t=hn(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=gn(o,t,a))&&(xo(e,o,a,i),mn(e,o,a)),a}function ci(e){return(e=e.current).child?e.child.stateNode:null}function ui(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=0||(n[o]=e[o]);return n}(e,t),Object.getOwnPropertySymbols)for(i=Object.getOwnPropertySymbols(e),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function Di(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function $i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _i(e,t){var n,r;for(n=0;n2||Gi(uk)>3?"":" "}function Yi(e,t){for(;--t&&zi()&&!(uk<48||uk>102||uk>57&&uk<65||uk>70&&uk<97););return Wi(e,Ui()+(t<6&&32==Hi()&&32==zi()))}function Ji(e){for(;zi();)switch(uk){case e:return ck;case 34:case 39:34!==e&&39!==e&&Ji(uk);break;case 40:41===e&&Ji(e);break;case 92:zi()}return ck}function Qi(e,t){for(;zi()&&e+uk!==57&&(e+uk!==84||47!==Hi()););return"/*"+Wi(t,ck-1)+"*"+ok(47===e?e:zi())}function Zi(e){for(;!Gi(Hi());)zi();return Wi(e,ck)}function ea(e){return qi(ta("",null,null,null,[""],e=Vi(e),0,[0],e))}function ta(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,g=1,m=1,b=1,y=0,v="",w=o,x=i,S=r,E=v;m;)switch(h=y,y=zi()){case 40:if(108!=h&&58==Ii(E,d-1)){-1!=Ti(E+=Pi(Xi(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:E+=Xi(y);break;case 9:case 10:case 13:case 32:E+=Ki(h);break;case 92:E+=Yi(Ui()-1,7);continue;case 47:switch(Hi()){case 42:case 47:Mi(ra(Qi(zi(),Ui()),t,n),l);break;default:E+="/"}break;case 123*g:s[c++]=Ri(E)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+u:-1==b&&(E=Pi(E,/\f/g,"")),f>0&&Ri(E)-d&&Mi(f>32?oa(E+";",r,n,d-1):oa(Pi(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(Mi(S=na(E,t,n,c,u,o,s,v,w=[],x=[],d),i),123===y)if(0===u)ta(E,t,S,S,w,i,d,s,x);else switch(99===p&&110===Ii(E,3)?100:p){case 100:case 108:case 109:case 115:ta(e,S,S,r&&Mi(na(e,S,S,0,0,o,s,v,o,w=[],d),x),o,x,d,s,r?w:x);break;default:ta(E,S,S,S,[""],x,0,s,x)}}c=u=f=0,g=b=1,v=E="",d=a;break;case 58:d=1+Ri(E),f=h;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(uk=ck>0?Ii(dk,--ck):0,sk--,10===uk&&(sk=1,ak--),uk))continue;switch(E+=ok(y),y*g){case 38:b=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(Ri(E)-1)*b,b=1;break;case 64:45===Hi()&&(E+=Xi(zi())),p=Hi(),u=d=Ri(v=E+=Zi(Ui())),y++;break;case 45:45===h&&2==Ri(E)&&(g=0)}}return i}function na(e,t,n,r,o,i,a,s,l,c,u){var d,p,f,h,g,m,b=o-1,y=0===o?i:[""],v=Fi(y);for(d=0,p=0,f=0;d0?y[h]+" "+g:Pi(g,/&\f/g,y[h])))&&(l[f++]=m);return Li(e,t,n,0===o?QC:s,l,c,u)}function ra(e,t,n){return Li(e,t,n,JC,ok(uk),Ai(e,2,-2),0)}function oa(e,t,n,r){return Li(e,t,n,ZC,Ai(e,0,r),Ai(e,r+1,-1),r)}function ia(e,t){var n,r="",o=Fi(e);for(n=0;n6)switch(Ii(e,t+1)){case 109:if(45!==Ii(e,t+4))break;case 102:return Pi(e,/(.+:)(.+)-([^]+)/,"$1"+YC+"$2-$3$1"+KC+(108==Ii(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ti(e,"stretch")?la(Pi(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ii(e,t+1))break;case 6444:switch(Ii(e,Ri(e)-3-(~Ti(e,"!important")&&10))){case 107:return Pi(e,":",":"+YC)+e;case 101:return Pi(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+YC+(45===Ii(e,14)?"inline-":"")+"box$3$1"+YC+"$2$3$1"+XC+"$2box$3")+e}break;case 5936:switch(Ii(e,t+11)){case 114:return YC+e+XC+Pi(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return YC+e+XC+Pi(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return YC+e+XC+Pi(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return YC+e+XC+e+e}return e}function ca(e,t,n){var r,o,i,a;if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return _k={name:n.name,styles:n.styles,next:_k},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)_k={name:r.name,styles:r.styles,next:_k},r=r.next;return n.styles+";"}return function(e,t,n){var r,o,i,a,s,l="";if(Array.isArray(n))for(r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function ka(e,t,n){var r=yy.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Oa(){}function Da(){}function $a(e,t,n){t||jO[n]||(e(!1,n),jO[n]=!0)}function _a(e,t){$a(Oa,e,t)}function Na(e,t,n){var r=arguments.length>2&&void 0!==n&&n,o=new Set;return function e(t,n,i){var a,s,l,c=arguments.length>2&&void 0!==i?i:1,u=o.has(t);if(_a(!u,"Warning: There may be circular references"),u)return!1;if(t===n)return!0;if(r&&c>1)return!1;if(o.add(t),a=c+1,Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(s=0;s0&&void 0!==e?e:{}).mark;return t?t.startsWith("data-")?t:"data-".concat(t):zO}function Aa(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Ra(e){return Array.from((HO.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Fa(e,t){var n,r,o,i,a,s,l,c,u,d,p=arguments.length>1&&void 0!==t?t:{};if(!Pa())return null;if(n=p.csp,i=void 0===(o=p.priority)?0:o,s="prependQueue"===(a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r=p.prepend)),(l=document.createElement("style")).setAttribute(LO,a),s&&i&&l.setAttribute(BO,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,u=(c=Aa(p)).firstChild,r){if(s&&(d=Ra(c).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(LO)))return!1;var t=Number(e.getAttribute(BO)||0);return i>=t}))).length)return c.insertBefore(l,d[d.length-1].nextSibling),l;c.insertBefore(l,u)}else c.appendChild(l);return l}function Ma(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Ra(Aa(n)).find((function(t){return t.getAttribute(Ia(n))===e}))}function La(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=Ma(e,n);r&&Aa(n).removeChild(r)}function Ba(e,t,n){var r,o,i,a,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=HO.get(e);r&&Ta(document,r)||(n=Fa("",t),HO.set(e,n.parentNode),e.removeChild(n))}(Aa(l),l),(r=Ma(t,l))?(null!==(o=l.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(i=l.csp)||void 0===i?void 0:i.nonce)&&(r.nonce=null===(a=l.csp)||void 0===a?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e),r):((s=Fa(e,l)).setAttribute(Ia(l),t),s)}function za(e){if(Array.isArray(e))return e}function Ha(){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 Ua(e,t){return za(e)||function(e,t){var n,r,o,i,a,s,l,c=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=c){a=[],s=!0,l=!1;try{if(o=(c=c.call(e)).next,0===t){if(Object(c)!==c)return;s=!1}else for(;!(s=(n=o.call(c)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(u){l=!0,r=u}finally{try{if(!s&&null!=c.return&&(i=c.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(e,t)||wa(e,t)||Ha()}function Wa(e){var t=Array.isArray(e)?e:[e];return VO.has(t)||VO.set(t,new GO(t)),VO.get(t)}function Ga(e){var t=qO.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof GO?t+=r.id:r&&"object"===Ei(r)?t+=Ga(r):t+=r})),qO.set(e,t)),t}function Va(e,t,n,r,o){var i,a,s=yy.useContext(MJ).cache,l=[e].concat(xa(t)),c=l.join("_"),u=BJ([c]),d=function(e){s.update(l,(function(t){var r=Ua(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))};return yy.useMemo((function(){d()}),[c]),i=s.get(l),a=i[1],LJ((function(){null==o||o(a)}),(function(e){return d((function(t){var n=Ua(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(a)),[r+1,i]})),function(){s.update(l,(function(e){var t=Ua(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(u((function(){return null==r?void 0:r(i,!1)})),null):[o-1,i]}))}}),[c]),a}function qa(e){return e.trim()}function Xa(e,t){return(e=t.exec(e))?e[0]:e}function Ka(e,t,n){return e.replace(t,n)}function Ya(e,t){return e.indexOf(t)}function Ja(e,t){return 0|e.charCodeAt(t)}function Qa(e,t,n){return e.slice(t,n)}function Za(e){return e.length}function es(e){return e.length}function ts(e,t){return t.push(e),e}function ns(e,t){return e.filter((function(e){return!Xa(e,t)}))}function rs(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:wD,column:xD,length:a,return:"",siblings:s}}function os(e,t){return vD(rs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function is(e){for(;e.root;)e=os(e.root,{children:[e]});ts(e,e.siblings)}function as(){return CD=ED2||us(CD)>3?"":" "}function fs(e,t){for(;--t&&as()&&!(CD<48||CD>102||CD>57&&CD<65||CD>70&&CD<97););return cs(e,ls()+(t<6&&32==ss()&&32==as()))}function hs(e){for(;as();)switch(CD){case e:return ED;case 34:case 39:34!==e&&39!==e&&hs(CD);break;case 40:41===e&&hs(e);break;case 92:as()}return ED}function gs(e,t){for(;as()&&e+CD!==57&&(e+CD!==84||47!==ss()););return"/*"+cs(t,ED-1)+"*"+yD(47===e?e:as())}function ms(e){for(;!us(ss());)as();return cs(e,ED)}function bs(e){return function(e){return kD="",e}(ys("",null,null,null,[""],e=function(e){return wD=xD=1,SD=Za(kD=e),ED=0,[]}(e),0,[0],e))}function ys(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,f=0,h=0,g=1,m=1,b=1,y=0,v="",w=o,x=i,S=r,E=v;m;)switch(h=y,y=as()){case 40:if(108!=h&&58==Ja(E,d-1)){-1!=Ya(E+=Ka(ds(y),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:E+=ds(y);break;case 9:case 10:case 13:case 32:E+=ps(h);break;case 92:E+=fs(ls()-1,7);continue;case 47:switch(ss()){case 42:case 47:ts(ws(gs(as(),ls()),t,n,l),l);break;default:E+="/"}break;case 123*g:s[c++]=Za(E)*b;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+u:-1==b&&(E=Ka(E,/\f/g,"")),f>0&&Za(E)-d&&ts(f>32?xs(E+";",r,n,d-1,l):xs(Ka(E," ","")+";",r,n,d-2,l),l);break;case 59:E+=";";default:if(ts(S=vs(E,t,n,c,u,o,s,v,w=[],x=[],d,i),i),123===y)if(0===u)ys(E,t,S,S,w,i,d,s,x);else switch(99===p&&110===Ja(E,3)?100:p){case 100:case 108:case 109:case 115:ys(e,S,S,r&&ts(vs(e,S,S,0,0,o,s,v,o,w=[],d,x),x),o,x,d,s,r?w:x);break;default:ys(E,S,S,S,[""],x,0,s,x)}}c=u=f=0,g=b=1,v=E="",d=a;break;case 58:d=1+Za(E),f=h;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==(CD=ED>0?Ja(kD,--ED):0,xD--,10===CD&&(xD=1,wD--),CD))continue;switch(E+=yD(y),y*g){case 38:b=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(Za(E)-1)*b,b=1;break;case 64:45===ss()&&(E+=ds(as())),p=ss(),u=d=Za(v=E+=ms(ls())),y++;break;case 45:45===h&&2==Za(E)&&(g=0)}}return i}function vs(e,t,n,r,o,i,a,s,l,c,u,d){var p,f,h,g,m,b,y=o-1,v=0===o?i:[""],w=es(v);for(p=0,f=0,h=0;p0?v[g]+" "+m:Ka(m,/&\f/g,v[g])))&&(l[h++]=b);return rs(e,t,n,0===o?pD:s,l,c,u,d)}function ws(e,t,n,r){return rs(e,t,n,dD,yD(CD),Qa(e,2,-2),0,r)}function xs(e,t,n,r,o){return rs(e,t,n,fD,Qa(e,0,r),Qa(e,r+1,-1),r,o)}function Ss(e,t,n){switch(function(e,t){return 45^Ja(e,0)?(((t<<2^Ja(e,0))<<2^Ja(e,1))<<2^Ja(e,2))<<2^Ja(e,3):0}(e,t)){case 5103:return uD+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return uD+e+e;case 4789:return cD+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return uD+e+cD+e+lD+e+e;case 5936:switch(Ja(e,t+11)){case 114:return uD+e+lD+Ka(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return uD+e+lD+Ka(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return uD+e+lD+Ka(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return uD+e+lD+e+e;case 6165:return uD+e+lD+"flex-"+e+e;case 5187:return uD+e+Ka(e,/(\w+).+(:[^]+)/,uD+"box-$1$2"+lD+"flex-$1$2")+e;case 5443:return uD+e+lD+"flex-item-"+Ka(e,/flex-|-self/g,"")+(Xa(e,/flex-|baseline/)?"":lD+"grid-row-"+Ka(e,/flex-|-self/g,""))+e;case 4675:return uD+e+lD+"flex-line-pack"+Ka(e,/align-content|flex-|-self/g,"")+e;case 5548:return uD+e+lD+Ka(e,"shrink","negative")+e;case 5292:return uD+e+lD+Ka(e,"basis","preferred-size")+e;case 6060:return uD+"box-"+Ka(e,"-grow","")+uD+e+lD+Ka(e,"grow","positive")+e;case 4554:return uD+Ka(e,/([^-])(transform)/g,"$1"+uD+"$2")+e;case 6187:return Ka(Ka(Ka(e,/(zoom-|grab)/,uD+"$1"),/(image-set)/,uD+"$1"),e,"")+e;case 5495:case 3959:return Ka(e,/(image-set\([^]*)/,uD+"$1$`$1");case 4968:return Ka(Ka(e,/(.+:)(flex-)?(.*)/,uD+"box-pack:$3"+lD+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+uD+e+e;case 4200:if(!Xa(e,/flex-|baseline/))return lD+"grid-column-align"+Qa(e,t)+e;break;case 2592:case 3360:return lD+Ka(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Xa(e.props,/grid-\w+-end/)}))?~Ya(e+(n=n[t].value),"span")?e:lD+Ka(e,"-start","")+e+lD+"grid-row-span:"+(~Ya(n,"span")?Xa(n,/\d+/):+Xa(n,/\d+/)-+Xa(e,/\d+/))+";":lD+Ka(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Xa(e.props,/grid-\w+-start/)}))?e:lD+Ka(Ka(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ka(e,/(.+)-inline(.+)/,uD+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Za(e)-1-t>6)switch(Ja(e,t+1)){case 109:if(45!==Ja(e,t+4))break;case 102:return Ka(e,/(.+:)(.+)-([^]+)/,"$1"+uD+"$2-$3$1"+cD+(108==Ja(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ya(e,"stretch")?Ss(Ka(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ka(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return lD+n+":"+r+s+(o?lD+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===Ja(e,t+6))return Ka(e,":",":"+uD)+e;break;case 6444:switch(Ja(e,45===Ja(e,14)?18:11)){case 120:return Ka(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+uD+(45===Ja(e,14)?"inline-":"")+"box$3$1"+uD+"$2$3$1"+lD+"$2box$3")+e;case 100:return Ka(e,":",":"+lD)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ka(e,"scroll-","scroll-snap-")+e}return e}function Es(e,t){var n,r="";for(n=0;n-1&&!e.return)switch(e.type){case fD:return void(e.return=Ss(e.value,e.length,n));case gD:return Es([os(e,{value:Ka(e.value,"@","@"+uD)})],r);case pD:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Xa(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":is(os(e,{props:[Ka(t,/:(read-\w+)/,":"+cD+"$1")]})),is(os(e,{props:[t]})),vD(e,{props:ns(n,r)});break;case"::placeholder":is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+uD+"input-$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+cD+"$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,lD+"input-$1")]})),is(os(e,{props:[t]})),vD(e,{props:ns(n,r)})}return""}))}}function Os(e){return Es(bs(e),Cs).replace(/\{%%%\:[^;];}/g,";")}function Ds(){return null}function $s(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b=e.token,y=e.path,v=e.hashId,w=e.layer,x=e.nonce,S=e.clientOnly,E=e.order,C=void 0===E?0:E,k=yy.useContext(MJ),O=k.autoClear;return n=k.defaultCache,r=k.hashPriority,o=k.container,i=k.ssrInline,a=k.transformers,s=k.linters,l=k.cache,u=[c=b._tokenKey].concat(xa(y)),d=ND,p=Va("style",u,(function(){var e,n,o,i,l,d,p,f,h=u.join("|");return function(e){var t,n,r;return $D||($D={},Pa()&&((t=document.createElement("div")).className=OD,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t),(getComputedStyle(t).content||"").replace(/^"/,"").replace(/"$/,"").split(";").forEach((function(e){var t=Ua(e.split(":"),2);$D[t[0]]=t[1]})),(n=document.querySelector("style[".concat(OD,"]")))&&(_D=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!$D[e]}(h)&&(e=function(e){var t,n=$D[e],r=null;return n&&Pa()&&(_D?r=DD:(t=document.querySelector("style[".concat(AO,'="').concat($D[e],'"]')))?r=t.innerHTML:delete $D[e]),[r,n]}(h),o=(n=Ua(e,2))[0])?[o,c,n[1],{},S,C]:(i=t(),d=(l=Ua(PD(i,{hashId:v,hashPriority:r,layer:w,path:y.join("-"),transformers:a,linters:s}),2))[1],p=Os(l[0]),f=function(e,t){return Ca("".concat(e.join("%")).concat(t))}(u,p),[p,c,f,d,S,C])}),(function(e,t){var n=Ua(e,3);(t||O)&&ND&&La(n[2],{mark:AO})}),(function(e){var t,n,r,i,a,s=Ua(e,4),u=s[0];t=s[2],n=s[3],d&&u!==DD&&(r={mark:AO,prepend:"queue",attachTo:o,priority:C},(i="function"==typeof x?x():x)&&(r.csp={nonce:i}),(a=Ba(u,t,r))[RO]=l.instanceId,a.setAttribute(IO,c),Object.keys(n).forEach((function(e){Ba(Os(n[e]),"_effect-".concat(e),r)})))})),f=Ua(p,3),h=f[0],g=f[1],m=f[2],function(e){var t,r;return t=i&&!d&&n?yy.createElement("style",fa({},(ki(r={},IO,g),ki(r,AO,m),r),{dangerouslySetInnerHTML:{__html:h}})):yy.createElement(Ds,null),yy.createElement(yy.Fragment,null,t,e)}}function _s(e){return e.notSplit=!0,e}function Ns(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function js(e){var t,n;for(t=1;t1&&void 0!==t?t:{},r=[];return rJ.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Bs(e)):s$.isFragment(e)&&e.props?r=r.concat(Bs(e.props.children,n)):r.push(e))})),r}function zs(e,t){"function"==typeof e?e(t):"object"===Ei(e)&&e&&"current"in e&&(e.current=t)}function Hs(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n3&&void 0!==r&&r;return t.length&&o&&void 0===n&&!tl(e,t.slice(0,-1))?e:nl(e,t,n,o)}function ol(e){return Array.isArray(e)?[]:{}}function il(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function ul(e){return e<=1?"".concat(100*Number(e),"%"):e}function dl(e){return 1===e.length?"0"+e:String(e)}function pl(e,t,n){var r,o,i,a,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),i=0,a=0,s=((r=Math.max(e,t,n))+(o=Math.min(e,t,n)))/2,r===o)a=0,i=0;else{switch(l=r-o,a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hl(e,t,n){var r,o,i,a,s,l;if(e=sl(e,255),t=sl(t,255),n=sl(n,255),i=0,a=r=Math.max(e,t,n),s=r-(o=Math.min(e,t,n)),l=0===r?0:s/r,r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-W$*t:Math.round(e.h)+W$*t:n?Math.round(e.h)+W$*t:Math.round(e.h)-W$*t)<0?r+=360:r>=360&&(r-=360),r}function El(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-G$*t:t===Y$?e.s+G$:e.s+V$*t)>1&&(r=1),n&&t===K$&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Cl(e,t,n){var r;return(r=n?e.v+q$*t:e.v-X$*t)>1&&(r=1),Number(r.toFixed(2))}function kl(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=yl(e);for(n=K$;n>0;n-=1)o=xl(yl({h:Sl(r=wl(u),n,!0),s:El(r,n,!0),v:Cl(r,n,!0)})),c.push(o);for(c.push(xl(u)),i=1;i<=Y$;i+=1)s=xl(yl({h:Sl(a=wl(u),i),s:El(a,i),v:Cl(a,i)})),c.push(s);return"dark"===l.theme?J$.map((function(e){var t,n,r,o=e.index,i=e.opacity;return xl((t=yl(l.backgroundColor||"#141414"),{r:((n=yl(c[o])).r-t.r)*(r=100*i/100)+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b}))})):c}function Ol(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),p=n(o),f=n(i),h=n(a),g=n(s),m=r(c,u),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},m),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new U$("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function Dl(e){const t=Object.keys(rQ).map((t=>{const n=kl(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Ol(e,{generateColorPalettes:lQ,generateNeutralColorPalettes:cQ})),uQ(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),nQ(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},iQ(r))}(e))}function $l(e){return e>=0&&e<=255}function _l(e,t){const{r:n,g:r,b:o,a:i}=new U$(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new U$(t).toRgb();for(let c=.01;c<=1;c+=.01){const e=Math.round((n-a*(1-c))/c),t=Math.round((r-s*(1-c))/c),i=Math.round((o-l*(1-c))/c);if($l(e)&&$l(t)&&$l(i))return new U$({r:e,g:t,b:i,a:Math.round(100*c)/100}).toRgbString()}return new U$({r:n,g:r,b:o,a:1}).toRgbString()}function Nl(e){const{override:t}=e,n=n_(e,["override"]),r=Object.assign({},t);Object.keys(oQ).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:_l(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:_l(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:_l(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:_l(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new U$("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new U$("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new U$("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}function jl(){const{token:e,hashed:t,theme:n,components:r}=rJ.useContext(fQ),o=`${tQ}-${t||""}`,i=n||dQ,[a,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=yy.useContext(MJ).cache.instanceId,i=r.salt,a=void 0===i?"":i,s=r.override,l=void 0===s?nD:s,c=r.formatToken,u=r.getComputedToken,d=yy.useMemo((function(){return Object.assign.apply(Object,[{}].concat(xa(t)))}),[t]),p=yy.useMemo((function(){return Ga(d)}),[d]),f=yy.useMemo((function(){return Ga(l)}),[l]),h=Va("token",[a,e.id,p,f],(function(){var t,n=u?u(d,l,e):aD(d,l,e,c),r=function(e,t){return Ca("".concat(t,"_").concat(Ga(e)))}(n,a);return n._tokenKey=r,function(e){oD.set(e,(oD.get(e)||0)+1)}(r),t="".concat(rD,"-").concat(Ca(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;oD.set(e,(oD.get(e)||0)-1),r=(n=Array.from(oD.keys())).filter((function(e){return(oD.get(e)||0)<=0})),n.length-r.length>iD&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(IO,'="').concat(e,'"]')).forEach((function(e){var n;e[RO]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),oD.delete(e)}))}(e[0]._tokenKey,o)}));return h}(i,[oQ,e],{salt:o,override:Object.assign({override:e},r),getComputedToken:hQ,formatToken:Nl});return[i,a,t?s:""]}function Pl(e){var t,n=yy.useRef();return n.current=e,t=yy.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o{Object.keys(e).forEach((t=>{Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),kQ=!0,r}function Fl(){}function Ml(e,t,n,r){let o=arguments.length>3&&void 0!==r?r:{};const i=Array.isArray(e)?e:[e,e],[a]=i,s=i.join("-");return e=>{const[r,i,l]=jl(),{getPrefixCls:c,iconPrefixCls:u,csp:d}=yy.useContext(mQ),p=c(),f={theme:r,token:i,hashId:l,nonce:()=>null==d?void 0:d.nonce,clientOnly:o.clientOnly,order:o.order||-999};return $s(Object.assign(Object.assign({},f),{clientOnly:!1,path:["Shared",p]}),(()=>[{"&":wQ(i)}])),DQ(u),[$s(Object.assign(Object.assign({},f),{path:[s,e,u]}),(()=>{const{token:r,flush:s}=function(e){let t,n=e,r=Fl;return CQ&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(kQ&&t.add(n),e[n])}),r=(e,n)=>{var r;OQ[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=OQ[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(i),c=Object.assign({},i[a]);if(o.deprecatedTokens){const{deprecatedTokens:e}=o;e.forEach((e=>{let[t,n]=e;var r;((null==c?void 0:c[t])||(null==c?void 0:c[n]))&&(null!==(r=c[n])&&void 0!==r||(c[n]=null==c?void 0:c[t]))}))}const d="function"==typeof n?n(Rl(r,null!=c?c:{})):n,f=Object.assign(Object.assign({},d),c),h=Rl(r,{componentCls:`.${e}`,prefixCls:e,iconCls:`.${u}`,antCls:`.${p}`},f),g=t(h,{hashId:l,prefixCls:e,rootPrefixCls:p,iconPrefixCls:u,overrideComponentToken:c});return s(a,f),[!1===o.resetStyle?null:xQ(i,e),g]})),l]}}function Ll(e,t){return eQ.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}function Bl(e){var t=e.children,n=Oi(e,o_);return yy.createElement(i_.Provider,{value:n},t)}function zl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Hl(e){var t,n,r,o,i;if(w_[e])return w_[e];if(t=b_[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(Gl)}function ql(e){const{children:t}=e,[,n]=jl(),{motion:r}=n,o=yy.useRef(!1);return o.current=o.current||!1===r,o.current?yy.createElement(Bl,{motion:r},t):t}function Xl(){return LQ||"ant"}function Kl(){return BQ||gQ}function Yl(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Jl(e){return function(e){return Yl(e)instanceof ShadowRoot}(e)?Yl(e):null}function Ql(e){return"object"===Ei(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===Ei(e.icon)||"function"==typeof e.icon)}function Zl(e){var t=arguments.length>0&&void 0!==e?e:{};return Object.keys(t).reduce((function(e,n){var r,o=t[n];return"class"===n?(e.className=o,delete e.class):(delete e[n],e[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o),e}),{})}function ec(e,t,n){return rJ.createElement(e.tag,n?Ea(Ea({key:t},Zl(e.attrs)),n):Ea({key:t},Zl(e.attrs)),(e.children||[]).map((function(n,r){return ec(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function tc(e){return kl(e)[0]}function nc(e){return e?Array.isArray(e)?e:[e]:[]}function rc(e){var t=Ua(nc(e),2);return VQ.setTwoToneColors({primaryColor:t[0],secondaryColor:t[1]})}function oc(e,t){return 0===e.indexOf(t)}function ic(e,t){var n,r,o=arguments.length>1&&void 0!==t&&t;return n=!1===o?{aria:!0,data:!0,attr:!0}:!0===o?{aria:!0}:Ea({},o),r={},Object.keys(e).forEach((function(t){(n.aria&&("role"===t||oc(t,W_))||n.data&&oc(t,G_)||n.attr&&U_.includes(t))&&(r[t]=e[t])})),r}function ac(e){return e&&rZ(e)&&e.type===yy.Fragment}function sc(e,t){return function(e,t,n){return rZ(e)?yy.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}function lc(e){var t=arguments.length>0&&void 0!==e?e:{},n=t.getContainer,r=void 0===n?Z_:n,o=t.motion,i=t.prefixCls,a=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=t.renderNotifications,d=Oi(t,Q_),p=Ua(yy.useState(),2),f=p[0],h=p[1],g=yy.useRef(),m=yy.createElement(J_,{container:f,ref:g,prefixCls:i,motion:o,maxCount:a,className:s,style:l,onAllRemoved:c,renderNotifications:u}),b=Ua(yy.useState([]),2),y=b[0],v=b[1],w=yy.useMemo((function(){return{open:function(e){var t=function(){var e,t,n,r={};for(e=arguments.length,t=new Array(e),n=0;n{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}function uc(e){const t=yy.useRef(null);return[yy.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:o,message:i}=t.current,a=`${o}-notice`,{content:s,icon:l,type:c,key:u,className:d,style:p,onClose:f}=n,h=nN(n,["content","icon","type","key","className","style","onClose"]);let g=u;return null==g&&(xZ+=1,g=`antd-message-${xZ}`),cc((t=>(r(Object.assign(Object.assign({},h),{key:g,content:yy.createElement(mZ,{prefixCls:o,type:c,icon:l},s),placement:"top",className:zJ(c&&`${a}-${c}`,d,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),p),onClose:()=>{null==f||f(),t()}})),()=>{e(g)})))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);const l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}})),r}),[]),yy.createElement(wZ,Object.assign({key:"message-holder"},e,{ref:t}))]}function dc(e){return uc(e)}function pc(){function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,o){var i=Object.create((t&&t.prototype instanceof r?t:r).prototype),a=new p(o||[]);return y(i,"_invoke",{value:l(e,n,a)}),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function o(){}function i(){}function a(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))}function s(e,t){function r(o,i,a,s){var l,c,u=n(e[o],e,i);if("throw"!==u.type)return(c=(l=u.arg).value)&&"object"==Ei(c)&&b.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}));s(u.arg)}var o;y(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function l(e,t,r){var o=E;return function(i,a){var s,l,u;if(o===k)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw a;return{value:h,done:!0}}for(r.method=i,r.arg=a;;){if((s=r.delegate)&&(l=c(s,r))){if(l===D)continue;return l}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===E)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);if(o=k,"normal"===(u=n(e,t,r)).type){if(o=r.done?O:C,u.arg===D)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=O,r.method="throw",r.arg=u.arg)}}}function c(e,t){var r,o,i=t.method,a=e.iterator[i];return a===h?(t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=h,c(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),D):"throw"===(r=n(a,e.iterator,t.arg)).type?(t.method="throw",t.arg=r.arg,t.delegate=null,D):(o=r.arg)?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=h),t.delegate=null,D):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,D)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function f(e){var t,n,r;if(e||""===e){if(t=e[w])return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(r=function t(){for(;++n=0;--r){if(i=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc"),a&&s){if(this.prev=0;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev=0;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),D},catch:function(e){var t,n,r,o;for(t=this.tryEntries.length-1;t>=0;--t)if((n=this.tryEntries[t]).tryLoc===e)return"throw"===(r=n.completion).type&&(o=r.arg,d(n)),o;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=h),D}},g}function fc(e,t,n,r,o,i,a){var s,l;try{l=(s=e[i](a)).value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function hc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function i(e){fc(s,r,o,i,a,"next",e)}function a(e){fc(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)}))}}function gc(e){var t=rN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===Ei(t)&&(t.usingClientEntryPoint=e)}function mc(e,t){sN?function(e,t){gc(!0);var n=t[lN]||sN(t);gc(!1),n.render(e),t[lN]=n}(e,t):function(e,t){iN(e,t)}(e,t)}function bc(e){return yc.apply(this,arguments)}function yc(){return(yc=hc(pc().mark((function e(t){return pc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[lN])||void 0===e||e.unmount(),delete t[lN]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vc(e){aN(e)}function wc(e){return xc.apply(this,arguments)}function xc(){return(xc=hc(pc().mark((function e(t){return pc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===sN){e.next=2;break}return e.abrupt("return",bc(t));case 2:vc(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Sc(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function Ec(e){return Number.isNaN(e)?0:e}function Cc(e){return"string"==typeof e}function kc(e){return"text"===e||"link"===e}function Oc(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Dc(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function $c(e,t){let n=arguments.length>1&&void 0!==t?t:{focus:!0};const{componentCls:r}=e,o=`${r}-compact`;return{[o]:Object.assign(Object.assign({},Oc(e,o,n)),Dc(r,o,n))}}function _c(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Nc(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},_c(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}function jc(e){return"danger"===e?{danger:!0}:{type:e}}function Pc(e){return!(!e||!e.then)}function Tc(e){var t,n,r,o,i;return"undefined"==typeof document?0:((e||void 0===hN)&&((t=document.createElement("div")).style.width="100%",t.style.height="200px",(r=(n=document.createElement("div")).style).position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n),o=t.offsetWidth,n.style.overflow="scroll",o===(i=t.offsetWidth)&&(i=n.clientWidth),document.body.removeChild(n),hN=o-i),hN)}function Ic(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?Tc():n}function Ac(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.height;return{width:Ic(t.width),height:Ic(n)}}function Rc(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y=e.open,v=e.autoLock,w=e.getContainer;return n=void 0===(t=e.autoDestroy)||t,r=e.children,i=(o=Ua(yy.useState(y),2))[0],a=o[1],yy.useEffect((function(){(n||y)&&a(y)}),[y,n]),l=(s=Ua(yy.useState((function(){return yN(w)})),2))[0],c=s[1],yy.useEffect((function(){var e=yN(w);c(null!=e?e:null)})),u=function(e){function t(){r.parentElement||document.body.appendChild(r)}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r)}var r=Ua(yy.useState((function(){return Pa()?document.createElement("div"):null})),1)[0],o=yy.useContext(pN),i=Ua(yy.useState(fN),2),a=i[0],s=i[1],l=o||function(e){s((function(t){return[e].concat(xa(t))}))};return QO((function(){return e?o?o(t):t():n(),n}),[e]),QO((function(){a.length&&(a.forEach((function(e){return e()})),s(fN))}),[a]),[r,l]}(i&&!l),p=(d=Ua(u,2))[0],f=d[1],h=null!=l?l:p,g=v&&y&&Pa()&&(h===p||h===document.body),m=!!g,b=Ua(yy.useState((function(){return mN+=1,"".concat(gN,"_").concat(mN)})),1)[0],QO((function(){var e,t;return m?(e=Tc(),t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Ba("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)):La(b),function(){La(b)}}),[m,b]),i&&Pa()&&void 0!==l?yy.createElement(pN.Provider,{value:f},!1===h||bN?r:PE.createPortal(r,h)):null}function Fc(e){var t=Ua(yy.useState("ssr-id"),2),n=t[0],r=t[1],o=Ea({},oJ).useId,i=null==o?void 0:o();return yy.useEffect((function(){if(!o){var e=wN;wN+=1,r("rc_unique_".concat(e))}}),[]),e||i||n}function Mc(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function Lc(e,t){var n,r=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");return"number"!=typeof r&&"number"!=typeof(r=(n=e.document).documentElement[o])&&(r=n.body[o]),r}function Bc(e){var t=e.prefixCls,n=e.style,r=e.maskProps;return yy.createElement(RQ,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className;return yy.createElement("div",fa({ref:o,style:Ea(Ea({},e.style),n),className:zJ("".concat(t,"-mask"),i)},r))}))}function zc(e){function t(e){null==h||h(e)}var n=e.prefixCls,r=void 0===n?"rc-dialog":n,o=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,l=void 0===s||s,c=e.focusTriggerAfterClose,u=void 0===c||c,d=e.wrapStyle,p=e.wrapClassName,f=e.wrapProps,h=e.onClose,g=e.afterOpenChange,m=e.afterClose,b=e.transitionName,y=e.animation,v=e.closable,w=void 0===v||v,x=e.mask,S=void 0===x||x,E=e.maskTransitionName,C=e.maskAnimation,k=e.maskClosable,O=void 0===k||k,D=e.maskStyle,$=e.maskProps,_=e.rootClassName,N=yy.useRef(),j=yy.useRef(),P=yy.useRef(),T=Ua(yy.useState(a),2),I=T[0],A=T[1],R=Fc(),F=yy.useRef(!1),M=yy.useRef(),L=null;return O&&(L=function(e){F.current?F.current=!1:j.current===e.target&&t(e)}),yy.useEffect((function(){a&&(A(!0),Ta(j.current,document.activeElement)||(N.current=document.activeElement))}),[a]),yy.useEffect((function(){return function(){clearTimeout(M.current)}}),[]),yy.createElement("div",fa({className:zJ("".concat(r,"-root"),_)},ic(e,{data:!0})),yy.createElement(Bc,{prefixCls:r,visible:S&&a,motionName:Mc(r,E,C),style:Ea({zIndex:o},D),maskProps:$}),yy.createElement("div",fa({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===V_.ESC)return e.stopPropagation(),void t(e);a&&e.keyCode===V_.TAB&&P.current.changeActive(!e.shiftKey)},className:zJ("".concat(r,"-wrap"),p),ref:j,onClick:L,style:Ea(Ea({zIndex:o},d),{},{display:I?null:"none"})},f),yy.createElement(EN,fa({},e,{onMouseDown:function(){clearTimeout(M.current),F.current=!0},onMouseUp:function(){M.current=setTimeout((function(){F.current=!1}))},ref:P,closable:w,ariaId:R,prefixCls:r,visible:a&&I,onClose:t,onVisibleChanged:function(e){if(e)Ta(j.current,document.activeElement)||null===(t=P.current)||void 0===t||t.focus();else{if(A(!1),S&&N.current&&u){try{N.current.focus({preventScroll:!0})}catch(fY){}N.current=null}I&&(null==m||m())}var t;null==g||g(e)},motionName:Mc(r,b,y)}))))}function Hc(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:rJ.createElement(QQ,null);const a=function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==o&&o);if(!a)return[!1,null];const s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}function Uc(e){return null==e?[]:Array.isArray(e)?e:[e]}function Wc(){return Wc=Object.assign?Object.assign.bind():function(e){var t,n,r;for(t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function Jc(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function Qc(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s2&&void 0!==n&&n;return e&&e.some((function(e){return du(t,e,r)}))}function du(e,t,n){return!(!e||!t)&&!(!(arguments.length>2&&void 0!==n&&n)&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t}))}function pu(e,t){var n=arguments.length<=1?void 0:t;return n&&n.target&&"object"===Ei(n.target)&&e in n.target?n.target[e]:n}function fu(e,t,n){var r,o,i=e.length;return t<0||t>=i||n<0||n>=i?e:(r=e[t],(o=t-n)>0?[].concat(xa(e.slice(0,n)),[r],xa(e.slice(n,t)),xa(e.slice(t+1,i))):o<0?[].concat(xa(e.slice(0,t)),xa(e.slice(t+1,n+1)),[r],xa(e.slice(n+1,i))):e)}function hu(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}function gu(e){var t=e.name,n=Oi(e,KN),r=yy.useContext(DN),o=yy.useContext($N),i=void 0!==t?lu(t):void 0,a="keep";return n.isListField||(a="_".concat((i||[]).join("_"))),yy.createElement(JN,fa({key:a,name:i,isListField:!!o},n,{fieldContext:r}))}function mu(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,i=e.validateTrigger,a=e.isListField,s=yy.useContext(DN),l=yy.useContext($N),c=yy.useRef({keys:[],id:0}).current,u=yy.useMemo((function(){var e=lu(s.prefixName)||[];return[].concat(xa(e),xa(lu(t)))}),[s.prefixName,t]),d=yy.useMemo((function(){return Ea(Ea({},s),{},{prefixName:u})}),[s,u]),p=yy.useMemo((function(){return{getKey:function(e){var t=u.length;return[c.keys[e[t]],e.slice(t+1)]}}}),[u]);return"function"!=typeof r?(_a(!1,"Form.List only accepts function as children."),null):yy.createElement($N.Provider,{value:p},yy.createElement(DN.Provider,{value:d},yy.createElement(gu,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:o,validateTrigger:i,initialValue:n,isList:!0,isListField:null!=a?a:!!l},(function(e,t){var n=e.value,o=e.onChange,i=s.getFieldValue,a=function(){return i(u||[])||[]},l={add:function(e,t){var n=a();t>=0&&t<=n.length?(c.keys=[].concat(xa(c.keys.slice(0,t)),[c.id],xa(c.keys.slice(t))),o([].concat(xa(n.slice(0,t)),[e],xa(n.slice(t))))):(c.keys=[].concat(xa(c.keys),[c.id]),o([].concat(xa(n),[e]))),c.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(c.keys=c.keys.filter((function(e,t){return!n.has(t)})),o(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(c.keys=fu(c.keys,e,t),o(fu(n,e,t)))}}},d=(void 0===n?[]:n)||[];return Array.isArray(d)||(d=[]),r(d.map((function(e,t){var n=c.keys[t];return void 0===n&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))}function bu(e){return e.map((function(e){return"".concat(Ei(e),":").concat(e)})).join(QN)}function yu(e){var t,n=yy.useRef(),r=Ua(yy.useState({}),2)[1];return n.current||(e?n.current=e:(t=new tj((function(){r({})})),n.current=t.getForm())),[n.current]}function vu(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function wu(){var e,t,n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y;for(e=arguments.length,t=new Array(e),n=0;n{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}function Eu(e,t){return rJ.createElement("span",{className:`${e}-close-x`},t||rJ.createElement(QQ,{className:`${e}-close-icon`}))}function Cu(e){return{position:e,inset:0}}function ku(e){const{prefixCls:t,icon:n,okText:r,cancelText:o,confirmPrefixCls:i,type:a,okCancel:s,footer:l,locale:c}=e,u=lj(e,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let d=n;if(!n&&null!==n)switch(a){case"info":d=yy.createElement(nZ,null);break;case"success":d=yy.createElement(XQ,null);break;case"error":d=yy.createElement(YQ,null);break;default:d=yy.createElement(eZ,null)}const p=null!=s?s:"confirm"===a,f=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[h]=QJ("Modal"),g=c||h,m=Object.assign({autoFocusButton:f,cancelTextLocale:o||(null==g?void 0:g.cancelText),okTextLocale:r||(p?null==g?void 0:g.okText:null==g?void 0:g.justOkText),mergedOkCancel:p},u),b=yy.useMemo((()=>m),xa(Object.values(m))),y=yy.createElement(yy.Fragment,null,yy.createElement(N0,null),yy.createElement(j0,null)),v=null!=e.title,w=`${i}-body`;return yy.createElement("div",{className:`${i}-body-wrapper`},yy.createElement("div",{className:zJ(w,{[`${w}-has-title`]:v})},d,yy.createElement("div",{className:`${i}-paragraph`},v&&yy.createElement("span",{className:`${i}-title`},e.title),yy.createElement("div",{className:`${i}-content`},e.content))),void 0===l||"function"==typeof l?yy.createElement(_0,{value:b},yy.createElement("div",{className:`${i}-btns`},"function"==typeof l?l(y,{OkBtn:j0,CancelBtn:N0}):y)):l,yy.createElement(M1,{prefixCls:t}))}function Ou(e){function t(){for(var t=arguments.length,n=new Array(t),i=0;ie&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat(xa(n.slice(1))));for(let e=0;e{const e=al(),{getPrefixCls:i,getIconPrefixCls:l,getTheme:c}=HQ(),u=i(void 0,z1),d=r||`${u}-modal`,p=l(),f=c();let h=a;!1===h&&(h=void 0),mc(yy.createElement(L1,Object.assign({},s,{getContainer:h,prefixCls:d,rootPrefixCls:u,iconPrefixCls:p,okText:t,locale:e,theme:f,cancelText:n||e.cancelText})),o)}))}function r(){for(var r=arguments.length,o=new Array(r),i=0;i{"function"==typeof e.afterClose&&e.afterClose(),t.apply(this,o)}}),a.visible&&delete a.visible,n(a)}const o=document.createDocumentFragment();let i,a=Object.assign(Object.assign({},e),{close:r,open:!0});return n(a),B1.push(r),{destroy:r,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),n(a)}}}function Du(e){return Object.assign(Object.assign({},e),{type:"warning"})}function $u(e){return Object.assign(Object.assign({},e),{type:"info"})}function _u(e){return Object.assign(Object.assign({},e),{type:"success"})}function Nu(e){return Object.assign(Object.assign({},e),{type:"error"})}function ju(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Pu(){const e=yy.useRef(null),[t,n]=yy.useState([]);yy.useEffect((()=>{t.length&&(xa(t).forEach((e=>{e()})),n([]))}),[t]);const r=yy.useCallback((t=>function(r){var o;W1+=1;const i=yy.createRef();let a;const s=new Promise((e=>{a=e}));let l,c=!1;const u=yy.createElement(U1,{key:`modal-${W1}`,config:t(r),ref:i,afterClose:()=>{null==l||l()},isSilent:()=>c,onConfirm:e=>{a(e)}});return l=null===(o=e.current)||void 0===o?void 0:o.patchElement(u),l&&B1.push(l),{destroy:()=>{function e(){var e;null===(e=i.current)||void 0===e||e.destroy()}i.current?e():n((t=>[].concat(xa(t),[e])))},update:e=>{function t(){var t;null===(t=i.current)||void 0===t||t.update(e)}i.current?t():n((e=>[].concat(xa(e),[t])))},then:e=>(c=!0,s.then(e))}}),[]);return[yy.useMemo((()=>({info:r($u),success:r(_u),error:r(Nu),warning:r(Du),confirm:r(ju)})),[]),yy.createElement(G1,{key:"modal-holder",ref:e})]}function Tu(e,t){return null===t||!1===t?null:t||yy.createElement("span",{className:`${e}-close-x`},yy.createElement(QQ,{className:`${e}-close-icon`}))}function Iu(e){const t=yy.useRef(null);return[yy.useMemo((()=>{const n=n=>{var r;if(!t.current)return;const{open:o,prefixCls:i,notification:a}=t.current,s=`${i}-notice`,{message:l,description:c,icon:u,type:d,btn:p,className:f,style:h,role:g="alert",closeIcon:m}=n,b=pj(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),y=Tu(s,m);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:J1},b),{content:yy.createElement(Y1,{prefixCls:s,icon:u,type:d,message:l,description:c,btn:p,role:g}),className:zJ(d&&`${s}-${d}`,f,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),h),closeIcon:y,closable:!!y}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach((e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),r}),[]),yy.createElement(e2,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Au(e){return Iu(e)}function Ru(e){return function(t){return yy.createElement(WQ,{theme:{token:{motion:!1,zIndexPopupBase:0}}},yy.createElement(e,Object.assign({},t)))}}function Fu(e){var t=arguments.length>0&&void 0!==e?e:250,n=yy.useRef(null),r=yy.useRef(null);return yy.useEffect((function(){return function(){window.clearTimeout(r.current)}}),[]),[function(){return n.current},function(e){(e||null===n.current)&&(n.current=e),window.clearTimeout(r.current),r.current=window.setTimeout((function(){n.current=null}),t)}]}function Mu(e,t){function n(e){f(h,e)}var r,o,i,a,s=e.prefixCls,l=e.invalidate,c=e.item,u=e.renderItem,d=e.responsive,p=e.responsiveDisabled,f=e.registerSize,h=e.itemKey,g=e.className,m=e.style,b=e.children,y=e.display,v=e.order,w=e.component,x=void 0===w?"div":w,S=Oi(e,gj),E=d&&!y;return yy.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==mj?u(c):b,l||(o={opacity:E?0:1,height:E?0:mj,overflowY:E?"hidden":mj,order:d?v:mj,pointerEvents:E?"none":mj,position:E?"absolute":mj}),i={},E&&(i["aria-hidden"]=!0),a=yy.createElement(x,fa({className:zJ(!l&&s,g),style:Ea(Ea({},o),m)},i,S,{ref:t}),r),d&&(a=yy.createElement(j$,{onResize:function(e){n(e.offsetWidth)},disabled:p},a)),a}function Lu(e,t){var n=Ua(yy.useState(t),2),r=n[1];return[n[0],Pl((function(t){e((function(){r(t)}))}))]}function Bu(e){return"+ ".concat(e.length," ...")}function zu(e,t){function n(e,t,n){(re!==e||void 0!==t&&t!==ee)&&(oe(e),n||(le(eO,ge=yy.useMemo((function(){var e=b;return pe?e=null===M&&A?b:b.slice(0,Math.min(b.length,B/S)):"number"==typeof O&&(e=b.slice(0,O)),e}),[b,S,M,O,pe]),me=yy.useMemo((function(){return b.slice(pe?ie+1:ge.length)}),[b,ge,pe,ie]),be=yy.useCallback((function(e,t){var n;return"function"==typeof w?w(e):null!==(n=w&&(null==e?void 0:e[w]))&&void 0!==n?n:t}),[w]),ye=yy.useCallback(y||function(e){return e},[y]);return QO((function(){var e,t,r,i,a;if(B&&"number"==typeof ue&&ge){if(e=J,r=(t=ge.length)-1,!t)return void n(0,null);for(i=0;iB){n(i-1,e-a-J+X);break}}_&&o(0)+J>B&&te(null)}}),[B,H,X,J,be,ge]),a={},null!==ee&&pe&&(a={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:pe,component:P,invalidate:fe},l=v?function(e,t){var n=be(e,t);return yy.createElement(yj.Provider,{key:n,value:Ea(Ea({},s),{},{order:t,item:e,itemKey:n,registerSize:r,display:t<=ie})},v(e,t))}:function(e,t){var n=be(e,t);return yy.createElement(bj,fa({},s,{order:t,key:n,item:e,renderItem:ye,itemKey:n,registerSize:r,display:t<=ie}))},u={order:(i=se&&!!me.length)?ie:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:function(e,t){K(t),V(X)},display:i},$?$&&(c=yy.createElement(yj.Provider,{value:Ea(Ea({},s),u)},$(me))):(d=D||Bu,c=yy.createElement(bj,fa({},s,u),"function"==typeof d?d(me):d)),p=yy.createElement(j,fa({className:zJ(!fe&&g,k),style:C,ref:t},I),ge.map(l),he?c:null,_&&yy.createElement(bj,fa({},s,{responsive:de,responsiveDisabled:!pe,order:ie,className:"".concat(ce,"-suffix"),registerSize:function(e,t){Q(t)},display:!0,style:a}),_)),de&&(p=yy.createElement(j$,{onResize:function(e,t){L(t.clientWidth)},disabled:!pe},p)),p}function Hu(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function Uu(e){return["string","number"].includes(Ei(e))}function Wu(e){var t=void 0;return e&&(Uu(e.title)?t=e.title.toString():Uu(e.label)&&(t=e.label.toString())),t}function Gu(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}function Vu(e){return e?Array.isArray(e)?e:[e]:[]}function qu(e,t,n){var r=arguments.length>0&&void 0!==e?e:[],o=arguments.length>1&&void 0!==t?t:[];return(arguments.length>2?n:void 0)?r[0]===o[0]:r[0]===o[0]&&r[1]===o[1]}function Xu(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Ku(e){return e.ownerDocument.defaultView}function Yu(e){for(var t,n=[],r=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];r;)[(t=Ku(r).getComputedStyle(r)).overflowX,t.overflowY,t.overflow].some((function(e){return o.includes(e)}))&&n.push(r),r=r.parentElement;return n}function Ju(e,t){var n=arguments.length>1&&void 0!==t?t:1;return Number.isNaN(e)?n:e}function Qu(e){return Ju(parseFloat(e),0)}function Zu(e,t){var n=Ea({},e);return(t||[]).forEach((function(e){var t,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P;e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement||(r=(t=Ku(e).getComputedStyle(e)).overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,p=e.offsetWidth,f=e.clientWidth,h=Qu(i),g=Qu(a),w=(p-f-(m=Qu(s))-(b=Qu(l)))*(y=Ju(Math.round(c.width/p*1e3)/1e3)),x=(u-d-h-g)*(v=Ju(Math.round(c.height/u*1e3)/1e3)),S=h*v,E=g*v,C=m*y,k=b*y,O=0,D=0,"clip"===r&&(O=($=Qu(o))*y,D=$*v),j=(_=c.x+C-O)+c.width+2*O-C-k-w,P=(N=c.y+S-D)+c.height+2*D-S-E-x,n.left=Math.max(n.left,_),n.top=Math.max(n.top,N),n.right=Math.min(n.right,j),n.bottom=Math.min(n.bottom,P))})),n}function ed(e,t){var n="".concat(arguments.length>1&&void 0!==t?t:0),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function td(e,t){var n=Ua(t||[],2),r=n[1];return[ed(e.width,n[0]),ed(e.height,r)]}function nd(e){var t=arguments.length>0&&void 0!==e?e:"";return[t[0],t[1]]}function rd(e,t){var n=t[0],r=t[1];return{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:"t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2}}function od(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function id(e){var t,n,r,o,i,a,s=e.prefixCls,l=e.align,c=e.arrowPos,u=e.arrow||{},d=u.className,p=u.content,f=c.x,h=void 0===f?0:f,g=c.y,m=void 0===g?0:g,b=yy.useRef();return l&&l.points?(t={position:"absolute"},!1!==l.autoArrow&&(i=(n=l.points[0])[1],a=(r=l.points[1])[1],(o=n[0])!==r[0]&&["t","b"].includes(o)?"t"===o?t.top=0:t.bottom=0:t.top=m,i!==a&&["l","r"].includes(i)?"l"===i?t.left=0:t.right=0:t.left=h),yy.createElement("div",{ref:b,className:zJ("".concat(s,"-arrow"),d),style:t},p)):null}function ad(e){var t=e.prefixCls,n=e.zIndex;return e.mask?yy.createElement(RQ,fa({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return yy.createElement("div",{style:{zIndex:n},className:zJ("".concat(t,"-mask"),r)})})):null}function sd(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function ld(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function cd(e){var t=Ea({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return _a(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function ud(e){return"tags"===e||"multiple"===e}function dd(e,t){var n=arguments.length>1&&void 0!==t&&t;return Bs(e).map((function(e,t){if(!yy.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,i=e.props,a=i.children,s=Oi(i,rP);return n||!r?function(e){var t=e.key,n=e.props,r=n.value;return Ea({key:t,value:void 0!==r?r:t,children:n.children},Oi(n,nP))}(e):Ea(Ea({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:dd(a)})})).filter((function(e){return e}))}function pd(e){var t,n=yy.useRef();return n.current=e,t=yy.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function fd(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}function hd(e){var t=e.children,n=e.setRef,r=yy.useCallback((function(e){n(e)}),[]);return yy.cloneElement(t,{ref:r})}function gd(e,t){var n=arguments.length>0&&void 0!==e?e:0,r=n/(arguments.length>1&&void 0!==t?t:0)*100;return isNaN(r)&&(r=0),r=Math.max(r,dP),r=Math.min(r,n/2),Math.floor(r)}function md(e,t){function n(e){ve((function(t){var n;return n=function(e){var t=e;return Number.isNaN(E.current)||(t=Math.min(t,E.current)),Math.max(t,0)}("function"==typeof e?e(t):e),ge.current.scrollTop=n,n}))}function r(e,t){var r=e;t?(PE.flushSync((function(){Se(r)})),_()):n(r)}var o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A,R,F,M,L,B,z,H=e.prefixCls,U=void 0===H?"rc-virtual-list":H,W=e.className,G=e.height,V=e.itemHeight,q=e.fullHeight,X=void 0===q||q,K=e.style,Y=e.data,J=e.children,Q=e.itemKey,Z=e.virtual,ee=e.direction,te=e.scrollWidth,ne=e.component,re=void 0===ne?"div":ne,oe=e.onScroll,ie=e.onVirtualScroll,ae=e.onVisibleChange,se=e.innerProps,le=e.extraRender,ce=Oi(e,pP),ue=!(!1===Z||!G||!V),de=ue&&Y&&(V*Y.length>G||!!te),pe="rtl"===ee,fe=zJ(U,ki({},"".concat(U,"-rtl"),pe),W),he=Y||fP,ge=yy.useRef(),me=yy.useRef(),be=Ua(yy.useState(0),2),ye=be[0],ve=be[1],we=Ua(yy.useState(0),2),xe=we[0],Se=we[1],Ee=Ua(yy.useState(!1),2),Ce=Ee[0],ke=Ee[1],Oe=function(){ke(!0)},De=function(){ke(!1)},$e=yy.useCallback((function(e){return"function"==typeof Q?Q(e):null==e?void 0:e[Q]}),[Q]),_e={getKey:$e},Ne=yy.useRef({start:0,end:he.length}),je=yy.useRef(),Pe=function(e,t){var n=Ua(yy.useState(e),2),r=n[0],o=n[1],i=Ua(yy.useState(null),2),a=i[0],s=i[1];return yy.useEffect((function(){var n=function(e,t,n){function r(e){return void 0!==e?n(e):a}var o,i,a,s,l,c,u,d=e.length,p=t.length;if(0===d&&0===p)return null;for(d=ye&&void 0===n&&(n=a,r=t),u>ye+G&&void 0===o&&(o=a),t=u;return void 0===n&&(n=0,r=0,o=Math.ceil(G/V)),void 0===o&&(o=he.length-1),{scrollHeight:t,start:n,end:o=Math.min(o+1,he.length-1),offset:r}}),[de,ue,ye,he,i[3],G]),u=c.scrollHeight,p=c.end,f=c.offset,Ne.current.start=d=c.start,Ne.current.end=p,h=Ua(yy.useState({width:0,height:G}),2),g=h[0],m=h[1],b=function(e){m(e)},y=yy.useRef(),v=yy.useRef(),w=yy.useMemo((function(){return gd(g.width,te)}),[g.width,te]),x=yy.useMemo((function(){return gd(g.height,u)}),[g.height,u]),(E=yy.useRef(S=u-G)).current=S,O=c2(C=ye<=0,k=ye>=S),$=yy.useRef((D=function(){return{x:pe?-xe:xe,y:ye}})()),_=Pl((function(){if(ie){var e=D();$.current.x===e.x&&$.current.y===e.y||(ie(e),$.current=e)}})),N=function(e){var t=e,n=te-g.width;return t=Math.max(t,0),Math.min(t,n)},j=Pl((function(e,t){t?(PE.flushSync((function(){Se((function(t){return N(t+(pe?-e:e))}))})),_()):n((function(t){return t+e}))})),P=Ua(function(e,t,n,r,o){var i=yy.useRef(0),a=yy.useRef(null),s=yy.useRef(null),l=yy.useRef(!1),c=c2(t,n),u=yy.useRef(null),d=yy.useRef(null);return[function(t){var n,p,f,h,g,m;e&&(R$.cancel(d.current),d.current=R$((function(){u.current=null}),2),f=n=t.deltaX,h=p=t.deltaY,("sx"===u.current||!u.current&&t.shiftKey&&p&&!n)&&(f=p,h=0,u.current="sx"),g=Math.abs(f),m=Math.abs(h),null===u.current&&(u.current=r&&g>m?"x":"y"),"y"===u.current?function(e,t){R$.cancel(a.current),i.current+=t,s.current=t,c(t)||(cP||e.preventDefault(),a.current=R$((function(){o(i.current*(l.current?10:1)),i.current=0})))}(t,h):function(e,t){o(t,!0),cP||e.preventDefault()}(t,f))},function(t){e&&(l.current=t.detail===s.current)}]}(ue,C,k,!!te,j),2),T=P[0],I=P[1],function(e,t,n){var r=yy.useRef(!1),o=yy.useRef(0),i=yy.useRef(null),a=yy.useRef(null),s=function(e){var t,i;r.current&&(t=Math.ceil(e.touches[0].pageY),i=o.current-t,o.current=t,n(i)&&e.preventDefault(),clearInterval(a.current),a.current=setInterval((function(){(!n(i*=uP,!0)||Math.abs(i)<=.1)&&clearInterval(a.current)}),16))},l=function(){r.current=!1,u()},c=function(e){u(),1!==e.touches.length||r.current||(r.current=!0,o.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",s),i.current.addEventListener("touchend",l))},u=function(){i.current&&(i.current.removeEventListener("touchmove",s),i.current.removeEventListener("touchend",l))};QO((function(){return e&&t.current.addEventListener("touchstart",c),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",c),u(),clearInterval(a.current)}}),[e])}(ue,ge,(function(e,t){return!O(e,t)&&(T({preventDefault:function(){},deltaY:e}),!0)})),QO((function(){function e(e){ue&&e.preventDefault()}var t=ge.current;return t.addEventListener("wheel",T),t.addEventListener("DOMMouseScroll",I),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",T),t.removeEventListener("DOMMouseScroll",I),t.removeEventListener("MozMousePixelScroll",e)}}),[ue]),R=function(e,t,n,r,o,i,a,s){var l=yy.useRef();return function(c){var u,d,p,f;null!=c?(R$.cancel(l.current),"number"==typeof c?a(c):c&&"object"===Ei(c)&&(d=c.align,u="index"in c?c.index:t.findIndex((function(e){return o(e)===c.key})),f=void 0===(p=c.offset)?0:p,function s(c,p){var h,g,m,b,y,v,w,x,S,E,C,k,O;if(!(c<0)&&e.current){if(g=!1,m=p,h=e.current.clientHeight){for(b=p||d,y=0,v=0,w=0,x=Math.min(t.length,u),S=0;S<=x;S+=1)E=o(t[S]),y=w=(v=y)+(void 0===(C=n.get(E))?r:C),S===u&&void 0===C&&(g=!0);switch(k=null,b){case"top":k=v-f;break;case"bottom":k=w-h+f;break;default:v<(O=e.current.scrollTop)?m="top":w>O+h&&(m="bottom")}null!==k&&k!==e.current.scrollTop&&a(k)}l.current=R$((function(){g&&i(),s(c-1,m)}),2)}}(3))):s()}}(ge,he,l,V,$e,s,n,A=function(){var e,t;null===(e=y.current)||void 0===e||e.delayHidden(),null===(t=v.current)||void 0===t||t.delayHidden()}),yy.useImperativeHandle(t,(function(){return{getScrollInfo:D,scrollTo:function(e){var t;(t=e)&&"object"===Ei(t)&&("left"in t||"top"in t)?(void 0!==e.left&&Se(N(e.left)),R(e.top)):R(e)}}})),QO((function(){if(ae){var e=he.slice(d,p+1);ae(e,he)}}),[d,p,he]),F=function(e,t,n,r){var o=Ua(yy.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),2),i=o[0],a=o[1];return function(o,s){var l,c,u,d,p,f=arguments.length>1&&void 0!==s?s:o,h=i.get(o),g=i.get(f);if(void 0===h||void 0===g)for(l=e.length,c=a.length;cG&&yy.createElement(sP,{ref:y,prefixCls:U,scrollOffset:ye,scrollRange:u,rtl:pe,onScroll:r,onStartMove:Oe,onStopMove:De,spinSize:x,containerSize:g.height}),de&&te&&yy.createElement(sP,{ref:v,prefixCls:U,scrollOffset:xe,scrollRange:te,rtl:pe,onScroll:r,onStartMove:Oe,onStopMove:De,spinSize:w,containerSize:g.width,horizontal:!0}))}function bd(e){return"string"==typeof e||"number"==typeof e}function yd(e,t,n){return zJ({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}function vd(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,[a]=S2(e);return{[`${n}-multiple${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:a-2+"px 4px",borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:i-2*e.lineWidth+"px",background:e.multipleItemBg,border:`${e.lineWidth}px ${e.lineType} ${e.multipleItemBorderColor}`,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.multipleItemColorDisabled,borderColor:e.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function wd(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize);return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},vQ(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function xd(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[wd(e),wd(Rl(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+1.5*e.fontSize},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:1.5*e.fontSize}}}},wd(Rl(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function Sd(){const[,e]=jl(),t=H2(U2(e));return rJ.useMemo((()=>{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=this.matchHandlers[t[e]];null==n||n.mql.removeListener(null==n?void 0:n.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}function Ed(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return yy.createElement("div",{className:zJ("".concat(n,"-content"),i),style:a},yy.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function Cd(e){const t=G2,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function kd(e,t){return e?t:{}}function Od(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:i,boxShadowPopoverArrow:a}=e,{colorBg:s,contentRadius:l=e.borderRadiusLG,limitVerticalRadius:c,arrowDistance:u=0,arrowPlacement:d={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:p,dropdownArrowOffset:f}=Cd({contentRadius:l,limitVerticalRadius:c});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},bQ(r,o,i,s,a)),{"&:before":{background:s}})]},kd(!!d.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}}})),kd(!!d.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:f}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:f}}})),kd(!!d.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:p},[`&-placement-leftBottom ${n}-arrow`]:{bottom:p}})),kd(!!d.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:p},[`&-placement-rightBottom ${n}-arrow`]:{bottom:p}}))}}function Dd(e,t){return arguments.length>1&&void 0!==t&&!t?eQ.includes(e):[].concat(xa(J2),xa(eQ)).includes(e)}function $d(e,t){const n=Dd(t),r=zJ({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}function _d(e,t){var n,r,o,i,a,s,l,c,u,d=e.arrow,p=void 0!==d&&d,f=e.prefixCls,h=void 0===f?"rc-dropdown":f,g=e.transitionName,m=e.animation,b=e.align,y=e.placement,v=void 0===y?"bottomLeft":y,w=e.placements,x=void 0===w?MP:w,S=e.getPopupContainer,E=e.showAction,C=e.hideAction,k=e.overlayClassName,O=e.overlayStyle,D=e.visible,$=e.trigger,_=void 0===$?["hover"]:$,N=e.autoFocus,j=e.overlay,P=e.children,T=e.onVisibleChange,I=Oi(e,LP),A=Ua(rJ.useState(),2),R=A[1],F="visible"in e?D:A[0],M=rJ.useRef(null),L=rJ.useRef(null),B=rJ.useRef(null);return rJ.useImperativeHandle(t,(function(){return M.current})),function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=yy.useRef(!1),s=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},l=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case TP:s();break;case IP:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};yy.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&R$(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:F,triggerRef:B,onVisibleChange:r=function(e){R(e),null==T||T(e)},autoFocus:N,overlayRef:L}),o=function(t){var n=e.onOverlayClick;R(!1),n&&n(t)},i=function(){return rJ.createElement(AP,{ref:L,overlay:j,prefixCls:h,arrow:p})},a=function(){return"function"==typeof j?i:i()},s=function(){return"minOverlayWidthMatchTrigger"in e?e.minOverlayWidthMatchTrigger:!e.alignPoint},l=rJ.cloneElement(P,{className:zJ(null===(n=P.props)||void 0===n?void 0:n.className,F&&(u=e.openClassName,void 0!==u?u:"".concat(h,"-open"))),ref:Ws(P)?Hs(B,P.ref):void 0}),(c=C)||-1===_.indexOf("contextMenu")||(c=["click"]),rJ.createElement(l2,fa({builtinPlacements:x},I,{prefixCls:h,ref:M,popupClassName:zJ(k,ki({},"".concat(h,"-show-arrow"),p)),popupStyle:O,action:_,showAction:E,hideAction:c,popupPlacement:v,popupAlign:b,popupTransitionName:g,popupAnimation:m,popupVisible:F,stretch:s()?"minWidth":"",popup:a(),onPopupVisibleChange:r,onPopupClick:o,getPopupContainer:S}),l)}function Nd(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function jd(e){return Nd(yy.useContext(BP),e)}function Pd(e){var t=e.children,n=e.locked,r=Oi(e,zP),o=yy.useContext(HP),i=ka((function(){return e=r,t=Ea({},o),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&Na(e[1],t[1],!0))}));return yy.createElement(HP.Provider,{value:i},t)}function Td(){return yy.useContext(WP)}function Id(e){var t=yy.useContext(GP);return yy.useMemo((function(){return void 0!==e?[].concat(xa(t),[e]):t}),[t,e])}function Ad(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t;return!!$Z(e)&&(n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null,o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||s&&a<0))}function Rd(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=xa(e.querySelectorAll("*")).filter((function(e){return Ad(e,n)}));return Ad(e,n)&&r.unshift(e),r}(e,!0);return n.filter((function(e){return t.has(e)}))}function Fd(e,t,n,r){var o,i,a,s=arguments.length>3&&void 0!==r?r:1;return e?(i=(o=Rd(e,t)).length,a=o.findIndex((function(e){return n===e})),s<0?-1===a?a=i-1:a-=1:s>0&&(a+=1),o[a=(a+i)%i]):null}function Md(e){var t,n=yy.useRef(e);return n.current=e,t=yy.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o1&&(i.motionAppear=!1),a=i.onVisibleChanged,i.onVisibleChanged=function(e){return y.current||e||r(!0),null==a?void 0:a(e)},n?null:yy.createElement(Pd,{mode:d,locked:!y.current},yy.createElement(RQ,fa({visible:o},i,{forceRender:h,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),(function(e){return yy.createElement(bT,{id:s,className:e.className,style:e.style},u)})))}function Xd(e){var t=e.eventKey,n=e.children,r=Id(t),o=Wd(n,r),i=Td();return yy.useEffect((function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}}),[r]),yy.createElement(GP.Provider,{value:r},i?o:yy.createElement(CT,e,o))}function Kd(e){var t=e.children,n=Oi(e,OT),r=Wd(t,Id(n.eventKey));return Td()?r:yy.createElement(DT,Qs(n,["warnKey"]),r)}function Yd(e){var t=e.className,n=e.style,r=yy.useContext(HP).prefixCls;return Td()?null:yy.createElement("li",{role:"separator",className:zJ("".concat(r,"-item-divider"),t),style:n})}function Jd(e){return(e||[]).map((function(e,t){var n,r,o,i,a,s,l;return e&&"object"===Ei(e)?(r=(n=e).label,o=n.children,i=n.key,a=n.type,s=Oi(n,$T),l=null!=i?i:"tmp-".concat(t),o||"group"===a?yy.createElement("group"===a?Kd:Xd,fa({key:l},s,{title:r}),Jd(o)):"divider"===a?yy.createElement(Yd,fa({key:l},s)):yy.createElement(o5,fa({key:l},s),r)):null})).filter((function(e){return e}))}function Qd(e,t,n){var r=e;return t&&(r=Jd(t)),Wd(r,n)}function Zd(e){return(e||[]).map(((e,t)=>{if(e&&"object"==typeof e){const n=e,{label:r,children:o,key:i,type:a}=n,s=TT(n,["label","children","key","type"]),l=null!=i?i:`tmp-${t}`;return o||"group"===a?yy.createElement("group"===a?Kd:c5,Object.assign({key:l},s,{title:r}),Zd(o)):"divider"===a?yy.createElement(a5,Object.assign({key:l},s)):yy.createElement(l5,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function ep(e){return yy.useMemo((()=>e?Zd(e):e),[e])}function tp(e){return Rl(e,{inputAffixPadding:e.paddingXXS})}function np(e){return e&&"object"==typeof e?e:{}}function rp(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=yy.useContext(d4),s=a.prefixCls,l=a.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return yy.createElement("div",{className:zJ("".concat(s,"-content-holder"))},yy.createElement("div",{className:zJ("".concat(s,"-content"),"".concat(s,"-content-").concat(o),ki({},"".concat(s,"-content-animated"),c))},l.map((function(e){var o=e.key,a=e.forceRender,s=e.style,l=e.className,d=Oi(e,RT),p=o===n;return yy.createElement(RQ,fa({key:o,visible:p,forceRender:a,removeOnLeave:!!i,leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),(function(e,n){var r=e.style,i=e.className;return yy.createElement(AT,fa({},d,{prefixCls:u,id:t,tabKey:o,animated:c,active:p,style:Ea(Ea({},s),r),className:zJ(l,i),ref:n}))}))}))))}function op(e,t){var n=yy.useRef(e),r=Ua(yy.useState({}),2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}function ip(e){var t=Ua(yy.useState(0),2),n=t[0],r=t[1],o=yy.useRef(0),i=yy.useRef();return i.current=e,ZO((function(){var e;null===(e=i.current)||void 0===e||e.call(i)}),[n]),function(){o.current===n&&(o.current+=1,r(o.current))}}function ap(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function sp(e){return String(e).replace(/"/g,UT)}function lp(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function cp(e,t){var n=e.editable,r=e.locale,o=e.style;return n&&!1!==n.showAdd?yy.createElement("button",{ref:t,type:"button",className:"".concat(e.prefixCls,"-nav-add"),style:o,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){n.onEdit("add",{event:e})}},n.addIcon||"+"):null}function up(e,t){function n(e){var t,n,r=l.filter((function(e){return!e.disabled})),o=r.findIndex((function(e){return e.key===D}))||0,i=r.length;for(t=0;tFe?Fe:e}function r(){c(Date.now())}function o(){window.clearTimeout(a.current)}var i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A=yy.useContext(d4),R=A.prefixCls,F=A.tabs,M=e.className,L=e.style,B=e.id,z=e.animated,H=e.activeKey,U=e.rtl,W=e.extra,G=e.editable,V=e.locale,q=e.tabPosition,X=e.tabBarGutter,K=e.children,Y=e.onTabClick,J=e.onTabScroll,Q=e.indicatorSize,Z=yy.useRef(),ee=yy.useRef(),te=yy.useRef(),ne=yy.useRef(),re=yy.useRef(),oe=yy.useRef(),ie=yy.useRef(),ae="top"===q||"bottom"===q,se=Ua(op(0,(function(e,t){ae&&J&&J({direction:e>t?"left":"right"})})),2),le=se[0],ce=se[1],ue=Ua(op(0,(function(e,t){!ae&&J&&J({direction:e>t?"top":"bottom"})})),2),de=ue[0],pe=ue[1],fe=Ua(yy.useState([0,0]),2),he=fe[0],ge=fe[1],me=Ua(yy.useState([0,0]),2),be=me[0],ye=me[1],ve=Ua(yy.useState([0,0]),2),we=ve[0],xe=ve[1],Se=Ua(yy.useState([0,0]),2),Ee=Se[0],Ce=Se[1],ke=(N=new Map,j=yy.useRef([]),P=Ua(yy.useState({}),2)[1],T=yy.useRef("function"==typeof N?N():N),I=ip((function(){var e=T.current;j.current.forEach((function(t){e=t(e)})),j.current=[],T.current=e,P({})})),[T.current,function(e){j.current.push(e),I()}]),Oe=Ua(ke,2),De=Oe[1],$e=function(e,t,n){return yy.useMemo((function(){var n,r,o,i,a,s,l=new Map,c=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||FT,u=c.left+c.width;for(r=0;ra?(o=n,g.current="x"):(o=r,g.current="y"),t(-o,-o)&&e.preventDefault()}},yy.useEffect((function(){function t(e){m.current.onTouchMove(e)}function n(e){m.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){m.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){m.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(ne,(function(e,t){function i(e,t){e((function(e){return n(e+t)}))}return!!Te&&(ae?i(ce,e):i(pe,t),o(),r(),!0)})),yy.useEffect((function(){return o(),l&&(a.current=window.setTimeout((function(){c(0)}),100)),o}),[l]),u=function(e,t,n,r,o,i,a){var s,l,c,u=a.tabs,d=a.tabPosition,p=a.rtl;return["top","bottom"].includes(d)?(s="width",l=p?"right":"left",c=Math.abs(n)):(s="height",l="top",c=-n),yy.useMemo((function(){var n,r,o,i,a,d;if(!u.length)return[0,0];for(r=n=u.length,o=0;oc+t){r=o-1;break}for(a=0,d=n-1;d>=0;d-=1)if((e.get(u[d].key)||HT)[l]=r?[0,0]:[a,r]}),[e,t,r,o,i,c,d,u.map((function(e){return e.key})).join("_"),p])}($e,Ie,ae?le:de,Ne,je,Pe,Ea(Ea({},e),{},{tabs:F})),p=(d=Ua(u,2))[0],f=d[1],h=Pl((function(e){var t,r,o=$e.get(arguments.length>0&&void 0!==e?e:H)||{width:0,height:0,left:0,right:0,top:0};ae?(t=le,U?o.rightle+Ie&&(t=o.right+o.width-Ie):o.left<-le?t=-o.left:o.left+o.width>-le+Ie&&(t=-(o.left+o.width-Ie)),pe(0),ce(n(t))):(r=de,o.top<-de?r=-o.top:o.top+o.height>-de+Ie&&(r=-(o.top+o.height-Ie)),ce(0),pe(n(r)))})),g={},"top"===q||"bottom"===q?g[U?"marginRight":"marginLeft"]=X:g.marginTop=X,m=F.map((function(e,t){var n=e.key;return yy.createElement(dp,{id:B,prefixCls:R,key:n,tab:e,style:0===t?void 0:g,closable:e.closable,editable:G,active:n===H,renderWrapper:K,removeAriaLabel:null==V?void 0:V.removeAriaLabel,onClick:function(e){Y(n,e)},onFocus:function(){h(n),r(),ne.current&&(U||(ne.current.scrollLeft=0),ne.current.scrollTop=0)}})})),b=function(){return De((function(){var e=new Map;return F.forEach((function(t){var n,r=t.key,o=null===(n=re.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(sp(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))},yy.useEffect((function(){b()}),[F.map((function(e){return e.key})).join("_")]),y=ip((function(){var e,t,n,r=VT(Z),o=VT(ee),i=VT(te);ge([r[0]-o[0]-i[0],r[1]-o[1]-i[1]]),e=VT(ie),xe(e),t=VT(oe),Ce(t),n=VT(re),ye([n[0]-e[0],n[1]-e[1]]),b()})),v=F.slice(0,p),w=F.slice(f+1),x=[].concat(xa(v),xa(w)),S=$e.get(H),E=GT({activeTabOffset:S,horizontal:ae,rtl:U,indicatorSize:Q}).style,yy.useEffect((function(){h()}),[H,Re,Fe,ap(S),ap($e),ae]),yy.useEffect((function(){y()}),[U]),C=!!x.length,k="".concat(R,"-nav-wrap"),ae?U?(D=le>0,O=le!==Fe):(O=le<0,D=le!==Re):($=de<0,_=de!==Re),yy.createElement(j$,{onResize:y},yy.createElement("div",{ref:Us(t,Z),role:"tablist",className:zJ("".concat(R,"-nav"),M),style:L,onKeyDown:function(){r()}},yy.createElement(WT,{ref:ee,position:"left",extra:W,prefixCls:R}),yy.createElement(j$,{onResize:y},yy.createElement("div",{className:zJ(k,(i={},ki(i,"".concat(k,"-ping-left"),O),ki(i,"".concat(k,"-ping-right"),D),ki(i,"".concat(k,"-ping-top"),$),ki(i,"".concat(k,"-ping-bottom"),_),i)),ref:ne},yy.createElement(j$,{onResize:y},yy.createElement("div",{ref:re,className:"".concat(R,"-nav-list"),style:{transform:"translate(".concat(le,"px, ").concat(de,"px)"),transition:l?"none":void 0}},m,yy.createElement(p4,{ref:ie,prefixCls:R,locale:V,editable:G,style:Ea(Ea({},0===m.length?void 0:g),{},{visibility:C?"hidden":null})}),yy.createElement("div",{className:zJ("".concat(R,"-ink-bar"),ki({},"".concat(R,"-ink-bar-animated"),z.inkBar)),style:E}))))),yy.createElement(f4,fa({},e,{removeAriaLabel:null==V?void 0:V.removeAriaLabel,ref:oe,prefixCls:R,tabs:x,className:!C&&Ae,tabMoving:!!l})),yy.createElement(WT,{ref:te,position:"right",extra:W,prefixCls:R})))}function fp(e){var t=e.renderTabBar,n=Oi(e,XT),r=yy.useContext(d4).tabs;return t?t(Ea(Ea({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Oi(e,KT);return yy.createElement(AT,fa({tab:t,key:n,tabKey:n},r))}))}),h4):yy.createElement(h4,n)}function hp(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h=e.id,g=e.prefixCls,m=void 0===g?"rc-tabs":g,b=e.className,y=e.items,v=e.direction,w=e.activeKey,x=e.defaultActiveKey,S=e.editable,E=e.animated,C=e.tabPosition,k=void 0===C?"top":C,O=e.tabBarGutter,D=e.tabBarStyle,$=e.tabBarExtraContent,_=e.locale,N=e.moreIcon,j=e.moreTransitionName,P=e.destroyInactiveTabPane,T=e.renderTabBar,I=e.onChange,A=e.onTabClick,R=e.onTabScroll,F=e.getPopupContainer,M=e.popupClassName,L=e.indicatorSize,B=Oi(e,YT),z=yy.useMemo((function(){return(y||[]).filter((function(e){return e&&"object"===Ei(e)&&"key"in e}))}),[y]),H="rtl"===v,U=function(e){var t,n=arguments.length>0&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!1}:Ea({inkBar:!0},"object"===Ei(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(E),W=Ua(yy.useState(!1),2),G=W[0],V=W[1];return yy.useEffect((function(){V(s2())}),[]),r=Ua(Al((function(){var e;return null===(e=z[0])||void 0===e?void 0:e.key}),{value:w,defaultValue:x}),2),o=r[0],i=r[1],a=Ua(yy.useState((function(){return z.findIndex((function(e){return e.key===o}))})),2),s=a[0],l=a[1],yy.useEffect((function(){var e,t=z.findIndex((function(e){return e.key===o}));-1===t&&(t=Math.max(0,Math.min(s,z.length-1)),i(null===(e=z[t])||void 0===e?void 0:e.key)),l(t)}),[z.map((function(e){return e.key})).join("_"),o,s]),u=(c=Ua(Al(null,{value:h}),2))[0],d=c[1],yy.useEffect((function(){h||(d("rc-tabs-".concat(JT)),JT+=1)}),[]),f=Ea(Ea({},p={id:u,activeKey:o,animated:U,tabPosition:k,rtl:H,mobile:G}),{},{editable:S,locale:_,moreIcon:N,moreTransitionName:j,tabBarGutter:O,onTabClick:function(e,t){null==A||A(e,t);var n=e!==o;i(e),n&&(null==I||I(e))},onTabScroll:R,extra:$,style:D,panes:null,getPopupContainer:F,popupClassName:M,indicatorSize:L}),yy.createElement(d4.Provider,{value:{tabs:z,prefixCls:m}},yy.createElement("div",fa({ref:t,id:h,className:zJ(m,"".concat(m,"-").concat(k),(n={},ki(n,"".concat(m,"-mobile"),G),ki(n,"".concat(m,"-editable"),S),ki(n,"".concat(m,"-rtl"),H),n),b)},B),yy.createElement(fp,fa({},f,{renderTabBar:T})),yy.createElement(rp,fa({destroyInactiveTabPane:P},p,{animated:U}))))}function gp(e,t){const[n,r]=yy.useState("string"==typeof e?e:"");return yy.useEffect((()=>{(()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;nNumber.MAX_SAFE_INTEGER)return String(bp()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e3&&void 0!==r&&r;return""===e?"":(i=(o=vp(e)).negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a),n>=0?(u=Number(s[n]))>=5&&!d?kp(Cp(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,d):0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n)):".0"===l?c:"".concat(c).concat(l))}function Op(e){return!(!e.addonBefore&&!e.addonAfter)}function Dp(e){return!!(e.prefix||e.suffix||e.allowClear)}function $p(e,t,n,r){var o,i;if(n)return o=t,"click"===t.type?(i=e.cloneNode(!0),o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)):void 0!==r?(o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o)):void n(o)}function _p(e,t){var n,r;if(e&&(e.focus(t),n=(t||{}).cursor))switch(r=e.value.length,n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}function Np(e){return null==e?"":String(e)}function jp(e){var t,n,r,o,i,a,s,l=e.prefixCls,c=e.upNode,u=e.downNode,d=e.upDisabled,p=e.downDisabled,f=e.onStep,h=yy.useRef(),g=yy.useRef([]),m=yy.useRef();return m.current=f,t=function(){clearTimeout(h.current)},n=function(e,n){e.preventDefault(),t(),m.current(n),h.current=setTimeout((function e(){m.current(n),h.current=setTimeout(e,mI)}),bI)},yy.useEffect((function(){return function(){t(),g.current.forEach((function(e){return R$.cancel(e)}))}}),[]),gI()?null:(r="".concat(l,"-handler"),o=zJ(r,"".concat(r,"-up"),ki({},"".concat(r,"-up-disabled"),d)),i=zJ(r,"".concat(r,"-down"),ki({},"".concat(r,"-down-disabled"),p)),s={unselectable:"on",role:"button",onMouseUp:a=function(){return g.current.push(R$(t))},onMouseLeave:a},yy.createElement("div",{className:"".concat(r,"-wrap")},yy.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":d,className:o}),c||yy.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),yy.createElement("span",fa({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":p,className:i}),u||yy.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-down-inner")}))))}function Pp(e){var t="number"==typeof e?Sp(e):vp(e).fullStr;return t.includes(".")?vp(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function Tp(e,t){const n=yy.useRef([]),r=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return yy.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function Ip(e,t){return xa(e||"").slice(0,t).join("")}function Ap(e,t,n,r){var o=n;return e?o=Ip(n,r):xa(t||"").lengthr&&(o=t),o}function Rp(e){return"string"==typeof e&&String(Number(e))===e?(_a(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function Fp(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v=e.prefixCls,w=e.open,x=e.placement,S=e.inline,E=e.push,C=e.forceRender,k=e.autoFocus,O=e.keyboard,D=e.rootClassName,$=e.rootStyle,_=e.zIndex,N=e.className,j=e.id,P=e.style,T=e.motion,I=e.width,A=e.height,R=e.children,F=e.contentWrapperStyle,M=e.mask,L=e.maskClosable,B=e.maskMotion,z=e.maskClassName,H=e.maskStyle,U=e.afterOpenChange,W=e.onClose,G=e.onMouseEnter,V=e.onMouseOver,q=e.onMouseLeave,X=e.onClick,K=e.onKeyDown,Y=e.onKeyUp,J=yy.useRef(),Q=yy.useRef(),Z=yy.useRef();if(yy.useImperativeHandle(t,(function(){return J.current})),a=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case V_.TAB:r===V_.TAB&&(o||document.activeElement!==Z.current?o&&document.activeElement===Q.current&&(null===(n=Z.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Q.current)||void 0===t||t.focus({preventScroll:!0}));break;case V_.ESC:W&&O&&(e.stopPropagation(),W(e))}},yy.useEffect((function(){var e;w&&k&&(null===(e=J.current)||void 0===e||e.focus({preventScroll:!0}))}),[w]),l=(s=Ua(yy.useState(!1),2))[0],c=s[1],u=yy.useContext(HI),d=null!==(n=null!==(r=null===(o=!1===E?{distance:0}:!0===E?{}:E||{})||void 0===o?void 0:o.distance)&&void 0!==r?r:null==u?void 0:u.pushDistance)&&void 0!==n?n:180,p=yy.useMemo((function(){return{pushDistance:d,push:function(){c(!0)},pull:function(){c(!1)}}}),[d]),yy.useEffect((function(){var e,t;w?null==u||null===(e=u.push)||void 0===e||e.call(u):null==u||null===(t=u.pull)||void 0===t||t.call(u)}),[w]),yy.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),f=M&&yy.createElement(RQ,fa({key:"mask"},B,{visible:w}),(function(e,t){var n=e.className,r=e.style;return yy.createElement("div",{className:zJ("".concat(v,"-mask"),n,z),style:Ea(Ea({},r),H),onClick:L&&w?W:void 0,ref:t})})),h="function"==typeof T?T(x):T,g={},l&&d)switch(x){case"top":g.transform="translateY(".concat(d,"px)");break;case"bottom":g.transform="translateY(".concat(-d,"px)");break;case"left":g.transform="translateX(".concat(d,"px)");break;default:g.transform="translateX(".concat(-d,"px)")}return"left"===x||"right"===x?g.width=Rp(I):g.height=Rp(A),m={onMouseEnter:G,onMouseOver:V,onMouseLeave:q,onClick:X,onKeyDown:K,onKeyUp:Y},b=yy.createElement(RQ,fa({key:"panel"},h,{visible:w,forceRender:C,onVisibleChanged:function(e){null==U||U(e)},removeOnLeave:!1,leavedClassName:"".concat(v,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style;return yy.createElement("div",fa({className:zJ("".concat(v,"-content-wrapper"),r),style:Ea(Ea(Ea({},g),o),F)},ic(e,{data:!0})),yy.createElement(WI,fa({id:j,containerRef:n,prefixCls:v,className:N,style:P},m),R))})),y=Ea({},$),_&&(y.zIndex=_),yy.createElement(HI.Provider,{value:p},yy.createElement("div",{className:zJ(v,"".concat(v,"-").concat(x),D,(i={},ki(i,"".concat(v,"-open"),w),ki(i,"".concat(v,"-inline"),S),i)),style:y,tabIndex:-1,ref:J,onKeyDown:a},f,yy.createElement("div",{tabIndex:0,ref:Q,style:GI,"aria-hidden":"true","data-sentinel":"start"}),b,yy.createElement("div",{tabIndex:0,ref:Z,style:GI,"aria-hidden":"true","data-sentinel":"end"})))}function Mp(e){return["small","middle","large"].includes(e)}function Lp(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}function Bp(e){const[t,n]=yy.useState(e);return yy.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function zp(e,t,n,r){return{key:"string"==typeof e?e:`${t}-${arguments.length>3&&void 0!==r?r:0}`,error:e,errorStatus:n}}function Hp(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function Up(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:W3.includes(n)?`${G3}_${n}`:n}function Wp(e,t,n,r,o,i){let a=r;return void 0!==i?a=i:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||o&&n.validated)&&(a="success"),a}function Gp(e){return Hp(e).join("_")}function Vp(e){const[t]=yu(),n=yy.useRef({}),r=yy.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=Gp(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e,t){let n=arguments.length>1&&void 0!==t?t:{};const o=Up(Hp(e),r.__INTERNAL__.name),i=o?document.getElementById(o):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(cZ(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of cZ(e,uZ(t)))o.scroll({top:i,left:a,behavior:r})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},n))},getFieldInstance:e=>{const t=Gp(e);return n.current[t]}})),[e,t]);return[r]}function qp(e){let{children:t,errors:n,warnings:r,hasFeedback:o,validateStatus:i,prefixCls:a,meta:s,noStyle:l}=e;const c=`${a}-item`,{feedbackIcons:u}=yy.useContext(T0),d=Wp(n,r,s,null,!!o,i),{isFormItemInput:p,status:f}=yy.useContext(F0),h=yy.useMemo((()=>{var e;let t;if(o){const i=!0!==o&&o.icons||u,a=d&&(null===(e=null==i?void 0:i({status:d,errors:n,warnings:r}))||void 0===e?void 0:e[d]),s=d&&n6[d];t=!1!==a&&s?yy.createElement("span",{className:zJ(`${c}-feedback-icon`,`${c}-feedback-icon-${d}`)},a||yy.createElement(s,null)):null}let i=!0,a=d||"";return l&&(i=p,a=(null!=d?d:f)||""),{status:a,errors:n,warnings:r,hasFeedback:!!o,feedbackIcon:t,isFormItemInput:i}}),[d,o,l,p,f]);return yy.createElement(F0.Provider,{value:h},t)}function Xp(e){const{prefixCls:t,className:n,rootClassName:r,style:o,help:i,errors:a,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:d,children:p,fieldId:f,required:h,isRequired:g,onSubItemMetaChange:m}=e,b=QI(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),y=`${t}-item`,{requiredMark:v}=yy.useContext(T0),w=yy.useRef(null),x=Bp(a),S=Bp(s),E=null!=i,C=!!(E||a.length||s.length),k=!!w.current&&$Z(w.current),[O,D]=yy.useState(null);QO((()=>{if(C&&w.current){const e=getComputedStyle(w.current);D(parseInt(e.marginBottom,10))}}),[C,k]);const $=function(e){let t=arguments.length>0&&void 0!==e&&e;return Wp(t?x:c.errors,t?S:c.warnings,c,"",!!u,l)}(),_=zJ(y,n,r,{[`${y}-with-help`]:E||x.length||S.length,[`${y}-has-feedback`]:$&&u,[`${y}-has-success`]:"success"===$,[`${y}-has-warning`]:"warning"===$,[`${y}-has-error`]:"error"===$,[`${y}-is-validating`]:"validating"===$,[`${y}-hidden`]:d});return yy.createElement("div",{className:_,style:o,ref:w},yy.createElement(A4,Object.assign({className:`${y}-row`},Qs(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),yy.createElement(t6,Object.assign({htmlFor:f},e,{requiredMark:v,required:null!=h?h:g,prefixCls:t})),yy.createElement(Q3,Object.assign({},e,c,{errors:x,warnings:S,prefixCls:t,status:$,help:i,marginBottom:O,onErrorVisibleChanged:e=>{e||D(null)}}),yy.createElement(I0.Provider,{value:m},yy.createElement(qp,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:$},p)))),!!O&&yy.createElement("div",{className:`${y}-margin-offset`,style:{marginBottom:-O}}))}function Kp(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:i}=u6,a=null!=e?e:HQ().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,duration:n,rtl:r,maxCount:o,top:i}}function Yp(){if(!s6){const e=document.createDocumentFragment(),t={fragment:e};return s6=t,void l6((()=>{mc(yy.createElement(d6,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Yp())}))}}),e)}))}s6.instance&&(c6.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":l6((()=>{const t=s6.instance.open(Object.assign(Object.assign({},u6),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":l6((()=>{null==s6||s6.instance.destroy(e.key)}));break;default:l6((()=>{var n;const r=(n=s6.instance)[t].apply(n,xa(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),c6=[])}function Jp(e){return Ou(Du(e))}function Qp(){const{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=x6,a=null!=e?e:HQ().getPrefixCls("notification"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,rtl:n,maxCount:r,top:o,bottom:i}}function Zp(){if(!y6){const e=document.createDocumentFragment(),t={fragment:e};return y6=t,void v6((()=>{mc(yy.createElement(S6,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Zp())}))}}),e)}))}y6.instance&&(w6.forEach((e=>{switch(e.type){case"open":v6((()=>{y6.instance.open(Object.assign(Object.assign({},x6),e.config))}));break;case"destroy":v6((()=>{null==y6||y6.instance.destroy(e.key)}))}})),w6=[])}function ef(e){w6.push({type:"open",config:e}),Zp()}function tf(e){var t,n,r=e.prefixCls,o=e.containerRef,i=e.value,a=e.getValueIndex,s=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,u=e.direction,d=yy.useRef(null),p=Ua(yy.useState(i),2),f=p[0],h=p[1],g=function(e){var t,n=a(e),i=null===(t=o.current)||void 0===t?void 0:t.querySelectorAll(".".concat(r,"-item"))[n];return(null==i?void 0:i.offsetParent)&&i},m=Ua(yy.useState(null),2),b=m[0],y=m[1],v=Ua(yy.useState(null),2),w=v[0],x=v[1];return QO((function(){var e,t,n,r;f!==i&&(e=g(f),t=g(i),n=tA(e),r=tA(t),h(i),y(n),x(r),e&&t?l():c())}),[i]),t=yy.useMemo((function(){return nA("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=yy.useMemo((function(){return nA("rtl"===u?-(null==w?void 0:w.right):null==w?void 0:w.left)}),[u,w]),b&&w?yy.createElement(RQ,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){y(null),x(null),c()}},(function(e,o){var i=e.className,a=Ea(Ea({},e.style),{},{"--thumb-start-left":t,"--thumb-start-width":nA(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":nA(null==w?void 0:w.width)}),s={ref:Hs(d,o),style:a,className:zJ("".concat(r,"-thumb"),i)};return yy.createElement("div",s)})):null}function nf(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function rf(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}function of(e,t,n){return(e-t)/(n-t)}function af(e,t,n,r){var o=of(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function sf(e,t){return Array.isArray(e)?e[t]:e}function lf(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function cf(e){var t,n=e.prefixCls,r=e.style,o=e.start,i=e.end,a=e.index,s=e.onStartMove,l=yy.useContext(sA),c=l.direction,u=l.min,d=l.max,p=l.disabled,f=l.range,h="".concat(n,"-track"),g=of(o,u,d),m=of(i,u,d),b=function(e){!p&&s&&s(e,-1)},y={};switch(c){case"rtl":y.right="".concat(100*g,"%"),y.width="".concat(100*m-100*g,"%");break;case"btt":y.bottom="".concat(100*g,"%"),y.height="".concat(100*m-100*g,"%");break;case"ttb":y.top="".concat(100*g,"%"),y.height="".concat(100*m-100*g,"%");break;default:y.left="".concat(100*g,"%"),y.width="".concat(100*m-100*g,"%")}return yy.createElement("div",{className:zJ(h,(t={},ki(t,"".concat(h,"-").concat(a+1),f),ki(t,"".concat(n,"-track-draggable"),s),t)),style:Ea(Ea({},y),r),onMouseDown:b,onTouchStart:b})}function uf(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=yy.useContext(sA),s=a.included,l=a.range,c=a.min,u=yy.useMemo((function(){var e,t,n,i;if(!l)return 0===r.length?[]:(e=null!=o?o:c,t=r[0],[{start:Math.min(e,t),end:Math.max(e,t)}]);for(n=[],i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a),r(s+(u=n-i/2),l+u,c+u))}function Yf(e){var t,n,r,o,i,a,s,l,c,u,d;if("string"!=typeof e)throw new gF(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return mF[t]?"#"+mF[t]:e}(e),t.match(bF))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(yF))return n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n};if(t.match(vF))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(wF))return r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r};if(o=xF.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(i=SF.exec(t.substring(0,50)))return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};if(a=EF.exec(t)){if(s="rgb("+Kf(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",!(l=xF.exec(s)))throw new gF(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=CF.exec(t.substring(0,50))){if(u="rgb("+Kf(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(d=xF.exec(u)))throw new gF(4,t,u);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new gF(5)}function Jf(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function Qf(e){return Jf(Math.round(255*e))}function Zf(e,t,n){return kF("#"+Qf(e)+Qf(t)+Qf(n))}function eh(e,t,n){return Kf(e,t,n,Zf)}function th(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return kF("#"+Jf(e)+Jf(t)+Jf(n));if("object"==typeof e&&void 0===t&&void 0===n)return kF("#"+Jf(e.red)+Jf(e.green)+Jf(e.blue));throw new gF(6)}function nh(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=Yf(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?th(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?th(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new gF(7)}function rh(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):rh(e,t,r)}}function oh(e){return rh(e,e.length,[])}function ih(e,t){if("transparent"===t)return t;var n=function(e){return function(e){var t,n,r,o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;if(s===l)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};switch(n=s-l,r=c>.5?n/(2-s-l):n/(s+l),s){case o:t=(i-a)/n+(i=1?eh(e.hue,e.saturation,e.lightness):"rgba("+Kf(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new gF(2)}(e);if($F(e))return function(e){if("object"==typeof e)return eh(e.hue,e.saturation,e.lightness);throw new gF(1)}(e);throw new gF(8)}(fa({},n,{hue:n.hue+parseFloat(e)}))}function ah(e){var t,n;return"transparent"===e?0:(t=Yf(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3)))}function sh(e,t,n,r){var o,i,a,s,l;return void 0===t&&(t=jF),void 0===n&&(n=PF),void 0===r&&(r=!0),i=(o=ah(e)>.179)?t:n,!r||(a=i,s=ah(e),l=ah(a),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?i:o?jF:PF}function lh(e,t){var n,r,o,i,a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;n=a.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return o}function ch(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return o=!0,i=!1,{s:function(){s=s.call(e)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw a}}}}function hg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=wG(t%52)+n;return(wG(t%52)+n).replace(vG,"$1-$2")}function Cg(e){return"string"==typeof e&&!0}function kg(e){return("type"in(t=e)&&t.type.$$typeof)===kG?_G:"$$typeof"in e?NG[e.$$typeof]:DG;var t}function Og(e,t,n){var r,o,i,a,s,l,c;if("string"!=typeof t)for(RG&&(r=AG(t))&&r!==RG&&Og(e,r,n),o=PG(t),TG&&(o=o.concat(TG(t))),i=kg(e),a=kg(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function Ag(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ag(e.children,t)),e}))}function Rg(){return yy.useContext(oV)}function Fg(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.7"+f+pV[f])),d?"".concat(d,"-").concat(p):p):v;return void 0===t.displayName&&function(e){Cg(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(Sg(t.displayName),"-").concat(t.componentId):t.componentId||w,o=h&&g.attrs?g.attrs.concat(y).filter(Boolean):y,i=t.shouldForwardProp,h&&g.shouldForwardProp&&(a=g.shouldForwardProp,t.shouldForwardProp?(s=t.shouldForwardProp,i=function(e,t){return a(e,t)&&s(e,t)}):i=a),l=new uV(n,r,h?g.componentStyle:void 0),c=rJ.forwardRef((function(e,t){return function(e,t,n){var r,o,i,a,s,l,c=e.attrs,u=e.componentStyle,d=e.defaultProps,p=e.foldedComponentIds,f=e.styledComponentId,h=e.target,g=rJ.useContext(dV),m=Rg(),b=e.shouldForwardProp||m.shouldForwardProp,y=function(e,t,n){var r,o,i,a,s;for(o=TF(TF({},t),{className:void 0,theme:n}),i=0;i{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,l7(e,r))}function Xg(e,t){function n(){return s.getFixedT(r.lng||null,"fallback"===l.nsMode?d:d[0],u)}let r=arguments.length>1&&void 0!==t?t:{};const{i18n:o}=r,{i18n:i,defaultNS:a}=yy.useContext(g7)||{},s=o||i||p7;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new m7),!s){Gg("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&Gg("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...f7,...s.options.react,...r},{useSuspense:c,keyPrefix:u}=l;let d=e||a||s.options&&s.options.defaultNS;d="string"==typeof d?[d]:d||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(d);const p=(s.isInitialized||s.initializedStoreOnce)&&d.every((e=>function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};const o=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;const s=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(o,e)||i&&!s(a,e)))}(e,t,r):(Gg("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[f,h]=yy.useState(n);let g=d.join();r.lng&&(g=`${r.lng}${g}`);const m=(e=>{const t=yy.useRef();return yy.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(g),b=yy.useRef(!0);yy.useEffect((()=>{function e(){b.current&&h(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,p||c||(r.lng?qg(s,r.lng,d,(()=>{b.current&&h(n)})):Vg(s,d,(()=>{b.current&&h(n)}))),p&&m&&m!==g&&b.current&&h(n),t&&s&&s.on(t,e),o&&s&&s.store.on(o,e),()=>{b.current=!1,t&&s&&t.split(" ").forEach((t=>s.off(t,e))),o&&s&&o.split(" ").forEach((t=>s.store.off(t,e)))}}),[s,g]);const y=yy.useRef(!0);yy.useEffect((()=>{b.current&&!y.current&&h(n),y.current=!1}),[s,u]);const v=[f,s,p];if(v.t=f,v.i18n=s,v.ready=p,p)return v;if(!p&&!c)return v;throw new Promise((e=>{r.lng?qg(s,r.lng,d,(()=>e())):Vg(s,d,(()=>e()))}))}function Kg(e){var t,n,r=this;if(r instanceof Kg||(r=new Kg),r.tail=null,r.head=null,r.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){r.push(e)}));else if(arguments.length>0)for(t=0,n=arguments.length;tthis.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&h(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&d)|(this.options.loose&&p))+":"+e,i=t.get(n);if(i)return i;const h=this.options.loose;e=e.replace(h?a[s.HYPHENRANGELOOSE]:a[s.HYPHENRANGE],O(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[s.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(a[s.TILDETRIM],c),o("tilde trim",e),e=e.replace(a[s.CARETTRIM],u),o("caret trim",e);let g=e.split(" ").map((e=>m(e,this.options))).join(" ").split(/\s+/).map((e=>k(e,this.options)));h&&(g=g.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[s.COMPARATORLOOSE]))))),o("range list",g);const b=new Map,y=g.map((e=>new r(e,this.options)));for(const t of y){if(f(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return t.set(n,v),v}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>g(e,n)&&t.set.some((t=>g(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,h=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},m=(e,t)=>(o("comp",e,t),e=w(e,t),o("caret",e),e=y(e,t),o("tildes",e),e=S(e,t),o("xrange",e),e=C(e,t),o("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>e.replace(t.loose?a[s.TILDELOOSE]:a[s.TILDE],((t,n,r,i,a)=>{let s;return o("tilde",e,t,n,r,i,a),b(n)?s="":b(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:b(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o("replaceTilde pr",a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",s),s})),w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>{o("caret",e,t);const n=t.includePrerelease?"-0":"";return e.replace(t.loose?a[s.CARETLOOSE]:a[s.CARET],((t,r,i,a,s)=>{let l;return o("caret",e,t,r,i,a,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(a)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${a}-${s} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a}-${s} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${a}${n} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a} <${+r+1}.0.0-0`),o("caret return",l),l}))},S=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>E(e,t))).join(" ")),E=(e,t)=>(e=e.trim()).replace(t.loose?a[s.XRANGELOOSE]:a[s.XRANGE],((n,r,i,a,s,l)=>{o("xRange",e,n,r,i,a,s,l);const c=b(i),u=c||b(a),d=u||b(s);return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(u&&(a=0),s=0,">"===r?(r=">=",u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(l="-0"),n=`${r+i}.${a}.${s}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),o("xRange return",n),n})),C=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[s.STAR],"")),k=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),O=e=>(t,n,r,o,i,a,s,l,c,u,d,p)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),D=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return QV}function Qg(){if(tq)return eq;tq=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),a("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.value=this.semver===e?"":this.operator+this.semver.version,a("comp",this)}parse(t){const n=t.match(this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR]);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),this.semver=n[2]?new s(n[2],this.options.loose):e}toString(){return this.value}test(t){if(a("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new s(t,this.options)}catch(n){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new l(e.value,r).test(this.value):""===e.operator?""===e.value||new l(this.value,r).test(e.semver):!((r=n(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}eq=t;const n=SV,{safeRe:r,t:o}=xV,i=VV,a=wV,s=CV,l=Jg();return eq}function Zg(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}function em(e,t,n,r){function o(){p===d&&(p=d.slice())}function i(){if(f)throw new Error(Zg(3));return u}function a(e){if("function"!=typeof e)throw new Error(Zg(4));if(f)throw new Error(Zg(5));var t=!0;return o(),p.push(e),function(){if(t){if(f)throw new Error(Zg(6));t=!1,o();var n=p.indexOf(e);p.splice(n,1),d=null}}}function s(e){var t,n;if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(Zg(7));if(void 0===e.type)throw new Error(Zg(8));if(f)throw new Error(Zg(9));try{f=!0,u=c(u,e)}finally{f=!1}for(t=d=p,n=0;n=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,a);if(null==l)return void e.dispatch(qee);let c=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(e){tm("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),c=i(l)}e.dispatch(rm(o,c));const u=s.getSource(l).beginDrag(a,l);if(null==u)return;!function(e){tm(nm(e),"Item must be an object.")}(u),s.pinSource(l);const d=s.getSourceType(l);return{type:Hee,payload:{itemType:d,item:u,sourceId:l,clientOffset:o||null,sourceClientOffset:c||null,isSourcePublic:!!r}}}}function im(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function am(e){var t,n,r;for(t=1;t{const a=function(e,t,n,r){const o=n.getTarget(e);let i=o?o.drop(r,e):void 0;return function(e){tm(void 0===e||nm(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:r.getDropResult()),i}(o,i,r,n),s={type:Gee,payload:{dropResult:am({},t,a)}};e.dispatch(s)}))}}function lm(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){tm(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const r=t.getSourceId();return null!=r&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:Vee}}}function cm(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function um(e){return function(t,{clientOffset:n}={}){!function(e){tm(Array.isArray(e),"Expected targetIds to be an array.")}(t);const r=t.slice(0),o=e.getMonitor(),i=e.getRegistry();return function(e,t,n){for(let r=e.length-1;r>=0;r--)cm(t.getTargetType(e[r]),n)||e.splice(r,1)}(r,i,o.getItemType()),function(e,t,n){tm(t.isDragging(),"Cannot call hover while not dragging."),tm(!t.didDrop(),"Cannot call hover after drop.");for(let r=0;rhm(e,!1))):tm("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function gm(e){switch(e[0]){case"S":return Dq.SOURCE;case"T":return Dq.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function mm(e,t){const n=e.entries();let r=!1;do{const{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}function bm(e=Kee,t){switch(t.type){case Wee:break;case ote:case ite:case ste:case ate:return Kee;default:return Yee}const{targetIds:n=[],prevTargetIds:r=[]}=t.payload,o=function(e,t){const n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);const o=[];return n.forEach(((e,t)=>{1===e&&o.push(t)})),o}(n,r);if(!(o.length>0)&&function(e,t,n=ute){if(e.length!==t.length)return!1;for(let r=0;re!==o)))});case Gee:return xm({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case Vee:return xm({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var r,o}function Em(e=0,t){switch(t.type){case ote:case ite:return e+1;case ate:case ste:return e-1;default:return e}}function Cm(e=0){return e+1}function km(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Om(e){var t,n,r;for(t=1;te&&e[t]?e[t]:r||null),n))})}),dragOffset:vm(e.dragOffset,t),refCount:Em(e.refCount,t),dragOperation:Sm(e.dragOperation,t),stateId:Cm(e.stateId)};var n,r}function $m(e,t,n={},r=!1){const o=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return em(Dm,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r),i=new Jee(o,new cte(o)),a=new Xee(o,i),s=e(a,t,n);return a.receiveBackend(s),a}function _m(){return"undefined"!=typeof global?global:window}function Nm(e,t,n){const[r,o]=yy.useState((()=>t(e))),i=yy.useCallback((()=>{const i=t(e);A8(r,i)||(o(i),n&&n())}),[r,e,n]);return mte(i),[r,i]}function jm(e,t,n){return function(e,t){const[r,o]=Nm(e,t,(()=>n.reconnect()));return mte((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})}),[e,o]),r}(t,e||(()=>({})))}function Pm(e,t){const n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),yy.useMemo((()=>"function"==typeof e?e():e),n)}function Tm(e){return yy.useMemo((()=>e.hooks.dragSource()),[e])}function Im(e){return yy.useMemo((()=>e.hooks.dragPreview()),[e])}function Am(e,t,n,r){let o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let l=0;l{const r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{const e=function(e){return(t=null,n=null)=>{if(!yy.isValidElement(t)){const r=t;return e(r,n),r}const r=t;return function(e){if("string"!=typeof e.type)throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e.type.displayName||e.type.name||"the component"} into a
, or turn it into a drag source or a drop target itself.`)}(r),function(e,t){const n=e.ref;return tm("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),yy.cloneElement(e,n?{ref:e=>{Mm(n,e),Mm(t,e)}}:{ref:t})}(r,n?t=>e(t,n):e)}}(r);t[n]=()=>e}})),t}function Mm(e,t){"function"==typeof e?e(t):e.current=t}function Lm(){const{dragDropManager:e}=yy.useContext(Bee);return tm(null!=e,"Expected drag drop context"),e}function Bm(e){return yy.useMemo((()=>e.hooks.dropTarget()),[e])}function zm(e){let t=null;return()=>(null==t&&(t=e()),t)}function Hm(e,t,n){const r=t.reduce(((t,n)=>t||e.getData(n)),"");return null!=r?r:n}function Um(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(Ite).filter((e=>{const n=Ite[e];return!!(null==n?void 0:n.matchesTypes)&&n.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}function Wm(e){const t=e.nodeType===Mte?e:e.parentElement;if(!t)return null;const{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function Gm(e){return{x:e.clientX,y:e.clientY}}function Vm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qm(e){var t,n,r;for(t=1;tNumber(e)-Number(t))).map((t=>e[t])):e}function cb(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function ub(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function db(e){const t=(e=cb(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function pb(e,t){ib((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),r[e=e.replace(/\[]$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),r[e=e.replace(/:list$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&sb(n,e).includes(e.arrayFormatSeparator);n=i?sb(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>sb(t,e))):null===n?n:sb(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?sb(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>sb(t,e)));r[t]=void 0!==r[t]?[...r[t],...i]:i};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[...[n[e]].flat(),t]:t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=rb(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:sb(a,t),n(sb(i,t),a,r)}for(const[o,i]of Object.entries(r))if("object"==typeof i&&null!==i)for(const[e,n]of Object.entries(i))i[e]=ub(n,t);else r[o]=ub(i,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?lb(n):n,e}),Object.create(null))}function fb(e,t){if(!e)return"";ib((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&hne(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ab(t,e),"[",o,"]"].join("")]:[...n,[ab(t,e),"[",ab(o,e),"]=",ab(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ab(t,e),"[]"].join("")]:[...n,[ab(t,e),"[]=",ab(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[ab(t,e),":list="].join("")]:[...n,[ab(t,e),":list=",ab(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[ab(n,e),t,ab(o,e)].join("")]:[[r,ab(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,ab(t,e)]:[...n,[ab(t,e),"=",ab(r,e)].join("")]}}(t),o={};for(const[a,s]of Object.entries(e))n(a)||(o[a]=s);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?ab(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?ab(n,t)+"[]":o.reduce(r(n),[]).join("&"):ab(n,t)+"="+ab(o,t)})).filter((e=>e.length>0)).join("&")}function hb(e,t){var n;t={decode:!0,...t};let[r,o]=rb(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:pb(db(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:sb(o,t)}:{}}}function gb(e,t){t={encode:!0,strict:!0,[mne]:!0,...t};const n=cb(e.url).split("?")[0]||"";let r=fb({...pb(db(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[mne]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function mb(e,t,n){n={parseFragmentIdentifier:!0,[mne]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=hb(e,n);return gb({url:r,query:ob(o,t),fragmentIdentifier:i},n)}function bb(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function yb(e){return null==e?"":""+e}function vb(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};const t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function wb(e,t,n){const{obj:r,k:o}=vb(e,t,Object);r[o]=n}function xb(e,t){const{obj:n,k:r}=vb(e,t);if(n)return n[r]}function Sb(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):Sb(e[r],t[r],n):e[r]=t[r]);return e}function Eb(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function Cb(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>dK[e])):e}function kb(e,t,n){let r=arguments.length>2&&void 0!==n?n:".";if(!e)return;if(e[t])return e[t];const o=t.split(r);let i=e;for(let a=0;aa+e;)e++,n=o.slice(a,a+e).join(r),s=i[n];if(void 0===s)return;if(null===s)return null;if(t.endsWith(n)){if("string"==typeof s)return s;if(n&&"string"==typeof s[n])return s[n]}const l=o.slice(a+e).join(r);return l?kb(s,l,r):void 0}i=i[o[a]]}return i}function Ob(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function Db(e){return e.charAt(0).toUpperCase()+e.slice(1)}function $b(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:".",a=!(arguments.length>4&&void 0!==o)||o,s=function(e,t,n){const r=xb(e,n);return void 0!==r?r:xb(t,n)}(e,t,n);return!s&&a&&"string"==typeof n&&(s=kb(e,n,i),void 0===s&&(s=kb(t,n,i))),s}function _b(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let a=t[i];return a||(a=e(Ob(r),o),t[i]=a),a(n)}}function Nb(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function jb(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Pb(){}function Tb(e){return(Tb="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})(e)}function Ib(e){return hK.call(gK.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function Ab(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":Tb(XMLHttpRequest))}function Rb(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Fb(e){return(Fb="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})(e)}function Mb(e){return(Mb="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})(e)}function Lb(e){var t=function(e){var t,n;if("object"!==Mb(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Mb(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Mb(t)?t:String(t)}function Bb(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function zb(e){return e.startsWith("./")?e.slice(2):e}function Hb(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Ub(...e){return e.map(Bb).map(zb).join("/")}function Wb(e){return 32===e||9===e}function Gb(e){return 10===e||13===e}function Vb(e){return e>=48&&e<=57}function qb(e){return`${Gne}${e}`}async function Xb(e){const t=[],n=await async function(e){const t=qb(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch(fY){if(r=Wne(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function Kb(e){const t=Yb(await Xb(e));if(t.include){const n=await Kb(Ub(...Hb(e),t.include));n.settings&&(t.settings=n.settings.concat(t.settings)),n.bg&&!t.bg&&(t.bg=n.bg),n.colors&&(t.colors={...n.colors,...t.colors}),delete t.include}return t}function Yb(e){const t={name:e.name,type:e.type||"dark",...e,...Jb(e)};var n;return e.include&&(t.include=e.include),e.tokenColors&&(t.settings=e.tokenColors,delete t.tokenColors),(n=t).settings||(n.settings=[]),n.settings[0]&&n.settings[0].settings&&!n.settings[0].scope||n.settings.unshift({settings:{foreground:n.fg,background:n.bg}}),t}function Jb(e){var t,n,r,o;let i,a,s=e.settings?e.settings:e.tokenColors;const l=s?s.find((e=>!e.name&&!e.scope)):void 0;return(null==(t=null==l?void 0:l.settings)?void 0:t.foreground)&&(i=l.settings.foreground),(null==(n=null==l?void 0:l.settings)?void 0:n.background)&&(a=l.settings.background),!i&&(null==(r=null==e?void 0:e.colors)?void 0:r["editor.foreground"])&&(i=e.colors["editor.foreground"]),!a&&(null==(o=null==e?void 0:e.colors)?void 0:o["editor.background"])&&(a=e.colors["editor.background"]),i||(i="light"===e.type?Xne.light:Xne.dark),a||(a="light"===e.type?Kne.light:Kne.dark),{fg:i,bg:a}}function Qb(e,t){let n=[];for(let r=0,o=t.length;r=0&&i>=0;)Zb(t[o],r[i])&&o--,i--;return-1===o}function ty(e,t,n){let r=[],o=0;for(let i=0,a=e.settings.length;ie.trim()));else{if(!Array.isArray(s.scope))continue;a=s.scope}for(let e=0,i=a.length;eNumber.parseInt(e)));if(3!==t.length||t.some((e=>Number.isNaN(e))))return;return{type:"rgb",rgb:t}}if("5"===t){const t=e.shift();if(t)return{type:"table",index:Number(t)}}}function oy(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)HK[r]&&t.push({type:"setDecoration",value:HK[r]});else if(r<=29){const e=HK[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:zK[r-30]}});else if(38===r){const n=ry(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:zK[r-40]}});else if(48===r){const n=ry(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:zK[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:zK[r-100+8]}})}return t}function iy(e,t={}){function n(e="",t={},n){const r=i[e]||Jne[e];return r?r({...t,children:(n=n.filter(Boolean)).join("code"===e?"\n":"")}):""}const r=t.bg||"#fff",o=function(e){const t=new Map;for(const n of e){const e=n.line;t.has(e)?t.get(e).push(n):t.set(e,[n])}return t}(t.lineOptions??[]),i=t.elements||{};return n("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${r}`},[t.langId?`
${t.langId}
`:"",n("code",{},e.map(((r,i)=>n("line",{className:function(e){const t=new Set(["line"]);for(const n of e)for(const e of n.classes??[])t.add(e);return Array.from(t)}(o.get(i+1)??[]).join(" "),lines:e,line:r,index:i},r.map(((e,o)=>{const i=[`color: ${e.color||t.fg}`];return e.fontStyle&AK.Italic&&i.push("font-style: italic"),e.fontStyle&AK.Bold&&i.push("font-weight: bold"),e.fontStyle&AK.Underline&&i.push("text-decoration: underline"),n("token",{style:i.join("; "),tokens:r,token:e,index:o},[(a=e.content,a.replace(/[&<>"']/g,(e=>Qne[e])))]);var a}))))))])}function ay(e){return"string"==typeof e?Hne.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function sy(e){function t(e){const t=e?u.getTheme(e):d;if(!t)throw Error(`No theme registration for ${e}`);p&&p.name===t.name||(u.setTheme(t),p=t);const n=u.getColorMap();return"css"===t.type&&function(e,t){e.bg=f[e.bg]||e.bg,e.fg=f[e.fg]||e.fg,Object.entries(e.colors).forEach((([t,n])=>{e.colors[t]=f[n]||n})),t.forEach(((e,n)=>{t[n]=f[e]||e}))}(t,n),{_theme:t,_colorMap:n}}function n(e,n="text",r,o={includeExplanation:!0}){if(function(e){return!e||["plaintext","txt","text"].includes(e)}(n))return[...e.split(/\r\n|\r|\n/).map((e=>[{content:e}]))];const{_grammar:i}=function(e){const t=u.getGrammar(e);if(!t)throw Error(`No language registration for ${e}`);return{_grammar:t}}(n),{_theme:a,_colorMap:s}=t(r);return function(e,t,n,r,o){let i=n.split(/\r\n|\r|\n/),a=IK.INITIAL,s=[],l=[];for(let c=0,u=i.length;cMath.max(0,Math.min(e,255)).toString(16).padStart(2,"0"))).join("")}`}let r;return{value:function(e){switch(e.type){case"named":return t(e.name);case"rgb":return n(e.rgb);case"table":return o=e.index,function(){if(r)return r;r=[];for(let n=0;n[t,e.colors[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]])))),o=function(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const a=ny(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const r=oy(a.sequence);for(const o of r)"resetAll"===o.type?(e=null,t=null,n.clear()):"resetForegroundColor"===o.type?e=null:"resetBackgroundColor"===o.type?t=null:"resetDecoration"===o.type&&n.delete(o.value);for(const o of r)"setForegroundColor"===o.type?e=o.value:"setBackgroundColor"===o.type?t=o.value:"setDecoration"===o.type&&n.add(o.value)}i=a.position}while(io.parse(t).map((t=>{let n;n=t.decorations.has("reverse")?t.background?r.value(t.background):e.bg:t.foreground?r.value(t.foreground):e.fg,t.decorations.has("dim")&&(n=function(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){const e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map((e=>`${e}${e}`)).join("")}80`}const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(n));let o=AK.None;return t.decorations.has("bold")&&(o|=AK.Bold),t.decorations.has("italic")&&(o|=AK.Italic),t.decorations.has("underline")&&(o|=AK.Underline),{content:t.value,color:n,fontStyle:o}}))))}(r,e)}var o,i;const{_languages:a,_themes:s,_wasmPath:l}=function(e){var t;let n=Hne,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":Vne;return e.langs&&(n=e.langs.map(ay)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new Yne(async function(e){if(!qne){let t;t=PK.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(qb(Ub(...Hb(e),"onig.wasm")))}),qne=t.then((()=>({createOnigScanner:e=>PK.createOnigScanner(e),createOnigString:e=>PK.createOnigString(e)})))}return qne}(l),"vscode-oniguruma"),u=new Zne(c);(null==(o=e.paths)?void 0:o.themes)&&(u.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(null==(i=e.paths)?void 0:i.languages)&&(c.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const d=(await u.loadThemes(s))[0];let p;await u.loadLanguages(a);let f=function(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;tt(e)._theme,loadTheme:async function(e){await u.loadTheme(e)},loadLanguage:async function(e){const t=ay(e);c.addLanguage(t),await u.loadLanguage(t)},getBackgroundColor:function(e){const{_theme:n}=t(e);return n.bg},getForegroundColor:function(e){const{_theme:n}=t(e);return n.fg},getLoadedThemes:function(){return u.getLoadedThemes()},getLoadedLanguages:function(){return u.getLoadedLanguages()},setColorReplacements:function(e){f=e}}}function ly(e){return null==e}var cy,uy,dy,py,fy,hy,gy,my,by,yy,vy,wy,xy,Sy,Ey,Cy,ky,Oy,Dy,$y,_y,Ny,jy,Py,Ty,Iy,Ay,Ry,Fy,My,Ly,By,zy,Hy,Uy,Wy,Gy,Vy,qy,Xy,Ky,Yy,Jy,Qy,Zy,ev,tv,nv,rv,ov,iv,av,sv,lv,cv,uv,dv,pv,fv,hv,gv,mv,bv,yv,vv,wv,xv,Sv,Ev,Cv,kv,Ov,Dv,$v,_v,Nv,jv,Pv,Tv,Iv,Av,Rv,Fv,Mv,Lv,Bv,zv,Hv,Uv,Wv,Gv,Vv,qv,Xv,Kv,Yv,Jv,Qv,Zv,ew,tw,nw,rw,ow,iw,aw,sw,lw,cw,uw,dw,pw,fw,hw,gw,mw,bw,yw,vw,ww,xw,Sw,Ew,Cw,kw,Ow,Dw,$w,_w,Nw,jw,Pw,Tw,Iw,Aw,Rw,Fw,Mw,Lw,Bw,zw,Hw,Uw,Ww,Gw,Vw,qw,Xw,Kw,Yw,Jw,Qw,Zw,ex,tx,nx,rx,ox,ix,ax,sx,lx,cx,ux,dx,px,fx,hx,gx,mx,bx,yx,vx,wx,xx,Sx,Ex,Cx,kx,Ox,Dx,$x,_x,Nx,jx,Px,Tx,Ix,Ax,Rx,Fx,Mx,Lx,Bx,zx,Hx,Ux,Wx,Gx,Vx,qx,Xx,Kx,Yx,Jx,Qx,Zx,eS,tS,nS,rS,oS,iS,aS,sS,lS,cS,uS,dS,pS,fS,hS,gS,mS,bS,yS,vS,wS,xS,SS,ES,CS,kS,OS,DS,$S,_S,NS,jS,PS,TS,IS,AS,RS,FS,MS,LS,BS,zS,HS,US,WS,GS,VS,qS,XS,KS,YS,JS,QS,ZS,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,dE,pE,fE,hE,gE,mE,bE,yE,vE,wE,xE,SE,EE,CE,kE,OE,DE,$E,_E,NE,jE,PE,TE,IE,AE,RE,FE,ME,LE,BE,zE,HE,UE,WE,GE,VE,qE,XE,KE,YE,JE,QE,ZE,eC,tC,nC,rC,oC,iC,aC,sC,lC,cC,uC,dC,pC,fC,hC,gC,mC,bC,yC,vC,wC,xC,SC,EC,CC,kC,OC,DC,$C,_C,NC,jC,PC,TC,IC,AC,RC,FC,MC,LC,BC,zC,HC,UC,WC,GC,VC,qC,XC,KC,YC,JC,QC,ZC,ek,tk,nk,rk,ok,ik,ak,sk,lk,ck,uk,dk,pk,fk,hk,gk,mk,bk,yk,vk,wk,xk,Sk,Ek,Ck,kk,Ok,Dk,$k,_k,Nk,jk,Pk,Tk,Ik,Ak,Rk,Fk,Mk,Lk,Bk,zk,Hk,Uk,Wk,Gk,Vk,qk,Xk,Kk,Yk,Jk,Qk,Zk,eO,tO,nO,rO,oO,iO,aO,sO,lO,cO,uO,dO,pO,fO,hO,gO,mO,bO,yO,vO,wO,xO,SO,EO,CO,kO,OO,DO,$O,_O,NO,jO,PO,TO,IO,AO,RO,FO,MO,LO,BO,zO,HO,UO,WO,GO,VO,qO,XO,KO,YO,JO,QO,ZO,eD,tD,nD,rD,oD,iD,aD,sD,lD,cD,uD,dD,pD,fD,hD,gD,mD,bD,yD,vD,wD,xD,SD,ED,CD,kD,OD,DD,$D,_D,ND,jD,PD,TD,ID,AD,RD,FD,MD,LD,BD,zD,HD,UD,WD,GD,VD,qD,XD,KD,YD,JD,QD,ZD,e$,t$,n$,r$,o$,i$,a$,s$,l$,c$,u$,d$,p$,f$,h$,g$,m$,b$,y$,v$,w$,x$,S$,E$,C$,k$,O$,D$,$$,_$,N$,j$,P$,T$,I$,A$,R$,F$,M$,L$,B$,z$,H$,U$,W$,G$,V$,q$,X$,K$,Y$,J$,Q$,Z$,e_,t_,n_,r_,o_,i_,a_,s_,l_,c_,u_,d_,p_,f_,h_,g_,m_,b_,y_,v_,w_,x_,S_,E_,C_,k_,O_,D_,$_,__,N_,j_,P_,T_,I_,A_,R_,F_,M_,L_,B_,z_,H_,U_,W_,G_,V_,q_,X_,K_,Y_,J_,Q_,Z_,eN,tN,nN,rN,oN,iN,aN,sN,lN,cN,uN,dN,pN,fN,hN,gN,mN,bN,yN,vN,wN,xN,SN,EN,CN,kN,ON,DN,$N,_N,NN,jN,PN,TN,IN,AN,RN,FN,MN,LN,BN,zN,HN,UN,WN,GN,VN,qN,XN,KN,YN,JN,QN,ZN,ej,tj,nj,rj,oj,ij,aj,sj,lj,cj,uj,dj,pj,fj,hj,gj,mj,bj,yj,vj,wj,xj,Sj,Ej,Cj,kj,Oj,Dj,$j,_j,Nj,jj,Pj,Tj,Ij,Aj,Rj,Fj,Mj,Lj,Bj,zj,Hj,Uj,Wj,Gj,Vj,qj,Xj,Kj,Yj,Jj,Qj,Zj,eP,tP,nP,rP,oP,iP,aP,sP,lP,cP,uP,dP,pP,fP,hP,gP,mP,bP,yP,vP,wP,xP,SP,EP,CP,kP,OP,DP,$P,_P,NP,jP,PP,TP,IP,AP,RP,FP,MP,LP,BP,zP,HP,UP,WP,GP,VP,qP,XP,KP,YP,JP,QP,ZP,eT,tT,nT,rT,oT,iT,aT,sT,lT,cT,uT,dT,pT,fT,hT,gT,mT,bT,yT,vT,wT,xT,ST,ET,CT,kT,OT,DT,$T,_T,NT,jT,PT,TT,IT,AT,RT,FT,MT,LT,BT,zT,HT,UT,WT,GT,VT,qT,XT,KT,YT,JT,QT,ZT,eI,tI,nI,rI,oI,iI,aI,sI,lI,cI,uI,dI,pI,fI,hI,gI,mI,bI,yI,vI,wI,xI,SI,EI,CI,kI,OI,DI,$I,_I,NI,jI,PI,TI,II,AI,RI,FI,MI,LI,BI,zI,HI,UI,WI,GI,VI,qI,XI,KI,YI,JI,QI,ZI,eA,tA,nA,rA,oA,iA,aA,sA,lA,cA,uA,dA,pA,fA,hA,gA,mA,bA,yA,vA,wA,xA,SA,EA,CA,kA,OA,DA,$A,_A,NA,jA,PA,TA,IA,AA,RA,FA,MA,LA,BA,zA,HA,UA,WA,GA,VA,qA,XA,KA,YA,JA,QA,ZA,eR,tR,nR,rR,oR,iR,aR,sR,lR,cR,uR,dR,pR,fR,hR,gR,mR,bR,yR,vR,wR,xR,SR,ER,CR,kR,OR,DR,$R,_R,NR,jR,PR,TR,IR,AR,RR,FR,MR,LR,BR,zR,HR,UR,WR,GR,VR,qR,XR,KR,YR,JR,QR,ZR,eF,tF,nF,rF,oF,iF,aF,sF,lF,cF,uF,dF,pF,fF,hF,gF,mF,bF,yF,vF,wF,xF,SF,EF,CF,kF,OF,DF,$F,_F,NF,jF,PF,TF,IF,AF,RF,FF,MF,LF,BF,zF,HF,UF,WF,GF,VF,qF,XF,KF,YF,JF,QF,ZF,eM,tM,nM,rM,oM,iM,aM,sM,lM,cM,uM,dM,pM,fM,hM,gM,mM,bM,yM,vM,wM,xM,SM,EM,CM,kM,OM,DM,$M,_M,NM,jM,PM,TM,IM,AM,RM,FM,MM,LM,BM,zM,HM,UM,WM,GM,VM,qM,XM,KM,YM,JM,QM,ZM,eL,tL,nL,rL,oL,iL,aL,sL,lL,cL,uL,dL,pL,fL,hL,gL,mL,bL,yL,vL,wL,xL,SL,EL,CL,kL,OL,DL,$L,_L,NL,jL,PL,TL,IL,AL,RL,FL,ML,LL,BL,zL,HL,UL,WL,GL,VL,qL,XL,KL,YL,JL,QL,ZL,eB,tB,nB,rB,oB,iB,aB,sB,lB,cB,uB,dB,pB,fB,hB,gB,mB,bB,yB,vB,wB,xB,SB,EB,CB,kB,OB,DB,$B,_B,NB,jB,PB,TB,IB,AB,RB,FB,MB,LB,BB,zB,HB,UB,WB,GB,VB,qB,XB,KB,YB,JB,QB,ZB,ez,tz,nz,rz,oz,iz,az,sz,lz,cz,uz,dz,pz,fz,hz,gz,mz,bz,yz,vz,wz,xz,Sz,Ez,Cz,kz,Oz,Dz,$z,_z,Nz,jz,Pz,Tz,Iz,Az,Rz,Fz,Mz,Lz,Bz,zz,Hz,Uz,Wz,Gz,Vz,qz,Xz,Kz,Yz,Jz,Qz,Zz,eH,tH,nH,rH,oH,iH,aH,sH,lH,cH,uH,dH,pH,fH,hH,gH,mH,bH,yH,vH,wH,xH,SH,EH,CH,kH,OH,DH,$H,_H,NH,jH,PH,TH,IH,AH,RH,FH,MH,LH,BH,zH,HH,UH,WH,GH,VH,qH,XH,KH,YH,JH,QH,ZH,eU,tU,nU,rU,oU,iU,aU,sU,lU,cU,uU,dU,pU,fU,hU,gU,mU,bU,yU,vU,wU,xU,SU,EU,CU,kU,OU,DU,$U,_U,NU,jU,PU,TU,IU,AU,RU,FU,MU,LU,BU,zU,HU,UU,WU,GU,VU,qU,XU,KU,YU,JU,QU,ZU,eW,tW,nW,rW,oW,iW,aW,sW,lW,cW,uW,dW,pW,fW,hW,gW,mW,bW,yW,vW,wW,xW,SW,EW,CW,kW,OW,DW,$W,_W,NW,jW,PW,TW,IW,AW,RW,FW,MW,LW,BW,zW,HW,UW,WW,GW,VW,qW,XW,KW,YW,JW,QW,ZW,eG,tG,nG,rG,oG,iG,aG,sG,lG,cG,uG,dG,pG,fG,hG,gG,mG,bG,yG,vG,wG,xG,SG,EG,CG,kG,OG,DG,$G,_G,NG,jG,PG,TG,IG,AG,RG,FG,MG,LG,BG,zG,HG,UG,WG,GG,VG,qG,XG,KG,YG,JG,QG,ZG,eV,tV,nV,rV,oV,iV,aV,sV,lV,cV,uV,dV,pV,fV,hV,gV,mV,bV,yV,vV,wV,xV,SV,EV,CV,kV,OV,DV,$V,_V,NV,jV,PV,TV,IV,AV,RV,FV,MV,LV,BV,zV,HV,UV,WV,GV,VV,qV,XV,KV,YV,JV,QV,ZV,eq,tq,nq,rq,oq,iq,aq,sq,lq,cq,uq,dq,pq,fq,hq,gq,mq,bq,yq,vq,wq,xq,Sq,Eq,Cq,kq,Oq,Dq,$q,_q,Nq,jq,Pq,Tq,Iq,Aq,Rq,Fq,Mq,Lq,Bq,zq,Hq,Uq,Wq,Gq,Vq,qq,Xq,Kq,Yq,Jq,Qq,Zq,eX,tX,nX,rX,oX,iX,aX,sX,lX,cX,uX,dX,pX,fX,hX,gX,mX,bX,yX,vX,wX,xX,SX,EX,CX,kX,OX,DX,$X,_X,NX,jX,PX,TX,IX,AX,RX,FX,MX,LX,BX,zX,HX,UX,WX,GX,VX,qX,XX,KX,YX,JX,QX,ZX,eK,tK,nK,rK,oK,iK,aK,sK,lK,cK,uK,dK,pK,fK,hK,gK,mK,bK,yK,vK,wK,xK,SK,EK,CK,kK,OK,DK,$K,_K,NK,jK,PK,TK,IK,AK,RK,FK,MK,LK,BK,zK,HK,UK,WK,GK,VK,qK,XK,KK,YK,JK,QK,ZK,eY,tY,nY,rY,oY,iY,aY,sY,lY,cY,uY,dY,pY,fY,hY,gY,mY,bY,yY,vY,wY,xY,SY,EY,CY,kY,OY,DY,$Y,_Y,NY,jY,PY,TY,IY,AY,RY,FY="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},MY={exports:{}},LY={},BY={exports:{}},zY={},HY=Symbol.for("react.element"),UY=Symbol.for("react.portal"),WY=Symbol.for("react.fragment"),GY=Symbol.for("react.strict_mode"),VY=Symbol.for("react.profiler"),qY=Symbol.for("react.provider"),XY=Symbol.for("react.context"),KY=Symbol.for("react.forward_ref"),YY=Symbol.for("react.suspense"),JY=Symbol.for("react.memo"),QY=Symbol.for("react.lazy"),ZY=Symbol.iterator,eJ={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tJ=Object.assign,nJ={};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype,(cy=i.prototype=new o).constructor=i,tJ(cy,r.prototype),cy.isPureReactComponent=!0,uy=Array.isArray,dy=Object.prototype.hasOwnProperty,fy={key:!0,ref:!0,__self:!0,__source:!0},hy=/\/+/g,by={ReactCurrentDispatcher:gy={current:null},ReactCurrentBatchConfig:my={transition:null},ReactCurrentOwner:py={current:null}},zY.Children={map:u,forEach:function(e,t,n){u(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return u(e,(function(){t++})),t},toArray:function(e){return u(e,(function(e){return e}))||[]},only:function(e){if(!s(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},zY.Component=r,zY.Fragment=WY,zY.Profiler=VY,zY.PureComponent=i,zY.StrictMode=GY,zY.Suspense=YY,zY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=by,zY.cloneElement=function(e,t,n){var r,o,i,a,s,l,c;if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");if(r=tJ({},e.props),o=e.key,i=e.ref,a=e._owner,null!=t)for(l in void 0!==t.ref&&(i=t.ref,a=py.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)dy.call(t,l)&&!fy.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l]);if(1==(l=arguments.length-2))r.children=n;else if(1>>1],t);)e[n]=t,e[i]=r,i=n}function n(e){return 0===e.length?null:e[0]}function r(e){var t,n,r,i,a,s,l,c,u;if(0===e.length)return null;if(t=e[0],(n=e.pop())!==t){e[0]=n;e:for(r=0,i=e.length,a=i>>>1;ro(l=e[s],n))co(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(co(u,n)))break e;e[r]=u,e[c]=n,r=c}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var o=n(m);null!==o;){if(null===o.callback)r(m);else{if(!(o.startTime<=e))break;r(m),o.sortIndex=o.expirationTime,t(g,o)}o=n(m)}}function a(e){if(S=!1,i(e),!x)if(null!==n(g))x=!0,u(s);else{var t=n(m);null!==t&&d(a,t.startTime-e)}}function s(t,o){var s,c,u,p,f;x=!1,S&&(S=!1,C($),$=-1),w=!0,s=v;try{for(i(o),y=n(g);null!==y&&(!(y.expirationTime>o)||t&&!l());)"function"==typeof(c=y.callback)?(y.callback=null,v=y.priorityLevel,u=c(y.expirationTime<=o),o=e.unstable_now(),"function"==typeof u?y.callback=u:y===n(g)&&r(g),i(o)):r(g),y=n(g);return null!==y?p=!0:(null!==(f=n(m))&&d(a,f.startTime-o),p=!1),p}finally{y=null,v=s,w=!1}}function l(){return!(e.unstable_now()-N<_)}function c(){var t,n;if(null!==D){t=e.unstable_now(),N=t,n=!0;try{n=D(!0,t)}finally{n?j():(O=!1,D=null)}}else O=!1}function u(e){D=e,O||(O=!0,j())}function d(t,n){$=E((function(){t(e.unstable_now())}),n)}var p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T;"object"==typeof performance&&"function"==typeof performance.now?(p=performance,e.unstable_now=function(){return p.now()}):(f=Date,h=f.now(),e.unstable_now=function(){return f.now()-h}),g=[],m=[],b=1,y=null,v=3,w=!1,x=!1,S=!1,E="function"==typeof setTimeout?setTimeout:null,C="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null,"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling),O=!1,D=null,$=-1,_=5,N=-1,"function"==typeof k?j=function(){k(c)}:"undefined"!=typeof MessageChannel?(P=new MessageChannel,T=P.port2,P.port1.onmessage=c,j=function(){T.postMessage(null)}):j=function(){E(c,0)},e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){x||w||(x=!0,u(s))},e.unstable_forceFrameRate=function(e){0>e||125c?(r.sortIndex=i,t(m,r),null===n(g)&&r===n(m)&&(S?(C($),$=-1):S=!0,d(a,i-c))):(r.sortIndex=l,t(g,r),x||w||(x=!0,u(s))),r},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=v;return function(){var n=v;v=t;try{return e.apply(this,arguments)}finally{v=n}}}}(_y={}),$y.exports=_y,Ny=yy,jy=$y.exports,Py=new Set,Ty={},Iy=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ay=Object.prototype.hasOwnProperty,Ry=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Fy={},My={},Ly={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Ly[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Ly[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Ly[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Ly[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Ly[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Ly[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Ly[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Ly[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Ly[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)})),By=/[\-:]([a-z])/g,"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(By,b);Ly[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(By,b);Ly[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(By,b);Ly[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Ly[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),Ly.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Ly[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)})),zy=Ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Hy=Symbol.for("react.element"),Uy=Symbol.for("react.portal"),Wy=Symbol.for("react.fragment"),Gy=Symbol.for("react.strict_mode"),Vy=Symbol.for("react.profiler"),qy=Symbol.for("react.provider"),Xy=Symbol.for("react.context"),Ky=Symbol.for("react.forward_ref"),Yy=Symbol.for("react.suspense"),Jy=Symbol.for("react.suspense_list"),Qy=Symbol.for("react.memo"),Zy=Symbol.for("react.lazy"),ev=Symbol.for("react.offscreen"),tv=Symbol.iterator,nv=Object.assign,ov=!1,iv=Array.isArray,WK=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((av=av||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=av.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},sv="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return WK(e,t)}))}:WK,lv={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cv=["Webkit","ms","Moz","O"],Object.keys(lv).forEach((function(e){cv.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lv[t]=lv[e]}))})),uv=nv({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),dv=null,pv=null,fv=null,hv=null,gv=!1,mv=!1,Iy)try{bv={},Object.defineProperty(bv,"passive",{get:function(){mv=!0}}),window.addEventListener("test",bv,bv),window.removeEventListener("test",bv,bv)}catch(WK){mv=!1}yv=!1,vv=null,wv=!1,xv=null,Sv={onError:function(e){yv=!0,vv=e}},Ev=jy.unstable_scheduleCallback,Cv=jy.unstable_cancelCallback,kv=jy.unstable_shouldYield,Ov=jy.unstable_requestPaint,Dv=jy.unstable_now,$v=jy.unstable_getCurrentPriorityLevel,_v=jy.unstable_ImmediatePriority,Nv=jy.unstable_UserBlockingPriority,jv=jy.unstable_NormalPriority,Pv=jy.unstable_LowPriority,Tv=jy.unstable_IdlePriority,Iv=null,Av=null,Rv=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Fv(e)/Mv|0)|0},Fv=Math.log,Mv=Math.LN2,Lv=64,Bv=4194304,zv=0,qv=!1,Xv=[],Kv=null,Yv=null,Jv=null,Qv=new Map,Zv=new Map,ew=[],tw="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),nw=zy.ReactCurrentBatchConfig,rw=!0,ow=null,iw=null,aw=null,sw=null,lw={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cw=Ae(lw),uw=nv({},lw,{view:0,detail:0}),dw=Ae(uw),gw=nv({},uw,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fe,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==hw&&(hw&&"mousemove"===e.type?(pw=e.screenX-hw.screenX,fw=e.screenY-hw.screenY):fw=pw=0,hw=e),pw)},movementY:function(e){return"movementY"in e?e.movementY:fw}}),mw=Ae(gw),bw=nv({},gw,{dataTransfer:0}),yw=Ae(bw),vw=nv({},uw,{relatedTarget:0}),ww=Ae(vw),xw=nv({},lw,{animationName:0,elapsedTime:0,pseudoElement:0}),Sw=Ae(xw),Ew=nv({},lw,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cw=Ae(Ew),kw=nv({},lw,{data:0}),Ow=Ae(kw),Dw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$w={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_w={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Nw=nv({},uw,{key:function(e){if(e.key){var t=Dw[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Pe(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?$w[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fe,charCode:function(e){return"keypress"===e.type?Pe(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Pe(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),jw=Ae(Nw),Pw=nv({},gw,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tw=Ae(Pw),Iw=nv({},uw,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fe}),Aw=Ae(Iw),Rw=nv({},lw,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fw=Ae(Rw),Mw=nv({},gw,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lw=Ae(Mw),Bw=[9,13,27,32],zw=Iy&&"CompositionEvent"in window,Hw=null,Iy&&"documentMode"in document&&(Hw=document.documentMode),Uw=Iy&&"TextEvent"in window&&!Hw,Ww=Iy&&(!zw||Hw&&8=Hw),Gw=String.fromCharCode(32),Vw=!1,qw=!1,Xw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Kw=null,Yw=null,Jw=!1,Iy&&(Iy?((Zw="oninput"in document)||((ex=document.createElement("div")).setAttribute("oninput","return;"),Zw="function"==typeof ex.oninput),Qw=Zw):Qw=!1,Jw=Qw&&(!document.documentMode||9=document.documentMode,rx=null,ox=null,ix=null,ax=!1,sx={animationend:it("Animation","AnimationEnd"),animationiteration:it("Animation","AnimationIteration"),animationstart:it("Animation","AnimationStart"),transitionend:it("Transition","TransitionEnd")},lx={},cx={},Iy&&(cx=document.createElement("div").style,"AnimationEvent"in window||(delete sx.animationend.animation,delete sx.animationiteration.animation,delete sx.animationstart.animation),"TransitionEvent"in window||delete sx.transitionend.transition),ux=at("animationend"),dx=at("animationiteration"),px=at("animationstart"),fx=at("transitionend"),hx=new Map,gx="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");for(mx=0;mx=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},pC=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},fC=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},hC=function(e){var t,n=vC(e,YE.TITLE),r=vC(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=vC(e,"defaultTitle"),n||t||void 0)},gC=function(e){return vC(e,"onChangeClientState")||function(){}},mC=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return cC({},e,t)}),{})},bC=function(e,t){return t.filter((function(e){return void 0!==e[YE.BASE]})).map((function(e){return e[YE.BASE]})).reverse().reduce((function(t,n){var r,o,i;if(!t.length)for(r=Object.keys(n),o=0;o=0;n--)if((r=e[n]).hasOwnProperty(t))return r[t];return null},wC=function(e){return{baseTag:bC([QE,"target"],e),bodyAttributes:mC(XE,e),defer:vC(e,"defer"),encode:vC(e,"encodeSpecialCharacters"),htmlAttributes:mC(KE,e),linkTags:yC(YE.LINK,[tC,QE],e),metaTags:yC(YE.META,["name","charset","http-equiv","property",eC],e),noscriptTags:yC(YE.NOSCRIPT,[ZE],e),onChangeClientState:gC(e),scriptTags:yC(YE.SCRIPT,["src",ZE],e),styleTags:yC(YE.STYLE,[JE],e),title:hC(e),titleAttributes:mC("titleAttributes",e)}},VK=Date.now(),xC=function(e){var t=Date.now();t-VK>16?(VK=t,e(t)):setTimeout((function(){xC(e)}),0)},SC=function(e){return clearTimeout(e)},EC="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||xC:global.requestAnimationFrame||xC,CC="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||SC:global.cancelAnimationFrame||SC,kC=function(){return console&&"function"==typeof console.warn&&void 0},OC=null,DC=function(e){OC&&CC(OC),e.defer?OC=EC((function(){$C(e,(function(){OC=null}))})):($C(e),OC=null)},$C=function(e,t){var n,r,o,i=e.baseTag,a=e.htmlAttributes,s=e.linkTags,l=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,d=e.scriptTags,p=e.styleTags,f=e.title,h=e.titleAttributes;jC(YE.BODY,e.bodyAttributes),jC(YE.HTML,a),NC(f,h),n={baseTag:PC(YE.BASE,i),linkTags:PC(YE.LINK,s),metaTags:PC(YE.META,l),noscriptTags:PC(YE.NOSCRIPT,c),scriptTags:PC(YE.SCRIPT,d),styleTags:PC(YE.STYLE,p)},r={},o={},Object.keys(n).forEach((function(e){var t=n[e],i=t.newTags,a=t.oldTags;i.length&&(r[e]=i),a.length&&(o[e]=n[e].oldTags)})),t&&t(),u(e,r,o)},_C=function(e){return Array.isArray(e)?e.join(""):e},NC=function(e,t){void 0!==e&&document.title!==e&&(document.title=_C(e)),jC(YE.TITLE,t)},jC=function(e,t){var n,r,o,i,a,s,l,c,u,d=document.getElementsByTagName(e)[0];if(d){for(r=(n=d.getAttribute(iC))?n.split(","):[],o=[].concat(r),i=Object.keys(t),a=0;a=0;u--)d.removeAttribute(o[u]);r.length===o.length?d.removeAttribute(iC):d.getAttribute(iC)!==i.join(",")&&d.setAttribute(iC,i.join(","))}},PC=function(e,t){var n=document.head||document.querySelector(YE.HEAD),r=n.querySelectorAll(e+"["+iC+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n,r=document.createElement(e);for(n in t)t.hasOwnProperty(n)&&(n===ZE?r.innerHTML=t.innerHTML:n===JE?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(iC,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},TC=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},IC=function(e,t,n,r){var o=TC(n),i=_C(t);return o?"<"+e+" "+iC+'="true" '+o+">"+fC(i,r)+"":"<"+e+" "+iC+'="true">'+fC(i,r)+""},AC=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===ZE||e===JE)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+fC(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===oC.indexOf(e);return t+"<"+e+" "+iC+'="true" '+o+(a?"/>":">"+i+"")}),"")},RC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[nC[n]||n]=e[n],t}),n)},FC=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[rC[n]||n]=e[n],t}),n)},MC=function(e,t,n){var r,o=((r={key:t})[iC]=!0,r),i=RC(n,o);return[rJ.createElement(YE.TITLE,i,t)]},LC=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[iC]=!0,r);return Object.keys(t).forEach((function(e){var n=nC[e]||e;n===ZE||n===JE?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),rJ.createElement(e,o)}))},BC=function(e,t,n){switch(e){case YE.TITLE:return{toComponent:function(){return MC(0,t.title,t.titleAttributes)},toString:function(){return IC(e,t.title,t.titleAttributes,n)}};case XE:case KE:return{toComponent:function(){return RC(t)},toString:function(){return TC(t)}};default:return{toComponent:function(){return LC(e,t)},toString:function(){return AC(e,t,n)}}}},HC=function(e){var t,n;return n=t=function(t){function n(){return sC(this,n),pC(this,t.apply(this,arguments))}return uC(n,t),n.prototype.shouldComponentUpdate=function(e){return!cJ(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case YE.SCRIPT:case YE.NOSCRIPT:return{innerHTML:t};case YE.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return cC({},r,((t={})[n.type]=[].concat(r[n.type]||[],[cC({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case YE.TITLE:return cC({},o,((t={})[r.type]=a,t.titleAttributes=cC({},i),t));case YE.BODY:return cC({},o,{bodyAttributes:cC({},i)});case YE.HTML:return cC({},o,{htmlAttributes:cC({},i)})}return cC({},o,((n={})[r.type]=cC({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=cC({},t);return Object.keys(e).forEach((function(t){var r;n=cC({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return rJ.Children.forEach(e,(function(e){var o,i,a,s;if(e&&e.props)switch(i=(o=e.props).children,a=dC(o,["children"]),s=FC(a),n.warnOnInvalidChildren(e,i),e.type){case YE.LINK:case YE.META:case YE.NOSCRIPT:case YE.SCRIPT:case YE.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=dC(t,["children"]),o=cC({},r);return n&&(o=this.mapChildrenToProps(n,o)),rJ.createElement(e,o)},lC(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(rJ.Component),t.propTypes={base:sJ.object,bodyAttributes:sJ.object,children:sJ.oneOfType([sJ.arrayOf(sJ.node),sJ.node]),defaultTitle:sJ.string,defer:sJ.bool,encodeSpecialCharacters:sJ.bool,htmlAttributes:sJ.object,link:sJ.arrayOf(sJ.object),meta:sJ.arrayOf(sJ.object),noscript:sJ.arrayOf(sJ.object),onChangeClientState:sJ.func,script:sJ.arrayOf(sJ.object),style:sJ.arrayOf(sJ.object),title:sJ.string,titleAttributes:sJ.object,titleTemplate:sJ.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=zC({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},UC=function(){return null},WC=lJ(wC,DC,zC=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.scriptTags,l=e.styleTags,c=e.title,u=void 0===c?"":c,d=e.titleAttributes;return{base:BC(YE.BASE,e.baseTag,n),bodyAttributes:BC(XE,t,n),htmlAttributes:BC(KE,r,n),link:BC(YE.LINK,o,n),meta:BC(YE.META,i,n),noscript:BC(YE.NOSCRIPT,a,n),script:BC(YE.SCRIPT,s,n),style:BC(YE.STYLE,l,n),title:BC(YE.TITLE,{title:u,titleAttributes:d},n)}})(UC),(GC=HC(WC)).renderStatic=GC.rewind,VC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const dJ=(e,t)=>{const n=yy.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...s},l)=>{return yy.createElement("svg",{ref:l,...VC,width:r,height:r,stroke:n,strokeWidth:i?24*Number(o)/Number(r):o,className:`lucide lucide-${c=e,c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...s},[...t.map((([e,t])=>yy.createElement(e,t))),...(Array.isArray(a)?a:[a])||[]]);var c}));return n.displayName=`${e}`,n},pJ=dJ("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]),fJ=dJ("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),hJ=dJ("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),gJ=dJ("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),mJ=dJ("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),bJ=dJ("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),yJ=dJ("FileClock",[["path",{d:"M16 22h2c.5 0 1-.2 1.4-.6.4-.4.6-.9.6-1.4V7.5L14.5 2H6c-.5 0-1 .2-1.4.6C4.2 3 4 3.5 4 4v3",key:"9lo3o3"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]]),vJ=dJ("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V9",key:"c89w8i"}],["path",{d:"M12 12v3",key:"158kv8"}]]),wJ=dJ("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),xJ=dJ("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]),SJ=dJ("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),EJ=dJ("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),CJ=dJ("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),kJ=dJ("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),OJ=dJ("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",key:"1xcu5"}],["circle",{cx:"17.5",cy:"10.5",r:".5",key:"736e4u"}],["circle",{cx:"8.5",cy:"7.5",r:".5",key:"clrty"}],["circle",{cx:"6.5",cy:"12.5",r:".5",key:"1s4xz9"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]),DJ=dJ("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]),$J=dJ("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"9",x2:"9",y1:"3",y2:"21",key:"13tij5"}]]),_J=dJ("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"15",x2:"15",y1:"3",y2:"21",key:"1hpv9i"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]),NJ=dJ("PinOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17h12",key:"13x2n8"}],["path",{d:"M15 9.34V6h1a2 2 0 0 0 0-4H7.89",key:"reo3ki"}]]),jJ=dJ("Pin",[["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z",key:"13yl11"}]]),PJ=dJ("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),TJ=dJ("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),IJ=dJ("TextCursorInput",[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]]),AJ=dJ("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),RJ=dJ("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),FJ=dJ("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);qC=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){var t,n;if(this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this)),t=this.tags[this.tags.length-1],this.isSpeedy){n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case ZC:e.return=la(e.value,e.length);break;case tk:return ia([Bi(e,{value:Pi(e.value,"@","@"+YC)})],r);case QC:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ia([Bi(e,{props:[Pi(t,/:(read-\w+)/,":"+KC+"$1")]})],r);case"::placeholder":return ia([Bi(e,{props:[Pi(t,/:(plac\w+)/,":"+YC+"input-$1")]}),Bi(e,{props:[Pi(t,/:(plac\w+)/,":"+KC+"$1")]}),Bi(e,{props:[Pi(t,/:(plac\w+)/,XC+"input-$1")]})],r)}return""}))}}],wk=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,g=e.key;return"css"===g&&(t=document.querySelectorAll("style[data-emotion]:not([data-s])"),Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))),n=e.stylisPlugins||vk,r={},i=[],o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+g+' "]'),(function(e){var t,n=e.getAttribute("data-emotion").split(" ");for(t=1;t=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s,{name:c,styles:o,next:_k}},jk=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},Pk=function(e,t,n){var r,o;if(jk(e,t,n),r=e.key+"-"+t.name,void 0===e.inserted[t.name]){o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Tk=function(e){var t,n,r,o,i=wk(e);return i.sheet.speedy=function(e){this.isSpeedy=e},i.compat=!0,t=function(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1&&void 0!==t&&t,i={map:this.cache};return e.forEach((function(e){var t,n;i=i?null===(t=i)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):void 0})),null!==(n=i)&&void 0!==n&&n.value&&o&&(i.value[1]=this.cacheCallTimes++),null===(r=i)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r,o,i,a=this;this.has(t)||(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET&&(r=this.keys.reduce((function(e,t){var n=Ua(e,2)[1];return a.internalGet(t)[1]1&&void 0!==n?n:{},h=arguments.length>2&&void 0!==r?r:{root:!0,parentSelectors:[]},g=h.root,m=h.injectHash,b=h.parentSelectors,y=f.hashId,v=f.layer;return i=f.hashPriority,s=void 0===(a=f.transformers)?[]:a,l="",c={},u=function e(t,n){var r=arguments.length>1&&void 0!==n?n:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]),u.forEach((function(t){var n,r="string"!=typeof t||g?t:{};"string"==typeof r?l+="".concat(r,"\n"):r._keyframe?o(r):(n=s.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r),Object.keys(n).forEach((function(t){var r,a,s,u,d,p,h,v,w=n[t];if("object"!==Ei(w)||!w||"animationName"===t&&w._keyframe||function(e){return"object"===Ei(e)&&e&&("_skip_check_"in e||jD in e)}(w)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;sD[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(o(t),r=t.getName(y)),l+="".concat(n,":").concat(r,";")};v=null!==(h=null==w?void 0:w.value)&&void 0!==h?h:w,"object"===Ei(w)&&null!=w&&w[jD]&&Array.isArray(v)?v.forEach((function(n){e(t,n)})):e(t,v)}else r=!1,a=t.trim(),s=!1,(g||m)&&y?a.startsWith("@")?r=!0:a=function(e,t,n){var r,o;return t?(r=".".concat(t),o="low"===n?":where(".concat(r,")"):r,e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(xa(n.slice(1))).join(" ")})).join(",")):e}(t,y,i):!g||y||"&"!==a&&""!==a||(a="",s=!0),d=(u=Ua(e(w,f,{root:s,injectHash:r,parentSelectors:[].concat(xa(b),[a])}),2))[0],p=u[1],c=Ea(Ea({},c),p),l+="".concat(a).concat(d)})))})),g?v&&function(){var e,t,n,r,o,i;return void 0===YO&&(e="@layer ".concat(XO," { .").concat(XO,' { content: "').concat(KO,'"!important; } }'),t=function(e){e.className=XO},YO=!!Pa()&&(Ba(e,XO),(o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.top="0",null==t||t(o),document.body.appendChild(o),i=null===(n=getComputedStyle(o).content)||void 0===n?void 0:n.includes(KO),null===(r=o.parentNode)||void 0===r||r.removeChild(o),La(XO),i)),YO}()&&(p=(d=v.split(","))[d.length-1].trim(),l="@layer ".concat(p," {").concat(l,"}"),d.length>1&&(l="@layer ".concat(v,"{%%%:%}").concat(l))):l="{".concat(l,"}"),[l,c]},TD=function(){function e(t,n){$i(this,e),ki(this,"name",void 0),ki(this,"style",void 0),ki(this,"_keyframe",!0),this.name=t,this.style=n}return Ni(e,[{key:"getName",value:function(e){var t=arguments.length>0&&void 0!==e?e:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),e}(),_s(["borderTop","borderBottom"]),_s(["borderTop"]),_s(["borderBottom"]),_s(["borderLeft","borderRight"]),_s(["borderLeft"]),_s(["borderRight"]),ID=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],AD=function(e){return yy.memo((function(t){var n,r=t.children,o=t.prefix,i=t.speedy,a=t.getStyleManager,s=t.container,l=t.nonce,c=t.insertionPoint,u=t.stylisPlugins,d=t.linters,p=Oi(t,ID),f=yy.useContext(e),h=null!=o?o:f.sheet.key,g=null!=s?s:f.sheet.container,m=null!=i?i:f.sheet.isSpeedy,b=yy.useMemo((function(){var e,t=Tk({speedy:null!=m&&m,key:h,container:g,nonce:l,insertionPoint:c,stylisPlugins:u}),n=null===(e=global)||void 0===e?void 0:e.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__;return n&&(t.cache=n.add(t.cache)),t}),[h,m,g,l,c,u]);return yy.useEffect((function(){null==a||a(b)}),[b]),n=ky.jsx(e.Provider,{value:b,children:r}),Boolean(Object.keys(p).length)||g?ky.jsx(MO,js(js({linters:d,container:g},p),{},{children:n})):n}))},RD=function(e){var t=e.token;return{buttonDefaultHover:(0,e.css)({backgroundColor:t.colorBgContainer,border:"1px solid ".concat(t.colorBorder),cursor:"pointer",":hover":{color:t.colorPrimaryHover,borderColor:t.colorPrimaryHover},":active":{color:t.colorPrimaryActive,borderColor:t.colorPrimaryActive}})}},FD=function(e){return Object.fromEntries(Object.entries(e).map((function(e){var t=Ua(e,2);return[t[0],t[1].styles]})))},qK=MD={exports:{}},function(){function e(){var n,r,o,i,a,s=[];for(n=0;n0},e.prototype.connect_=function(){c$&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),f$?(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(){c$&&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;p$.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}(),g$=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),S$="undefined"!=typeof WeakMap?new WeakMap:new l$,E$=function e(t){var n,r;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.");n=h$.getInstance(),r=new x$(t,n,this),S$.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){E$.prototype[e]=function(){var t;return(t=S$.get(this))[e].apply(t,arguments)}})),C$=void 0!==u$.ResizeObserver?u$.ResizeObserver:E$,k$=new Map,O$=new C$((function(e){e.forEach((function(e){var t,n=e.target;null===(t=k$.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),D$=function(){function e(){return $i(this,e),t.apply(this,arguments)}Ts(e,yy.Component);var t=Fs(e);return Ni(e,[{key:"render",value:function(){return this.props.children}}]),e}(),$$=yy.createContext(null),_$=yy.forwardRef(Ys),N$="rc-observer-key",(j$=yy.forwardRef(Js)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=yy.useRef(0),o=yy.useRef([]),i=yy.useContext($$),a=yy.useCallback((function(e,t,a){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==i||i(e,t,a)}),[n,i]);return yy.createElement($$.Provider,{value:a},t)},P$=function(e){return+setTimeout(e,16)},T$=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(P$=function(e){return window.requestAnimationFrame(e)},T$=function(e){return window.cancelAnimationFrame(e)}),I$=0,A$=new Map,(R$=function(e,t){var n;return n=I$+=1,function t(r){if(0===r)Zs(n),e();else{var o=P$((function(){t(r-1)}));A$.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n}).cancel=function(e){var t=A$.get(e);return Zs(t),T$(t)};const HJ=yy.createContext({});F$="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const UJ=yy.createContext(void 0),WJ={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},GJ={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},WJ)},VJ="${label} is not a valid ${type}",qJ={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:GJ,TimePicker:WJ,Calendar:GJ,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:VJ,method:VJ,array:VJ,object:VJ,number:VJ,date:VJ,boolean:VJ,integer:VJ,float:VJ,regexp:VJ,email:VJ,url:VJ,hex:VJ},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};let XJ=Object.assign({},qJ.Modal),KJ=[];const YJ=()=>KJ.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),qJ.Modal),JJ=yy.createContext(void 0),QJ=(e,t)=>{const n=yy.useContext(JJ);return[yy.useMemo((()=>{var r;const o=t||qJ[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[e,t,n]),yy.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?qJ.locale:e}),[n])]},ZJ=e=>{const{locale:t={},children:n}=e;yy.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return KJ.push(t),XJ=YJ(),()=>{KJ=KJ.filter((e=>e!==t)),XJ=YJ()}}XJ=Object.assign({},qJ.Modal)}(t&&t.Modal);return e}),[t]);const r=yy.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return yy.createElement(JJ.Provider,{value:r},n)},eQ=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],tQ="5.9.0";M$={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},L$="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),B$="[\\s|\\(]+(".concat(L$,")[,|\\s]+(").concat(L$,")[,|\\s]+(").concat(L$,")\\s*\\)?"),z$="[\\s|\\(]+(".concat(L$,")[,|\\s]+(").concat(L$,")[,|\\s]+(").concat(L$,")[,|\\s]+(").concat(L$,")\\s*\\)?"),H$={CSS_UNIT:new RegExp(L$),rgb:new RegExp("rgb"+B$),rgba:new RegExp("rgba"+z$),hsl:new RegExp("hsl"+B$),hsla:new RegExp("hsla"+z$),hsv:new RegExp("hsv"+B$),hsva:new RegExp("hsva"+z$),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/},U$=function(){function e(t,n){var r,o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t,o=yl(t),this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=cl(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=hl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=hl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=pl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=pl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),gl(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var i,a=[dl(Math.round(e).toString(16)),dl(Math.round(t).toString(16)),dl(Math.round(n).toString(16)),dl((i=r,Math.round(255*parseFloat(i)).toString(16)))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*sl(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*sl(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){var e,t,n,r;if(0===this.a)return"transparent";if(this.a<1)return!1;for(e="#"+gl(this.r,this.g,this.b,!1),t=0,n=Object.entries(M$);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=ll(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=ll(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=ll(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=ll(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){var r,o,i;return void 0===n&&(n=50),r=this.toRgb(),o=new e(t).toRgb(),new e({r:(o.r-r.r)*(i=n/100)+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){var r,o,i;for(void 0===t&&(t=6),void 0===n&&(n=30),i=[this],(r=this.toHsl()).h=(r.h-((o=360/n)*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){var n,r,o,i,a,s;for(void 0===t&&(t=6),r=(n=this.toHsv()).h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){var n,r=this.toHsl(),o=r.h,i=[this],a=360/t;for(n=1;n{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},rQ={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},oQ=Object.assign(Object.assign({},rQ),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),iQ=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},aQ=(e,t)=>new U$(e).setAlpha(t).toRgbString(),sQ=(e,t)=>new U$(e).darken(t).toHexString(),lQ=e=>{const t=kl(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},cQ=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:aQ(r,.88),colorTextSecondary:aQ(r,.65),colorTextTertiary:aQ(r,.45),colorTextQuaternary:aQ(r,.25),colorFill:aQ(r,.15),colorFillSecondary:aQ(r,.06),colorFillTertiary:aQ(r,.04),colorFillQuaternary:aQ(r,.02),colorBgLayout:sQ(n,4),colorBgContainer:sQ(n,0),colorBgElevated:sQ(n,0),colorBgSpotlight:aQ(r,.85),colorBorder:sQ(n,15),colorBorderSecondary:sQ(n,6)}},uQ=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=e*Math.pow(2.71828,(n-1)/5),o=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(o/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:(e+8)/e})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight));return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},dQ=Wa(Dl),pQ={token:oQ,hashed:!0},fQ=rJ.createContext(pQ);n_=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const r=n.getDerivativeToken(e),{override:o}=t,i=r_(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Nl(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=r_(n,["theme"]);let i=o;r&&(i=hQ(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a},gQ="anticon",mQ=yy.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:gQ}),bQ=(e,t,n,r,o)=>{const i=e/2,a=i,s=1*n/Math.sqrt(2),l=i-n*(1-1/Math.sqrt(2)),c=i-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*i-c,p=u,f=2*i-s,h=l,g=2*i-0,m=a,b=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),y=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${y}px 100%, 50% ${y}px, ${2*i-y}px 100%, ${y}px 100%)`,`path('M 0 ${a} A ${n} ${n} 0 0 0 ${s} ${l} L ${c} ${u} A ${t} ${t} 0 0 1 ${d} ${p} L ${f} ${h} A ${n} ${n} 0 0 0 ${g} ${m} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},yQ={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},vQ=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),wQ=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),xQ=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},SQ=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),EQ=e=>({"&:focus-visible":Object.assign({},SQ(e))}),CQ="undefined"!=typeof CSSINJS_STATISTIC;let kQ=!0;const OQ={},DQ=(e,t)=>{const[n,r]=jl();return $s({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}]))},$Q=(e,t,n,r)=>{const o=Ml(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t}=e;return o(t),null}},_Q=`-ant-${Date.now()}-${Math.random()}`,NQ=yy.createContext(!1),jQ=e=>{let{children:t,disabled:n}=e;const r=yy.useContext(NQ);return yy.createElement(NQ.Provider,{value:null!=n?n:r},t)},PQ=NQ,TQ=yy.createContext(void 0),IQ=e=>{let{children:t,size:n}=e;const r=yy.useContext(TQ);return yy.createElement(TQ.Provider,{value:n||r},t)},AQ=TQ;o_=["children"],i_=yy.createContext({}),a_=function(){function e(){return $i(this,e),t.apply(this,arguments)}Ts(e,yy.Component);var t=Fs(e);return Ni(e,[{key:"render",value:function(){return this.props.children}}]),e}(),s_="none",l_="appear",c_="enter",u_="leave",d_="none",p_="prepare",f_="start",h_="active",g_="end",m_="prepared",XK=Pa(),KK="undefined"!=typeof window?window:{},YK={animationend:zl("Animation","AnimationEnd"),transitionend:zl("Transition","TransitionEnd")},XK&&("AnimationEvent"in KK||delete YK.animationend.animation,"TransitionEvent"in KK||delete YK.transitionend.transition),b_=YK,y_={},Pa()&&(v_=document.createElement("div"),y_=v_.style),w_={},x_=Hl("animationend"),S_=Hl("transitionend"),E_=!(!x_||!S_),C_=x_||"animationend",k_=S_||"transitionend",O_=Pa()?yy.useLayoutEffect:yy.useEffect,D_=[p_,f_,h_,g_],$_=[p_,m_];const RQ=(ZK=JK=E_,"object"===Ei(JK)&&(ZK=JK.transitionSupport),(QK=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.visible,c=void 0===l||l,u=e.removeOnLeave,d=void 0===u||u,p=e.forceRender,f=e.children,h=e.motionName,g=e.leavedClassName,m=e.eventProps,b=function(e,t){return!(!e.motionName||!ZK||!1===t)}(e,yy.useContext(i_).motion),y=yy.useRef(),v=yy.useRef(),w=function(e,t,n,r){function o(){return n()}function i(){A(s_,!0),M(null,!0)}function a(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=z.current,I===l_&&t?n=null==O?void 0:O(r,e):I===c_&&t?n=null==D?void 0:D(r,e):I===u_&&t&&(n=null==$?void 0:$(r,e)),I!==s_&&t&&!1!==n&&i())}var s,l,c=r.motionEnter,u=void 0===c||c,d=r.motionAppear,p=void 0===d||d,f=r.motionLeave,h=void 0===f||f,g=r.motionDeadline,m=r.motionLeaveImmediately,b=r.onAppearPrepare,y=r.onEnterPrepare,v=r.onLeavePrepare,w=r.onAppearStart,x=r.onEnterStart,S=r.onLeaveStart,E=r.onAppearActive,C=r.onEnterActive,k=r.onLeaveActive,O=r.onAppearEnd,D=r.onEnterEnd,$=r.onLeaveEnd,_=r.onVisibleChanged,N=Ua(Tl(),2),j=N[0],P=N[1],T=Ua(Tl(s_),2),I=T[0],A=T[1],R=Ua(Tl(null),2),F=R[0],M=R[1],L=yy.useRef(!1),B=yy.useRef(null),z=yy.useRef(!1),H=Ua(function(e){function t(e){e&&(e.removeEventListener(k_,n),e.removeEventListener(C_,n))}var n,r=yy.useRef(),o=yy.useRef(e);return o.current=e,n=yy.useCallback((function(e){o.current(e)}),[]),yy.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(k_,n),e.addEventListener(C_,n),r.current=e)},t]}(a),1)[0],U=function(e){var t,n,r;switch(e){case l_:return ki(t={},p_,b),ki(t,f_,w),ki(t,h_,E),t;case c_:return ki(n={},p_,y),ki(n,f_,x),ki(n,h_,C),n;case u_:return ki(r={},p_,v),ki(r,f_,S),ki(r,h_,k),r;default:return{}}},W=yy.useMemo((function(){return U(I)}),[I]),G=function(e,t,n){var r=Ua(Tl(d_),2),o=r[0],i=r[1],a=function(){function e(){R$.cancel(t.current)}var t=yy.useRef(null);return yy.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var i,a=arguments.length>1&&void 0!==o?o:2;e(),i=R$((function(){a<=1?r({isCanceled:function(){return i!==t.current}}):n(r,a-1)})),t.current=i},e]}(),s=Ua(a,2),l=s[0],c=s[1],u=t?$_:D_;return O_((function(){var e,t,r;o!==d_&&o!==g_&&(e=u.indexOf(o),t=u[e+1],!1===(r=n(o))?i(t,!0):t&&l((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)})))}),[e,o]),yy.useEffect((function(){return function(){c()}}),[]),[function(){i(p_,!0)},o]}(I,!e,(function(e){var t,n;return e===p_?!!(t=W[p_])&&t(o()):(X in W&&M((null===(n=W[X])||void 0===n?void 0:n.call(W,o(),null))||null),X===h_&&(H(o()),g>0&&(clearTimeout(B.current),B.current=setTimeout((function(){a({deadline:!0})}),g))),X===m_&&i(),!0)})),V=Ua(G,2),q=V[0],X=V[1],K=Wl(X);return z.current=K,O_((function(){var n,r,o;P(t),n=L.current,L.current=!0,!n&&t&&p&&(r=l_),n&&t&&u&&(r=c_),(n&&!t&&h||!n&&m&&!t&&h)&&(r=u_),o=U(r),r&&(e||o[p_])?(A(r),q()):A(s_)}),[t]),yy.useEffect((function(){(I===l_&&!p||I===c_&&!u||I===u_&&!h)&&A(s_)}),[p,u,h]),yy.useEffect((function(){return function(){L.current=!1,clearTimeout(B.current)}}),[]),s=yy.useRef(!1),yy.useEffect((function(){j&&(s.current=!0),void 0!==j&&I===s_&&((s.current||j)&&(null==_||_(j)),s.current=!0)}),[j,I]),l=F,W[p_]&&X===f_&&(l=Ea({transition:"none"},l)),[I,X,l,null!=j?j:t]}(b,c,(function(){try{return y.current instanceof HTMLElement?y.current:Vs(v.current)}catch(fY){return null}}),e),x=Ua(w,4),S=x[0],E=x[1],C=x[2],k=x[3],O=yy.useRef(k);return k&&(O.current=!0),n=yy.useCallback((function(e){y.current=e,zs(t,e)}),[t]),o=Ea(Ea({},m),{},{visible:c}),f?S===s_?r=k?f(Ea({},o),n):!d&&O.current&&g?f(Ea(Ea({},o),{},{className:g}),n):p||!d&&!g?f(Ea(Ea({},o),{},{style:{display:"none"}}),n):null:(E===p_?a="prepare":Wl(E)?a="active":E===f_&&(a="start"),s=Ul(h,"".concat(S,"-").concat(a)),r=f(Ea(Ea({},o),{},{className:zJ(Ul(h,S),(i={},ki(i,s,s&&a),ki(i,h,"string"==typeof h),i)),style:C}),n)):r=null,yy.isValidElement(r)&&Ws(r)&&(r.ref||(r=yy.cloneElement(r,{ref:n}))),yy.createElement(a_,{ref:v},r)}))).displayName="CSSMotion",QK);__="add",N_="keep",j_="remove",P_="removed",T_=["component","children","onVisibleChanged","onAllRemoved"],I_=["status"],A_=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const FQ=function(e,t){var n=arguments.length>1&&void 0!==t?t:RQ,r=function(){function e(){var n,r,o,i;for($i(this,e),r=arguments.length,o=new Array(r),i=0;i1&&void 0!==t?t:[],o=[],i=0,a=r.length,s=Vl(arguments.length>0&&void 0!==e?e:[]),l=Vl(r);return s.forEach((function(e){var t,n,r=!1;for(t=i;t1})).forEach((function(e){(o=o.filter((function(t){return t.key!==e||t.status!==j_}))).forEach((function(t){t.key===e&&(t.status=N_)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==P_||e.status!==j_}))}}}]),e}();return ki(r,"defaultProps",{component:"div"}),r}(E_);R_=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({getPrefixCls:(e,t)=>t||(e?`${Xl()}-${e}`:Xl()),getIconPrefixCls:Kl,getRootPrefixCls:()=>LQ||Xl(),getTheme:()=>zQ}),UQ=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:d,dropdownMatchSelectWidth:p,popupMatchSelectWidth:f,popupOverflow:h,legacyLocale:g,parentContext:m,iconPrefixCls:b,theme:y,componentDisabled:v,segmented:w,statistic:x,spin:S,calendar:E,carousel:C,cascader:k,collapse:O,typography:D,checkbox:$,descriptions:_,divider:N,drawer:j,skeleton:P,steps:T,image:I,layout:A,list:R,mentions:F,modal:M,progress:L,result:B,slider:z,breadcrumb:H,menu:U,pagination:W,input:G,empty:V,badge:q,radio:X,rate:K,switch:Y,transfer:J,avatar:Q,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:de}=e,pe=yy.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||m.getPrefixCls("");return t?`${o}-${t}`:o}),[m.getPrefixCls,e.prefixCls]),fe=b||m.iconPrefixCls||gQ,he=fe!==m.iconPrefixCls,ge=n||m.csp,me=DQ(fe,ge),be=function(e,t){const n=e||{},r=!1!==n.inherit&&t?t:pQ;return ka((()=>{if(!e)return t;const o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach((t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])})),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})}),[n,r],((e,t)=>e.some(((e,n)=>!Na(e,t[n],!0)))))}(y,m.theme),ye={csp:ge,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||g,direction:c,space:u,virtual:d,popupMatchSelectWidth:null!=f?f:p,popupOverflow:h,getPrefixCls:pe,iconPrefixCls:fe,theme:be,segmented:w,statistic:x,spin:S,calendar:E,carousel:C,cascader:k,collapse:O,typography:D,checkbox:$,descriptions:_,divider:N,drawer:j,skeleton:P,steps:T,image:I,input:G,layout:A,list:R,mentions:F,modal:M,progress:L,result:B,slider:z,breadcrumb:H,menu:U,pagination:W,empty:V,badge:q,radio:X,rate:K,switch:Y,transfer:J,avatar:Q,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:de},ve=Object.assign({},m);Object.keys(ye).forEach((e=>{void 0!==ye[e]&&(ve[e]=ye[e])})),MQ.forEach((t=>{const n=e[t];n&&(ve[t]=n)}));const we=ka((()=>ve),ve,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),xe=yy.useMemo((()=>({prefixCls:fe,csp:ge})),[fe,ge]);let Se=he?me(t):t;const Ee=yy.useMemo((()=>{var e,t,n,r;return il((null===(e=qJ.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=we.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=we.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})}),[we,null==a?void 0:a.validateMessages]);Object.keys(Ee).length>0&&(Se=yy.createElement(UJ.Provider,{value:Ee},t)),s&&(Se=yy.createElement(ZJ,{locale:s,_ANT_MARK__:"internalMark"},Se)),(fe||ge)&&(Se=yy.createElement(HJ.Provider,{value:xe},Se)),l&&(Se=yy.createElement(IQ,{size:l},Se)),Se=yy.createElement(ql,null,Se);const Ce=yy.useMemo((()=>{const e=be||{},{algorithm:t,token:n,components:r}=e,o=R_(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?Wa(t):dQ,a={};return Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=Wa(r.algorithm)),delete r.algorithm),a[t]=r})),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},oQ),n),components:a})}),[be]);return y&&(Se=yy.createElement(fQ.Provider,{value:Ce},Se)),void 0!==v&&(Se=yy.createElement(jQ,{disabled:v},Se)),yy.createElement(mQ.Provider,{value:we},Se)},WQ=e=>{const t=yy.useContext(mQ),n=yy.useContext(JJ);return yy.createElement(UQ,Object.assign({parentContext:t,legacyLocale:n},e))};WQ.ConfigContext=mQ,WQ.SizeContext=AQ,WQ.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(LQ=t),void 0!==n&&(BQ=n),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new U$(e),i=kl(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new U$(t.primaryColor),i=kl(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new U$(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);Pa()&&Ba(n,`${_Q}-dynamic-theme`)}(Xl(),r):zQ=r)},WQ.useConfig=function(){return{componentDisabled:yy.useContext(PQ),componentSize:yy.useContext(AQ)}},Object.defineProperty(WQ,"SizeContext",{get:()=>AQ});const GQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};F_=function(e){var t=yy.useContext(HJ),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),yy.useEffect((function(){var t=Jl(e.current);Ba(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},M_=["icon","className","onClick","style","primaryColor","secondaryColor"],L_={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(B_=function(e){var t,n,r,o=e.icon,i=e.className,a=e.onClick,s=e.style,l=e.primaryColor,c=e.secondaryColor,u=Oi(e,M_),d=yy.useRef(),p=L_;return l&&(p={primaryColor:l,secondaryColor:c||tc(l)}),F_(d),n=Ql(o),r="icon should be icon definiton, but got ".concat(o),_a(n,"[@ant-design/icons] ".concat(r)),Ql(o)?((t=o)&&"function"==typeof t.icon&&(t=Ea(Ea({},t),{},{icon:t.icon(p.primaryColor,p.secondaryColor)})),ec(t.icon,"svg-".concat(t.name),Ea(Ea({className:i,onClick:a,style:s,"data-icon":t.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:d}))):null}).displayName="IconReact",B_.getTwoToneColors=function(){return Ea({},L_)},B_.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;L_.primaryColor=t,L_.secondaryColor=n||tc(t),L_.calculated=!!n};const VQ=B_;z_=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],rc(t_.primary),(H_=yy.forwardRef((function(e,t){var n,r,o,i,a,s=e.className,l=e.icon,c=e.spin,u=e.rotate,d=e.tabIndex,p=e.onClick,f=e.twoToneColor,h=Oi(e,z_),g=yy.useContext(HJ),m=g.prefixCls,b=void 0===m?"anticon":m,y=zJ(g.rootClassName,b,(ki(n={},"".concat(b,"-").concat(l.name),!!l.name),ki(n,"".concat(b,"-spin"),!!c||"loading"===l.name),n),s),v=d;return void 0===v&&p&&(v=-1),r=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,i=(o=Ua(nc(f),2))[0],a=o[1],yy.createElement("span",fa({role:"img","aria-label":l.name},h,{ref:t,tabIndex:v,onClick:p,className:y}),yy.createElement(VQ,{icon:l,primaryColor:i,secondaryColor:a,style:r}))}))).displayName="AntdIcon",H_.getTwoToneColor=function(){var e=VQ.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},H_.setTwoToneColor=rc;const qQ=H_,XQ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:GQ}))})),KQ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},YQ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:KQ}))})),JQ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},QQ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:JQ}))})),ZQ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},eZ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:ZQ}))})),tZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},nZ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:tZ}))}));U_="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),W_="aria-",G_="data-";const{isValidElement:rZ}=oJ,oZ=e=>"object"==typeof e&&null!=e&&1===e.nodeType,iZ=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,aZ=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&s>=n?i-e-r:a>t&&sn?a-t+o:0,lZ=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},cZ=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!oZ(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,f=[];let h=e;for(;oZ(h)&&d(h);){if(h=lZ(h),h===p){f.push(h);break}null!=h&&h===document.body&&aZ(h)&&!aZ(document.documentElement)||null!=h&&aZ(h,u)&&f.push(h)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,m=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:b,scrollY:y}=window,{height:v,width:w,top:x,right:S,bottom:E,left:C}=e.getBoundingClientRect();let k="start"===s||"nearest"===s?x:"end"===s?E:x+v/2,O="center"===l?C+w/2:"end"===l?S:C;const D=[];for(let $=0;$=0&&C>=0&&E<=m&&S<=g&&x>=r&&E<=i&&C>=c&&S<=o)return D;const u=getComputedStyle(e),d=parseInt(u.borderLeftWidth,10),h=parseInt(u.borderTopWidth,10),_=parseInt(u.borderRightWidth,10),N=parseInt(u.borderBottomWidth,10);let j=0,P=0;const T="offsetWidth"in e?e.offsetWidth-e.clientWidth-d-_:0,I="offsetHeight"in e?e.offsetHeight-e.clientHeight-h-N:0,A="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,R="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(p===e)j="start"===s?k:"end"===s?k-m:"nearest"===s?sZ(y,y+m,m,h,N,y+k,y+k+v,v):k-m/2,P="start"===l?O:"center"===l?O-g/2:"end"===l?O-g:sZ(b,b+g,g,d,_,b+O,b+O+w,w),j=Math.max(0,j+y),P=Math.max(0,P+b);else{j="start"===s?k-r-h:"end"===s?k-i+N+I:"nearest"===s?sZ(r,i,t,h,N+I,k,k+v,v):k-(r+t/2)+I/2,P="start"===l?O-c-d:"center"===l?O-(c+n/2)+T/2:"end"===l?O-o+_+T:sZ(c,o,n,d,_+T,O,O+w,w);const{scrollLeft:a,scrollTop:u}=e;j=Math.max(0,Math.min(u+j/R,e.scrollHeight-t/R+I)),P=Math.max(0,Math.min(a+P/A,e.scrollWidth-n/A+T)),k+=u-j,O+=a-P}D.push({el:e,top:j,left:P})}return D},uZ=e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t};V_={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=V_.F1&&t<=V_.F12)return!1;switch(t){case V_.ALT:case V_.CAPS_LOCK:case V_.CONTEXT_MENU:case V_.CTRL:case V_.DOWN:case V_.END:case V_.ESC:case V_.HOME:case V_.INSERT:case V_.LEFT:case V_.MAC_FF_META:case V_.META:case V_.NUMLOCK:case V_.NUM_CENTER:case V_.PAGE_DOWN:case V_.PAGE_UP:case V_.PAUSE:case V_.PRINT_SCREEN:case V_.RIGHT:case V_.SHIFT:case V_.UP:case V_.WIN_KEY:case V_.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=V_.ZERO&&e<=V_.NINE)return!0;if(e>=V_.NUM_ZERO&&e<=V_.NUM_MULTIPLY)return!0;if(e>=V_.A&&e<=V_.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case V_.SPACE:case V_.QUESTION_MARK:case V_.NUM_PLUS:case V_.NUM_MINUS:case V_.NUM_PERIOD:case V_.NUM_DIVISION:case V_.SEMICOLON:case V_.DASH:case V_.EQUALS:case V_.COMMA:case V_.PERIOD:case V_.SLASH:case V_.APOSTROPHE:case V_.SINGLE_QUOTE:case V_.OPEN_SQUARE_BRACKET:case V_.BACKSLASH:case V_.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},q_=yy.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.style,i=e.className,a=e.duration,s=void 0===a?4.5:a,l=e.eventKey,c=e.content,u=e.closable,d=e.closeIcon,p=void 0===d?"x":d,f=e.props,h=e.onClick,g=e.onNoticeClose,m=e.times,b=Ua(yy.useState(!1),2),y=b[0],v=b[1],w=function(){g(l)};return yy.useEffect((function(){if(!y&&s>0){var e=setTimeout((function(){w()}),1e3*s);return function(){clearTimeout(e)}}}),[s,y,m]),n="".concat(r,"-notice"),yy.createElement("div",fa({},f,{ref:t,className:zJ(n,i,ki({},"".concat(n,"-closable"),u)),style:o,onMouseEnter:function(){v(!0)},onMouseLeave:function(){v(!1)},onClick:h}),yy.createElement("div",{className:"".concat(n,"-content")},c),u&&yy.createElement("a",{tabIndex:0,className:"".concat(n,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==V_.ENTER||w()},onClick:function(e){e.preventDefault(),e.stopPropagation(),w()}},p))})),X_=rJ.createContext({}),K_=function(e){return rJ.createElement(X_.Provider,{value:{classNames:e.classNames}},e.children)},Y_=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,a=e.motion,s=e.onAllNoticeRemoved,l=e.onNoticeClose,c=yy.useContext(X_).classNames,u=t.map((function(e){return{config:e,key:e.key}})),d="function"==typeof a?a(n):a;return rJ.createElement(FQ,fa({key:n,className:zJ(r,"".concat(r,"-").concat(n),null==c?void 0:c.list,o),style:i,keys:u,motionAppear:!0},d,{onAllRemoved:function(){s(n)}}),(function(e,t){var n=e.config,o=e.style,i=n.key,a=n.times,s=n.style;return rJ.createElement(q_,fa({},n,{ref:t,prefixCls:r,className:zJ(e.className,n.className,null==c?void 0:c.notice),style:Ea(Ea({},o),s),times:a,key:i,eventKey:i,onNoticeClose:l}))}))},J_=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.prefixCls,c=void 0===l?"rc-notification":l,u=e.container,d=e.motion,p=e.maxCount,f=e.className,h=e.style,g=e.onAllRemoved,m=e.renderNotifications,b=Ua(yy.useState([]),2),y=b[0],v=b[1],w=function(e){var t,n=y.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),v((function(t){return t.filter((function(t){return t.key!==e}))}))};return yy.useImperativeHandle(t,(function(){return{open:function(e){v((function(t){var n,r=xa(t),o=r.findIndex((function(t){return t.key===e.key})),i=Ea({},e);return o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),p>0&&r.length>p&&(r=r.slice(-p)),r}))},close:function(e){w(e)},destroy:function(){v([])}}})),n=Ua(yy.useState({}),2),r=n[0],o=n[1],yy.useEffect((function(){var e={};y.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(r).forEach((function(t){e[t]=e[t]||[]})),o(e)}),[y]),i=function(e){o((function(t){var n=Ea({},t);return(n[e]||[]).length||delete n[e],n}))},a=yy.useRef(!1),yy.useEffect((function(){Object.keys(r).length>0?a.current=!0:a.current&&(null==g||g(),a.current=!1)}),[r]),u?(s=Object.keys(r),PE.createPortal(yy.createElement(yy.Fragment,null,s.map((function(e){var t=yy.createElement(Y_,{key:e,configList:r[e],placement:e,prefixCls:c,className:null==f?void 0:f(e),style:null==h?void 0:h(e),motion:d,onNoticeClose:w,onAllNoticeRemoved:i});return m?m(t,{prefixCls:c,key:e}):t}))),u)):null})),Q_=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],Z_=function(){return document.body},eN=0;const dZ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},pZ=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:dZ}))})),fZ=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:p,paddingXS:f,borderRadiusLG:h,zIndexPopup:g,contentPadding:m,contentBg:b}=e,y=`${t}-notice`,v=new TD("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:f,transform:"translateY(0)",opacity:1}}),w=new TD("MessageMoveOut",{"0%":{maxHeight:e.height,padding:f,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:f,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:p,fontSize:c},[`${y}-content`]:{display:"inline-block",padding:m,background:b,borderRadius:h,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},vQ(e)),{color:o,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:v,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:w,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[y]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},hZ=Ml("Message",(e=>{const t=Rl(e,{height:150});return[fZ(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})));tN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,type:n,icon:r,children:o}=e;return yy.createElement("div",{className:zJ(`${t}-custom-content`,`${t}-${n}`)},r||gZ[n],yy.createElement("span",null,o))};nN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t,prefixCls:n}=e;const[,r]=hZ(n);return yy.createElement(K_,{classNames:{list:r,notice:r}},t)},vZ=(e,t)=>{let{prefixCls:n,key:r}=t;return yy.createElement(yZ,{prefixCls:n,key:r},e)},wZ=yy.forwardRef(((e,t)=>{const{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=bZ,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:p}=yy.useContext(mQ),f=r||u("message"),h=yy.createElement("span",{className:`${f}-close-x`},yy.createElement(QQ,{className:`${f}-close-icon`})),[g,m]=lc({prefixCls:f,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>zJ({[`${f}-rtl`]:s}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(f,l),closable:!1,closeIcon:h,duration:a,getContainer:()=>(null==o?void 0:o())||(null==d?void 0:d())||document.body,maxCount:i,onAllRemoved:c,renderNotifications:vZ});return yy.useImperativeHandle(t,(()=>Object.assign(Object.assign({},g),{prefixCls:f,message:p}))),m}));let xZ=0;oN=(rN=Ea({},aJ)).version,iN=rN.render,aN=rN.unmountComponentAtNode;try{Number((oN||"").split(".")[0])>=18&&(sN=rN.createRoot)}catch(fY){}lN="__rc_react_root__";const SZ=()=>({height:0,opacity:0}),EZ=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},CZ=e=>({height:e?e.offsetHeight:0}),kZ=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,OZ=function(e){return{motionName:`${arguments.length>0&&void 0!==e?e:"ant"}-motion-collapse`,onAppearStart:SZ,onEnterStart:SZ,onAppearActive:EZ,onEnterActive:EZ,onLeaveStart:CZ,onLeaveActive:SZ,onAppearEnd:kZ,onEnterEnd:kZ,onLeaveEnd:kZ,motionDeadline:500}},DZ=(e,t,n)=>void 0!==n?n:`${e}-${t}`,$Z=function(e){var t,n;if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox&&((t=e.getBBox()).width||t.height))return!0;if(e.getBoundingClientRect&&((n=e.getBoundingClientRect()).width||n.height))return!0}return!1},_Z=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},NZ=Ml("Wave",(e=>[_Z(e)])),jZ="ant-wave-target",PZ=e=>{function t(){const e=getComputedStyle(r);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Sc(t)?t:Sc(n)?n:Sc(r)?r:null}(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;d(t?r.offsetLeft:Ec(-parseFloat(n))),f(t?r.offsetTop:Ec(-parseFloat(o))),g(r.offsetWidth),b(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;c([i,a,u,l].map((e=>Ec(parseFloat(e)))))}const{className:n,target:r,component:o}=e,i=yy.useRef(null),[a,s]=yy.useState(null),[l,c]=yy.useState([]),[u,d]=yy.useState(0),[p,f]=yy.useState(0),[h,g]=yy.useState(0),[m,b]=yy.useState(0),[y,v]=yy.useState(!1),w={left:u,top:p,width:h,height:m,borderRadius:l.map((e=>`${e}px`)).join(" ")};if(a&&(w["--wave-color"]=a),yy.useEffect((()=>{if(r){const e=R$((()=>{t(),v(!0)}));let n;return"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(r)),()=>{R$.cancel(e),null==n||n.disconnect()}}}),[]),!y)return null;const x=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(jZ));return yy.createElement(RQ,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;wc(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:t}=e;return yy.createElement("div",{ref:i,className:zJ(n,{"wave-quick":x},t),style:w})}))},TZ=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),mc(yy.createElement(PZ,Object.assign({},t,{target:e})),o)},IZ=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=yy.useContext(mQ),i=yy.useRef(null),a=o("wave"),[,s]=NZ(a),l=function(e,t,n){const{wave:r}=yy.useContext(mQ),[,o,i]=jl(),a=Pl((a=>{const s=e.current;if((null==r?void 0:r.disabled)||!s)return;const l=s.querySelector(`.${jZ}`)||s,{showEffect:c}=r||{};(c||TZ)(l,{className:t,token:o,component:n,event:a,hashId:i})})),s=yy.useRef();return e=>{R$.cancel(s.current),s.current=R$((()=>{a(e)}))}}(i,zJ(a,s),r);return rJ.useEffect((()=>{const e=i.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!$Z(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||l(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),rJ.isValidElement(t)?sc(t,{ref:Ws(t)?Hs(t.ref,i):i}):null!=t?t:null},AZ=e=>{const t=rJ.useContext(AQ);return rJ.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},RZ=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},FZ=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},MZ=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},LZ=Ml("Space",(e=>{const t=Rl(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[FZ(t),MZ(t),RZ(t)]}),(()=>({})),{resetStyle:!1});cN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=yy.useContext(BZ),r=yy.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return zJ(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},HZ=e=>{let{children:t}=e;return yy.createElement(BZ.Provider,{value:null},t)},UZ=e=>{var{children:t}=e,n=cN(e,["children"]);return yy.createElement(BZ.Provider,{value:n},t)};uN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{className:n,style:r,children:o,prefixCls:i}=e,a=zJ(`${i}-icon`,n);return rJ.createElement("span",{ref:t,className:a,style:r},o)})),XZ=yy.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=zJ(`${n}-loading-icon`,r);return rJ.createElement(qZ,{prefixCls:n,className:a,style:o,ref:t},rJ.createElement(pZ,{className:i}))})),KZ=()=>({width:0,opacity:0,transform:"scale(0)"}),YZ=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),JZ=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?rJ.createElement(XZ,{prefixCls:t,className:o,style:i}):rJ.createElement(RQ,{visible:a,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:KZ,onAppearActive:YZ,onEnterStart:KZ,onEnterActive:YZ,onLeaveStart:YZ,onLeaveActive:KZ},((e,n)=>{let{className:r,style:a}=e;return rJ.createElement(XZ,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),a),ref:n,iconClassName:r})}))},QZ=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),ZZ=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},QZ(`${t}-primary`,o),QZ(`${t}-danger`,i)]}},e0=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},EQ(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},t0=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),n0=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),r0=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),o0=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),i0=(e,t,n,r,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,backgroundColor:t,borderColor:r||void 0,boxShadow:"none"},t0(e,Object.assign({backgroundColor:t},a),Object.assign({backgroundColor:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),a0=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},o0(e))}),s0=e=>Object.assign({},a0(e)),l0=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),c0=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s0(e)),{backgroundColor:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),t0(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),i0(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},t0(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),i0(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),a0(e))}),u0=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s0(e)),{color:e.primaryColor,backgroundColor:e.colorPrimary,boxShadow:e.primaryShadow}),t0(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),i0(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},t0(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),i0(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),a0(e))}),d0=e=>Object.assign(Object.assign({},c0(e)),{borderStyle:"dashed"}),p0=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},t0(e.componentCls,{color:e.colorLinkHover,backgroundColor:e.linkHoverBg},{color:e.colorLinkActive})),l0(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},t0(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),l0(e))}),f0=e=>Object.assign(Object.assign(Object.assign({},t0(e.componentCls,{color:e.colorText,backgroundColor:e.textHoverBg},{color:e.colorText,backgroundColor:e.colorBgTextActive})),l0(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},l0(e)),t0(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),h0=e=>{const{componentCls:t}=e;return{[`${t}-default`]:c0(e),[`${t}-primary`]:u0(e),[`${t}-dashed`]:d0(e),[`${t}-link`]:p0(e),[`${t}-text`]:f0(e),[`${t}-ghost`]:i0(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},g0=function(e,t){let n=arguments.length>1&&void 0!==t?t:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,lineWidth:s,borderRadius:l,buttonPaddingHorizontal:c,iconCls:u}=e;return[{[`${r}${n}`]:{fontSize:i,height:o,padding:`${Math.max(0,(o-i*a)/2-s)}px ${c}px`,borderRadius:l,[`&${r}-icon-only`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},[u]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${n}`]:n0(e)},{[`${r}${r}-round${n}`]:r0(e)}]},m0=e=>g0(Rl(e,{fontSize:e.contentFontSize})),b0=e=>{const t=Rl(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return g0(t,`${e.componentCls}-sm`)},y0=e=>{const t=Rl(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return g0(t,`${e.componentCls}-lg`)},v0=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},w0=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Rl(e,{buttonPaddingHorizontal:t,buttonIconOnlyFontSize:n})},x0=e=>({fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,contentFontSize:e.fontSize,contentFontSizeSM:e.fontSize,contentFontSizeLG:e.fontSizeLG}),S0=Ml("Button",(e=>{const t=w0(e);return[e0(t),b0(t),m0(t),y0(t),v0(t),h0(t),ZZ(t)]}),x0),E0=$Q(["Button","compact"],(e=>{const t=w0(e);return[$c(t),Nc(t)]}),x0);dN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{loading:o=!1,prefixCls:i,type:a="default",danger:s,shape:l="default",size:c,styles:u,disabled:d,className:p,rootClassName:f,children:h,icon:g,ghost:m=!1,block:b=!1,htmlType:y="button",classNames:v,style:w={}}=e,x=dN(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:S,autoInsertSpaceInButton:E,direction:C,button:k}=yy.useContext(mQ),O=S("btn",i),[D,$]=S0(O),_=yy.useContext(PQ),N=null!=d?d:_,j=yy.useContext(WZ),P=yy.useMemo((()=>function(e){if("object"==typeof e&&e){const t=null==e?void 0:e.delay;return{loading:!1,delay:Number.isNaN(t)||"number"!=typeof t?0:t}}return{loading:!!e,delay:0}}(o)),[o]),[T,I]=yy.useState(P.loading),[A,R]=yy.useState(!1),F=Hs(t,yy.createRef()),M=1===yy.Children.count(h)&&!g&&!kc(a);yy.useEffect((()=>{let e=null;return P.delay>0?e=setTimeout((()=>{e=null,I(!0)}),P.delay):I(P.loading),function(){e&&(clearTimeout(e),e=null)}}),[P]),yy.useEffect((()=>{F&&F.current&&!1!==E&&(M&&VZ(F.current.textContent)?A||R(!0):A&&R(!1))}),[F]);const L=t=>{const{onClick:n}=e;T||N?t.preventDefault():null==n||n(t)},B=!1!==E,{compactSize:z,compactItemClassnames:H}=zZ(O,C),U=AZ((e=>{var t,n;return null!==(n=null!==(t=null!=c?c:z)&&void 0!==t?t:j)&&void 0!==n?n:e})),W=U&&{large:"lg",small:"sm",middle:void 0}[U]||"",G=T?"loading":g,V=Qs(x,["navigate"]),q=zJ(O,$,{[`${O}-${l}`]:"default"!==l&&l,[`${O}-${a}`]:a,[`${O}-${W}`]:W,[`${O}-icon-only`]:!h&&0!==h&&!!G,[`${O}-background-ghost`]:m&&!kc(a),[`${O}-loading`]:T,[`${O}-two-chinese-chars`]:A&&B&&!T,[`${O}-block`]:b,[`${O}-dangerous`]:!!s,[`${O}-rtl`]:"rtl"===C},H,p,f,null==k?void 0:k.className),X=Object.assign(Object.assign({},null==k?void 0:k.style),w),K=zJ(null==v?void 0:v.icon,null===(n=null==k?void 0:k.classNames)||void 0===n?void 0:n.icon),Y=Object.assign(Object.assign({},(null==u?void 0:u.icon)||{}),(null===(r=null==k?void 0:k.styles)||void 0===r?void 0:r.icon)||{}),J=g&&!T?rJ.createElement(qZ,{prefixCls:O,className:K,style:Y},g):rJ.createElement(JZ,{existIcon:!!g,prefixCls:O,loading:!!T}),Q=h||0===h?function(e,t){let n=!1;const r=[];return rJ.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1;r[t]=`${r[t]}${e}`}else r.push(e);n=o})),rJ.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&Cc(e.type)&&VZ(e.props.children)?sc(e,{children:e.props.children.split("").join(n)}):Cc(e)?VZ(e)?rJ.createElement("span",null,e.split("").join(n)):rJ.createElement("span",null,e):ac(e)?rJ.createElement("span",null,e):e}(e,t)))}(h,M&&B):null;if(void 0!==V.href)return D(rJ.createElement("a",Object.assign({},V,{className:zJ(q,{[`${O}-disabled`]:N}),style:X,onClick:L,ref:F}),J,Q));let Z=rJ.createElement("button",Object.assign({},x,{type:y,className:q,style:X,onClick:L,disabled:N,ref:F}),J,Q,H&&rJ.createElement(E0,{key:"compact",prefixCls:O}));return kc(a)||(Z=rJ.createElement(IZ,{component:"Button",disabled:!!T},Z)),D(Z)},k0=yy.forwardRef(C0);k0.Group=e=>{const{getPrefixCls:t,direction:n}=yy.useContext(mQ),{prefixCls:r,size:o,className:i}=e,a=uN(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=jl();let c="";switch(o){case"large":c="lg";break;case"small":c="sm"}const u=zJ(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:"rtl"===n},i,l);return yy.createElement(WZ.Provider,{value:o},yy.createElement("div",Object.assign({},a,{className:u})))},k0.__ANT_BUTTON=!0;const O0=k0,D0=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,d=yy.useRef(!1),p=yy.useRef(null),[f,h]=Tl(!1),g=function(){null==i||i.apply(void 0,arguments)};return yy.useEffect((()=>{let e=null;return a&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),yy.createElement(O0,Object.assign({},jc(t),{onClick:e=>{if(d.current)return;if(d.current=!0,!u)return void g();let t;if(s){if(t=u(e),c&&!Pc(t))return d.current=!1,void g(e)}else if(u.length)t=u(i),d.current=!1;else if(t=u(),!t)return void g();(e=>{Pc(e)&&(h(!0),e.then((function(){h(!1,!0),g.apply(void 0,arguments),d.current=!1}),(e=>{if(h(!1,!0),d.current=!1,!(null==l?void 0:l()))return Promise.reject(e)})))})(t)},loading:f,prefixCls:r},o,{ref:p}),n)},$0=rJ.createContext({}),{Provider:_0}=$0,N0=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:i,close:a,onCancel:s,onConfirm:l}=yy.useContext($0);return o?rJ.createElement(D0,{isSilent:r,actionFn:s,close:function(){null==a||a.apply(void 0,arguments),null==l||l(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${i}-btn`},n):null},j0=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:i,okType:a,onConfirm:s,onOk:l}=yy.useContext($0);return rJ.createElement(D0,{isSilent:n,type:a||"primary",actionFn:l,close:function(){null==t||t.apply(void 0,arguments),null==s||s(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},i)};pN=yy.createContext(null),fN=[],gN="rc-util-locker-".concat(Date.now()),mN=0,bN=!1,yN=function(e){return!1!==e&&(Pa()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},vN=yy.createContext({}),wN=0;const P0=yy.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));xN={width:0,height:0,overflow:"hidden",outline:"none"},SN=rJ.forwardRef((function(e,t){var n,r,o,i,a,s=e.prefixCls,l=e.className,c=e.style,u=e.title,d=e.ariaId,p=e.footer,f=e.closable,h=e.closeIcon,g=e.onClose,m=e.children,b=e.bodyStyle,y=e.bodyProps,v=e.modalRender,w=e.onMouseDown,x=e.onMouseUp,S=e.visible,E=e.forceRender,C=e.width,k=e.height,O=Us(e.holderRef,rJ.useContext(vN).panel),D=yy.useRef(),$=yy.useRef();return rJ.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=D.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===$.current?D.current.focus():e||t!==D.current||$.current.focus()}}})),n={},void 0!==C&&(n.width=C),void 0!==k&&(n.height=k),p&&(r=rJ.createElement("div",{className:"".concat(s,"-footer")},p)),u&&(o=rJ.createElement("div",{className:"".concat(s,"-header")},rJ.createElement("div",{className:"".concat(s,"-title"),id:d},u))),f&&(i=rJ.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(s,"-close")},h||rJ.createElement("span",{className:"".concat(s,"-close-x")}))),a=rJ.createElement("div",{className:"".concat(s,"-content")},i,o,rJ.createElement("div",fa({className:"".concat(s,"-body"),style:b},y),m),r),rJ.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":u?d:null,"aria-modal":"true",ref:O,style:Ea(Ea({},c),n),className:zJ(s,l),onMouseDown:w,onMouseUp:x},rJ.createElement("div",{tabIndex:0,ref:D,style:xN,"aria-hidden":"true"}),rJ.createElement(P0,{shouldUpdate:S||E},v?v(a):a),rJ.createElement("div",{tabIndex:0,ref:$,style:xN,"aria-hidden":"true"}))})),(EN=yy.forwardRef((function(e,t){function n(){var e,t,n,r,o,i=((n={left:(t=(e=h.current).getBoundingClientRect()).left,top:t.top}).left+=Lc(o=(r=e.ownerDocument).defaultView||r.parentWindow),n.top+=Lc(o,!0),n);b(f?"".concat(f.x-i.left,"px ").concat(f.y-i.top,"px"):"")}var r=e.prefixCls,o=e.title,i=e.style,a=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,h=yy.useRef(),g=Ua(yy.useState(),2),m=g[0],b=g[1],y={};return m&&(y.transformOrigin=m),yy.createElement(RQ,{visible:s,onVisibleChanged:p,onAppearPrepare:n,onEnterPrepare:n,forceRender:l,motionName:u,removeOnLeave:c,ref:h},(function(n,s){var l=n.className;return yy.createElement(SN,fa({},e,{ref:t,title:o,ariaId:d,prefixCls:r,holderRef:s,style:Ea(Ea(Ea({},n.style),i),y),className:zJ(a,l)}))}))}))).displayName="Content",(CN=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,s=e.panelRef,l=Ua(yy.useState(t),2),c=l[0],u=l[1],d=yy.useMemo((function(){return{panel:s}}),[s]);return yy.useEffect((function(){t&&u(!0)}),[t]),r||!i||c?yy.createElement(vN.Provider,{value:d},yy.createElement(Rc,{open:t||r||c,autoDestroy:!1,getContainer:n,autoLock:t||c},yy.createElement(zc,fa({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),u(!1)}})))):null}).displayName="Dialog",kN="RC_FORM_INTERNAL_HOOKS",DN=yy.createContext({getFieldValue:ON=function(){_a(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},getFieldsValue:ON,getFieldError:ON,getFieldWarning:ON,getFieldsError:ON,isFieldsTouched:ON,isFieldTouched:ON,isFieldValidating:ON,isFieldsValidating:ON,resetFields:ON,setFields:ON,setFieldValue:ON,setFieldsValue:ON,validateFields:ON,submit:ON,getInternalHooks:function(){return ON(),{dispatch:ON,initEntityValue:ON,registerField:ON,useSubscribe:ON,setInitialValues:ON,destroyForm:ON,setCallbacks:ON,registerWatch:ON,getFields:ON,setValidateMessages:ON,setPreserve:ON,getInitialValue:ON}}}),$N=yy.createContext(null),_N=/%[sdj%]/g,NN=function(){},jN=function(e){function t(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}var n,r;return r=e,(n=t).prototype=Object.create(r.prototype),n.prototype.constructor=n,Vc(n,r),t}(Xc(Error)),IN=function(){var e,t,n,r,o,i,a,s,l,c,u;return TN||(e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},o=("\n(?:\n(?:"+(r="[a-fA-F\\d]{1,4}")+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+(n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}")+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),(l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")}).v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")},c=l.v4().source,u=l.v6().source,TN=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i"))},AN=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,RN=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,FN={integer:function(e){return FN.number(e)&&parseInt(e,10)===e},float:function(e){return FN.number(e)&&!FN.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(fY){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!FN.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(AN)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(IN())},hex:function(e){return"string"==typeof e&&!!e.match(RN)}},MN=function(e,t,n,r,o){var i;e.required&&void 0===t?PN(e,t,n,r,o):["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i=e.type)>-1?FN[i](t)||r.push(Yc(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(Yc(o.messages.types[i],e.fullField,e.type))},LN="enum",BN={required:PN=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!Jc(t,i||e.type)||r.push(Yc(o.messages.required,e.fullField))},whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(Yc(o.messages.whitespace,e.fullField))},type:MN,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(u?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(l=t.length),d&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(Yc(o.messages[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(Yc(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(Yc(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[LN]=Array.isArray(e[LN])?e[LN]:[],-1===e[LN].indexOf(t)&&r.push(Yc(o.messages[LN],e.fullField,e[LN].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Yc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(Yc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},HN={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t,"string")&&!e.required)return n();BN.required(e,t,r,i,o,"string"),Jc(t,"string")||(BN.type(e,t,r,i,o),BN.range(e,t,r,i,o),BN.pattern(e,t,r,i,o),!0===e.whitespace&&BN.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&BN.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&(BN.type(e,t,r,i,o),BN.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&BN.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),Jc(t)||BN.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&(BN.type(e,t,r,i,o),BN.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&(BN.type(e,t,r,i,o),BN.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();BN.required(e,t,r,i,o,"array"),null!=t&&(BN.type(e,t,r,i,o),BN.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&BN.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o),void 0!==t&&BN.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t,"string")&&!e.required)return n();BN.required(e,t,r,i,o),Jc(t,"string")||BN.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t,"date")&&!e.required)return n();BN.required(e,t,r,a,o),Jc(t,"date")||(i=t instanceof Date?t:new Date(t),BN.type(e,i,r,a,o),i&&BN.range(e,i.getTime(),r,a,o))}n(a)},url:zN=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t,i)&&!e.required)return n();BN.required(e,t,r,a,o,i),Jc(t,i)||BN.type(e,t,r,a,o)}n(a)},hex:zN,email:zN,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;BN.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Jc(t)&&!e.required)return n();BN.required(e,t,r,i,o)}n(i)}},UN=tu(),WN=function(){function e(e){this.rules=null,this._messages=UN,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=eu(tu(),e)),this._messages},t.validate=function(t,n,r){var o,i,a,s,l,c,u=this;return void 0===n&&(n={}),void 0===r&&(r=function(){}),o=t,a=r,"function"==typeof(i=n)&&(a=i,i={}),this.rules&&0!==Object.keys(this.rules).length?(i.messages?((s=this.messages())===UN&&(s=tu()),eu(s,i.messages),i.messages=s):i.messages=this.messages(),l={},(i.keys||Object.keys(this.rules)).forEach((function(e){var n=o[e];u.rules[e].forEach((function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=Wc({},o)),n=o[e]=i.transform(n)),(i="function"==typeof i?{validator:i}:Wc({},i)).validator=u.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=u.getType(i),l[e]=l[e]||[],l[e].push({rule:i,value:n,source:o,field:e}))}))})),c={},function(e,t,n,r,o){var i,a,s,l,c,u,d;return t.first?(i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);Qc(a,n,(function(e){return r(e),e.length?i(new jN(e,Kc(e))):t(o)}))})),i.catch((function(e){return e})),i):(a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,i){var d=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new jN(u,Kc(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?Qc(r,n,d):function(e,t,n){function r(e){o.push.apply(o,e||[]),++i===a&&n(o)}var o=[],i=0,a=e.length;e.forEach((function(e){t(e,r)}))}(r,n,d)}))})),d.catch((function(e){return e})),d)}(l,i,(function(t,n){function r(e,t){return Wc({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function a(a){var s,d,p,f,h;if(void 0===a&&(a=[]),s=Array.isArray(a)?a:[a],!i.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==l.message&&(s=[].concat(l.message)),d=s.map(Zc(l,o)),i.first&&d.length)return c[l.field]=1,n(d);if(u){if(l.required&&!t.value)return void 0!==l.message?d=[].concat(l.message).map(Zc(l,o)):i.error&&(d=[i.error(l,Yc(i.messages.required,l.field))]),n(d);p={},l.defaultField&&Object.keys(t.value).map((function(e){p[e]=l.defaultField})),p=Wc({},p,t.rule.fields),f={},Object.keys(p).forEach((function(e){var t=p[e],n=Array.isArray(t)?t:[t];f[e]=n.map(r.bind(null,e))})),(h=new e(f)).messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),h.validate(t.value,t.rule.options||i,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(d)}var s,l=t.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)s=l.asyncValidator(l,t.value,a,t.source,i);else if(l.validator){try{s=l.validator(l,t.value,a,t.source,i)}catch(d){console,i.suppressValidatorError||setTimeout((function(){throw d}),0),a(d.message)}!0===s?a():!1===s?a("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):s instanceof Array?a(s):s instanceof Error&&a(s.message)}s&&s.then&&s.then((function(){return a()}),(function(e){return a(e)}))}),(function(e){!function(e){var t,n,r,i=[],s={};for(t=0;t0&&void 0!==e?e:YN;r.validatePromise===l&&(r.validatePromise=null,n=[],o=[],null===(t=i.forEach)||void 0===t||t.call(i,(function(e){var t=e.errors,r=void 0===t?YN:t;e.rule.warningOnly?o.push.apply(o,xa(r)):n.push.apply(n,xa(r))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender())})),o.abrupt("return",f);case 13:case"end":return o.stop()}}),o)}))));return s||(r.validatePromise=l,r.dirty=!0,r.errors=YN,r.warnings=YN,r.triggerMetaEvent(),r.reRender()),l})),ki(Rs(r),"isFieldValidating",(function(){return!!r.validatePromise})),ki(Rs(r),"isFieldTouched",(function(){return r.touched})),ki(Rs(r),"isFieldDirty",(function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(kN).getInitialValue)(r.getNamePath())})),ki(Rs(r),"getErrors",(function(){return r.errors})),ki(Rs(r),"getWarnings",(function(){return r.warnings})),ki(Rs(r),"isListField",(function(){return r.props.isListField})),ki(Rs(r),"isList",(function(){return r.props.isList})),ki(Rs(r),"isPreserve",(function(){return r.props.preserve})),ki(Rs(r),"getMeta",(function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}})),ki(Rs(r),"getOnlyChild",(function(e){var t,n;return"function"==typeof e?(t=r.getMeta(),Ea(Ea({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})):1===(n=Bs(e)).length&&yy.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),ki(Rs(r),"getValue",(function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return tl(e||t(!0),n)})),ki(Rs(r),"getControlled",(function(e){var t=arguments.length>0&&void 0!==e?e:{},n=r.props,o=n.trigger,i=n.validateTrigger,a=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,c=n.getValueProps,u=n.fieldContext,d=void 0!==i?i:u.validateTrigger,p=r.getNamePath(),f=u.getFieldsValue,h=(0,u.getInternalHooks)(kN).dispatch,g=r.getValue(),m=c||function(e){return ki({},l,e)},b=t[o],y=Ea(Ea({},t),m(g));return y[o]=function(){var e,t,n,o;for(r.touched=!0,r.dirty=!0,r.triggerMetaEvent(),t=arguments.length,n=new Array(t),o=0;o0&&void 0!==e?e:[];n.watchList.length&&(t=n.getFieldsValue(),r=n.getFieldsValue(!0),n.watchList.forEach((function(e){e(t,r,o)})))})),ki(this,"timeoutId",null),ki(this,"warningUnhooked",(function(){})),ki(this,"updateStore",(function(e){n.store=e})),ki(this,"getFieldEntities",(function(e){return arguments.length>0&&void 0!==e&&e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),ki(this,"getFieldsMap",(function(e){var t=arguments.length>0&&void 0!==e&&e,r=new ZN;return n.getFieldEntities(t).forEach((function(e){var t=e.getNamePath();r.set(t,e)})),r})),ki(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=lu(e);return t.get(n)||{INVALIDATE_NAME_PATH:lu(e)}}))})),ki(this,"getFieldsValue",(function(e,t){var r,o,i,a,s;return n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===Ei(e)&&(i=e.strict,o=e.filter),!0!==r||o?(a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[],a.forEach((function(e){var t,n,a,l,c,u="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(l=e).isList)&&void 0!==a&&a.call(l))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;o?(c="getMeta"in e?e.getMeta():null,o(c)&&s.push(u)):s.push(u)})),cu(n.store,s.map(lu))):n.store})),ki(this,"getFieldValue",(function(e){n.warningUnhooked();var t=lu(e);return tl(n.store,t)})),ki(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:lu(e[n]),errors:[],warnings:[]}}))})),ki(this,"getFieldError",(function(e){var t;return n.warningUnhooked(),t=lu(e),n.getFieldsError([t])[0].errors})),ki(this,"getFieldWarning",(function(e){var t;return n.warningUnhooked(),t=lu(e),n.getFieldsError([t])[0].warnings})),ki(this,"isFieldsTouched",(function(){var e,t,r,o,i,a,s,l,c,u,d,p;for(n.warningUnhooked(),e=arguments.length,t=new Array(e),r=0;r0&&void 0!==e?e:{},i=new ZN,a=n.getFieldEntities(!0);a.forEach((function(e){var t,n=e.props.initialValue,r=e.getNamePath();void 0!==n&&((t=i.get(r)||new Set).add({entity:e,value:n}),i.set(r,t))})),t=function(e){e.forEach((function(e){var t,r,a;void 0!==e.props.initialValue&&(t=e.getNamePath(),void 0!==n.getInitialValue(t)?_a(!1,"Form already set 'initialValues' with path '".concat(t.join("."),"'. Field can not overwrite it.")):(r=i.get(t))&&r.size>1?_a(!1,"Multiple Field with path '".concat(t.join("."),"' set 'initialValue'. Can not decide which one to pick.")):r&&(a=n.getFieldValue(t),o.skipExist&&void 0!==a||n.updateStore(rl(n.store,t,xa(r)[0].value))))}))},o.entities?r=o.entities:o.namePathList?(r=[],o.namePathList.forEach((function(e){var t,n=i.get(e);n&&(t=r).push.apply(t,xa(xa(n).map((function(e){return e.entity}))))}))):r=a,t(r)})),ki(this,"resetFields",(function(e){var t,r;if(n.warningUnhooked(),t=n.store,!e)return n.updateStore(il(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();(r=e.map(lu)).forEach((function(e){var t=n.getInitialValue(e);n.updateStore(rl(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),ki(this,"setFields",(function(e){var t,r;n.warningUnhooked(),t=n.store,r=[],e.forEach((function(e){var o=e.name,i=Oi(e,ej),a=lu(o);r.push(a),"value"in i&&n.updateStore(rl(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(r)})),ki(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=Ea(Ea({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))})),ki(this,"initEntityValue",(function(e){var t,r=e.props.initialValue;void 0!==r&&(t=e.getNamePath(),void 0===tl(n.store,t)&&n.updateStore(rl(n.store,t,r)))})),ki(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),ki(this,"registerField",(function(e){var t,r;return n.fieldEntities.push(e),t=e.getNamePath(),n.notifyWatch([t]),void 0!==e.props.initialValue&&(r=n.store,n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})),function(r,o,i){var a,s,l=arguments.length>2&&void 0!==i?i:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),n.isMergedPreserve(o)||r&&!(l.length>1)||(a=r?void 0:n.getInitialValue(t),t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!du(e.getNamePath(),t)}))&&(n.updateStore(rl(s=n.store,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t))),n.notifyWatch([t])}})),ki(this,"dispatch",(function(e){switch(e.type){case"updateValue":n.updateValue(e.namePath,e.value);break;case"validateField":n.validateFields([e.namePath],{triggerName:e.triggerName})}})),ki(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=Ea(Ea({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),ki(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(xa(r))}),r})),ki(this,"updateValue",(function(e,t){var r,o,i=lu(e),a=n.store;n.updateStore(rl(n.store,i,t)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]),r=n.triggerDependenciesUpdate(a,i),(o=n.callbacks.onValuesChange)&&o(cu(n.store,[i]),n.getFieldsValue()),n.triggerOnFieldsChange([i].concat(xa(r)))})),ki(this,"setFieldsValue",(function(e){var t,r;n.warningUnhooked(),t=n.store,e&&(r=il(n.store,e),n.updateStore(r)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),ki(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),ki(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new ZN;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=lu(t);o.update(n,(function(t){var n=arguments.length>0&&void 0!==t?t:new Set;return n.add(e),n}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),ki(this,"triggerOnFieldsChange",(function(e,t){var r,o,i,a=n.callbacks.onFieldsChange;a&&(r=n.getFields(),t&&(o=new ZN,t.forEach((function(e){o.set(e.name,e.errors)})),r.forEach((function(e){e.errors=o.get(e.name)||e.errors}))),(i=r.filter((function(t){return uu(e,t.name)}))).length&&a(i,r))})),ki(this,"validateFields",(function(e,t){var r,o,i,a,s,l,c,u,d,p,f,h;return n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(o=e,i=t):i=e,s=(a=!!o)?o.map(lu):[],l=[],c=String(Date.now()),u=new Set,d=null===(r=i)||void 0===r?void 0:r.recursive,n.getFieldEntities(!0).forEach((function(e){var t,r;a||s.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(t=e.getNamePath(),u.add(t.join(c)),a&&!uu(s,t,d)||(r=e.validateRules(Ea({validateMessages:Ea(Ea({},VN),n.validateMessages)},i)),l.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.errors;e.rule.warningOnly?o.push.apply(o,xa(t)):r.push.apply(r,xa(t))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))))})),p=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(l),n.lastValidatePromise=p,p.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)})),(f=p.then((function(){return n.lastValidatePromise===p?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(s),errorFields:t,outOfDate:n.lastValidatePromise!==p})}))).catch((function(e){return e})),h=s.filter((function(e){return u.has(e.join(c))})),n.triggerOnFieldsChange(h),f})),ki(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t})),nj=yy.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),rj=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,i=yy.useContext(nj),a=yy.useRef({});return yy.createElement(nj.Provider,{value:Ea(Ea({},i),{},{validateMessages:Ea(Ea({},i.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=Ea(Ea({},a.current),{},ki({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=Ea({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},oj=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],ij=function(e,t){var n,r,o,i,a,s,l=e.name,c=e.initialValues,u=e.fields,d=e.form,p=e.preserve,f=e.children,h=e.component,g=void 0===h?"form":h,m=e.validateMessages,b=e.validateTrigger,y=void 0===b?"onChange":b,v=e.onValuesChange,w=e.onFieldsChange,x=e.onFinish,S=e.onFinishFailed,E=Oi(e,oj),C=yy.useContext(nj),k=Ua(yu(d),1)[0],O=k.getInternalHooks(kN),D=O.useSubscribe,$=O.setInitialValues,_=O.setCallbacks,N=O.setValidateMessages,j=O.setPreserve,P=O.destroyForm;return yy.useImperativeHandle(t,(function(){return k})),yy.useEffect((function(){return C.registerForm(l,k),function(){C.unregisterForm(l)}}),[C,k,l]),N(Ea(Ea({},C.validateMessages),m)),_({onValuesChange:v,onFieldsChange:function(e){if(C.triggerFormChange(l,e),w){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{}}),I0=yy.createContext(null),A0=e=>{const t=Qs(e,["prefixCls"]);return yy.createElement(rj,Object.assign({},t))},R0=yy.createContext({prefixCls:""}),F0=yy.createContext({}),M0=e=>{let{children:t,status:n,override:r}=e;const o=yy.useContext(F0),i=yy.useMemo((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return yy.createElement(F0.Provider,{value:i},t)},L0=yy.createContext({add:xu,remove:xu}),B0=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=yy.useContext($0);return rJ.createElement(O0,Object.assign({onClick:n},e),t)},z0=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=yy.useContext($0);return rJ.createElement(O0,Object.assign({},jc(n),{loading:e,onClick:o},t),r)},H0=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:a,okButtonProps:s,cancelButtonProps:l,footer:c}=e,[u]=QJ("Modal",al()),d={confirmLoading:o,okButtonProps:s,cancelButtonProps:l,okTextLocale:t||(null==u?void 0:u.okText),cancelTextLocale:r||(null==u?void 0:u.cancelText),okType:n,onOk:i,onCancel:a},p=rJ.useMemo((()=>d),xa(Object.values(d)));let f;return"function"==typeof c||void 0===c?(f=rJ.createElement(_0,{value:p},rJ.createElement(B0,null),rJ.createElement(z0,null)),"function"==typeof c&&(f=c(f,{OkBtn:z0,CancelBtn:B0}))):f=c,rJ.createElement(jQ,{disabled:!1},f)},U0=e=>({animationDuration:e,animationFillMode:"both"}),W0=e=>({animationDuration:e,animationFillMode:"both"}),G0=function(e,t,n,r,o){const i=arguments.length>4&&void 0!==o&&o?"&":"";return{[`\n ${i}${e}-enter,\n ${i}${e}-appear\n `]:Object.assign(Object.assign({},U0(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},W0(r)),{animationPlayState:"paused"}),[`\n ${i}${e}-enter${e}-enter-active,\n ${i}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},V0=new TD("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),q0=new TD("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),X0=function(e,t){let n=arguments.length>1&&void 0!==t&&t;const{antCls:r}=e,o=`${r}-fade`,i=n?"&":"";return[G0(o,V0,q0,e.motionDurationMid,n),{[`\n ${i}${o}-enter,\n ${i}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${o}-leave`]:{animationTimingFunction:"linear"}}]},K0=new TD("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Y0=new TD("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),J0=new TD("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Q0=new TD("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Z0=new TD("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),e1=new TD("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),t1={"move-up":{inKeyframes:new TD("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new TD("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:K0,outKeyframes:Y0},"move-left":{inKeyframes:J0,outKeyframes:Q0},"move-right":{inKeyframes:Z0,outKeyframes:e1}},n1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=t1[t];return[G0(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},r1=new TD("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),o1=new TD("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i1=new TD("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),a1=new TD("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s1=new TD("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),l1=new TD("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),c1=new TD("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u1=new TD("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),d1={"slide-up":{inKeyframes:r1,outKeyframes:o1},"slide-down":{inKeyframes:i1,outKeyframes:a1},"slide-left":{inKeyframes:s1,outKeyframes:l1},"slide-right":{inKeyframes:c1,outKeyframes:u1}},p1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=d1[t];return[G0(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},f1=new TD("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),h1=new TD("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),g1=new TD("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),m1=new TD("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),b1=new TD("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),y1=new TD("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),v1=new TD("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),w1=new TD("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),x1=new TD("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),S1=new TD("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),E1=new TD("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),C1=new TD("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),k1={zoom:{inKeyframes:f1,outKeyframes:h1},"zoom-big":{inKeyframes:g1,outKeyframes:m1},"zoom-big-fast":{inKeyframes:g1,outKeyframes:m1},"zoom-left":{inKeyframes:v1,outKeyframes:w1},"zoom-right":{inKeyframes:x1,outKeyframes:S1},"zoom-up":{inKeyframes:b1,outKeyframes:y1},"zoom-down":{inKeyframes:E1,outKeyframes:C1}},O1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=k1[t];return[G0(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},D1=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),$1=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Cu("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Cu("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:X0(e)}]},_1=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},vQ(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},EQ(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},N1=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},j1=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},P1=e=>{const t=e.padding;return Rl(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:e.lineHeightHeading5*e.fontSizeHeading5+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight})},T1=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading}),I1=Ml("Modal",(e=>{const t=P1(e);return[_1(t),j1(t),$1(t),e.wireframe&&N1(t),O1(t,"zoom")]}),T1);let A1;sj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{A1={x:e.pageX,y:e.pageY},setTimeout((()=>{A1=null}),100)}),!0);const R1=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=yy.useContext(mQ),a=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:l,rootClassName:c,open:u,wrapClassName:d,centered:p,getContainer:f,closeIcon:h,closable:g,focusTriggerAfterClose:m=!0,style:b,visible:y,width:v=520,footer:w}=e,x=sj(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),S=r("modal",s),E=r(),[C,k]=I1(S),O=zJ(d,{[`${S}-centered`]:!!p,[`${S}-wrap-rtl`]:"rtl"===o}),D=null!==w&&yy.createElement(H0,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:a})),[$,_]=Hc(g,h,(e=>Eu(S,e)),yy.createElement(QQ,{className:`${S}-close-icon`}),!0),N=Su(`.${S}-content`);return C(yy.createElement(HZ,null,yy.createElement(M0,{status:!0,override:!0},yy.createElement(CN,Object.assign({width:v},x,{getContainer:void 0===f?n:f,prefixCls:S,rootClassName:zJ(k,c),wrapClassName:O,footer:D,visible:null!=u?u:y,mousePosition:null!==(t=x.mousePosition)&&void 0!==t?t:A1,onClose:a,closable:$,closeIcon:_,focusTriggerAfterClose:m,transitionName:DZ(E,"zoom",e.transitionName),maskTransitionName:DZ(E,"fade",e.maskTransitionName),className:zJ(k,l,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),b),panelRef:N})))))},F1=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a}=e,s=`${t}-confirm`,l=Math.round(n*r),c=Math.round(i*a);return{[s]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${s}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`${s}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.marginSM,marginTop:(c-o)/2},[`&-has-title > ${e.iconCls}`]:{marginTop:(l-o)/2}},[`${s}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${s}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${s}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${s}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${s}-error ${s}-body > ${e.iconCls}`]:{color:e.colorError},[`${s}-warning ${s}-body > ${e.iconCls},\n ${s}-confirm ${s}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${s}-info ${s}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${s}-success ${s}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},M1=$Q(["Modal","confirm"],(e=>{const t=P1(e);return[F1(t)]}),T1,{order:-1e3});lj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:s,maskStyle:l,direction:c,prefixCls:u,wrapClassName:d,rootPrefixCls:p,iconPrefixCls:f,theme:h,bodyStyle:g,closable:m=!1,closeIcon:b,modalRender:y,focusTriggerAfterClose:v,onConfirm:w}=e,x=`${u}-confirm`,S=e.width||416,E=e.style||{},C=void 0===e.mask||e.mask,k=void 0!==e.maskClosable&&e.maskClosable,O=zJ(x,`${x}-${e.type}`,{[`${x}-rtl`]:"rtl"===c},e.className);return yy.createElement(WQ,{prefixCls:p,iconPrefixCls:f,direction:c,theme:h},yy.createElement(R1,{prefixCls:u,className:O,wrapClassName:zJ({[`${x}-centered`]:!!e.centered},d),onCancel:()=>{null==t||t({triggerCancel:!0}),null==w||w(!1)},open:o,title:"",footer:null,transitionName:DZ(p||"","zoom",e.transitionName),maskTransitionName:DZ(p||"","fade",e.maskTransitionName),mask:C,maskClosable:k,maskStyle:l,style:E,bodyStyle:g,width:S,zIndex:n,afterClose:r,keyboard:i,centered:a,getContainer:s,closable:m,closeIcon:b,modalRender:y,focusTriggerAfterClose:v},yy.createElement(ku,Object.assign({},e,{confirmPrefixCls:x}))))},B1=[];cj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{afterClose:r,config:o}=e,i=uj(e,["afterClose","config"]);const[a,s]=yy.useState(!0),[l,c]=yy.useState(o),{direction:u,getPrefixCls:d}=yy.useContext(mQ),p=d("modal"),f=d(),h=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));l.onCancel&&r&&l.onCancel.apply(l,[()=>{}].concat(xa(t.slice(1))))};yy.useImperativeHandle(t,(()=>({destroy:h,update:e=>{c((t=>Object.assign(Object.assign({},t),e)))}})));const g=null!==(n=l.okCancel)&&void 0!==n?n:"confirm"===l.type,[m]=QJ("Modal",qJ.Modal);return yy.createElement(L1,Object.assign({prefixCls:p,rootPrefixCls:f},l,{close:h,open:a,afterClose:()=>{var e;r(),null===(e=l.afterClose)||void 0===e||e.call(l)},okText:l.okText||(g?null==m?void 0:m.okText:null==m?void 0:m.justOkText),direction:l.direction||u,cancelText:l.cancelText||(null==m?void 0:m.cancelText)},i))},U1=yy.forwardRef(H1);let W1=0;const G1=yy.memo(yy.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=yy.useState([]);return[e,yy.useCallback((e=>(t((t=>[].concat(xa(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return yy.useImperativeHandle(t,(()=>({patchElement:r})),[]),yy.createElement(yy.Fragment,null,n)}))),V1=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e;return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new TD("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}})}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new TD("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}})}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new TD("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}})}}}},q1=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:p,notificationPadding:f,notificationMarginEdge:h,motionDurationMid:g,motionEaseInOut:m,fontSize:b,lineHeight:y,width:v,notificationIconSize:w,colorText:x}=e,S=`${n}-notice`,E=new TD("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:v},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),C=new TD("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),k={position:"relative",width:v,maxWidth:`calc(100vw - ${2*h}px)`,marginBottom:i,marginInlineStart:"auto",padding:f,overflow:"hidden",lineHeight:y,wordWrap:"break-word",background:p,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${S}-message`]:{marginBottom:e.marginXS,color:d,fontSize:o,lineHeight:e.lineHeightLG},[`${S}-description`]:{fontSize:b,color:x},[`&${S}-closable ${S}-message`]:{paddingInlineEnd:e.paddingLG},[`${S}-with-icon ${S}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+w,fontSize:o},[`${S}-with-icon ${S}-description`]:{marginInlineStart:e.marginSM+w,fontSize:b},[`${S}-icon`]:{position:"absolute",fontSize:w,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${S}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${S}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:h,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[S]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[S]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:m,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:m,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:E,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:C,animationPlayState:"running"}}),V1(e)),{"&-rtl":{direction:"rtl",[`${S}-btn`]:{float:"left"}}})},{[n]:{[S]:Object.assign({},k)}},{[`${S}-pure-panel`]:Object.assign(Object.assign({},k),{margin:0})}]},X1=Ml("Notification",(e=>{const t=Rl(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:e.paddingMD,notificationPaddingHorizontal:e.paddingLG,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[q1(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})));dj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:s="alert"}=e;let l=null;return n?l=yy.createElement("span",{className:`${t}-icon`},n):r&&(l=yy.createElement(K1[r]||null,{className:zJ(`${t}-icon`,`${t}-icon-${r}`)})),yy.createElement("div",{className:zJ({[`${t}-with-icon`]:l}),role:s},l,yy.createElement("div",{className:`${t}-message`},o),yy.createElement("div",{className:`${t}-description`},i),a&&yy.createElement("div",{className:`${t}-btn`},a))};pj=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t,prefixCls:n}=e;const[,r]=X1(n);return yy.createElement(K_,{classNames:{list:r,notice:r}},t)},Z1=(e,t)=>{let{prefixCls:n,key:r}=t;return yy.createElement(Q1,{prefixCls:n,key:r},e)},e2=yy.forwardRef(((e,t)=>{const{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,notification:d}=yy.useContext(mQ),p=o||c("notification"),[f,h]=lc({prefixCls:p,style:e=>function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}(e,null!=n?n:24,null!=r?r:24),className:()=>zJ({[`${p}-rtl`]:s}),motion:()=>function(e){return{motionName:`${e}-fade`}}(p),closable:!0,closeIcon:Tu(p),duration:4.5,getContainer:()=>(null==i?void 0:i())||(null==u?void 0:u())||document.body,maxCount:a,onAllRemoved:l,renderNotifications:Z1});return yy.useImperativeHandle(t,(()=>Object.assign(Object.assign({},f),{prefixCls:p,notification:d}))),h})),t2=rJ.createContext({}),n2=rJ.createContext({message:{},notification:{},modal:{}}),r2=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},o2=Ml("App",(e=>[r2(e)])),i2=e=>{const{prefixCls:t,children:n,className:r,rootClassName:o,message:i,notification:a,style:s}=e,{getPrefixCls:l}=yy.useContext(mQ),c=l("app",t),[u,d]=o2(c),p=zJ(d,c,r,o),f=yy.useContext(t2),h=rJ.useMemo((()=>({message:Object.assign(Object.assign({},f.message),i),notification:Object.assign(Object.assign({},f.notification),a)})),[i,a,f.message,f.notification]),[g,m]=dc(h.message),[b,y]=Au(h.notification),[v,w]=Pu(),x=rJ.useMemo((()=>({message:g,notification:b,modal:v})),[g,b,v]);return u(rJ.createElement(n2.Provider,{value:x},rJ.createElement(t2.Provider,{value:h},rJ.createElement("div",{className:p,style:s},w,m,y,n))))};i2.useApp=()=>rJ.useContext(n2);const a2=i2,s2=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))};fj=function(e){var t,n=e.className,r=e.customizeIcon,o=e.onMouseDown,i=e.onClick,a=e.children;return t="function"==typeof r?r(e.customizeIconProps):r,yy.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==t?t:yy.createElement("span",{className:zJ(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},a))},hj=yy.createContext(null),gj=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],mj=void 0,(bj=yy.forwardRef(Mu)).displayName="Item",yj=rJ.createContext(null),vj=["component"],wj=["className"],xj=["className"],Sj=function(e,t){var n,r,o,i,a,s,l,c=yy.useContext(yj);return c?(i=c.className,a=Oi(c,wj),s=e.className,l=Oi(e,xj),yy.createElement(yj.Provider,{value:null},yy.createElement(bj,fa({ref:t,className:zJ(i,s)},a,l)))):(r=void 0===(n=e.component)?"div":n,o=Oi(e,vj),yy.createElement(r,fa({},o,{ref:t})))},(Ej=yy.forwardRef(Sj)).displayName="RawItem",Cj=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],kj="responsive",Oj="invalidate",(Dj=yy.forwardRef(zu)).displayName="Overflow",Dj.Item=Ej,Dj.RESPONSIVE=kj,Dj.INVALIDATE=Oj,($j=yy.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.id,a=e.disabled,s=e.tabIndex,l=e.autoFocus,c=e.autoComplete,u=e.editable,d=e.activeDescendantId,p=e.value,f=e.maxLength,h=e.onKeyDown,g=e.onMouseDown,m=e.onChange,b=e.onPaste,y=e.onCompositionStart,v=e.onCompositionEnd,w=e.open,x=e.attrs,S=e.inputElement||yy.createElement("input",null),E=S.ref,C=S.props,k=C.onKeyDown,O=C.onChange,D=C.onMouseDown,$=C.onCompositionStart,_=C.onCompositionEnd,N=C.style;return yy.cloneElement(S,Ea(Ea(Ea({type:"search"},C),{},{id:i,ref:Hs(t,E),disabled:a,tabIndex:s,autoComplete:c||"off",autoFocus:l,className:zJ("".concat(o,"-selection-search-input"),null===(n=S)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-label":"Search","aria-expanded":w||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":w?d:void 0},x),{},{value:u?p:"",maxLength:f,readOnly:!u,unselectable:u?null:"on",style:Ea(Ea({},N),{},{opacity:u?null:0}),onKeyDown:function(e){h(e),k&&k(e)},onMouseDown:function(e){g(e),D&&D(e)},onChange:function(e){m(e),O&&O(e)},onCompositionStart:function(e){y(e),$&&$(e)},onCompositionEnd:function(e){v(e),_&&_(e)},onPaste:b}))}))).displayName="Input",_j="undefined"!=typeof window&&window.document&&window.document.documentElement,Nj=_j,jj=function(e){e.preventDefault(),e.stopPropagation()},Pj=function(e){function t(e,t,n,r,o){return yy.createElement("span",{className:zJ("".concat(H,"-item"),ki({},"".concat(H,"-item-disabled"),n)),title:Wu(e)},yy.createElement("span",{className:"".concat(H,"-item-content")},t),r&&yy.createElement(fj,{className:"".concat(H,"-item-remove"),onMouseDown:jj,onClick:o,customizeIcon:x},"×"))}var n,r,o,i,a=e.id,s=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,d=e.autoClearSearchValue,p=e.inputRef,f=e.placeholder,h=e.disabled,g=e.mode,m=e.showSearch,b=e.autoFocus,y=e.autoComplete,v=e.activeDescendantId,w=e.tabIndex,x=e.removeIcon,S=e.maxTagCount,E=e.maxTagTextLength,C=e.maxTagPlaceholder,k=void 0===C?function(e){return"+ ".concat(e.length," ...")}:C,O=e.tagRender,D=e.onToggleOpen,$=e.onRemove,_=e.onInputChange,N=e.onInputPaste,j=e.onInputKeyDown,P=e.onInputMouseDown,T=e.onInputCompositionStart,I=e.onInputCompositionEnd,A=yy.useRef(null),R=Ua(yy.useState(0),2),F=R[0],M=R[1],L=Ua(yy.useState(!1),2),B=L[0],z=L[1],H="".concat(s,"-selection"),U=c||"multiple"===g&&!1===d||"tags"===g?u:"",W="tags"===g||"multiple"===g&&!1===d||m&&(c||B);return o=function(){M(A.current.scrollWidth)},i=[U],Nj?yy.useLayoutEffect(o,i):yy.useEffect(o,i),n=yy.createElement("div",{className:"".concat(H,"-search"),style:{width:F},onFocus:function(){z(!0)},onBlur:function(){z(!1)}},yy.createElement($j,{ref:p,open:c,prefixCls:s,id:a,inputElement:null,disabled:h,autoFocus:b,autoComplete:y,editable:W,activeDescendantId:v,value:U,onKeyDown:j,onMouseDown:P,onChange:_,onPaste:N,onCompositionStart:T,onCompositionEnd:I,tabIndex:w,attrs:ic(e,!0)}),yy.createElement("span",{ref:A,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},U," ")),r=yy.createElement(Dj,{prefixCls:"".concat(H,"-overflow"),data:l,renderItem:function(e){var n,r,o=e.disabled,i=e.label,a=e.value,s=!h&&!o,l=i;return"number"==typeof E&&("string"!=typeof i&&"number"!=typeof i||(n=String(l)).length>E&&(l="".concat(n.slice(0,E),"..."))),r=function(t){t&&t.stopPropagation(),$(e)},"function"==typeof O?function(e,t,n,r,o){return yy.createElement("span",{onMouseDown:function(e){jj(e),D(!c)}},O({label:t,value:e,disabled:n,closable:r,onClose:o}))}(a,l,o,s,r):t(e,l,o,s,r)},renderRest:function(e){var n="function"==typeof k?k(e):k;return t({title:n},n,!1)},suffix:n,itemKey:Gu,maxCount:S}),yy.createElement(yy.Fragment,null,r,!l.length&&!U&&yy.createElement("span",{className:"".concat(H,"-placeholder")},f))},Tj=function(e){var t,n,r,o=e.inputElement,i=e.prefixCls,a=e.id,s=e.inputRef,l=e.disabled,c=e.autoFocus,u=e.autoComplete,d=e.activeDescendantId,p=e.mode,f=e.open,h=e.values,g=e.placeholder,m=e.tabIndex,b=e.showSearch,y=e.searchValue,v=e.activeValue,w=e.maxLength,x=e.onInputKeyDown,S=e.onInputMouseDown,E=e.onInputChange,C=e.onInputPaste,k=e.onInputCompositionStart,O=e.onInputCompositionEnd,D=e.title,$=Ua(yy.useState(!1),2),_=$[1],N="combobox"===p,j=N||b,P=h[0],T=y||"";return N&&v&&!$[0]&&(T=v),yy.useEffect((function(){N&&_(!1)}),[N,v]),t=!("combobox"!==p&&!f&&!b||!T),n=void 0===D?Wu(P):D,r=function(){if(P)return null;var e=t?{visibility:"hidden"}:void 0;return yy.createElement("span",{className:"".concat(i,"-selection-placeholder"),style:e},g)},yy.createElement(yy.Fragment,null,yy.createElement("span",{className:"".concat(i,"-selection-search")},yy.createElement($j,{ref:s,prefixCls:i,id:a,open:f,inputElement:o,disabled:l,autoFocus:c,autoComplete:u,editable:j,activeDescendantId:d,value:T,onKeyDown:x,onMouseDown:S,onChange:function(e){_(!0),E(e)},onPaste:C,onCompositionStart:k,onCompositionEnd:O,tabIndex:m,attrs:ic(e,!0),maxLength:N?w:void 0})),!N&&P?yy.createElement("span",{className:"".concat(i,"-selection-item"),title:n,style:t?{visibility:"hidden"}:void 0},P.label):null,r())},Ij=function(e,t){var n,r,o,i,a,s,l,c,u,d,p=yy.useRef(null),f=yy.useRef(!1),h=e.prefixCls,g=e.open,m=e.mode,b=e.showSearch,y=e.tokenWithEnter,v=e.autoClearSearchValue,w=e.onSearch,x=e.onSearchSubmit,S=e.onToggleOpen,E=e.onInputKeyDown,C=e.domRef;return yy.useImperativeHandle(t,(function(){return{focus:function(){p.current.focus()},blur:function(){p.current.blur()}}})),n=Ua(Fu(0),2),r=n[0],o=n[1],i=function(e){var t=e.which;t!==V_.UP&&t!==V_.DOWN||e.preventDefault(),E&&E(e),t!==V_.ENTER||"tags"!==m||f.current||g||null==x||x(e.target.value),[V_.ESC,V_.SHIFT,V_.BACKSPACE,V_.TAB,V_.WIN_KEY,V_.ALT,V_.META,V_.WIN_KEY_RIGHT,V_.CTRL,V_.SEMICOLON,V_.EQUALS,V_.CAPS_LOCK,V_.CONTEXT_MENU,V_.F1,V_.F2,V_.F3,V_.F4,V_.F5,V_.F6,V_.F7,V_.F8,V_.F9,V_.F10,V_.F11,V_.F12].includes(t)||S(!0)},a=function(){o(!0)},s=yy.useRef(null),l=function(e){!1!==w(e,!0,f.current)&&S(!0)},c=function(e){e.target!==p.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){p.current.focus()})):p.current.focus())},u=function(e){var t=r();e.target===p.current||t||"combobox"===m||e.preventDefault(),("combobox"===m||b&&t)&&g||(g&&!1!==v&&w("",!0,!1),S())},d=yy.createElement("multiple"===m||"tags"===m?Pj:Tj,fa({},e,{inputRef:p,onInputKeyDown:i,onInputMouseDown:a,onInputChange:function(e){var t,n=e.target.value;y&&s.current&&/[\r\n]/.test(s.current)&&(t=s.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," "),n=n.replace(t,s.current)),s.current=null,l(n)},onInputPaste:function(e){var t=e.clipboardData.getData("text");s.current=t},onInputCompositionStart:function(){f.current=!0},onInputCompositionEnd:function(e){f.current=!1,"combobox"!==m&&l(e.target.value)}})),yy.createElement("div",{ref:C,className:"".concat(h,"-selector"),onClick:c,onMouseDown:u},d)},(Aj=yy.forwardRef(Ij)).displayName="Selector",Rj=yy.createContext(null),Fj=[],Mj="rc-util-locker-".concat(Date.now()),Lj=0,Bj=function(e){return!1!==e&&(Pa()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},zj=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E=e.open,C=e.autoLock,k=e.getContainer;return r=void 0===(n=e.autoDestroy)||n,o=e.children,i=Ua(yy.useState(E),2),a=i[1],s=i[0]||E,yy.useEffect((function(){(r||E)&&a(E)}),[E,r]),c=(l=Ua(yy.useState((function(){return Bj(k)})),2))[0],u=l[1],yy.useEffect((function(){var e=Bj(k);u(null!=e?e:null)})),d=function(e){function t(){r.parentElement||document.body.appendChild(r),o.current=!0}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}var r=Ua(yy.useState((function(){return Pa()?document.createElement("div"):null})),1)[0],o=yy.useRef(!1),i=yy.useContext(Rj),a=Ua(yy.useState(Fj),2),s=a[0],l=a[1],c=i||(o.current?void 0:function(e){l((function(t){return[e].concat(xa(t))}))});return QO((function(){return e?i?i(t):t():n(),n}),[e]),QO((function(){s.length&&(s.forEach((function(e){return e()})),l(Fj))}),[s]),[r,c]}(s&&!c),f=(p=Ua(d,2))[0],h=p[1],g=null!=c?c:f,w=C&&E&&Pa()&&(g===f||g===document.body),x=!!w,S=Ua(yy.useState((function(){return Lj+=1,"".concat(Mj,"_").concat(Lj)})),1)[0],QO((function(){var e,t;return x?(e=Ac(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Ba("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),S)):La(S),function(){La(S)}}),[x,S]),m=null,o&&Ws(o)&&t&&(m=o.ref),b=Us(m,t),s&&Pa()&&void 0!==c?(y=!1===g||false,v=o,t&&(v=yy.cloneElement(o,{ref:b})),yy.createElement(Rj.Provider,{value:h},y?v:PE.createPortal(v,g))):null})),Hj=yy.createContext(null),Uj=yy.memo((function(e){return e.children}),(function(e,t){return t.cache})),Wj=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.popup,u=e.className,d=e.prefixCls,p=e.style,f=e.target,h=e.onVisibleChanged,g=e.open,m=e.keepDom,b=e.onClick,y=e.mask,v=e.arrow,w=e.arrowPos,x=e.align,S=e.motion,E=e.maskMotion,C=e.forceRender,k=e.getPopupContainer,O=e.autoDestroy,D=e.portal,$=e.zIndex,_=e.onMouseEnter,N=e.onMouseLeave,j=e.onPointerEnter,P=e.ready,T=e.offsetX,I=e.offsetY,A=e.offsetR,R=e.offsetB,F=e.onAlign,M=e.onPrepare,L=e.stretch,B=e.targetWidth,z=e.targetHeight,H="function"==typeof c?c():c,U=g||m,W=(null==k?void 0:k.length)>0,G=Ua(yy.useState(!k||!W),2),V=G[0],q=G[1];return QO((function(){!V&&W&&f&&q(!0)}),[V,W,f]),V?(r={left:"-1000vw",top:"-1000vh",right:n="auto",bottom:n},!P&&g||(o=x.points,s=(a=null==(i=x._experimental)?void 0:i.dynamicInset)&&"b"===o[0][0],a&&"r"===o[0][1]?(r.right=A,r.left=n):(r.left=T,r.right=n),s?(r.bottom=R,r.top=n):(r.top=I,r.bottom=n)),l={},L&&(L.includes("height")&&z?l.height=z:L.includes("minHeight")&&z&&(l.minHeight=z),L.includes("width")&&B?l.width=B:L.includes("minWidth")&&B&&(l.minWidth=B)),g||(l.pointerEvents="none"),yy.createElement(D,{open:C||U,getContainer:k&&function(){return k(f)},autoDestroy:O},yy.createElement(ad,{prefixCls:d,open:g,zIndex:$,mask:y,motion:E}),yy.createElement(j$,{onResize:F,disabled:!g},(function(e){return yy.createElement(RQ,fa({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:C,leavedClassName:"".concat(d,"-hidden")},S,{onAppearPrepare:M,onEnterPrepare:M,visible:g,onVisibleChanged:function(e){var t;null==S||null===(t=S.onVisibleChanged)||void 0===t||t.call(S,e),h(e)}}),(function(n,o){var i=n.style,a=zJ(d,n.className,u);return yy.createElement("div",{ref:Hs(e,t,o),className:a,style:Ea(Ea(Ea(Ea({"--arrow-x":"".concat(w.x||0,"px"),"--arrow-y":"".concat(w.y||0,"px")},r),l),i),{},{boxSizing:"border-box",zIndex:$},p),onMouseEnter:_,onMouseLeave:N,onPointerEnter:j,onClick:b},v&&yy.createElement(id,{prefixCls:d,arrow:v,arrowPos:w,align:x}),yy.createElement(Uj,{cache:!g},H))}))})))):null})),Gj=yy.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Ws(n),i=Us(yy.useCallback((function(e){zs(t,r?r(e):e)}),[r]),n.ref);return o?yy.cloneElement(n,{ref:i}):n})),Vj=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const l2=function(e){var t=arguments.length>0&&void 0!==e?e:zj,n=yy.forwardRef((function(e,n){function r(e,t,n,r){y[e]=function(o){var i,a,s,l;for(null==r||r(o),N(t,n),a=arguments.length,s=new Array(a>1?a-1:0),l=1;l1&&void 0!==t?t:0;_(),0===n?D(e):$.current=setTimeout((function(){D(e)}),1e3*n)},yy.useEffect((function(){return _}),[]),j=Ua(yy.useState(!1),2),P=j[0],T=j[1],QO((function(e){e&&!C||T(!0)}),[C]),I=Ua(yy.useState(null),2),A=I[0],R=I[1],M=(F=Ua(yy.useState([0,0]),2))[0],L=F[1],B=function(e){L([e.clientX,e.clientY])},z=function(e,t,n,r,o,i,a){var s,l,c,u=Ua(yy.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),d=u[0],p=u[1],f=yy.useRef(0),h=yy.useMemo((function(){return t?Yu(t):[]}),[t]),g=yy.useRef({});return e||(g.current={}),s=Pl((function(){var s,l,c,u,d,f,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A,R,F,M,L,B,z,H,U,W,G,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,de,pe,fe,he,ge,me,be,ye,ve,we,xe,Se,Ee,Ce,ke,Oe,De,$e,_e,Ne,je,Pe,Te,Ie,Ae,Re,Fe,Me,Le,Be,ze,He,Ue,We,Ge,Ve,qe,Xe,Ke,Ye;if(t&&n&&e){let e=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:z,o=O.x+e,i=O.y+t,a=o+j,s=i+N,l=Math.max(o,r.left),c=Math.max(i,r.top),u=Math.min(a,r.right),d=Math.min(s,r.bottom);return Math.max(0,(u-l)*(d-c))},Je=function(){we=(ve=O.y+ae)+N,Se=(xe=O.x+ie)+j};if(u=(c=t).ownerDocument,f=(d=Ku(c).getComputedStyle(c)).width,m=d.height,b=d.position,y=c.style.left,v=c.style.top,w=c.style.right,x=c.style.bottom,S=Ea(Ea({},o[r]),i),E=u.createElement("div"),null===(s=c.parentElement)||void 0===s||s.appendChild(E),E.style.left="".concat(c.offsetLeft,"px"),E.style.top="".concat(c.offsetTop,"px"),E.style.position=b,E.style.height="".concat(c.offsetHeight,"px"),E.style.width="".concat(c.offsetWidth,"px"),c.style.left="0",c.style.top="0",c.style.right="auto",c.style.bottom="auto",C=Array.isArray(n)?{x:n[0],y:n[1],width:0,height:0}:{x:(k=n.getBoundingClientRect()).x,y:k.y,width:k.width,height:k.height},O=c.getBoundingClientRect(),N=O.height,j=O.width,P=C.height,T=C.width,I={left:0,top:0,right:(D=u.documentElement).clientWidth,bottom:D.clientHeight},R="visible",F="visibleFirst","scroll"!==(A=S.htmlRegion)&&A!==F&&(A=R),M=A===F,L=Zu({left:-(_=D.scrollLeft),top:-($=D.scrollTop),right:D.scrollWidth-_,bottom:D.scrollHeight-$},h),B=Zu(I,h),z=A===R?B:L,H=M?B:z,c.style.left="auto",c.style.top="auto",c.style.right="0",c.style.bottom="0",U=c.getBoundingClientRect(),c.style.left=y,c.style.top=v,c.style.right=w,c.style.bottom=x,null===(l=c.parentElement)||void 0===l||l.removeChild(E),W=Ju(Math.round(j/parseFloat(f)*1e3)/1e3),G=Ju(Math.round(N/parseFloat(m)*1e3)/1e3),0===W||0===G||Gs(n)&&!$Z(n))return;V=S.targetOffset,X=(q=Ua(td(O,S.offset),2))[0],K=q[1],J=(Y=Ua(td(C,V),2))[1],C.x-=Y[0],C.y-=J,Z=(Q=Ua(S.points||[],2))[0],ee=nd(Q[1]),te=nd(Z),ne=rd(C,ee),re=rd(O,te),oe=Ea({},S),se=e(ie=ne.x-re.x+X,ae=ne.y-re.y+K),le=e(ie,ae,B),ce=rd(C,["t","l"]),ue=rd(O,["t","l"]),de=rd(C,["b","r"]),pe=rd(O,["b","r"]),he=(fe=S.overflow||{}).adjustX,ge=fe.adjustY,me=fe.shiftX,be=fe.shiftY,ye=function(e){return"boolean"==typeof e?e:e>=0},Je(),Ee=ye(ge),Ce=te[0]===ee[0],Ee&&"t"===te[0]&&(we>H.bottom||g.current.bt)&&(ke=ae,Ce?ke-=N-P:ke=ce.y-pe.y-K,Oe=e(ie,ke),De=e(ie,ke,B),Oe>se||Oe===se&&(!M||De>=le)?(g.current.bt=!0,ae=ke,K=-K,oe.points=[od(te,0),od(ee,0)]):g.current.bt=!1),Ee&&"b"===te[0]&&(vese||_e===se&&(!M||Ne>=le)?(g.current.tb=!0,ae=$e,K=-K,oe.points=[od(te,0),od(ee,0)]):g.current.tb=!1),je=ye(he),Pe=te[1]===ee[1],je&&"l"===te[1]&&(Se>H.right||g.current.rl)&&(Te=ie,Pe?Te-=j-T:Te=ce.x-pe.x-X,Ie=e(Te,ae),Ae=e(Te,ae,B),Ie>se||Ie===se&&(!M||Ae>=le)?(g.current.rl=!0,ie=Te,X=-X,oe.points=[od(te,1),od(ee,1)]):g.current.rl=!1),je&&"r"===te[1]&&(xese||Fe===se&&(!M||Me>=le)?(g.current.lr=!0,ie=Re,X=-X,oe.points=[od(te,1),od(ee,1)]):g.current.lr=!1),Je(),"number"==typeof(Le=!0===me?0:me)&&(xeB.right&&(ie-=Se-B.right-X,C.x>B.right-Le&&(ie+=C.x-B.right+Le))),"number"==typeof(Be=!0===be?0:be)&&(veB.bottom&&(ae-=we-B.bottom-K,C.y>B.bottom-Be&&(ae+=C.y-B.bottom+Be))),He=(ze=O.x+ie)+j,We=(Ue=O.y+ae)+N,Ve=(Ge=C.x)+T,Xe=(qe=C.y)+P,Ke=(Math.max(ze,Ge)+Math.min(He,Ve))/2-ze,Ye=(Math.max(Ue,qe)+Math.min(We,Xe))/2-Ue,null==a||a(t,oe),p({ready:!0,offsetX:ie/W,offsetY:ae/G,offsetR:(U.right-O.x-(ie+O.width))/W,offsetB:(U.bottom-O.y-(ae+O.height))/G,arrowX:Ke/W,arrowY:Ye/G,scaleX:W,scaleY:G,align:oe})}})),l=function(){f.current+=1;var e=f.current;Promise.resolve().then((function(){f.current===e&&s()}))},QO(c=function(){p((function(e){return Ea(Ea({},e),{},{ready:!1})}))},[r]),QO((function(){e||c()}),[e]),[d.ready,d.offsetX,d.offsetY,d.offsetR,d.offsetB,d.arrowX,d.arrowY,d.scaleX,d.scaleY,d.align,l]}(C,c,at?M:f,Ze,tt,nt,lt),U=(H=Ua(z,11))[0],W=H[1],G=H[2],V=H[3],q=H[4],X=H[5],K=H[6],Y=H[7],J=H[8],Q=H[9],Z=H[10],ee=function(e,t,n,r){return yy.useMemo((function(){var o=Vu(null!=n?n:t),i=Vu(null!=r?r:t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}(xt,je,Pe,Te),te=Ua(ee,2),re=te[1],oe=(ne=te[0]).has("click"),ie=re.has("click")||re.has("contextMenu"),ae=Pl((function(){P||Z()})),function(e,t,n,r){QO((function(){var o,i,a,s,l;if(e&&t&&n){let e=function(){r(),O.current&&at&&ie&&N(!1)};return o=n,i=Yu(t),a=Yu(o),s=Ku(o),(l=new Set([s].concat(xa(i),xa(a)))).forEach((function(t){t.addEventListener("scroll",e,{passive:!0})})),s.addEventListener("resize",e,{passive:!0}),r(),function(){l.forEach((function(t){t.removeEventListener("scroll",e),s.removeEventListener("resize",e)}))}}}),[e,t,n])}(C,f,c,ae),QO((function(){ae()}),[M,Ze]),QO((function(){!C||null!=tt&&tt[Ze]||ae()}),[JSON.stringify(nt)]),se=yy.useMemo((function(){var e=function(e,t,n,r){var o,i,a,s=n.points,l=Object.keys(e);for(o=0;o1?n-1:0),o=1;o1?n-1:0),o=1;o0&&void 0!==e?e:10,n=Ua(yy.useState(!1),2),r=n[0],o=n[1],i=yy.useRef(null),a=function(){window.clearTimeout(i.current)};return yy.useEffect((function(){return a}),[]),[r,function(e,n){a(),i.current=window.setTimeout((function(){o(e),n&&n()}),t)},a]}(),h=(f=Ua(p,3))[0],g=f[1],m=f[2],yy.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=u.current)||void 0===e?void 0:e.focus,blur:null===(t=u.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=d.current)||void 0===t?void 0:t.scrollTo(e)}}})),b=yy.useMemo((function(){var e,t;return"combobox"!==be?$e:"string"==typeof(t=null===(e=de[0])||void 0===e?void 0:e.value)||"number"==typeof t?String(t):""}),[$e,be,de]),y="combobox"===be&&"function"==typeof we&&we()||null,v="function"==typeof xe&&xe(),w=Us(l,null==v||null===(n=v.props)||void 0===n?void 0:n.ref),S=(x=Ua(yy.useState(!1),2))[0],E=x[1],QO((function(){E(!0)}),[]),C=Ua(Al(!1,{defaultValue:Ee,value:Se}),2),k=C[0],D=!!S&&k,$=!ge&&fe,(ye||$&&D&&"combobox"===be)&&(D=!1),_=!$&&D,N=yy.useCallback((function(e){var t=void 0!==e?e:!D;ye||(O(t),D!==t&&(null==Ce||Ce(t)))}),[ye,D,O=C[1],Ce]),j=yy.useMemo((function(){return(Pe||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[Pe]),P=function(e,t,n){var r,o,i,a,s=!0,l=e;return null==Oe||Oe(null),r=n?null:(o=Pe)&&o.length?(i=!1,a=function e(t,n){var r,o=el(n),a=o[0],s=o.slice(1);return a?(r=t.split(a),i=i||r.length>1,r.reduce((function(t,n){return[].concat(xa(t),xa(e(n,s)))}),[]).filter((function(e){return e}))):[t]}(e,o),i?a:null):null,"combobox"!==be&&r&&(l="",null==je||je(r),N(!1),s=!1),Ne&&b!==l&&Ne(l,{source:t?"typing":"effect"}),s},T=function(e){e&&e.trim()&&Ne(e,{source:"submit"})},yy.useEffect((function(){D||tt||"combobox"===be||P("",!1,!1)}),[D]),yy.useEffect((function(){k&&ye&&O(!1),ye&&g(!1)}),[ye]),I=Ua(Fu(),2),A=I[0],R=I[1],F=function(e){var t,n,r,o,i,a,s,l,c=A(),u=e.which;if(u===V_.ENTER&&("combobox"!==be&&e.preventDefault(),D||N(!0)),R(!!b),u===V_.BACKSPACE&&!c&&tt&&!b&&de.length){for(n=null,r=(t=xa(de)).length-1;r>=0;r-=1)if(!(o=t[r]).disabled){t.splice(r,1),n=o;break}n&&pe(t,{type:"remove",values:[n]})}for(i=arguments.length,a=new Array(i>1?i-1:0),s=1;s1?t-1:0),r=1;r1?r-1:0),a=1;a5&&void 0!==i&&i,c=arguments.length>6?a:void 0,u=arguments.length>7?s:void 0,d=rJ.useMemo((function(){return"object"===Ei(r)?r.clearIcon:o||void 0}),[r,o]);return{allowClear:rJ.useMemo((function(){return!(l||!r||!n.length&&!c||"combobox"===u&&""===c)}),[r,l,n.length,c,u]),clearIcon:rJ.createElement(fj,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:d},"×")}}(ie,(function(){var e;null==me||me(),null===(e=u.current)||void 0===e||e.focus(),pe([],{type:"clear",values:de}),P("",!1,!1)}),de,Te,Ae,ye,b,be),Q=J.allowClear,Z=J.clearIcon,ee=yy.createElement(Re,{ref:d}),te=zJ(ie,ae,(ki(r={},"".concat(ie,"-focused"),h),ki(r,"".concat(ie,"-multiple"),tt),ki(r,"".concat(ie,"-single"),!tt),ki(r,"".concat(ie,"-allow-clear"),Te),ki(r,"".concat(ie,"-show-arrow"),K),ki(r,"".concat(ie,"-disabled"),ye),ki(r,"".concat(ie,"-loading"),ve),ki(r,"".concat(ie,"-open"),D),ki(r,"".concat(ie,"-customize-input"),y),ki(r,"".concat(ie,"-show-search"),nt),r)),ne=yy.createElement(Yj,{ref:c,disabled:ye,prefixCls:ie,visible:_,popupElement:ee,animation:Fe,transitionName:Me,dropdownStyle:Le,dropdownClassName:Be,direction:ce,dropdownMatchSelectWidth:ze,dropdownRender:He,dropdownAlign:Ue,placement:We,builtinPlacements:Ge,getPopupContainer:Ve,empty:fe,getTriggerDOMNode:function(){return l.current},onPopupVisibleChange:q,onPopupMouseEnter:function(){V({})}},v?yy.cloneElement(v,{ref:w}):yy.createElement(Aj,fa({},e,{domRef:l,prefixCls:ie,inputElement:y,ref:u,id:oe,showSearch:nt,autoClearSearchValue:_e,mode:be,activeDescendantId:De,tagRender:le,values:de,open:D,onToggleOpen:N,activeValue:ke,searchValue:b,onSearch:P,onSearchSubmit:T,onRemove:L,tokenWithEnter:j}))),re=v?ne:yy.createElement("div",fa({className:te},rt,{ref:s,onMouseDown:W,onKeyDown:F,onKeyUp:M,onFocus:z,onBlur:H}),h&&!D&&yy.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(de.map((function(e){var t=e.label,n=e.value;return["number","string"].includes(Ei(t))?t:n})).join(", "))),ne,Y,Q&&Z),yy.createElement(hj.Provider,{value:X},re)})),eP=0,tP=Pa(),nP=["children","value"],rP=["children"],(oP=function(){return null}).isSelectOptGroup=!0,(iP=function(){return null}).isSelectOption=!0,(aP=yy.forwardRef((function(e,t){var n,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,d={},p={display:"flex",flexDirection:"column"};return void 0!==r&&(d={height:e.height,position:"relative",overflow:"hidden"},p=Ea(Ea({},p),{},(ki(n={transform:"translateY(".concat(r,"px)")},c?"marginRight":"marginLeft",-o),ki(n,"position","absolute"),ki(n,"left",0),ki(n,"right",0),ki(n,"top",0),n))),yy.createElement("div",{style:d},yy.createElement(j$,{onResize:function(e){e.offsetHeight&&s&&s()}},yy.createElement("div",fa({style:p,className:zJ(ki({},"".concat(a,"-holder-inner"),a)),ref:t},l),i,u)))}))).displayName="Filler",sP=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.prefixCls,u=e.rtl,d=e.scrollOffset,p=e.scrollRange,f=e.onStartMove,h=e.onStopMove,g=e.onScroll,m=e.horizontal,b=e.spinSize,y=e.containerSize,v=Ua(yy.useState(!1),2),w=v[0],x=v[1],S=Ua(yy.useState(null),2),E=S[0],C=S[1],k=Ua(yy.useState(null),2),O=k[0],D=k[1],$=!u,_=yy.useRef(),N=yy.useRef(),j=Ua(yy.useState(!1),2),P=j[0],T=j[1],I=yy.useRef(),A=function(){clearTimeout(I.current),T(!0),I.current=setTimeout((function(){T(!1)}),3e3)},R=p-y||0,F=y-b||0,M=R>0,L=yy.useMemo((function(){return 0===d||0===R?0:d/R*F}),[d,R,F]),B=yy.useRef({top:L,dragging:w,pageY:E,startTop:O});return B.current={top:L,dragging:w,pageY:E,startTop:O},r=function(e){x(!0),C(fd(e,m)),D(B.current.top),f(),e.stopPropagation(),e.preventDefault()},yy.useEffect((function(){var e=function(e){e.preventDefault()},t=_.current,n=N.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",r),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",r)}}),[]),(o=yy.useRef()).current=R,(i=yy.useRef()).current=F,yy.useEffect((function(){var e,t,n;if(w)return t=function(t){var n,r,a,s,l,c=B.current,u=c.dragging,d=c.pageY,p=c.startTop;R$.cancel(e),u&&(n=fd(t,m)-d,r=p,!$&&m?r-=n:r+=n,a=o.current,s=i.current,l=Math.ceil((s?r/s:0)*a),l=Math.max(l,0),l=Math.min(l,a),e=R$((function(){g(l,m)})))},n=function(){x(!1),h()},window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),R$.cancel(e)}}),[w]),yy.useEffect((function(){A()}),[d]),yy.useImperativeHandle(t,(function(){return{delayHidden:A}})),a="".concat(c,"-scrollbar"),s={position:"absolute",visibility:P&&M?null:"hidden"},l={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},m?(s.height=8,s.left=0,s.right=0,s.bottom=0,l.height="100%",l.width=b,$?l.left=L:l.right=L):(s.width=8,s.top=0,s.bottom=0,$?s.right=0:s.left=0,l.width="100%",l.height=b,l.top=L),yy.createElement("div",{ref:_,className:zJ(a,(n={},ki(n,"".concat(a,"-horizontal"),m),ki(n,"".concat(a,"-vertical"),!m),ki(n,"".concat(a,"-visible"),P),n)),style:s,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:A},yy.createElement("div",{ref:N,className:zJ("".concat(a,"-thumb"),ki({},"".concat(a,"-thumb-moving"),w)),style:l,onMouseDown:r}))})),lP=function(){function e(){$i(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Ni(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),cP="object"===("undefined"==typeof navigator?"undefined":Ei(navigator))&&/Firefox/i.test(navigator.userAgent);const c2=function(e,t){var n=yy.useRef(!1),r=yy.useRef(null),o=yy.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e,t){var i=e<0&&o.current.top||e>0&&o.current.bottom;return arguments.length>1&&void 0!==t&&t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};uP=14/15,dP=20,pP=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender"],fP=[],hP={overflowY:"auto",overflowAnchor:"none"},(gP=yy.forwardRef(md)).displayName="List",mP=yy.createContext(null),bP=["disabled","title","children","style","className"],yP=function(e,t){function n(e,t){return{role:e.group?"presentation":"option",id:"".concat(d,"_list_").concat(t)}}var r,o,i,a,s,l,c=yy.useContext(hj),u=c.prefixCls,d=c.id,p=c.open,f=c.multiple,h=c.mode,g=c.searchValue,m=c.toggleOpen,b=c.notFoundContent,y=c.onPopupScroll,v=yy.useContext(mP),w=v.flattenOptions,x=v.onActiveValue,S=v.defaultActiveFirstOption,E=v.onSelect,C=v.menuItemSelectedIcon,k=v.rawValues,O=v.fieldNames,D=v.virtual,$=v.direction,_=v.listHeight,N=v.listItemHeight,j="".concat(u,"-item"),P=ka((function(){return w}),[p,w],(function(e,t){return t[0]&&e[1]!==t[1]})),T=yy.useRef(null),I=function(e){e.preventDefault()},A=function(e){T.current&&T.current.scrollTo("number"==typeof e?{index:e}:e)},R=function(e,t){var n,r,o,i=arguments.length>1&&void 0!==t?t:1,a=P.length;for(n=0;n1&&void 0!==t&&t;L(e),n={source:o?"keyboard":"mouse"},(r=P[e])?x(r.value,e,n):x(null,-1,n)};return yy.useEffect((function(){B(!1!==S?R(0):-1)}),[P.length,g]),r=yy.useCallback((function(e){return k.has(e)&&"combobox"!==h}),[h,xa(k).toString(),k.size]),yy.useEffect((function(){var e,t=setTimeout((function(){var e,t;!f&&p&&1===k.size&&(e=Array.from(k)[0],-1!==(t=P.findIndex((function(t){return t.data.value===e})))&&(B(t),A(t)))}));return p&&(null===(e=T.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}}),[p,g,w.length]),o=function(e){void 0!==e&&E(e,{selected:!k.has(e)}),f||m(!1)},yy.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n,r,i=e.which,a=e.ctrlKey;switch(i){case V_.N:case V_.P:case V_.UP:case V_.DOWN:t=0,i===V_.UP?t=-1:i===V_.DOWN?t=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&a&&(i===V_.N?t=1:i===V_.P&&(t=-1)),0!==t&&(n=R(M+t,t),A(n),B(n,!0));break;case V_.ENTER:o((r=P[M])&&!r.data.disabled?r.value:void 0),p&&e.preventDefault();break;case V_.ESC:m(!1),p&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){A(e)}}})),0===P.length?yy.createElement("div",{role:"listbox",id:"".concat(d,"_list"),className:"".concat(j,"-empty"),onMouseDown:I},b):(i=Object.keys(O).map((function(e){return O[e]})),a=function(e){return e.label},s=function(e){var t,o,i,s,l,c=P[e];return c?(o=(t=c.data||{}).value,i=c.group,s=ic(t,!0),l=a(c),c?yy.createElement("div",fa({"aria-label":"string"!=typeof l||i?null:l},s,{key:e},n(c,e),{"aria-selected":r(o)}),o):null):null},l={role:"listbox",id:"".concat(d,"_list")},yy.createElement(yy.Fragment,null,D&&yy.createElement("div",fa({},l,{style:{height:0,width:0,overflow:"hidden"}}),s(M-1),s(M),s(M+1)),yy.createElement(gP,{itemKey:"key",ref:T,data:P,height:_,itemHeight:N,fullHeight:!1,onMouseDown:I,onScroll:y,virtual:D,direction:$,innerProps:D?null:l},(function(e,t){var s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S=e.groupOption,E=e.data,k=e.label,O=e.value,$=E.key;return e.group?(c=null!==(l=E.title)&&void 0!==l?l:bd(k)?k.toString():void 0,yy.createElement("div",{className:zJ(j,"".concat(j,"-group")),title:c},void 0!==k?k:$)):(u=E.disabled,d=E.title,p=E.style,f=E.className,h=Qs(Oi(E,bP),i),g=r(O),m="".concat(j,"-option"),b=zJ(j,m,f,(ki(s={},"".concat(m,"-grouped"),S),ki(s,"".concat(m,"-active"),M===t&&!u),ki(s,"".concat(m,"-disabled"),u),ki(s,"".concat(m,"-selected"),g),s)),y=a(e),v=!C||"function"==typeof C||g,x=bd(w="number"==typeof y?y:y||O)?w.toString():void 0,void 0!==d&&(x=d),yy.createElement("div",fa({},ic(h),D?{}:n(e,t),{"aria-selected":g,className:b,title:x,onMouseMove:function(){M===t||u||B(t)},onClick:function(){u||o(O)},style:p}),yy.createElement("div",{className:"".concat(m,"-content")},w),yy.isValidElement(C)||g,v&&yy.createElement(fj,{className:"".concat(j,"-option-state"),customizeIcon:C,customizeIconProps:{isSelected:g}},g?"✓":null)))}))))},(vP=yy.forwardRef(yP)).displayName="OptionList",wP=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],xP=["inputValue"],SP=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E=e.id,C=e.mode,k=e.prefixCls,O=void 0===k?"rc-select":k,D=e.backfill,$=e.fieldNames,_=e.inputValue,N=e.searchValue,j=e.onSearch,P=e.autoClearSearchValue,T=void 0===P||P,I=e.onSelect,A=e.onDeselect,R=e.dropdownMatchSelectWidth,F=void 0===R||R,M=e.filterOption,L=e.filterSort,B=e.optionFilterProp,z=e.optionLabelProp,H=e.options,U=e.children,W=e.defaultActiveFirstOption,G=e.menuItemSelectedIcon,V=e.virtual,q=e.direction,X=e.listHeight,K=void 0===X?200:X,Y=e.listItemHeight,J=void 0===Y?20:Y,Q=e.value,Z=e.defaultValue,ee=e.labelInValue,te=e.onChange,ne=Oi(e,wP),re=function(e){var t=Ua(yy.useState(),2),n=t[0],r=t[1];return yy.useEffect((function(){var e;r("rc_select_".concat((tP?(e=eP,eP+=1):e="TEST_OR_SSR",e)))}),[]),e||n}(E),oe=ud(C),ie=!(H||!U),ae=yy.useMemo((function(){return(void 0!==M||"combobox"!==C)&&M}),[M,C]),se=yy.useMemo((function(){return ld($,ie)}),[JSON.stringify($),ie]),le=Ua(Al("",{value:void 0!==N?N:_,postState:function(e){return e||""}}),2),ce=le[0],ue=le[1],de=function(e,t,n,r,o){return yy.useMemo((function(){var i,a,s,l=e;return!e&&(l=dd(t)),i=new Map,a=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)},function e(t,l){var c,u,d=arguments.length>1&&void 0!==l&&l;for(c=0;c1&&void 0!==t?t:{},r=n.childrenAsData,o=[],i=ld(n.fieldNames,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;return function e(t,n){t.forEach((function(t){var i,u;n||!(l in t)?(i=t[s],o.push({key:sd(t,o.length),groupOption:n,data:t,label:t[a],value:i})):(void 0===(u=t[c])&&r&&(u=t.label),o.push({key:sd(t,o.length),group:!0,data:t,label:u}),e(t[l],!0))}))}(e,!1),o}(a,{fieldNames:se,childrenAsData:ie})}),[a,se,ie]),l=function(e){var t,n,r=ge(e);ye(r),te&&(r.length!==Se.length||r.some((function(e,t){var n;return(null===(n=Se[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))&&(t=ee?r:r.map((function(e){return e.value})),n=r.map((function(e){return cd(Ee(e.value))})),te(oe?t:t[0],oe?n:n[0]))},u=(c=Ua(yy.useState(null),2))[0],d=c[1],f=(p=Ua(yy.useState(0),2))[0],h=p[1],g=void 0!==W?W:"combobox"!==C,m=yy.useCallback((function(e,t,n){var r=(arguments.length>2&&void 0!==n?n:{}).source,o=void 0===r?"keyboard":r;h(t),D&&"combobox"===C&&null!==e&&"keyboard"===o&&d(String(e))}),[D,C]),b=function(e,t,n){var r,o,i=function(){var t,n=Ee(e);return[ee?{label:null==n?void 0:n[se.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,cd(n)]};t&&I?(r=Ua(i(),2),I(r[0],r[1])):!t&&A&&"clear"!==n&&(o=Ua(i(),2),A(o[0],o[1]))},y=pd((function(e,t){var n,r=!oe||t.selected;n=r?oe?[].concat(xa(Se),[e]):[e]:Se.filter((function(t){return t.value!==e})),l(n),b(e,r),"combobox"===C?d(""):ud&&!T||(ue(""),d(""))})),v=function(e,t){l(e);var n=t.type;"remove"!==n&&"clear"!==n||t.values.forEach((function(e){b(e.value,!1,n)}))},w=function(e,t){var n,r;ue(e),d(null),"submit"!==t.source?"blur"!==t.source&&("combobox"===C&&l(e),null==j||j(e)):(n=(e||"").trim())&&(r=Array.from(new Set([].concat(xa(ke),[n]))),l(r),b(n,!0),ue(""))},x=function(e){var t,n=e;"tags"!==C&&(n=e.map((function(e){var t=fe.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e}))),t=Array.from(new Set([].concat(xa(ke),xa(n)))),l(t),t.forEach((function(e){b(e,!0)}))},S=yy.useMemo((function(){var e=!1!==V&&!1!==F;return Ea(Ea({},de),{},{flattenOptions:s,onActiveValue:m,defaultActiveFirstOption:g,onSelect:y,menuItemSelectedIcon:G,rawValues:ke,fieldNames:se,virtual:e,direction:q,listHeight:K,listItemHeight:J,childrenAsData:ie})}),[de,s,m,g,y,G,ke,se,V,F,K,J,ie]),yy.createElement(mP.Provider,{value:S},yy.createElement(Zj,fa({},ne,{id:re,prefixCls:O,ref:t,omitDomProps:xP,mode:C,displayValues:Ce,onDisplayValuesChange:v,direction:q,searchValue:ce,onSearch:w,autoClearSearchValue:T,onSearchSplit:x,dropdownMatchSelectWidth:F,OptionList:vP,emptyOptions:!s.length,activeValue:u,activeDescendantId:"".concat(re,"_list_").concat(f)})))})),(EP=SP).Option=iP,EP.OptGroup=oP;const u2=(e,t)=>t||e,d2=()=>{const[,e]=jl(),t=new U$(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return yy.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},yy.createElement("g",{fill:"none",fillRule:"evenodd"},yy.createElement("g",{transform:"translate(24 31.67)"},yy.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),yy.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),yy.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),yy.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),yy.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),yy.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),yy.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},yy.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),yy.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},p2=()=>{const[,e]=jl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:s}=yy.useMemo((()=>({borderColor:new U$(t).onBackground(o).toHexShortString(),shadowColor:new U$(n).onBackground(o).toHexShortString(),contentColor:new U$(r).onBackground(o).toHexShortString()})),[t,n,r,o]);return yy.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},yy.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},yy.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),yy.createElement("g",{fillRule:"nonzero",stroke:i},yy.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),yy.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},f2=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},h2=Ml("Empty",(e=>{const{componentCls:t,controlHeightLG:n}=e,r=Rl(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*n,emptyImgHeightMD:n,emptyImgHeightSM:.875*n});return[f2(r)]}));CP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var{className:t,rootClassName:n,prefixCls:r,image:o=g2,description:i,children:a,imageStyle:s,style:l}=e,c=CP(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:d,empty:p}=yy.useContext(mQ),f=u("empty",r),[h,g]=h2(f),[m]=QJ("Empty"),b=void 0!==i?i:null==m?void 0:m.description;let y=null;return y="string"==typeof o?yy.createElement("img",{alt:"string"==typeof b?b:"empty",src:o}):o,h(yy.createElement("div",Object.assign({className:zJ(g,f,null==p?void 0:p.className,{[`${f}-normal`]:o===m2,[`${f}-rtl`]:"rtl"===d},t,n),style:Object.assign(Object.assign({},null==p?void 0:p.style),l)},c),yy.createElement("div",{className:`${f}-image`,style:s},y),b&&yy.createElement("div",{className:`${f}-description`},b),a&&yy.createElement("div",{className:`${f}-footer`},a)))};b2.PRESENTED_IMAGE_DEFAULT=g2,b2.PRESENTED_IMAGE_SIMPLE=m2;const y2=b2,v2=e=>{const{componentName:t}=e,{getPrefixCls:n}=yy.useContext(mQ),r=n("empty");switch(t){case"Table":case"List":return rJ.createElement(y2,{image:y2.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return rJ.createElement(y2,{image:y2.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return rJ.createElement(y2,null)}},w2=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},x2=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},vQ(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${o}${s}bottomLeft,\n ${i}${s}bottomLeft\n `]:{animationName:r1},[`\n ${o}${s}topLeft,\n ${i}${s}topLeft,\n ${o}${s}topRight,\n ${i}${s}topRight\n `]:{animationName:i1},[`${a}${s}bottomLeft`]:{animationName:o1},[`\n ${a}${s}topLeft,\n ${a}${s}topRight\n `]:{animationName:a1},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},w2(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},yQ),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},p1(e,"slide-up"),p1(e,"slide-down"),n1(e,"move-up"),n1(e,"move-down")]},S2=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r;return[o,Math.ceil(o/2)]},E2=e=>{const{componentCls:t}=e,n=Rl(e,{controlHeight:e.controlHeightSM,multipleSelectItemHeight:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Rl(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,o]=S2(e);return[vd(e),vd(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:o}}},vd(r,"lg")]},C2=e=>{const{componentCls:t,selectorBg:n}=e;return{position:"relative",backgroundColor:n,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},k2=function(e,t,n){let r=arguments.length>2&&void 0!==n&&n;const{componentCls:o,borderHoverColor:i,outlineColor:a,antCls:s}=t;return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${s}-pagination-size-changer)`]:Object.assign(Object.assign({},r?{[`${o}-selector`]:{borderColor:i}}:{}),{[`${o}-focused& ${o}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:i}})}}},O2=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},D2=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},vQ(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},C2(e)),O2(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},yQ),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},yQ),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.clearBg,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},$2=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},D2(e),xd(e),E2(e),x2(e),{[`${t}-rtl`]:{direction:"rtl"}},k2(t,Rl(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),k2(`${t}-status-error`,Rl(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),k2(`${t}-status-warning`,Rl(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),$c(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},_2=Ml("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=Rl(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1,multipleSelectItemHeight:e.multipleItemHeight});return[$2(r)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,controlPaddingHorizontal:o,zIndexPopupBase:i,colorText:a,fontWeightStrong:s,controlItemBgActive:l,controlItemBgHover:c,colorBgContainer:u,colorFillSecondary:d,controlHeightLG:p,controlHeightSM:f,colorBgContainerDisabled:h,colorTextDisabled:g}=e;return{zIndexPopup:i+50,optionSelectedColor:a,optionSelectedFontWeight:s,optionSelectedBg:l,optionActiveBg:c,optionPadding:`${(r-t*n)/2}px ${o}px`,optionFontSize:t,optionLineHeight:n,optionHeight:r,selectorBg:u,clearBg:u,singleItemHeightLG:p,multipleItemBg:d,multipleItemBorderColor:"transparent",multipleItemHeight:f,multipleItemHeightLG:r,multipleSelectorBgDisabled:h,multipleItemColorDisabled:g,multipleItemBorderColorDisabled:"transparent"}})),N2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},j2=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:N2}))})),P2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},T2=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:P2}))})),I2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},A2=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:I2}))}));kP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{prefixCls:r,bordered:o=!0,className:i,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:d,listItemHeight:p=24,size:f,disabled:h,notFoundContent:g,status:m,builtinPlacements:b,dropdownMatchSelectWidth:y,popupMatchSelectWidth:v,direction:w,style:x,allowClear:S}=e,E=kP(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:C,getPrefixCls:k,renderEmpty:O,direction:D,virtual:$,popupMatchSelectWidth:_,popupOverflow:N,select:j}=yy.useContext(mQ),P=k("select",r),T=k(),I=null!=w?w:D,{compactSize:A,compactItemClassnames:R}=zZ(P,I),[F,M]=_2(P),L=yy.useMemo((()=>{const{mode:e}=E;if("combobox"!==e)return e===R2?"combobox":e}),[E.mode]),B="multiple"===L||"tags"===L,z=function(e,t){return void 0!==t?t:null!==e}(E.suffixIcon,E.showArrow),H=null!==(n=null!=v?v:y)&&void 0!==n?n:_,{status:U,hasFeedback:W,isFormItemInput:G,feedbackIcon:V}=yy.useContext(F0),q=u2(U,m);let X;X=void 0!==g?g:"combobox"===L?null:(null==O?void 0:O("Select"))||yy.createElement(v2,{componentName:"Select"});const{suffixIcon:K,itemIcon:Y,removeIcon:J,clearIcon:Q}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:s,prefixCls:l,showSuffixIcon:c,feedbackIcon:u,showArrow:d}=e;const p=null!=n?n:yy.createElement(YQ,null),f=e=>null!==t||s||d?yy.createElement(yy.Fragment,null,!1!==c&&e,s&&u):null;let h=null;if(void 0!==t)h=f(t);else if(i)h=f(yy.createElement(pZ,{spin:!0}));else{const e=`${l}-suffix`;h=t=>{let{open:n,showSearch:r}=t;return f(yy.createElement(n&&r?A2:T2,{className:e}))}}let g=null;g=void 0!==r?r:a?yy.createElement(j2,null):null;let m=null;return m=void 0!==o?o:yy.createElement(QQ,null),{clearIcon:p,suffixIcon:h,itemIcon:g,removeIcon:m}}(Object.assign(Object.assign({},E),{multiple:B,hasFeedback:W,feedbackIcon:V,showSuffixIcon:z,prefixCls:P,showArrow:E.showArrow,componentName:"Select"})),Z=!0===S?{clearIcon:Q}:S,ee=Qs(E,["suffixIcon","itemIcon"]),te=zJ(l||c,{[`${P}-dropdown-${I}`]:"rtl"===I},a,M),ne=AZ((e=>{var t;return null!==(t=null!=f?f:A)&&void 0!==t?t:e})),re=yy.useContext(PQ),oe=null!=h?h:re,ie=zJ({[`${P}-lg`]:"large"===ne,[`${P}-sm`]:"small"===ne,[`${P}-rtl`]:"rtl"===I,[`${P}-borderless`]:!o,[`${P}-in-form-item`]:G},yd(P,q,W),R,null==j?void 0:j.className,i,a,M),ae=yy.useMemo((()=>void 0!==d?d:"rtl"===I?"bottomRight":"bottomLeft"),[d,I]),se=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}(b,N);return F(yy.createElement(EP,Object.assign({ref:t,virtual:$,showSearch:null==j?void 0:j.showSearch},ee,{style:Object.assign(Object.assign({},null==j?void 0:j.style),x),dropdownMatchSelectWidth:H,builtinPlacements:se,transitionName:DZ(T,"slide-up",E.transitionName),listHeight:u,listItemHeight:p,mode:L,prefixCls:P,placement:ae,direction:I,suffixIcon:K,menuItemSelectedIcon:Y,removeIcon:J,allowClear:Z,notFoundContent:X,className:ie,getPopupContainer:s||C,dropdownClassName:te,disabled:oe})))},M2=yy.forwardRef(F2),L2=(eY=M2,Ru((function(e){const{prefixCls:t,style:n}=e,r=yy.useRef(null),[o,i]=yy.useState(0),[a,s]=yy.useState(0),[l,c]=Al(!1,{value:e.open}),{getPrefixCls:u}=yy.useContext(mQ),d=u("select",t);yy.useEffect((()=>{if(c(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;i(t.offsetHeight+8),s(t.offsetWidth)})),t=setInterval((()=>{var n;const o=null===(n=r.current)||void 0===n?void 0:n.querySelector(`.${d}-dropdown`);o&&(clearInterval(t),e.observe(o))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let p=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},n),{margin:0}),open:l,visible:l,getPopupContainer:()=>r.current});return yy.createElement("div",{ref:r,style:{paddingBottom:o,position:"relative",minWidth:a}},yy.createElement(eY,Object.assign({},p)))})));M2.SECRET_COMBOBOX_MODE_DO_NOT_USE=R2,M2.Option=iP,M2.OptGroup=oP,M2._InternalPanelDoNotUseOrYouWillBeFired=L2;const B2=M2,z2=["xxl","xl","lg","md","sm","xs"],H2=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),U2=e=>{const t=e,n=[].concat(z2).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(r{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u,tooltipRadiusOuter:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,G2)}},[`${t}-content`]:{position:"relative"}}),Ll(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},Od(Rl(e,{borderRadiusOuter:d}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Y2=(e,t)=>Ml("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:i}=e,a=Rl(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:i>4?4:i});return[K2(a),O1(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}}),{resetStyle:!1})(e),J2=eQ.map((e=>`${e}-inverse`)),Q2=["success","processing","error","default","warning"];PP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:s,color:l,overlayInnerStyle:c,children:u,afterOpenChange:d,afterVisibleChange:p,destroyTooltipOnHide:f,arrow:h=!0,title:g,overlay:m,builtinPlacements:b,arrowPointAtCenter:y=!1,autoAdjustOverflow:v=!0}=e,w=!!h,[,x]=jl(),{getPopupContainer:S,getPrefixCls:E,direction:C}=yy.useContext(mQ),k=yy.useRef(null),O=()=>{var e;null===(e=k.current)||void 0===e||e.forceAlign()};yy.useImperativeHandle(t,(()=>({forceAlign:O,forcePopupAlign:()=>{O()}})));const[D,$]=Al(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),_=!g&&!m&&0!==g,N=yy.useMemo((()=>{var e,t;let n=y;return"object"==typeof h&&(n=null!==(t=null!==(e=h.pointAtCenter)&&void 0!==e?e:h.arrowPointAtCenter)&&void 0!==t?t:y),b||function(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,s=t/2,l={};return Object.keys(V2).forEach((e=>{const c=Object.assign(Object.assign({},r&&q2[e]||V2[e]),{offset:[0,0]});switch(l[e]=c,X2.has(e)&&(c.autoArrow=!1),e){case"top":case"topLeft":case"topRight":c.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":c.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":c.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":c.offset[0]=s+o}const u=Cd({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":c.offset[0]=-u.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":c.offset[0]=u.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":c.offset[1]=-u.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":c.offset[1]=u.dropdownArrowOffset+s}c.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,u,t,n),a&&(c.htmlRegion="visibleFirst")})),l}({arrowPointAtCenter:n,autoAdjustOverflow:v,arrowWidth:w?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})}),[y,h,b,x]),j=yy.useMemo((()=>0===g?g:m||g||""),[m,g]),P=yy.createElement(HZ,null,"function"==typeof j?j():j),{getPopupContainer:T,placement:I="top",mouseEnterDelay:A=.1,mouseLeaveDelay:R=.1,overlayStyle:F,rootClassName:M}=e,L=PP(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),B=E("tooltip",o),z=E(),H=e["data-popover-inject"];let U=D;"open"in e||"visible"in e||!_||(U=!1);const W=function(e,t){const n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){const{picked:n,omitted:r}=(e=>{const t={},n=Object.assign({},e);return["position","left","right","top","bottom","float","display","zIndex"].forEach((r=>{e&&r in e&&(t[r]=e[r],delete n[r])})),{picked:t,omitted:n}})(e.props.style),o=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=sc(e,{style:Object.assign(Object.assign({},r),{pointerEvents:"none"}),className:null});return yy.createElement("span",{style:o,className:zJ(e.props.className,`${t}-disabled-compatible-wrapper`)},i)}return e}(rZ(u)&&!ac(u)?u:yy.createElement("span",null,u),B),G=W.props,V=G.className&&"string"!=typeof G.className?G.className:zJ(G.className,i||`${B}-open`),[q,X]=Y2(B,!H),K=$d(B,l),Y=K.arrowStyle,J=Object.assign(Object.assign({},c),K.overlayStyle),Q=zJ(s,{[`${B}-rtl`]:"rtl"===C},K.className,M,X);return q(yy.createElement(W2,Object.assign({},L,{showArrow:w,placement:I,mouseEnterDelay:A,mouseLeaveDelay:R,prefixCls:B,overlayClassName:Q,overlayStyle:Object.assign(Object.assign({},Y),F),getTooltipContainer:T||a||S,ref:k,builtinPlacements:N,overlay:P,visible:U,onVisibleChange:t=>{var n,r;$(!_&&t),_||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=d?d:p,overlayInnerStyle:J,arrowContent:yy.createElement("span",{className:`${B}-arrow-content`}),motion:{motionName:DZ(z,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!f}),U?sc(W,{className:V}):W))}));Z2._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=yy.useContext(mQ),l=s("tooltip",t),[c,u]=Y2(l,!0),d=$d(l,i),p=d.arrowStyle,f=Object.assign(Object.assign({},a),d.overlayStyle),h=zJ(u,l,`${l}-pure`,`${l}-placement-${r}`,n,d.className);return c(yy.createElement("div",{className:h,style:p},yy.createElement("div",{className:`${l}-arrow`}),yy.createElement(Ed,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:f}),o)))};const e5=Z2,t5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},n5=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:t5}))}));TP=V_.ESC,IP=V_.TAB,AP=yy.forwardRef((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=yy.useMemo((function(){return"function"==typeof n?n():n}),[n]),a=Hs(t,null==i?void 0:i.ref);return rJ.createElement(rJ.Fragment,null,r&&rJ.createElement("div",{className:"".concat(o,"-arrow")}),rJ.cloneElement(i,{ref:Ws(i)?a:void 0}))})),MP={topLeft:{points:["bl","tl"],overflow:RP={adjustX:1,adjustY:1},offset:[0,-4],targetOffset:FP=[0,0]},top:{points:["bc","tc"],overflow:RP,offset:[0,-4],targetOffset:FP},topRight:{points:["br","tr"],overflow:RP,offset:[0,-4],targetOffset:FP},bottomLeft:{points:["tl","bl"],overflow:RP,offset:[0,4],targetOffset:FP},bottom:{points:["tc","bc"],overflow:RP,offset:[0,4],targetOffset:FP},bottomRight:{points:["tr","br"],overflow:RP,offset:[0,4],targetOffset:FP}},LP=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];const r5=rJ.forwardRef(_d);BP=yy.createContext(null),zP=["children","locked"],HP=yy.createContext(null),UP=[],WP=yy.createContext(null),GP=yy.createContext(UP),VP=yy.createContext(null),qP=yy.createContext({}),QP=V_.ENTER,ZP=V_.ESC,eT=V_.HOME,tT=V_.END,nT=[YP=V_.UP,JP=V_.DOWN,XP=V_.LEFT,KP=V_.RIGHT],rT="__RC_UTIL_PATH_SPLIT__",oT=function(e){return e.join(rT)},iT=function(e){return e.split(rT)},aT="rc-menu-more",sT=Math.random().toFixed(5).toString().slice(2),lT=0,cT=["item"],uT=["title","attribute","elementRef"],dT=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],pT=["active"],fT=function(){function e(){return $i(this,e),t.apply(this,arguments)}Ts(e,yy.Component);var t=Fs(e);return Ni(e,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Qs(Oi(e,uT),["eventKey","popupClassName","popupOffset","onTitleClick"]);return _a(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),yy.createElement(Dj.Item,fa({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}))}}]),e}(),hT=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A,R,F,M,L,B,z=e.style,H=e.className,U=e.eventKey;return r=e.disabled,o=e.itemIcon,i=e.children,a=e.role,s=e.onMouseEnter,l=e.onMouseLeave,c=e.onClick,u=e.onKeyDown,d=e.onFocus,p=Oi(e,dT),f=jd(U),g=(h=yy.useContext(HP)).prefixCls,m=h.onItemClick,b=h.disabled,y=h.overflowDisabled,v=h.itemIcon,w=h.selectedKeys,x=h.onActive,S=yy.useContext(qP)._internalRenderMenuItem,E="".concat(g,"-item"),C=yy.useRef(),k=yy.useRef(),O=b||r,D=Us(t,k),$=Id(U),_=function(e){return{key:U,keyPath:xa($).reverse(),item:C.current,domEvent:e}},N=o||v,P=(j=Ld(U,O,s,l)).active,T=Oi(j,pT),I=w.includes(U),A=Bd($.length),R=function(e){if(!O){var t=_(e);null==c||c(Hd(t)),m(t)}},F=function(e){if(null==u||u(e),e.which===V_.ENTER){var t=_(e);null==c||c(Hd(t)),m(t)}},M=function(e){x(U),null==d||d(e)},L={},"option"===e.role&&(L["aria-selected"]=I),B=yy.createElement(fT,fa({ref:C,elementRef:D,role:null===a?"none":a||"menuitem",tabIndex:r?null:-1,"data-menu-id":y&&f?null:f},p,T,L,{component:"li","aria-disabled":r,style:Ea(Ea({},A),z),className:zJ(E,(n={},ki(n,"".concat(E,"-active"),P),ki(n,"".concat(E,"-selected"),I),ki(n,"".concat(E,"-disabled"),O),n),H),onClick:R,onKeyDown:F,onFocus:M}),i,yy.createElement(zd,{props:Ea(Ea({},e),{},{isSelected:I}),icon:N})),S&&(B=S(B,e,{selected:I})),B}));const o5=yy.forwardRef(Ud);gT=["className","children"],mT=function(e,t){var n=e.className,r=e.children,o=Oi(e,gT),i=yy.useContext(HP),a=i.prefixCls,s=i.mode;return yy.createElement("ul",fa({className:zJ(a,i.rtl&&"".concat(a,"-rtl"),"".concat(a,"-sub"),"".concat(a,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},(bT=yy.forwardRef(mT)).displayName="SubMenuList",vT={topLeft:{points:["bl","tl"],overflow:yT={adjustX:1,adjustY:1}},topRight:{points:["br","tr"],overflow:yT},bottomLeft:{points:["tl","bl"],overflow:yT},bottomRight:{points:["tr","br"],overflow:yT},leftTop:{points:["tr","tl"],overflow:yT},leftBottom:{points:["br","bl"],overflow:yT},rightTop:{points:["tl","tr"],overflow:yT},rightBottom:{points:["bl","br"],overflow:yT}},wT={topLeft:{points:["bl","tl"],overflow:yT},topRight:{points:["br","tr"],overflow:yT},bottomLeft:{points:["tl","bl"],overflow:yT},bottomRight:{points:["tr","br"],overflow:yT},rightTop:{points:["tr","tl"],overflow:yT},rightBottom:{points:["br","bl"],overflow:yT},leftTop:{points:["tl","tr"],overflow:yT},leftBottom:{points:["bl","br"],overflow:yT}},xT={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},ST=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ET=["active"],CT=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A,R,F,M,L,B,z,H,U,W,G,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue=e.style,de=e.className,pe=e.title,fe=e.eventKey;return n=e.disabled,r=e.internalPopupClose,o=e.children,i=e.itemIcon,a=e.expandIcon,s=e.popupClassName,l=e.popupOffset,c=e.popupStyle,u=e.onClick,d=e.onMouseEnter,p=e.onMouseLeave,f=e.onTitleClick,h=e.onTitleMouseEnter,g=e.onTitleMouseLeave,m=Oi(e,ST),b=jd(fe),v=(y=yy.useContext(HP)).prefixCls,w=y.mode,x=y.openKeys,S=y.disabled,E=y.overflowDisabled,C=y.activeKey,k=y.selectedKeys,O=y.itemIcon,D=y.expandIcon,$=y.onItemClick,_=y.onOpenChange,N=y.onActive,j=yy.useContext(qP)._internalRenderSubMenuItem,P=yy.useContext(VP),T=P.isSubPathKey,I=Id(),A="".concat(v,"-submenu"),R=S||n,F=yy.useRef(),M=yy.useRef(),L=null!=i?i:O,B=null!=a?a:D,z=x.includes(fe),H=!E&&z,U=T(k,fe),W=Ld(fe,R,h,g),G=W.active,V=Oi(W,ET),q=Ua(yy.useState(!1),2),K=q[1],Y=function(e){R||K(e)},J=function(e){Y(!0),null==d||d({key:fe,domEvent:e})},Q=function(e){Y(!1),null==p||p({key:fe,domEvent:e})},Z=yy.useMemo((function(){return G||"inline"!==w&&(X||T([C],fe))}),[w,G,C,X=q[0],fe,T]),ee=Bd(I.length),te=function(e){R||(null==f||f({key:fe,domEvent:e}),"inline"===w&&_(fe,!z))},ne=Md((function(e){null==u||u(Hd(e)),$(e)})),re=function(e){"inline"!==w&&_(fe,e)},oe=function(){N(fe)},ie=b&&"".concat(b,"-popup"),ae=yy.createElement("div",fa({role:"menuitem",style:ee,className:"".concat(A,"-title"),tabIndex:R?null:-1,ref:F,title:"string"==typeof pe?pe:null,"data-menu-id":E&&b?null:b,"aria-expanded":H,"aria-haspopup":!0,"aria-controls":ie,"aria-disabled":R,onClick:te,onFocus:oe},V),pe,yy.createElement(zd,{icon:"horizontal"!==w?B:void 0,props:Ea(Ea({},e),{},{isOpen:H,isSubMenu:!0})},yy.createElement("i",{className:"".concat(A,"-arrow")}))),(se=yy.useRef(w)).current="inline"!==w&&I.length>1?"vertical":w,E||(ae=yy.createElement(Vd,{mode:le=se.current,prefixCls:A,visible:!r&&H&&"inline"!==w,popupClassName:s,popupOffset:l,popupStyle:c,popup:yy.createElement(Pd,{mode:"horizontal"===le?"vertical":le},yy.createElement(bT,{id:ie,ref:M},o)),disabled:R,onVisibleChange:re},ae)),ce=yy.createElement(Dj.Item,fa({role:"none"},m,{component:"li",style:ue,className:zJ(A,"".concat(A,"-").concat(w),de,(t={},ki(t,"".concat(A,"-open"),H),ki(t,"".concat(A,"-active"),Z),ki(t,"".concat(A,"-selected"),U),ki(t,"".concat(A,"-disabled"),R),t)),onMouseEnter:J,onMouseLeave:Q}),ae,!E&&yy.createElement(qd,{id:ie,open:H,keyPath:I},o)),j&&(ce=j(ce,e,{selected:U,active:Z,open:H,disabled:R})),yy.createElement(Pd,{onItemClick:ne,mode:"horizontal"===w?"vertical":w,itemIcon:L,expandIcon:B},ce)},kT=["className","title","eventKey","children"],OT=["children"],DT=function(e){var t,n,r,o,i=e.className,a=e.title;return t=e.children,n=Oi(e,kT),r=yy.useContext(HP),o="".concat(r.prefixCls,"-item-group"),yy.createElement("li",fa({role:"presentation"},n,{onClick:function(e){return e.stopPropagation()},className:zJ(o,i)}),yy.createElement("div",{role:"presentation",className:"".concat(o,"-title"),title:"string"==typeof a?a:void 0},a),yy.createElement("ul",{role:"group",className:"".concat(o,"-list")},t))},$T=["label","children","key","type"],_T=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],NT=[],(jT=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T,I,A,R,F,M,L,B,z,H,U,W,G,V,q,X,K,Y,J,Q,Z,ee,te,ne,re,oe,ie,ae,se=e.prefixCls,le=void 0===se?"rc-menu":se,ce=e.rootClassName,ue=e.style,de=e.className,pe=e.tabIndex,fe=void 0===pe?0:pe,he=e.items,ge=e.children,me=e.direction,be=e.id,ye=e.mode,ve=void 0===ye?"vertical":ye,we=e.inlineCollapsed,xe=e.disabled,Se=e.disabledOverflow,Ee=e.subMenuOpenDelay,Ce=void 0===Ee?.1:Ee,ke=e.subMenuCloseDelay,Oe=void 0===ke?.1:ke,De=e.forceSubMenuRender,$e=e.defaultOpenKeys,_e=e.openKeys,Ne=e.activeKey,je=e.defaultActiveFirst,Pe=e.selectable,Te=void 0===Pe||Pe,Ie=e.multiple,Ae=void 0!==Ie&&Ie,Re=e.defaultSelectedKeys,Fe=e.selectedKeys,Me=e.onSelect,Le=e.onDeselect,Be=e.inlineIndent,ze=void 0===Be?24:Be,He=e.motion,Ue=e.defaultMotions,We=e.triggerSubMenuAction,Ge=void 0===We?"hover":We,Ve=e.builtinPlacements,qe=e.itemIcon,Xe=e.expandIcon,Ke=e.overflowedIndicator,Ye=void 0===Ke?"...":Ke,Je=e.overflowedIndicatorPopupClassName,Qe=e.getPopupContainer,Ze=e.onClick,et=e.onOpenChange,tt=e.onKeyDown;return o=e._internalRenderMenuItem,i=e._internalRenderSubMenuItem,a=Oi(e,_T),s=yy.useMemo((function(){return Qd(ge,he,NT)}),[ge,he]),c=(l=Ua(yy.useState(!1),2))[0],u=l[1],d=yy.useRef(),p=function(e){var t=Ua(Al(e,{value:e}),2),n=t[0],r=t[1];return yy.useEffect((function(){lT+=1;var e="".concat(sT,"-").concat(lT);r("rc-menu-uuid-".concat(e))}),[]),n}(be),f="rtl"===me,h=Ua(Al($e,{value:_e,postState:function(e){return e||NT}}),2),m=h[1],b=function(e,t){function n(){m(e),null==et||et(e)}arguments.length>1&&void 0!==t&&t?PE.flushSync(n):n()},y=Ua(yy.useState(g=h[0]),2),v=y[0],w=y[1],x=yy.useRef(!1),S=Ua(yy.useMemo((function(){return"inline"!==ve&&"vertical"!==ve||!we?[ve,!1]:["vertical",we]}),[ve,we]),2),C=S[1],k="inline"===(E=S[0]),O=Ua(yy.useState(E),2),D=O[0],$=O[1],N=(_=Ua(yy.useState(C),2))[0],j=_[1],yy.useEffect((function(){$(E),j(C),x.current&&(k?m(v):b(NT))}),[E,C]),P=Ua(yy.useState(0),2),I=P[1],A=(T=P[0])>=s.length-1||"horizontal"!==D||Se,yy.useEffect((function(){k&&w(g)}),[g]),yy.useEffect((function(){return x.current=!0,function(){x.current=!1}}),[]),R=function(){var e=Ua(yy.useState({}),2)[1],t=yy.useRef(new Map),n=yy.useRef(new Map),r=Ua(yy.useState([]),2),o=r[0],i=r[1],a=yy.useRef(0),s=yy.useRef(!1),l=yy.useCallback((function(r,o){var i,l,c=oT(o);n.current.set(c,r),t.current.set(r,c),a.current+=1,i=a.current,l=function(){i===a.current&&(s.current||e({}))},Promise.resolve().then(l)}),[]),c=yy.useCallback((function(e,r){var o=oT(r);n.current.delete(o),t.current.delete(e)}),[]),u=yy.useCallback((function(e){i(e)}),[]),d=yy.useCallback((function(e,n){var r=t.current.get(e)||"",i=iT(r);return n&&o.includes(i[0])&&i.unshift(aT),i}),[o]),p=yy.useCallback((function(e,t){return e.some((function(e){return d(e,!0).includes(t)}))}),[d]),f=yy.useCallback((function(e){var r="".concat(t.current.get(e)).concat(rT),o=new Set;return xa(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return yy.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:l,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:p,getKeyPath:d,getKeys:function(){var e=xa(t.current.keys());return o.length&&e.push(aT),e},getSubPathKeys:f}}(),L=R.refreshOverflowKeys,B=R.isSubPathKey,z=R.getKeyPath,H=R.getKeys,U=R.getSubPathKeys,W=yy.useMemo((function(){return{registerPath:F,unregisterPath:M}}),[F=R.registerPath,M=R.unregisterPath]),G=yy.useMemo((function(){return{isSubPathKey:B}}),[B]),yy.useEffect((function(){L(A?NT:s.slice(T+1).map((function(e){return e.key})))}),[T,A]),V=Ua(Al(Ne||je&&(null===(n=s[0])||void 0===n?void 0:n.key),{value:Ne}),2),q=V[0],X=V[1],K=Md((function(e){X(e)})),Y=Md((function(){X(void 0)})),yy.useImperativeHandle(t,(function(){return{list:d.current,focus:function(e){var t,n,r,o,i=null!=q?q:null===(t=s.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=d.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Nd(p,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}})),J=Ua(Al(Re||[],{value:Fe,postState:function(e){return Array.isArray(e)?e:null==e?NT:[e]}}),2),Q=J[0],Z=J[1],ee=function(e){var t,n,r,o;Te&&(n=Q.includes(t=e.key),r=Ae?n?Q.filter((function(e){return e!==t})):[].concat(xa(Q),[t]):[t],Z(r),o=Ea(Ea({},e),{},{selectedKeys:r}),n?null==Le||Le(o):null==Me||Me(o)),!Ae&&g.length&&"inline"!==D&&b(NT)},te=Md((function(e){null==Ze||Ze(Hd(e)),ee(e)})),ne=Md((function(e,t){var n,r=g.filter((function(t){return t!==e}));t?r.push(e):"inline"!==D&&(n=U(e),r=r.filter((function(e){return!n.has(e)}))),Na(g,r,!0)||b(r,!0)})),re=function(e,t,n,r,o,i,a,s,l,c){var u,d=yy.useRef(),p=yy.useRef();return p.current=t,u=function(){R$.cancel(d.current)},yy.useEffect((function(){return function(){u()}}),[]),function(f){var h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_=f.which;if([].concat(nT,[QP,ZP,eT,tT]).includes(_)){if((b=function(){return h=new Set,g=new Map,m=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Nd(r,e),"']"));t&&(h.add(t),m.set(t,e),g.set(e,t))})),h})(),y=g.get(t),v=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y,h),w=m.get(v),x=function(e,t,n,r){var o,i,a,s,l,c,u,d="prev",p="next",f="children",h="parent";if("inline"===e&&r===QP)return{inlineTrigger:!0};switch(ki(o={},YP,d),ki(o,JP,p),l=o,ki(i={},XP,n?p:d),ki(i,KP,n?d:p),ki(i,JP,f),ki(i,QP,f),c=i,ki(a={},YP,d),ki(a,JP,p),ki(a,QP,f),ki(a,ZP,h),ki(a,XP,n?f:h),ki(a,KP,n?h:f),null===(s={inline:l,horizontal:c,vertical:u=a,inlineSub:l,horizontalSub:u,verticalSub:u}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case d:return{offset:-1,sibling:!0};case p:return{offset:1,sibling:!0};case h:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===a(w,!0).length,n,_),!x&&_!==eT&&_!==tT)return;(nT.includes(_)||[eT,tT].includes(_))&&f.preventDefault(),S=function(e){var t,n,r;e&&(t=e,null!=(n=e.querySelector("a"))&&n.getAttribute("href")&&(t=n),r=m.get(e),s(r),u(),d.current=R$((function(){p.current===r&&t.focus()})))},[eT,tT].includes(_)||x.sibling||!v?(k=Rd(E=v&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(v):o.current,h),C=_===eT?k[0]:_===tT?k[k.length-1]:Fd(E,h,v,x.offset),S(C)):x.inlineTrigger?l(w):x.offset>0?(l(w,!0),u(),d.current=R$((function(){var e,t;b(),e=v.getAttribute("aria-controls"),t=Fd(document.getElementById(e),h),S(t)}),5)):x.offset<0&&(O=a(w,!0),$=g.get(D=O[O.length-2]),l(D,!1),S($))}null==c||c(f)}}(D,q,f,p,d,H,z,X,(function(e,t){var n=null!=t?t:!g.includes(e);ne(e,n)}),tt),yy.useEffect((function(){u(!0)}),[]),oe=yy.useMemo((function(){return{_internalRenderMenuItem:o,_internalRenderSubMenuItem:i}}),[o,i]),ie="horizontal"!==D||Se?s:s.map((function(e,t){return yy.createElement(Pd,{key:e.key,overflowDisabled:t>T},e)})),ae=yy.createElement(Dj,fa({id:be,ref:d,prefixCls:"".concat(le,"-overflow"),component:"ul",itemComponent:o5,className:zJ(le,"".concat(le,"-root"),"".concat(le,"-").concat(D),de,(r={},ki(r,"".concat(le,"-inline-collapsed"),N),ki(r,"".concat(le,"-rtl"),f),r),ce),dir:me,style:ue,role:"menu",tabIndex:fe,data:ie,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?s.slice(-t):null;return yy.createElement(Xd,{eventKey:aT,title:Ye,disabled:A,internalPopupClose:0===t,popupClassName:Je},n)},maxCount:"horizontal"!==D||Se?Dj.INVALIDATE:Dj.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){I(e)},onKeyDown:re},a)),yy.createElement(qP.Provider,{value:oe},yy.createElement(BP.Provider,{value:p},yy.createElement(Pd,{prefixCls:le,rootClassName:ce,mode:D,openKeys:g,rtl:f,disabled:xe,motion:c?He:null,defaultMotions:c?Ue:null,activeKey:q,onActive:K,onInactive:Y,selectedKeys:Q,inlineIndent:ze,subMenuOpenDelay:Ce,subMenuCloseDelay:Oe,forceSubMenuRender:De,builtinPlacements:Ve,triggerSubMenuAction:Ge,getPopupContainer:Qe,itemIcon:qe,expandIcon:Xe,onItemClick:te,onOpenChange:ne},yy.createElement(VP.Provider,{value:G},ae),yy.createElement("div",{style:{display:"none"},"aria-hidden":!0},yy.createElement(WP.Provider,{value:W},s)))))}))).Item=o5,jT.SubMenu=Xd,jT.ItemGroup=Kd,jT.Divider=Yd,globalThis&&globalThis;const i5=yy.createContext({});PT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,dashed:r}=e,o=PT(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=yy.useContext(mQ),a=i("menu",t),s=zJ({[`${a}-item-divider-dashed`]:!!r},n);return yy.createElement(Yd,Object.assign({className:s},o))},s5=yy.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),l5=e=>{var t;const{className:n,children:r,icon:o,title:i,danger:a}=e,{prefixCls:s,firstLevel:l,direction:c,disableMenuItemTitleTooltip:u,inlineCollapsed:d}=yy.useContext(s5),{siderCollapsed:p}=yy.useContext(i5);let f=i;void 0===i?f=l?r:"":!1===i&&(f="");const h={title:f};p||d||(h.title=null,h.open=!1);const g=Bs(r).length;let m=yy.createElement(o5,Object.assign({},Qs(e,["title","icon","danger"]),{className:zJ({[`${s}-item-danger`]:a,[`${s}-item-only-child`]:1===(o?g+1:g)},n),title:"string"==typeof i?i:void 0}),sc(o,{className:zJ(rZ(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=yy.createElement("span",{className:`${s}-title-content`},r);return(!o||rZ(r)&&"span"===r.type)&&r&&e&&l&&"string"==typeof r?yy.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):t})(d));return u||(m=yy.createElement(e5,Object.assign({},h,{placement:"rtl"===c?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),m)),m},c5=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:i}=e,a=yy.useContext(s5),{prefixCls:s,inlineCollapsed:l,theme:c}=a,u=Id();let d;if(r){const e=rZ(o)&&"span"===o.type;d=yy.createElement(yy.Fragment,null,sc(r,{className:zJ(rZ(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),e?o:yy.createElement("span",{className:`${s}-title-content`},o))}else d=l&&!u.length&&o&&"string"==typeof o?yy.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):yy.createElement("span",{className:`${s}-title-content`},o);const p=yy.useMemo((()=>Object.assign(Object.assign({},a),{firstLevel:!1})),[a]);return yy.createElement(s5.Provider,{value:p},yy.createElement(Xd,Object.assign({},Qs(e,["icon"]),{title:d,popupClassName:zJ(s,n,`${s}-${i||c}`)})))},u5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},d5=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:u5}))}));globalThis&&globalThis;const p5=yy.createContext(null);TT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${i}px ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},h5=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},g5=e=>Object.assign({},SQ(e)),m5=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:p,motionEaseInOut:f,motionEaseOut:h,itemPaddingInline:g,motionDurationMid:m,itemHoverColor:b,lineType:y,colorSplit:v,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:E,dangerItemActiveBg:C,dangerItemSelectedBg:k,itemHoverBg:O,itemActiveBg:D,menuSubMenuBg:$,horizontalItemSelectedColor:_,horizontalItemSelectedBg:N,horizontalItemBorderRadius:j,horizontalItemHoverBg:P,popupBg:T}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},g5(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:D}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:D}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:S}},[`&${n}-item:active`]:{background:C}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:E},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:k}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},g5(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:$},[`&${n}-popup > ${n}`]:{backgroundColor:T},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:-d,marginBottom:0,borderRadius:j,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${p} ${f}`,content:'""'},"&:hover, &-active, &-open":{background:P,"&::after":{borderBottomWidth:c,borderBottomColor:_}},"&-selected":{color:_,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:c,borderBottomColor:_}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${d}px ${y} ${v}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:d&&u?{width:`calc(100% + ${d}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${m} ${h}`,`opacity ${m} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:E}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${m} ${f}`,`opacity ${m} ${f}`].join(",")}}}}}},b5=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s}=e;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:`calc(100% - ${2*r}px)`},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:o+i+a}}},y5=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:p,paddingXS:f,boxShadowSecondary:h,collapsedWidth:g,collapsedIconSize:m}=e,b={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},b5(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},b5(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${2.5*a}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${s} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d/2}px - ${u}px)`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:m,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},yQ),{paddingInline:f})}}]},v5=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},w5=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},x5=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:d,borderRadiusLG:p,subMenuItemBorderRadius:f,menuArrowSize:h,menuArrowOffset:g,lineType:m,menuPanelMaskInset:b,groupTitleLineHeight:y,groupTitleFontSize:v}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${s}px ${l}px`,fontSize:v,lineHeight:y,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:m,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),v5(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${2*r}px ${l}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},v5(e)),w5(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:f},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),w5(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${.2*h}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]};IT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const o=yy.useContext(p5),i=o||{},{getPrefixCls:a,getPopupContainer:s,direction:l,menu:c}=yy.useContext(mQ),u=a(),{prefixCls:d,className:p,style:f,theme:h="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:b,siderCollapsed:y,items:v,children:w,rootClassName:x,mode:S,selectable:E,onClick:C,overflowedIndicatorPopupClassName:k}=e,O=Qs(IT(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]),D=ep(v)||w;null===(n=i.validator)||void 0===n||n.call(i,{mode:S});const $=Pl((function(){var e;null==C||C.apply(void 0,arguments),null===(e=i.onClick)||void 0===e||e.call(i)})),_=i.mode||S,N=null!=E?E:i.selectable,j=yy.useMemo((()=>void 0!==y?y:b),[b,y]),P={horizontal:{motionName:`${u}-slide-up`},inline:OZ(u),other:{motionName:`${u}-zoom-big`}},T=a("menu",d||i.prefixCls),[I,A]=((e,t)=>Ml("Menu",(e=>{if(!1===t)return[];const{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:i,fontSize:a,darkItemColor:s,darkDangerItemColor:l,darkItemBg:c,darkSubMenuItemBg:u,darkItemSelectedColor:d,darkItemSelectedBg:p,darkDangerItemSelectedBg:f,darkItemHoverBg:h,darkGroupTitleColor:g,darkItemHoverColor:m,darkItemDisabledColor:b,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:w}=e,x=a/7*5,S=Rl(e,{menuArrowSize:x,menuHorizontalHeight:1.15*i,menuArrowOffset:.25*x+"px",menuPanelMaskInset:-7,menuSubMenuBg:n}),E=Rl(S,{itemColor:s,itemHoverColor:m,groupTitleColor:g,itemSelectedColor:d,itemBg:c,popupBg:c,subMenuItemBg:u,itemActiveBg:"transparent",itemSelectedBg:p,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:b,dangerItemColor:l,dangerItemHoverColor:y,dangerItemSelectedColor:v,dangerItemActiveBg:w,dangerItemSelectedBg:f,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[x5(S),f5(S),y5(S),m5(S,"light"),m5(E,"dark"),h5(S),D1(S),p1(S,"slide-up"),p1(S,"slide-down"),O1(S,"zoom-big")]}),(e=>{const{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:i,colorTextDescription:a,colorBgContainer:s,colorFillAlter:l,colorFillContent:c,lineWidth:u,lineWidthBold:d,controlItemBgActive:p,colorBgTextHover:f,controlHeightLG:h,lineHeight:g,colorBgElevated:m,marginXXS:b,padding:y,fontSize:v,controlHeightSM:w,fontSizeLG:x,colorTextLightSolid:S,colorErrorHover:E}=e,C=new U$(S).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:f,itemHoverBg:f,colorItemBgActive:c,itemActiveBg:p,colorSubItemBg:l,subMenuItemBg:l,colorItemBgSelected:p,itemSelectedBg:p,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:d,activeBarHeight:d,colorActiveBarBorderSize:u,activeBarBorderWidth:u,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:h,groupTitleLineHeight:g,collapsedWidth:2*h,popupBg:m,itemMarginBlock:b,itemPaddingInline:y,horizontalLineHeight:1.15*h+"px",iconSize:v,iconMarginInlineEnd:w-v,collapsedIconSize:x,groupTitleFontSize:v,darkItemDisabledColor:new U$(S).setAlpha(.25).toRgbString(),darkItemColor:C,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:S,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:C,darkItemHoverColor:S,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:S,darkDangerItemActiveBg:n}}),{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e))(T,!o),R=zJ(`${T}-${h}`,null==c?void 0:c.className,p);let F;if("function"==typeof g)F=g;else if(null===g||!1===g)F=null;else if(null===i.expandIcon||!1===i.expandIcon)F=null;else{const e=null!=g?g:i.expandIcon;F=sc(e,{className:zJ(`${T}-submenu-expand-icon`,rZ(e)?null===(r=e.props)||void 0===r?void 0:r.className:"")})}const M=yy.useMemo((()=>({prefixCls:T,inlineCollapsed:j||!1,direction:l,firstLevel:!0,theme:h,mode:_,disableMenuItemTitleTooltip:m})),[T,j,l,m,h]);return I(yy.createElement(p5.Provider,{value:null},yy.createElement(s5.Provider,{value:M},yy.createElement(jT,Object.assign({getPopupContainer:s,overflowedIndicator:yy.createElement(d5,null),overflowedIndicatorPopupClassName:zJ(T,`${T}-${h}`,k),mode:_,selectable:N,onClick:$},O,{inlineCollapsed:j,style:Object.assign(Object.assign({},null==c?void 0:c.style),f),className:R,prefixCls:T,direction:l,defaultMotions:P,expandIcon:F,ref:t,rootClassName:zJ(x,A)}),D))))})),E5=yy.forwardRef(((e,t)=>{const n=yy.useRef(null),r=yy.useContext(i5);return yy.useImperativeHandle(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),yy.createElement(S5,Object.assign({ref:n},e,r))}));E5.Item=l5,E5.SubMenu=c5,E5.Divider=a5,E5.ItemGroup=Kd;const C5=E5,k5=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),O5=e=>({borderColor:e.hoverBorderColor}),D5=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0}),$5=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},O5(Rl(e,{hoverBorderColor:e.colorBorder})))}),_5=e=>{const{paddingBlockLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:r,borderRadius:o}},N5=e=>({padding:`${e.paddingBlockSM}px ${e.paddingInlineSM}px`,borderRadius:e.borderRadiusSM}),j5=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,errorActiveShadow:i,warningActiveShadow:a,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},D5(Rl(e,{activeBorderColor:r,activeShadow:i}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},D5(Rl(e,{activeBorderColor:o,activeShadow:a}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},P5=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.paddingBlock}px ${e.paddingInline}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},k5(e.colorTextPlaceholder)),{"&:hover":Object.assign({},O5(e)),"&:focus, &-focused":Object.assign({},D5(e)),"&-disabled, &[disabled]":Object.assign({},$5(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},_5(e)),"&-sm":Object.assign({},N5(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),T5=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},_5(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},N5(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.paddingInline}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.paddingBlock+1}px -${e.paddingInline}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.paddingInline}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},I5=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=(n-2*r-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),P5(e)),j5(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},A5=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},R5=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},P5(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},O5(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),A5(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),j5(e,`${t}-affix-wrapper`))}},F5=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},vQ(e)),T5(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},$5(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},M5=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},L5=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},B5=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:p,colorPrimaryHover:f,controlOutlineWidth:h,controlOutline:g,colorErrorOutline:m,colorWarningOutline:b}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-o,3),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:d-o,addonBg:p,activeBorderColor:f,hoverBorderColor:f,activeShadow:`0 0 0 ${h}px ${g}`,errorActiveShadow:`0 0 0 ${h}px ${m}`,warningActiveShadow:`0 0 0 ${h}px ${b}`}},z5=Ml("Input",(e=>{const t=Rl(e,tp(e));return[I5(t),L5(t),R5(t),F5(t),M5(t),$c(t)]}),B5),H5=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=zJ({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),s=zJ({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),l=yy.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return yy.createElement("span",{className:zJ(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},U5=new TD("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),W5=e=>({height:e,lineHeight:`${e}px`}),G5=e=>Object.assign({width:e},W5(e)),V5=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:U5,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),q5=e=>Object.assign({width:5*e,minWidth:5*e},W5(e)),X5=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},G5(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},G5(o)),[`${t}${t}-sm`]:Object.assign({},G5(i))}},K5=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},q5(t)),[`${r}-lg`]:Object.assign({},q5(o)),[`${r}-sm`]:Object.assign({},q5(i))}},Y5=e=>Object.assign({width:e},W5(e)),J5=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},Y5(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},Y5(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},Q5=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},Z5=e=>Object.assign({width:2*e,minWidth:2*e},W5(e)),e4=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:2*r,minWidth:2*r},Z5(r))},Q5(e,r,n)),{[`${n}-lg`]:Object.assign({},Z5(o))}),Q5(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Z5(i))}),Q5(e,i,`${n}-sm`))},t4=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:p,marginSM:f,borderRadius:h,titleHeight:g,blockRadius:m,paragraphLiHeight:b,controlHeightXS:y,paragraphMarginTop:v}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},G5(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},G5(c)),[`${n}-sm`]:Object.assign({},G5(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:d,borderRadius:m,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:d,borderRadius:m,"+ li":{marginBlockStart:y}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:f,[`+ ${o}`]:{marginBlockStart:v}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},e4(e)),X5(e)),K5(e)),J5(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${s}\n `]:Object.assign({},V5(e))}}},n4=Ml("Skeleton",(e=>{const{componentCls:t}=e,n=Rl(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[t4(n)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),r4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},o4=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:r4}))})),i4=e=>{const t=t=>{const{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:o,rows:i}=e,a=xa(Array(i)).map(((e,n)=>yy.createElement("li",{key:n,style:{width:t(n)}})));return yy.createElement("ul",{className:zJ(n,r),style:o},a)},a4=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return yy.createElement("h3",{className:zJ(t,n),style:Object.assign({width:r},o)})},s4=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:p,direction:f,skeleton:h}=yy.useContext(mQ),g=p("skeleton",t),[m,b]=n4(g);if(n||!("loading"in e)){const e=!!s,t=!!l,n=!!c;let a,p;if(e){const e=Object.assign(Object.assign({prefixCls:`${g}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),np(s));a=yy.createElement("div",{className:`${g}-header`},yy.createElement(H5,Object.assign({},e)))}if(t||n){let r,o;if(t){const t=Object.assign(Object.assign({prefixCls:`${g}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),np(l));r=yy.createElement(a4,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),np(c));o=yy.createElement(i4,Object.assign({},n))}p=yy.createElement("div",{className:`${g}-content`},r,o)}const y=zJ(g,{[`${g}-with-avatar`]:e,[`${g}-active`]:u,[`${g}-rtl`]:"rtl"===f,[`${g}-round`]:d},null==h?void 0:h.className,r,o,b);return m(yy.createElement("div",{className:y,style:Object.assign(Object.assign({},null==h?void 0:h.style),i)},a,p))}return void 0!==a?a:null};s4.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=yy.useContext(mQ),l=s("skeleton",t),[c,u]=n4(l),d=Qs(e,["prefixCls"]),p=zJ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(yy.createElement("div",{className:p},yy.createElement(H5,Object.assign({prefixCls:`${l}-button`,size:a},d))))},s4.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=yy.useContext(mQ),l=s("skeleton",t),[c,u]=n4(l),d=Qs(e,["prefixCls","className"]),p=zJ(l,`${l}-element`,{[`${l}-active`]:o},n,r,u);return c(yy.createElement("div",{className:p},yy.createElement(H5,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},d))))},s4.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=yy.useContext(mQ),l=s("skeleton",t),[c,u]=n4(l),d=Qs(e,["prefixCls"]),p=zJ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(yy.createElement("div",{className:p},yy.createElement(H5,Object.assign({prefixCls:`${l}-input`,size:a},d))))},s4.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=yy.useContext(mQ),s=a("skeleton",t),[l,c]=n4(s),u=zJ(s,`${s}-element`,{[`${s}-active`]:i},n,r,c);return l(yy.createElement("div",{className:u},yy.createElement("div",{className:zJ(`${s}-image`,n),style:o},yy.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},yy.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${s}-image-path`})))))},s4.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=yy.useContext(mQ),l=s("skeleton",t),[c,u]=n4(l),d=zJ(l,`${l}-element`,{[`${l}-active`]:i},u,n,r),p=null!=a?a:yy.createElement(o4,null);return c(yy.createElement("div",{className:d},yy.createElement("div",{className:zJ(`${l}-image`,n),style:o},p)))};const l4=s4,c4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},u4=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:c4}))})),d4=yy.createContext(null);AT=yy.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,s=e.tabKey,l=e.children;return yy.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!a,style:o,className:zJ(n,a&&"".concat(n,"-active"),r),ref:t},l)})),RT=["key","forceRender","style","className"],FT={width:0,height:0,left:0,top:0},MT=.1,LT=.01,BT=20,zT=Math.pow(.995,BT),HT={width:0,height:0,left:0,top:0,right:0},UT="TABS_DQ";const p4=yy.forwardRef(cp);WT=yy.forwardRef((function(e,t){var n,r,o=e.position,i=e.prefixCls,a=e.extra;return a?(r={},"object"!==Ei(a)||yy.isValidElement(a)?r.right=a:r=a,"right"===o&&(n=r.right),"left"===o&&(n=r.left),n?yy.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null):null}));const f4=yy.memo(yy.forwardRef(up),(function(e,t){return t.tabMoving}));GT=function(e){function t(){R$.cancel(c.current)}var n=e.activeTabOffset,r=e.horizontal,o=e.rtl,i=e.indicatorSize,a=Ua(yy.useState(),2),s=a[0],l=a[1],c=yy.useRef(),u=function(e){return"function"==typeof i?i(e):"number"==typeof i?i:e};return yy.useEffect((function(){var e={};return n&&(r?(o?(e.right=n.right+n.width/2,e.transform="translateX(50%)"):(e.left=n.left+n.width/2,e.transform="translateX(-50%)"),e.width=u(n.width)):(e.top=n.top+n.height/2,e.transform="translateY(-50%)",e.height=u(n.height))),t(),c.current=R$((function(){l(e)})),t}),[n,r,o,i]),{style:s}},VT=function(e){var t=e.current||{},n=t.offsetWidth,r=t.offsetHeight;return[void 0===n?0:n,void 0===r?0:r]},qT=function(e,t){return e[t?0:1]};const h4=yy.forwardRef(pp);XT=["renderTabBar"],KT=["label","key"],YT=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],JT=0,QT=yy.forwardRef(hp);const g4={motionAppear:!1,motionEnter:!0,motionLeave:!0};ZT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[p1(e,"slide-up"),p1(e,"slide-down")]]},b4=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},y4=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},vQ(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},yQ),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},v4=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},w4=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},x4=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},EQ(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:i}}}},S4=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},E4=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${s}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},EQ(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),x4(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},C4=Ml("Tabs",(e=>{const t=Rl(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[w4(t),S4(t),v4(t),y4(t),b4(t),E4(t),m4(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:e.controlHeightLG,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2})));eI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{type:t,className:n,rootClassName:r,size:o,onEdit:i,hideAdd:a,centered:s,addIcon:l,popupClassName:c,children:u,items:d,animated:p,style:f,indicatorSize:h}=e,g=eI(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:m,moreIcon:b=yy.createElement(d5,null)}=g,{direction:y,tabs:v,getPrefixCls:w,getPopupContainer:x}=yy.useContext(mQ),S=w("tabs",m),[E,C]=C4(S);let k;"editable-card"===t&&(k={onEdit:(e,t)=>{let{key:n,event:r}=t;null==i||i("add"===e?r:n,e)},removeIcon:yy.createElement(QQ,null),addIcon:l||yy.createElement(u4,null),showAdd:!0!==a});const O=w(),D=function(e,t){return e||function(e){return e.filter((e=>e))}(Bs(t).map((e=>{if(yy.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=ZT(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(d,u),$=function(e,t){let n,r=arguments.length>1&&void 0!==t?t:{inkBar:!0,tabPane:!1};return n=!1===r?{inkBar:!1,tabPane:!1}:!0===r?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof r?r:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},g4),{motionName:DZ(e,"switch")})),n}(S,p),_=AZ(o),N=Object.assign(Object.assign({},null==v?void 0:v.style),f);return E(yy.createElement(QT,Object.assign({direction:y,getPopupContainer:x,moreTransitionName:`${O}-slide-up`},g,{items:D,className:zJ({[`${S}-${_}`]:_,[`${S}-card`]:["card","editable-card"].includes(t),[`${S}-editable-card`]:"editable-card"===t,[`${S}-centered`]:s},null==v?void 0:v.className,n,r,C),popupClassName:zJ(c,C),style:N,editable:k,moreIcon:b,prefixCls:S,animated:$,indicatorSize:null!=h?h:null==v?void 0:v.indicatorSize})))};k4.TabPane=()=>null;const O4=k4,D4=yy.createContext({}),$4=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},_4=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},N4=(e,t)=>((e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let i=r;i>=0;i--)0===i?(o[`${n}${t}-${i}`]={display:"none"},o[`${n}-push-${i}`]={insetInlineStart:"auto"},o[`${n}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${i}`]={marginInlineStart:0},o[`${n}${t}-order-${i}`]={order:0}):(o[`${n}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/r*100}%`,maxWidth:i/r*100+"%"}],o[`${n}${t}-push-${i}`]={insetInlineStart:i/r*100+"%"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:i/r*100+"%"},o[`${n}${t}-offset-${i}`]={marginInlineStart:i/r*100+"%"},o[`${n}${t}-order-${i}`]={order:i});return o})(e,t),j4=Ml("Grid",(e=>[$4(e)])),P4=Ml("Grid",(e=>{const t=Rl(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[_4(t),N4(t,""),N4(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},N4(e,n))}))(t,n[e],e))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}));tI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=yy.useContext(mQ),{gutter:o,wrap:i}=yy.useContext(D4),{prefixCls:a,span:s,order:l,offset:c,push:u,pull:d,className:p,children:f,flex:h,style:g}=e,m=tI(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),b=n("col",a),[y,v]=P4(b);let w={};T4.forEach((t=>{let n={};const o=e[t];"number"==typeof o?n.span=o:"object"==typeof o&&(n=o||{}),delete m[t],w=Object.assign(Object.assign({},w),{[`${b}-${t}-${n.span}`]:void 0!==n.span,[`${b}-${t}-order-${n.order}`]:n.order||0===n.order,[`${b}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${b}-${t}-push-${n.push}`]:n.push||0===n.push,[`${b}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${b}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${b}-rtl`]:"rtl"===r})}));const x=zJ(b,{[`${b}-${s}`]:void 0!==s,[`${b}-order-${l}`]:l,[`${b}-offset-${c}`]:c,[`${b}-push-${u}`]:u,[`${b}-pull-${d}`]:d},p,w,v),S={};if(o&&o[0]>0){const e=o[0]/2;S.paddingLeft=e,S.paddingRight=e}return h&&(S.flex=function(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}(h),!1!==i||S.minWidth||(S.minWidth=0)),y(yy.createElement("div",Object.assign({},m,{style:Object.assign(Object.assign({},S),g),className:x,ref:t}),f))}));nI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:s,gutter:l=0,wrap:c}=e,u=nI(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:p}=yy.useContext(mQ),[f,h]=yy.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,m]=yy.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),b=gp(o,g),y=gp(r,g),v=yy.useRef(l),w=Sd();yy.useEffect((()=>{const e=w.subscribe((e=>{m(e);const t=v.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&h(e)}));return()=>w.unsubscribe(e)}),[]);const x=d("row",n),[S,E]=j4(x),C=(()=>{const e=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(((t,n)=>{if("object"==typeof t)for(let r=0;r0?C[0]/-2:void 0;D&&(O.marginLeft=D,O.marginRight=D),[,O.rowGap]=C;const[$,_]=C,N=yy.useMemo((()=>({gutter:[$,_],wrap:c})),[$,_,c]);return S(yy.createElement(D4.Provider,{value:N},yy.createElement("div",Object.assign({},u,{className:k,style:Object.assign(Object.assign({},O),a),ref:t}),s)))}));(rI=rJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.forceRender,i=e.className,a=e.style,s=e.children,l=e.isActive,c=e.role,u=Ua(rJ.useState(l||o),2),d=u[0],p=u[1];return rJ.useEffect((function(){(o||l)&&p(!0)}),[o,l]),d?rJ.createElement("div",{ref:t,className:zJ("".concat(r,"-content"),(n={},ki(n,"".concat(r,"-content-active"),l),ki(n,"".concat(r,"-content-inactive"),!l),n),i),style:a,role:c},rJ.createElement("div",{className:"".concat(r,"-content-box")},s)):null}))).displayName="PanelContent",oI=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],iI=rJ.forwardRef((function(e,t){var n,r,o,i,a=e.showArrow,s=void 0===a||a,l=e.headerClass,c=e.isActive,u=e.onItemClick,d=e.forceRender,p=e.className,f=e.prefixCls,h=e.collapsible,g=e.accordion,m=e.panelKey,b=e.extra,y=e.header,v=e.expandIcon,w=e.openMotion,x=e.destroyInactivePanel,S=e.children,E=Oi(e,oI),C="disabled"===h,k="header"===h,O="icon"===h,D=null!=b&&"boolean"!=typeof b,$=function(){null==u||u(m)},_="function"==typeof v?v(e):rJ.createElement("i",{className:"arrow"});return _&&(_=rJ.createElement("div",{className:"".concat(f,"-expand-icon"),onClick:["header","icon"].includes(h)?$:void 0},_)),o=zJ((ki(n={},"".concat(f,"-item"),!0),ki(n,"".concat(f,"-item-active"),c),ki(n,"".concat(f,"-item-disabled"),C),n),p),i={className:zJ(l,(ki(r={},"".concat(f,"-header"),!0),ki(r,"".concat(f,"-header-collapsible-only"),k),ki(r,"".concat(f,"-icon-collapsible-only"),O),r)),"aria-expanded":c,"aria-disabled":C,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==V_.ENTER&&e.which!==V_.ENTER||$()}},k||O||(i.onClick=$,i.role=g?"tab":"button",i.tabIndex=C?-1:0),rJ.createElement("div",fa({},E,{ref:t,className:o}),rJ.createElement("div",i,s&&_,rJ.createElement("span",{className:"".concat(f,"-header-text"),onClick:"header"===h?$:void 0},y),D&&rJ.createElement("div",{className:"".concat(f,"-extra")},b)),rJ.createElement(RQ,fa({visible:c,leavedClassName:"".concat(f,"-content-hidden")},w,{forceRender:d,removeOnLeave:x}),(function(e,t){return rJ.createElement(rI,{ref:t,prefixCls:f,className:e.className,style:e.style,isActive:c,forceRender:d,role:g?"tabpanel":void 0},S)})))})),aI=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],sI=function(e,t){var n=t.prefixCls,r=t.accordion,o=t.collapsible,i=t.destroyInactivePanel,a=t.onItemClick,s=t.activeKey,l=t.openMotion,c=t.expandIcon;return e.map((function(e,t){var u,d=e.children,p=e.label,f=e.key,h=e.collapsible,g=e.onItemClick,m=e.destroyInactivePanel,b=Oi(e,aI),y=String(null!=f?f:t),v=null!=h?h:o,w=null!=m?m:i;return u=r?s[0]===y:s.indexOf(y)>-1,rJ.createElement(iI,fa({},b,{prefixCls:n,key:y,panelKey:y,isActive:u,accordion:r,openMotion:l,expandIcon:c,header:p,collapsible:v,onItemClick:function(e){"disabled"!==v&&(a(e),null==g||g(e))},destroyInactivePanel:w}),d)}))},lI=function(e,t,n){var r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w;return e?(r=n.prefixCls,o=n.accordion,i=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon,d=e.key||String(t),f=(p=e.props).header,h=p.headerClass,g=p.destroyInactivePanel,m=p.collapsible,b=p.onItemClick,y=o?l[0]===d:l.indexOf(d)>-1,w={key:d,panelKey:d,header:f,headerClass:h,isActive:y,prefixCls:r,destroyInactivePanel:null!=g?g:a,openMotion:c,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==v&&(s(e),null==b||b(e))},expandIcon:u,collapsible:v=null!=m?m:i},"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),rJ.cloneElement(e,w))):null};const R4=Object.assign(rJ.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,a=void 0!==i&&i,s=e.style,l=e.accordion,c=e.children,u=e.collapsible,d=e.openMotion,p=e.expandIcon,f=e.activeKey,h=e.defaultActiveKey,g=e.onChange,m=e.items,b=zJ(o,e.className),y=Ua(Al([],{value:f,onChange:function(e){return null==g?void 0:g(e)},defaultValue:h,postState:mp}),2),v=y[0],w=y[1];return _a(!c,"`children` will be removed in next major version. Please use `items` instead."),n=function(e,t,n){return Array.isArray(e)?sI(e,n):Bs(t).map((function(e,t){return lI(e,t,n)}))}(m,c,{prefixCls:o,accordion:l,openMotion:d,expandIcon:p,collapsible:u,destroyInactivePanel:a,onItemClick:function(e){return w((function(){return l?v[0]===e?[]:[e]:v.indexOf(e)>-1?v.filter((function(t){return t!==e})):[].concat(xa(v),[e])}))},activeKey:v}),rJ.createElement("div",{ref:t,className:b,style:s,role:l?"tablist":void 0},n)})),{Panel:iI}),F4=yy.forwardRef(((e,t)=>{const{getPrefixCls:n}=yy.useContext(mQ),{prefixCls:r,className:o,showArrow:i=!0}=e,a=n("collapse",r),s=zJ({[`${a}-no-arrow`]:!i},o);return yy.createElement(R4.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))})),M4=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:o,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:p,colorTextHeading:f,colorTextDisabled:h,fontSize:g,fontSizeLG:m,lineHeight:b,marginSM:y,paddingSM:v,paddingLG:w,paddingXS:x,motionDurationSlow:S,fontSizeIcon:E,contentPadding:C}=e,k=`${c}px ${u} ${d}`;return{[t]:Object.assign(Object.assign({},vQ(e)),{backgroundColor:o,border:k,borderBottom:0,borderRadius:`${l}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:k,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:f,lineHeight:b,cursor:"pointer",transition:`all ${S}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:g*b,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${t}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{fontSize:E,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:k,[`& > ${t}-content-box`]:{padding:C},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:v-x}},[`> ${t}-content > ${t}-content-box`]:{padding:v}}},"&-large":{[`> ${t}-item`]:{fontSize:m,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:m*b,marginInlineStart:w-r}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${l}px ${l}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}})}},L4=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},B4=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},z4=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},H4=Ml("Collapse",(e=>{const t=Rl(e,{collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG});return[M4(t),B4(t),z4(t),L4(t),D1(t)]}),(e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}))),U4=yy.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:o}=yy.useContext(mQ),{prefixCls:i,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:p="start",children:f,expandIcon:h}=e,g=AZ((e=>{var t;return null!==(t=null!=d?d:e)&&void 0!==t?t:"middle"})),m=n("collapse",i),b=n(),[y,v]=H4(m),w=yy.useMemo((()=>"left"===p?"start":"right"===p?"end":p),[p]),x=zJ(`${m}-icon-position-${w}`,{[`${m}-borderless`]:!c,[`${m}-rtl`]:"rtl"===r,[`${m}-ghost`]:!!u,[`${m}-${g}`]:"middle"!==g},null==o?void 0:o.className,a,s,v),S=Object.assign(Object.assign({},OZ(b)),{motionAppear:!1,leavedClassName:`${m}-content-hidden`}),E=yy.useMemo((()=>f?Bs(f).map(((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props;return sc(e,Object.assign(Object.assign({},Qs(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0}))}return e})):null),[f]);return y(yy.createElement(R4,Object.assign({ref:t,openMotion:S},Qs(e,["rootClassName"]),{expandIcon:function(e){let t=arguments.length>0&&void 0!==e?e:{};const n=h?h(t):yy.createElement(n5,{rotate:t.isActive?90:void 0});return sc(n,(()=>({className:zJ(n.props.className,`${m}-arrow`)})))},prefixCls:m,className:x,style:Object.assign(Object.assign({},null==o?void 0:o.style),l)}),E))})),W4=Object.assign(U4,{Panel:F4}),G4=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},vQ(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*a+"%"},"&::after":{width:100-100*a+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*a+"%"},"&::after":{width:100*a+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},V4=Ml("Divider",(e=>{const t=Rl(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[G4(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS})));cI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:t,direction:n,divider:r}=yy.useContext(mQ),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,plain:p,style:f}=e,h=cI(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",o),[m,b]=V4(g),y=!!u,v="left"===a&&null!=s,w="right"===a&&null!=s,x=zJ(g,null==r?void 0:r.className,b,`${g}-${i}`,{[`${g}-with-text`]:y,[`${g}-with-text${a.length>0?`-${a}`:a}`]:y,[`${g}-dashed`]:!!d,[`${g}-plain`]:!!p,[`${g}-rtl`]:"rtl"===n,[`${g}-no-default-orientation-margin-left`]:v,[`${g}-no-default-orientation-margin-right`]:w},l,c),S=yy.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),E=Object.assign(Object.assign({},v&&{marginLeft:S}),w&&{marginRight:S});return m(yy.createElement("div",Object.assign({className:x,style:Object.assign(Object.assign({},null==r?void 0:r.style),f)},h,{role:"separator"}),u&&"vertical"!==i&&yy.createElement("span",{className:`${g}-inner-text`,style:E},u)))},X4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},K4=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:X4}))}));uI=function(){function e(t){var n,r,o,i;$i(this,e),ki(this,"origin",""),ki(this,"negative",void 0),ki(this,"integer",void 0),ki(this,"decimal",void 0),ki(this,"decimalLen",void 0),ki(this,"empty",void 0),ki(this,"nan",void 0),yp(t)?this.empty=!0:(this.origin=String(t),"-"===t||Number.isNaN(t)?this.nan=!0:(wp(n=t)&&(n=Number(n)),Ep(n="string"==typeof n?n:Sp(n))?(r=vp(n),this.negative=r.negative,o=r.trimStr.split("."),this.integer=BigInt(o[0]),i=o[1]||"0",this.decimal=BigInt(i),this.decimalLen=i.length):this.nan=!0))}return Ni(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var o=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),i=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),a=r(o),s=vp(i),l=s.trimStr,c="".concat(s.negativeStr).concat(l.padStart(a+1,"0"));return new e("".concat(c.slice(0,-a),".").concat(c.slice(-a)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,(function(e,t){return e+t}),(function(e){return e}))}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,(function(e,t){return e*t}),(function(e){return 2*e}))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(e){return arguments.length>0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":vp("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr}}]),e}(),dI=function(){function e(t){$i(this,e),ki(this,"origin",""),ki(this,"number",void 0),ki(this,"empty",void 0),yp(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return Ni(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){var n,r,o;return this.isInvalidate()?new e(t):(n=Number(t),Number.isNaN(n)?this:(r=this.number+n)>Number.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):rNumber.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):n0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":Sp(this.number)}}]),e}(),pI=function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,g=e.inputElement,m=e.prefixCls,b=e.prefix,y=e.suffix,v=e.addonBefore,w=e.addonAfter,x=e.className,S=e.style,E=e.disabled,C=e.readOnly,k=e.focused,O=e.triggerFocus,D=e.allowClear,$=e.value,_=e.handleReset,N=e.hidden,j=e.classes,P=e.classNames,T=e.dataAttrs,I=e.styles,A=e.components,R=(null==A?void 0:A.affixWrapper)||"span",F=(null==A?void 0:A.groupWrapper)||"span",M=(null==A?void 0:A.wrapper)||"span",L=(null==A?void 0:A.groupAddon)||"span",B=yy.useRef(null),z=yy.cloneElement(g,{value:$,hidden:N,className:zJ(null===(t=g.props)||void 0===t?void 0:t.className,!Dp(e)&&!Op(e)&&x)||null,style:Ea(Ea({},null===(n=g.props)||void 0===n?void 0:n.style),Dp(e)||Op(e)?{}:S)});return Dp(e)&&(o="".concat(m,"-affix-wrapper"),i=zJ(o,(ki(r={},"".concat(o,"-disabled"),E),ki(r,"".concat(o,"-focused"),k),ki(r,"".concat(o,"-readonly"),C),ki(r,"".concat(o,"-input-with-clear-btn"),y&&D&&$),r),!Op(e)&&x,null==j?void 0:j.affixWrapper,null==P?void 0:P.affixWrapper),a=(y||D)&&rJ.createElement("span",{className:zJ("".concat(m,"-suffix"),null==P?void 0:P.suffix),style:null==I?void 0:I.suffix},D?(p=!E&&!C&&$,f="".concat(m,"-clear-icon"),h="object"===Ei(D)&&null!=D&&D.clearIcon?D.clearIcon:"✖",rJ.createElement("span",{onClick:_,onMouseDown:function(e){return e.preventDefault()},className:zJ(f,(d={},ki(d,"".concat(f,"-hidden"),!p),ki(d,"".concat(f,"-has-suffix"),!!y),d)),role:"button",tabIndex:-1},h)):null,y),z=rJ.createElement(R,fa({className:i,style:Ea(Ea({},Op(e)?void 0:S),null==I?void 0:I.affixWrapper),hidden:!Op(e)&&N,onClick:function(e){var t;null!==(t=B.current)&&void 0!==t&&t.contains(e.target)&&(null==O||O())}},null==T?void 0:T.affixWrapper,{ref:B}),b&&rJ.createElement("span",{className:zJ("".concat(m,"-prefix"),null==P?void 0:P.prefix),style:null==I?void 0:I.prefix},b),yy.cloneElement(g,{value:$,hidden:null}),a)),Op(e)?(s="".concat(m,"-group"),l="".concat(s,"-addon"),c=zJ("".concat(m,"-wrapper"),s,null==j?void 0:j.wrapper),u=zJ("".concat(m,"-group-wrapper"),x,null==j?void 0:j.group),rJ.createElement(F,{className:u,style:S,hidden:N},rJ.createElement(M,{className:c},v&&rJ.createElement(L,{className:l},v),yy.cloneElement(z,{hidden:null}),w&&rJ.createElement(L,{className:l},w)))):z},fI=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],hI=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.autoComplete,u=e.onChange,d=e.onFocus,p=e.onBlur,f=e.onPressEnter,h=e.onKeyDown,g=e.prefixCls,m=void 0===g?"rc-input":g,b=e.disabled,y=e.htmlSize,v=e.className,w=e.maxLength,x=e.suffix,S=e.showCount,E=e.type,C=void 0===E?"text":E,k=e.classes,O=e.classNames,D=e.styles,$=Oi(e,fI),_=Ua(Al(e.defaultValue,{value:e.value}),2),N=_[0],j=_[1],P=Ua(yy.useState(!1),2),T=P[0],I=P[1],A=yy.useRef(null),R=function(e){A.current&&_p(A.current,e)};return yy.useImperativeHandle(t,(function(){return{focus:R,blur:function(){var e;null===(e=A.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=A.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=A.current)||void 0===e||e.select()},input:A.current}})),yy.useEffect((function(){I((function(e){return(!e||!b)&&e}))}),[b]),n=function(t){void 0===e.value&&j(t.target.value),A.current&&$p(A.current,t,u)},r=function(e){f&&"Enter"===e.key&&f(e),null==h||h(e)},o=function(e){I(!0),null==d||d(e)},i=function(e){I(!1),null==p||p(e)},a=function(e){j(""),R(),A.current&&$p(A.current,e,u)},s=function(){var t=Qs(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return rJ.createElement("input",fa({autoComplete:c},t,{onChange:n,onFocus:o,onBlur:i,onKeyDown:r,className:zJ(m,ki({},"".concat(m,"-disabled"),b),null==O?void 0:O.input),style:null==D?void 0:D.input,ref:A,size:y,type:C}))},l=function(){var e,t,n,r=Number(w)>0;return x||S?(t=xa(e=Np(N)).length,n="object"===Ei(S)?S.formatter({value:e,count:t,maxLength:w}):"".concat(t).concat(r?" / ".concat(w):""),rJ.createElement(rJ.Fragment,null,!!S&&rJ.createElement("span",{className:zJ("".concat(m,"-show-count-suffix"),ki({},"".concat(m,"-show-count-has-suffix"),!!x),null==O?void 0:O.count),style:Ea({},null==D?void 0:D.count)},n),x)):null},rJ.createElement(pI,fa({},$,{prefixCls:m,className:v,inputElement:s(),handleReset:a,value:Np(N),focused:T,triggerFocus:R,suffix:l(),disabled:b,classes:k,classNames:O,styles:D}))})),gI=function(){var e=Ua(yy.useState(!1),2),t=e[0],n=e[1];return QO((function(){n(s2())}),[]),t},mI=200,bI=600,yI=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],vI=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],wI=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},xI=function(e){var t=Cp(e);return t.isInvalidate()?null:t},SI=yy.forwardRef((function(e,t){function n(e,t){Se(ve(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}var r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j=e.prefixCls,P=void 0===j?"rc-input-number":j,T=e.className,I=e.style,A=e.min,R=e.max,F=e.step,M=void 0===F?1:F,L=e.defaultValue,B=e.value,z=e.disabled,H=e.readOnly,U=e.upHandler,W=e.downHandler,G=e.keyboard,V=e.controls,q=void 0===V||V,X=e.classNames,K=e.stringMode,Y=e.parser,J=e.formatter,Q=e.precision,Z=e.decimalSeparator,ee=e.onChange,te=e.onInput,ne=e.onPressEnter,re=e.onStep,oe=Oi(e,yI),ie="".concat(P,"-input"),ae=yy.useRef(null),se=Ua(yy.useState(!1),2),le=se[0],ce=se[1],ue=yy.useRef(!1),de=yy.useRef(!1),pe=yy.useRef(!1),fe=Ua(yy.useState((function(){return Cp(null!=B?B:L)})),2),he=fe[0],ge=fe[1],me=yy.useCallback((function(e,t){if(!t)return Q>=0?Q:Math.max(xp(e),xp(M))}),[Q,M]),be=yy.useCallback((function(e){var t,n=String(e);return Y?Y(n):(t=n,Z&&(t=t.replace(Z,".")),t.replace(/[^\w.-]+/g,""))}),[Y,Z]),ye=yy.useRef(""),ve=yy.useCallback((function(e,t){var n,r;return J?J(e,{userTyping:t,input:String(ye.current)}):(n="number"==typeof e?Sp(e):e,t||(r=me(n,t),Ep(n)&&(Z||r>=0)&&(n=kp(n,Z||".",r))),n)}),[J,me,Z]),we=Ua(yy.useState((function(){var e=null!=L?L:B;return he.isInvalidate()&&["string","number"].includes(Ei(e))?Number.isNaN(e)?"":e:ve(he.toString(),!1)})),2),xe=we[0],Se=we[1];return ye.current=xe,o=yy.useMemo((function(){return xI(R)}),[R,Q]),i=yy.useMemo((function(){return xI(A)}),[A,Q]),a=yy.useMemo((function(){return!(!o||!he||he.isInvalidate())&&o.lessEquals(he)}),[o,he]),s=yy.useMemo((function(){return!(!i||!he||he.isInvalidate())&&he.lessEquals(i)}),[i,he]),O=ae.current,D=le,$=yy.useRef(null),l=[function(){var e,t,n,r,o;try{t=O.selectionEnd,r=(n=O.value).substring(0,e=O.selectionStart),o=n.substring(t),$.current={start:e,end:t,value:n,beforeTxt:r,afterTxt:o}}catch(fY){}},function(){var e,t,n,r,o,i;if(O&&$.current&&D)try{n=(t=$.current).beforeTxt,r=t.start,o=(e=O.value).length,e.endsWith(t.afterTxt)?o=e.length-$.current.afterTxt.length:e.startsWith(n)?o=n.length:-1!==(i=e.indexOf(n[r-1],r-1))&&(o=i+1),O.setSelectionRange(o,o)}catch(fY){_a(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(fY.message))}}],c=Ua(l,2),u=c[0],d=c[1],p=function(e){return o&&!e.lessEquals(o)?o:i&&!i.lessEquals(e)?i:null},f=function(e){return!p(e)},h=function(e,t){var r,o,i=e,a=f(i)||i.isEmpty();return i.isEmpty()||t||(i=p(i)||i,a=!0),H||z||!a?he:(r=i.toString(),(o=me(r,t))>=0&&(i=Cp(kp(r,".",o)),f(i)||(i=Cp(kp(r,".",o,!0)))),i.equals(he)||(void 0===B&&ge(i),null==ee||ee(i.isEmpty()?null:wI(K,i)),void 0===B&&n(i,t)),i)},_=yy.useRef(0),N=function(){R$.cancel(_.current)},yy.useEffect((function(){return N}),[]),g=function(e){N(),_.current=R$((function(){e()}))},m=function e(t){var n;u(),ye.current=t,Se(t),de.current||(n=Cp(be(t))).isNaN()||h(n,!0),null==te||te(t),g((function(){var n=t;Y||(n=t.replace(/。/g,".")),n!==t&&e(n)}))},b=function(){de.current=!0},y=function(){de.current=!1,m(ae.current.value)},v=function(e){m(e.target.value)},w=function(e){var t,n,r,o;e&&a||!e&&s||(ue.current=!1,n=Cp(pe.current?Pp(M):M),e||(n=n.negate()),r=(he||Cp(0)).add(n.toString()),o=h(r,!1),null==re||re(wI(K,o),{offset:pe.current?Pp(M):M,type:e?"up":"down"}),null===(t=ae.current)||void 0===t||t.focus())},x=function(e){var t=Cp(be(xe)),r=t;r=t.isNaN()?h(he,e):h(t,e),void 0!==B?n(he,!1):r.isNaN()||n(r,!1)},S=function(){ue.current=!0},E=function(e){var t=e.key,n=e.shiftKey;ue.current=!0,pe.current=n,"Enter"===t&&(de.current||(ue.current=!1),x(!1),null==ne||ne(e)),!1!==G&&!de.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(w("Up"===t||"ArrowUp"===t),e.preventDefault())},C=function(){ue.current=!1,pe.current=!1},k=function(){x(!1),ce(!1),ue.current=!1},ZO((function(){he.isInvalidate()||n(he,!1)}),[Q]),ZO((function(){var e,t=Cp(B);ge(t),e=Cp(be(xe)),t.equals(e)&&ue.current&&!J||n(t,ue.current)}),[B]),ZO((function(){J&&d()}),[xe]),yy.createElement("div",{className:zJ(P,null==X?void 0:X.input,T,(r={},ki(r,"".concat(P,"-focused"),le),ki(r,"".concat(P,"-disabled"),z),ki(r,"".concat(P,"-readonly"),H),ki(r,"".concat(P,"-not-a-number"),he.isNaN()),ki(r,"".concat(P,"-out-of-range"),!he.isInvalidate()&&!f(he)),r)),style:I,onFocus:function(){ce(!0)},onBlur:k,onKeyDown:E,onKeyUp:C,onCompositionStart:b,onCompositionEnd:y,onBeforeInput:S},q&&yy.createElement(jp,{prefixCls:P,upNode:U,downNode:W,upDisabled:a,downDisabled:s,onStep:w}),yy.createElement("div",{className:"".concat(ie,"-wrap")},yy.createElement("input",fa({autoComplete:"off",role:"spinbutton","aria-valuemin":A,"aria-valuemax":R,"aria-valuenow":he.isInvalidate()?null:he.toString(),step:M},oe,{ref:Hs(ae,t),className:ie,value:xe,onChange:v,disabled:z,readOnly:H}))))})),(EI=yy.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,i=e.value,a=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.classes,d=e.className,p=e.classNames,f=Oi(e,vI),h=yy.useRef(null);return yy.createElement(pI,{inputElement:yy.createElement(SI,fa({prefixCls:o,disabled:n,classNames:p,ref:Hs(h,t)},f)),className:d,triggerFocus:function(e){h.current&&_p(h.current,e)},prefixCls:o,value:i,disabled:n,style:r,prefix:a,suffix:s,addonAfter:c,addonBefore:l,classes:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}))).displayName="InputNumber";const Y4=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:o}=e;const i="lg"===t?o:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},J4=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:i,fontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:u,colorTextDescription:d,motionDurationMid:p,handleHoverColor:f,paddingInline:h,paddingBlock:g,handleBg:m,handleActiveBg:b,colorTextDisabled:y,borderRadiusSM:v,borderRadiusLG:w,controlWidth:x,handleVisible:S,handleBorderColor:E}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),P5(e)),j5(e,t)),{display:"inline-block",width:x,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:w,[`input${t}-input`]:{height:s-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:l-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},O5(e)),"&-focused":Object.assign({},D5(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},vQ(e)),T5(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:w,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},$5(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{width:"100%",padding:`${g}px ${h}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${p} linear`,appearance:"textfield",fontSize:"inherit"}),k5(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:m,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===S?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${p} linear ${p}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:d,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${E}`,transition:`all ${p} linear`,"&:active":{background:b},"&:hover":{height:"60%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{color:f}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{color:d,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${E}`,borderEndEndRadius:i}},Y4(e,"lg")),Y4(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`\n ${t}-handler-up-disabled,\n ${t}-handler-down-disabled\n `]:{cursor:"not-allowed"},[`\n ${t}-handler-up-disabled:hover &-handler-up-inner,\n ${t}-handler-down-disabled:hover &-handler-down-inner\n `]:{color:y}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Q4=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},P5(e)),j5(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a},"&-sm":{borderRadius:s},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},O5(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:o}}})}},Z4=Ml("InputNumber",(e=>{const t=Rl(e,tp(e));return[J4(t),Q4(t),$c(t)]}),(e=>Object.assign(Object.assign({},B5(e)),{controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto",handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder})));CI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=yy.useContext(mQ),o=yy.useRef(null);yy.useImperativeHandle(t,(()=>o.current));const{className:i,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:p,bordered:f=!0,readOnly:h,status:g,controls:m}=e,b=CI(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),y=n("input-number",c),[v,w]=Z4(y),{compactSize:x,compactItemClassnames:S}=zZ(y,r);let E=yy.createElement(K4,{className:`${y}-handler-up-inner`}),C=yy.createElement(T2,{className:`${y}-handler-down-inner`});const k="boolean"==typeof m?m:void 0;"object"==typeof m&&(E=void 0===m.upIcon?E:yy.createElement("span",{className:`${y}-handler-up-inner`},m.upIcon),C=void 0===m.downIcon?C:yy.createElement("span",{className:`${y}-handler-down-inner`},m.downIcon));const{hasFeedback:O,status:D,isFormItemInput:$,feedbackIcon:_}=yy.useContext(F0),N=u2(D,g),j=AZ((e=>{var t;return null!==(t=null!=s?s:x)&&void 0!==t?t:e})),P=yy.useContext(PQ),T=null!=l?l:P,I=zJ({[`${y}-lg`]:"large"===j,[`${y}-sm`]:"small"===j,[`${y}-rtl`]:"rtl"===r,[`${y}-borderless`]:!f,[`${y}-in-form-item`]:$},yd(y,N),S,w),A=`${y}-group`;return v(yy.createElement(EI,Object.assign({ref:o,disabled:T,className:zJ(i,a),upHandler:E,downHandler:C,prefixCls:y,readOnly:h,controls:k,prefix:p,suffix:O&&_,addonAfter:d&&yy.createElement(HZ,null,yy.createElement(M0,{override:!0,status:!0},d)),addonBefore:u&&yy.createElement(HZ,null,yy.createElement(M0,{override:!0,status:!0},u)),classNames:{input:I},classes:{affixWrapper:zJ(yd(`${y}-affix-wrapper`,N,O),{[`${y}-affix-wrapper-sm`]:"small"===j,[`${y}-affix-wrapper-lg`]:"large"===j,[`${y}-affix-wrapper-rtl`]:"rtl"===r,[`${y}-affix-wrapper-borderless`]:!f},w),wrapper:zJ({[`${A}-rtl`]:"rtl"===r,[`${y}-wrapper-disabled`]:T},w),group:zJ({[`${y}-group-wrapper-sm`]:"small"===j,[`${y}-group-wrapper-lg`]:"large"===j,[`${y}-group-wrapper-rtl`]:"rtl"===r},yd(`${y}-group-wrapper`,N,O),w)}},b)))})),t3=e3;t3._InternalPanelDoNotUseOrYouWillBeFired=e=>yy.createElement(WQ,{theme:{components:{InputNumber:{handleVisible:!0}}}},yy.createElement(e3,Object.assign({},e)));const n3=t3;kI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n;const{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:p,addonBefore:f,className:h,style:g,styles:m,rootClassName:b,onChange:y,classNames:v}=e,w=kI(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:x,direction:S,input:E}=rJ.useContext(mQ),C=x("input",r),k=yy.useRef(null),[O,D]=z5(C),{compactSize:$,compactItemClassnames:_}=zZ(C,S),N=AZ((e=>{var t;return null!==(t=null!=a?a:$)&&void 0!==t?t:e})),j=rJ.useContext(PQ),P=null!=s?s:j,{status:T,hasFeedback:I,feedbackIcon:A}=yy.useContext(F0),R=u2(T,i),F=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!I,M=yy.useRef(F);yy.useEffect((()=>{M.current=F}),[F]);const L=Tp(k,!0),B=(I||u)&&rJ.createElement(rJ.Fragment,null,u,I&&A);let z;return"object"==typeof d&&(null==d?void 0:d.clearIcon)?z=d:d&&(z={clearIcon:rJ.createElement(YQ,null)}),O(rJ.createElement(hI,Object.assign({ref:Hs(t,k),prefixCls:C,autoComplete:null==E?void 0:E.autoComplete},w,{disabled:P,onBlur:e=>{L(),null==l||l(e)},onFocus:e=>{L(),null==c||c(e)},style:Object.assign(Object.assign({},null==E?void 0:E.style),g),styles:Object.assign(Object.assign({},null==E?void 0:E.styles),m),suffix:B,allowClear:z,className:zJ(h,b,_,null==E?void 0:E.className),onChange:e=>{L(),null==y||y(e)},addonAfter:p&&rJ.createElement(HZ,null,rJ.createElement(M0,{override:!0,status:!0},p)),addonBefore:f&&rJ.createElement(HZ,null,rJ.createElement(M0,{override:!0,status:!0},f)),classNames:Object.assign(Object.assign(Object.assign({},v),null==E?void 0:E.classNames),{input:zJ({[`${C}-sm`]:"small"===N,[`${C}-lg`]:"large"===N,[`${C}-rtl`]:"rtl"===S,[`${C}-borderless`]:!o},!F&&yd(C,R),null==v?void 0:v.input,null===(n=null==E?void 0:E.classNames)||void 0===n?void 0:n.input,D)}),classes:{affixWrapper:zJ({[`${C}-affix-wrapper-sm`]:"small"===N,[`${C}-affix-wrapper-lg`]:"large"===N,[`${C}-affix-wrapper-rtl`]:"rtl"===S,[`${C}-affix-wrapper-borderless`]:!o},yd(`${C}-affix-wrapper`,R,I),D),wrapper:zJ({[`${C}-group-rtl`]:"rtl"===S},D),group:zJ({[`${C}-group-wrapper-sm`]:"small"===N,[`${C}-group-wrapper-lg`]:"large"===N,[`${C}-group-wrapper-rtl`]:"rtl"===S,[`${C}-group-wrapper-disabled`]:P},yd(`${C}-group-wrapper`,R,I),D)}})))})),o3=r3,i3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a3=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:i3}))})),s3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},l3=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:s3}))}));OI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);ryy.createElement(e?l3:a3,null),u3={click:"onClick",hover:"onMouseOver"},d3=yy.forwardRef(((e,t)=>{const{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[o,i]=yy.useState((()=>!!r&&n.visible)),a=yy.useRef(null);yy.useEffect((()=>{r&&i(n.visible)}),[r,n]);const s=Tp(a),l=()=>{const{disabled:t}=e;t||(o&&s(),i((e=>{var t;const r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r})))},{className:c,prefixCls:u,inputPrefixCls:d,size:p}=e,f=OI(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=yy.useContext(mQ),g=h("input",d),m=h("input-password",u),b=n&&(t=>{const{action:n="click",iconRender:r=c3}=e,i=u3[n]||"",a=r(o),s={[i]:l,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return yy.cloneElement(yy.isValidElement(a)?a:yy.createElement("span",null,a),s)})(m),y=zJ(m,c,{[`${m}-${p}`]:!!p}),v=Object.assign(Object.assign({},Qs(f,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:y,prefixCls:g,suffix:b});return p&&(v.size=p),yy.createElement(o3,Object.assign({ref:Hs(t,a)},v))})),p3=d3;DI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:p,onCompositionStart:f,onCompositionEnd:h}=e,g=DI(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:m,direction:b}=yy.useContext(mQ),y=yy.useRef(!1),v=m("input-search",n),w=m("input",r),{compactSize:x}=zZ(v,b),S=AZ((e=>{var t;return null!==(t=null!=i?i:x)&&void 0!==t?t:e})),E=yy.useRef(null),C=e=>{var t;document.activeElement===(null===(t=E.current)||void 0===t?void 0:t.input)&&e.preventDefault()},k=e=>{var t,n;d&&d(null===(n=null===(t=E.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e,{source:"input"})},O="boolean"==typeof s?yy.createElement(A2,null):null,D=`${v}-button`;let $;const _=s||{},N=_.type&&!0===_.type.__ANT_BUTTON;$=N||"button"===_.type?sc(_,Object.assign({onMouseDown:C,onClick:e=>{var t,n;null===(n=null===(t=null==_?void 0:_.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),k(e)},key:"enterButton"},N?{className:D,size:S}:{})):yy.createElement(O0,{className:D,type:s?"primary":void 0,size:S,disabled:u,key:"enterButton",onMouseDown:C,onClick:k,loading:c,icon:O},s),l&&($=[$,sc(l,{key:"addonAfter"})]);const j=zJ(v,{[`${v}-rtl`]:"rtl"===b,[`${v}-${S}`]:!!S,[`${v}-with-button`]:!!s},o);return yy.createElement(o3,Object.assign({ref:Hs(E,t),onPressEnter:e=>{y.current||c||k(e)}},g,{size:S,onCompositionStart:e=>{y.current=!0,null==f||f(e)},onCompositionEnd:e=>{y.current=!1,null==h||h(e)},prefixCls:w,addonAfter:$,suffix:a,onChange:e=>{e&&e.target&&"click"===e.type&&d&&d(e.target.value,e,{source:"clear"}),p&&p(e)},className:j,disabled:u}))})),h3=f3;$I=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],_I={},jI=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],PI=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D,$,_,N,j,P,T=e.prefixCls;return n=e.defaultValue,r=e.value,o=e.autoSize,i=e.onResize,a=e.className,s=e.style,l=e.disabled,c=e.onChange,u=Oi(e,jI),p=(d=Ua(Al(n,{value:r,postState:function(e){return null!=e?e:""}}),2))[0],f=d[1],h=function(e){f(e.target.value),null==c||c(e)},g=yy.useRef(),yy.useImperativeHandle(t,(function(){return{textArea:g.current}})),m=Ua(yy.useMemo((function(){return o&&"object"===Ei(o)?[o.minRows,o.maxRows]:[]}),[o]),2),b=m[0],y=m[1],v=!!o,w=function(){try{if(document.activeElement===g.current){var e=g.current,t=e.scrollTop;g.current.setSelectionRange(e.selectionStart,e.selectionEnd),g.current.scrollTop=t}}catch(fY){}},x=Ua(yy.useState(2),2),S=x[0],E=x[1],k=(C=Ua(yy.useState(),2))[0],O=C[1],D=function(){E(0)},QO((function(){v&&D()}),[r,b,y,v]),QO((function(){if(0===S)E(1);else if(1===S){var e=function(e,t,n,r){var o,i,a,s,l,c,u,d,p,f,h=arguments.length>1&&void 0!==t&&t,g=arguments.length>2&&void 0!==n?n:null,m=arguments.length>3&&void 0!==r?r:null;return NI||((NI=document.createElement("textarea")).setAttribute("tab-index","-1"),NI.setAttribute("aria-hidden","true"),document.body.appendChild(NI)),e.getAttribute("wrap")?NI.setAttribute("wrap",e.getAttribute("wrap")):NI.removeAttribute("wrap"),o=function(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t,l=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return s&&_I[l]?_I[l]:(r=(n=window.getComputedStyle(e)).getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),o=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),a={sizingStyle:$I.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:i,boxSizing:r},s&&l&&(_I[l]=a),a)}(e,h),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,NI.setAttribute("style","".concat(o.sizingStyle,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),NI.value=e.value||e.placeholder||"",l=void 0,c=void 0,d=NI.scrollHeight,"border-box"===s?d+=a:"content-box"===s&&(d-=i),null===g&&null===m||(NI.value=" ",p=NI.scrollHeight-i,null!==g&&(l=p*g,"border-box"===s&&(l=l+i+a),d=Math.max(l,d)),null!==m&&(c=p*m,"border-box"===s&&(c=c+i+a),u=d>c?"":"hidden",d=Math.min(c,d))),f={height:d,overflowY:u,resize:"none"},l&&(f.minHeight=l),c&&(f.maxHeight=c),f}(g.current,!1,b,y);E(2),O(e)}else w()}),[S]),$=yy.useRef(),_=function(){R$.cancel($.current)},N=function(e){2===S&&(null==i||i(e),o&&(_(),$.current=R$((function(){D()}))))},yy.useEffect((function(){return _}),[]),j=v?k:null,P=Ea(Ea({},s),j),0!==S&&1!==S||(P.overflowY="hidden",P.overflowX="hidden"),yy.createElement(j$,{onResize:N,disabled:!(o||i)},yy.createElement("textarea",fa({},u,{ref:g,style:P,className:zJ(T,a,ki({},"".concat(T,"-disabled"),l)),disabled:l,value:p,onChange:h})))})),TI=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"],II=rJ.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b=e.defaultValue,y=e.value,v=e.onFocus,w=e.onBlur,x=e.onChange,S=e.allowClear,E=e.maxLength,C=e.onCompositionStart,k=e.onCompositionEnd,O=e.suffix,D=e.prefixCls,$=void 0===D?"rc-textarea":D,_=e.classes,N=e.showCount,j=e.className,P=e.style,T=e.disabled,I=e.hidden,A=e.classNames,R=e.styles,F=e.onResize,M=Oi(e,TI),L=Ua(Al(b,{value:y,defaultValue:b}),2),B=L[0],z=L[1],H=yy.useRef(null),U=Ua(rJ.useState(!1),2),W=U[0],G=U[1],V=Ua(rJ.useState(!1),2),q=V[0],X=V[1],K=rJ.useRef(),Y=rJ.useRef(0),J=Ua(rJ.useState(null),2),Q=J[0],Z=J[1],ee=function(){var e;null===(e=H.current)||void 0===e||e.textArea.focus()};return yy.useImperativeHandle(t,(function(){return{resizableTextArea:H.current,focus:ee,blur:function(){var e;null===(e=H.current)||void 0===e||e.textArea.blur()}}})),yy.useEffect((function(){G((function(e){return!T&&e}))}),[T]),r=Number(E)>0,o=function(e){X(!0),K.current=B,Y.current=e.currentTarget.selectionStart,null==C||C(e)},i=function(e){var t,n;X(!1),t=e.currentTarget.value,r&&(t=Ap(Y.current>=E+1||Y.current===(null===(n=K.current)||void 0===n?void 0:n.length),K.current,t,E)),t!==B&&(z(t),$p(e.currentTarget,e,x,t)),null==k||k(e)},a=function(e){var t=e.target.value;!q&&r&&(t=Ap(e.target.selectionStart>=E+1||e.target.selectionStart===t.length||!e.target.selectionStart,B,t,E)),z(t),$p(e.currentTarget,e,x,t)},s=function(e){var t=M.onPressEnter,n=M.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},l=function(e){G(!0),null==v||v(e)},c=function(e){G(!1),null==w||w(e)},u=function(e){var t;z(""),ee(),$p(null===(t=H.current)||void 0===t?void 0:t.textArea,e,x)},d=Np(B),!q&&r&&null==y&&(d=Ip(d,E)),p=O,N&&(h=xa(d).length,f="object"===Ei(N)?N.formatter({value:d,count:h,maxLength:E}):"".concat(h).concat(r?" / ".concat(E):""),p=rJ.createElement(rJ.Fragment,null,p,rJ.createElement("span",{className:zJ("".concat($,"-data-count"),null==A?void 0:A.count),style:null==R?void 0:R.count},f))),g=function(e){var t;null==F||F(e),null!==(t=H.current)&&void 0!==t&&t.textArea.style.height&&Z(!0)},m=!M.autoSize&&!N&&!S,rJ.createElement(pI,{value:d,allowClear:S,handleReset:u,suffix:p,prefixCls:$,classes:{affixWrapper:zJ(null==_?void 0:_.affixWrapper,(n={},ki(n,"".concat($,"-show-count"),N),ki(n,"".concat($,"-textarea-allow-clear"),S),n))},disabled:T,focused:W,className:j,style:Ea(Ea({},P),Q&&!m?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof f?f:void 0}},hidden:I,inputElement:rJ.createElement(PI,fa({},M,{onKeyDown:s,onChange:a,onFocus:l,onBlur:c,onCompositionStart:o,onCompositionEnd:i,className:null==A?void 0:A.textarea,style:Ea(Ea({},null==R?void 0:R.textarea),{},{resize:null==P?void 0:P.resize}),disabled:T,prefixCls:$,onResize:g,ref:H}))})})),AI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,bordered:r=!0,size:o,disabled:i,status:a,allowClear:s,showCount:l,classNames:c,rootClassName:u,className:d}=e,p=AI(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:f,direction:h}=yy.useContext(mQ),g=AZ(o),m=yy.useContext(PQ),b=null!=i?i:m,{status:y,hasFeedback:v,feedbackIcon:w}=yy.useContext(F0),x=u2(y,a),S=yy.useRef(null);yy.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=S.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=S.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=S.current)||void 0===e?void 0:e.blur()}}}));const E=f("input",n);let C;"object"==typeof s&&(null==s?void 0:s.clearIcon)?C=s:s&&(C={clearIcon:yy.createElement(YQ,null)});const[k,O]=z5(E);return k(yy.createElement(II,Object.assign({},p,{disabled:b,allowClear:C,className:zJ(d,u),classes:{affixWrapper:zJ(`${E}-textarea-affix-wrapper`,{[`${E}-affix-wrapper-rtl`]:"rtl"===h,[`${E}-affix-wrapper-borderless`]:!r,[`${E}-affix-wrapper-sm`]:"small"===g,[`${E}-affix-wrapper-lg`]:"large"===g,[`${E}-textarea-show-count`]:l},yd(`${E}-affix-wrapper`,x),O)},classNames:Object.assign(Object.assign({},c),{textarea:zJ({[`${E}-borderless`]:!r,[`${E}-sm`]:"small"===g,[`${E}-lg`]:"large"===g},yd(E,x),O,null==c?void 0:c.textarea)}),prefixCls:E,suffix:v&&yy.createElement("span",{className:`${E}-textarea-suffix`},w),showCount:l,ref:S})))})),m3=o3;m3.Group=e=>{const{getPrefixCls:t,direction:n}=yy.useContext(mQ),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[s,l]=z5(a),c=zJ(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},l,o),u=yy.useContext(F0),d=yy.useMemo((()=>Object.assign(Object.assign({},u),{isFormItemInput:!1})),[u]);return s(yy.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},yy.createElement(F0.Provider,{value:d},e.children)))},m3.Search=h3,m3.TextArea=g3,m3.Password=p3;const b3=m3;RI=yy.createContext(null),FI=[],MI="rc-util-locker-".concat(Date.now()),LI=0,BI=function(e){return!1!==e&&(Pa()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},zI=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E=e.open,C=e.autoLock,k=e.getContainer;return r=void 0===(n=e.autoDestroy)||n,o=e.children,i=Ua(yy.useState(E),2),a=i[1],s=i[0]||E,yy.useEffect((function(){(r||E)&&a(E)}),[E,r]),c=(l=Ua(yy.useState((function(){return BI(k)})),2))[0],u=l[1],yy.useEffect((function(){var e=BI(k);u(null!=e?e:null)})),d=function(e){function t(){r.parentElement||document.body.appendChild(r),o.current=!0}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}var r=Ua(yy.useState((function(){return Pa()?document.createElement("div"):null})),1)[0],o=yy.useRef(!1),i=yy.useContext(RI),a=Ua(yy.useState(FI),2),s=a[0],l=a[1],c=i||(o.current?void 0:function(e){l((function(t){return[e].concat(xa(t))}))});return QO((function(){return e?i?i(t):t():n(),n}),[e]),QO((function(){s.length&&(s.forEach((function(e){return e()})),l(FI))}),[s]),[r,c]}(s&&!c),f=(p=Ua(d,2))[0],h=p[1],g=null!=c?c:f,w=C&&E&&Pa()&&(g===f||g===document.body),x=!!w,S=Ua(yy.useState((function(){return LI+=1,"".concat(MI,"_").concat(LI)})),1)[0],QO((function(){var e,t;return x?(e=Ac(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Ba("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),S)):La(S),function(){La(S)}}),[x,S]),m=null,o&&Ws(o)&&t&&(m=o.ref),b=Us(m,t),s&&Pa()&&void 0!==c?(y=!1===g||false,v=o,t&&(v=yy.cloneElement(o,{ref:b})),yy.createElement(RI.Provider,{value:h},y?v:PE.createPortal(v,g))):null})),HI=yy.createContext(null),UI=yy.createContext({}),WI=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,i=e.containerRef,a=e.id,s={onMouseEnter:e.onMouseEnter,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp},l=Us(yy.useContext(UI).panel,i);return yy.createElement(yy.Fragment,null,yy.createElement("div",fa({id:a,className:zJ("".concat(t,"-content"),n),style:Ea({},r),"aria-modal":"true",role:"dialog",ref:l},s),o))},GI={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},VI=yy.forwardRef(Fp),qI=function(e){var t,n,r,o,i,a,s,l=e.open,c=void 0!==l&&l,u=e.prefixCls,d=void 0===u?"rc-drawer":u,p=e.placement,f=void 0===p?"right":p,h=e.autoFocus,g=void 0===h||h,m=e.keyboard,b=void 0===m||m,y=e.width,v=void 0===y?378:y,w=e.mask,x=void 0===w||w,S=e.maskClosable,E=void 0===S||S,C=e.getContainer,k=e.forceRender,O=e.afterOpenChange,D=e.destroyOnClose,$=e.onMouseEnter,_=e.onMouseOver,N=e.onMouseLeave,j=e.onClick,P=e.onKeyDown,T=e.onKeyUp,I=e.panelRef,A=Ua(yy.useState(!1),2),R=A[0],F=A[1],M=Ua(yy.useState(!1),2),L=M[0],B=M[1];return QO((function(){B(!0)}),[]),t=!!L&&c,n=yy.useRef(),r=yy.useRef(),QO((function(){t&&(r.current=document.activeElement)}),[t]),o=function(e){var t,o;F(e),null==O||O(e),e||!r.current||null!==(t=n.current)&&void 0!==t&&t.contains(r.current)||null===(o=r.current)||void 0===o||o.focus({preventScroll:!0})},i=yy.useMemo((function(){return{panel:I}}),[I]),k||R||t||!D?(a={onMouseEnter:$,onMouseOver:_,onMouseLeave:N,onClick:j,onKeyDown:P,onKeyUp:T},s=Ea(Ea({},e),{},{open:t,prefixCls:d,placement:f,autoFocus:g,keyboard:b,width:v,mask:x,maskClosable:E,inline:!1===C,afterOpenChange:o,ref:n},a),yy.createElement(UI.Provider,{value:i},yy.createElement(zI,{open:t||k||R,autoDestroy:!1,getContainer:C,autoLock:x&&(t||R)},yy.createElement(VI,s)))):null};const y3=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closeIcon:i,closable:a,onClose:s,headerStyle:l,drawerStyle:c,bodyStyle:u,footerStyle:d,children:p}=e,f=yy.useCallback((e=>yy.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e)),[s]),[h,g]=Hc(a,i,f,void 0,!0),m=yy.useMemo((()=>n||h?yy.createElement("div",{style:l,className:zJ(`${t}-header`,{[`${t}-header-close-only`]:h&&!n&&!o})},yy.createElement("div",{className:`${t}-header-title`},g,n&&yy.createElement("div",{className:`${t}-title`},n)),o&&yy.createElement("div",{className:`${t}-extra`},o)):null),[h,g,o,l,t,n]),b=yy.useMemo((()=>r?yy.createElement("div",{className:`${t}-footer`,style:d},r):null),[r,d,t]);return yy.createElement("div",{className:`${t}-wrapper-body`,style:c},m,yy.createElement("div",{className:`${t}-body`,style:u},p),b)},v3=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},w3=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:a,padding:s,paddingLG:l,fontSizeLG:c,lineHeightLG:u,lineWidth:d,lineType:p,colorSplit:f,marginSM:h,colorIcon:g,colorIconHover:m,colorText:b,fontWeightStrong:y,footerPaddingBlock:v,footerPaddingInline:w}=e,x=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${s}px ${l}px`,fontSize:c,lineHeight:u,borderBottom:`${d}px ${p} ${f}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:h,color:g,fontWeight:y,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:m,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:b,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:l,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${v}px ${w}px`,borderTop:`${d}px ${p} ${f}`},"&-rtl":{direction:"rtl"}}}},x3=Ml("Drawer",(e=>{const t=Rl(e,{});return[w3(t),v3(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));XI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{rootClassName:t,width:n,height:r,size:o="default",mask:i=!0,push:a=S3,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:p,className:f,visible:h,afterVisibleChange:g}=e,m=XI(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:b,getPrefixCls:y,direction:v,drawer:w}=yy.useContext(mQ),x=y("drawer",u),[S,E]=x3(x),C=void 0===d&&b?()=>b(document.body):d,k=zJ({"no-mask":!i,[`${x}-rtl`]:"rtl"===v},t,E),O=yy.useMemo((()=>null!=n?n:"large"===o?736:378),[n,o]),D=yy.useMemo((()=>null!=r?r:"large"===o?736:378),[r,o]),$={motionName:DZ(x,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},_=Su();return S(yy.createElement(HZ,null,yy.createElement(M0,{status:!0,override:!0},yy.createElement(qI,Object.assign({prefixCls:x,onClose:c,maskMotion:$,motion:e=>({motionName:DZ(x,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},m,{open:null!=s?s:h,mask:i,push:a,width:O,height:D,style:Object.assign(Object.assign({},null==w?void 0:w.style),p),className:zJ(null==w?void 0:w.className,f),rootClassName:k,getContainer:C,afterOpenChange:null!=l?l:g,panelRef:_}),yy.createElement(y3,Object.assign({prefixCls:x},m,{onClose:c}))))))};E3._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,i=XI(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=yy.useContext(mQ),s=a("drawer",t),[l,c]=x3(s),u=zJ(s,`${s}-pure`,`${s}-${o}`,c,r);return l(yy.createElement("div",{className:u,style:n},yy.createElement(y3,Object.assign({prefixCls:s},i))))};const C3=E3,k3=rJ.createContext({latestIndex:0}),O3=k3.Provider,D3=e=>{let{className:t,index:n,children:r,split:o,style:i}=e;const{latestIndex:a}=yy.useContext(k3);return null==r?null:yy.createElement(yy.Fragment,null,yy.createElement("div",{className:t,style:i},r),n{var n,r;const{getPrefixCls:o,space:i,direction:a}=yy.useContext(mQ),{size:s=(null==i?void 0:i.size)||"small",align:l,className:c,rootClassName:u,children:d,direction:p="horizontal",prefixCls:f,split:h,style:g,wrap:m=!1,classNames:b,styles:y}=e,v=KI(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[w,x]=Array.isArray(s)?s:[s,s],S=Mp(x),E=Mp(w),C=Lp(x),k=Lp(w),O=Bs(d,{keepEmpty:!0}),D=void 0===l&&"horizontal"===p?"center":l,$=o("space",f),[_,N]=LZ($),j=zJ($,null==i?void 0:i.className,N,`${$}-${p}`,{[`${$}-rtl`]:"rtl"===a,[`${$}-align-${D}`]:D,[`${$}-gap-row-${x}`]:S,[`${$}-gap-col-${w}`]:E},c,u),P=zJ(`${$}-item`,null!==(n=null==b?void 0:b.item)&&void 0!==n?n:null===(r=null==i?void 0:i.classNames)||void 0===r?void 0:r.item);let T=0;const I=O.map(((e,t)=>{var n,r;return null!=e&&(T=t),yy.createElement(D3,{className:P,key:e&&e.key||`${P}-${t}`,index:t,split:h,style:null!==(n=null==y?void 0:y.item)&&void 0!==n?n:null===(r=null==i?void 0:i.styles)||void 0===r?void 0:r.item},e)})),A=yy.useMemo((()=>({latestIndex:T})),[T]);if(0===O.length)return null;const R={};return m&&(R.flexWrap="wrap"),!E&&k&&(R.columnGap=w),!S&&C&&(R.rowGap=x),_(yy.createElement("div",Object.assign({ref:t,className:j,style:Object.assign(Object.assign(Object.assign({},R),null==i?void 0:i.style),g)},v),yy.createElement(O3,{value:A},I)))}));$3.Compact=e=>{const{getPrefixCls:t,direction:n}=yy.useContext(mQ),{size:r,direction:o,block:i,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=cN(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=AZ((e=>null!=r?r:e)),p=t("space-compact",a),[f,h]=LZ(p),g=zJ(p,h,{[`${p}-rtl`]:"rtl"===n,[`${p}-block`]:i,[`${p}-vertical`]:"vertical"===o},s,l),m=yy.useContext(BZ),b=Bs(c),y=yy.useMemo((()=>b.map(((e,t)=>yy.createElement(UZ,{key:e&&e.key||`${p}-item-${t}`,compactSize:d,compactDirection:o,isFirstItem:0===t&&(!m||(null==m?void 0:m.isFirstItem)),isLastItem:t===b.length-1&&(!m||(null==m?void 0:m.isLastItem))},e)))),[r,b,m]);return 0===b.length?null:f(yy.createElement("div",Object.assign({className:g},u),y))};const _3=$3,N3=e=>{const{componentCls:t}=e,n=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},\n opacity ${e.motionDurationSlow} ${e.motionEaseInOut},\n transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}},j3=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),P3=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},T3=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},vQ(e)),j3(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},P3(e,e.controlHeightSM)),"&-large":Object.assign({},P3(e,e.controlHeightLG))})}},I3=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o,labelRequiredMarkColor:i,labelColor:a,labelFontSize:s,labelHeight:l,labelColonMarginInlineStart:c,labelColonMarginInlineEnd:u,itemMarginBottom:d}=e;return{[t]:Object.assign(Object.assign({},vQ(e)),{marginBottom:d,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:l,color:a,fontSize:s,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:c,marginInlineEnd:u},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:f1,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},A3=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},R3=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,\n > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},F3=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),M3=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:F3(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},L3=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,\n .${r}-col-24${n}-label,\n .${r}-col-xl-24${n}-label`]:F3(e),[`@media (max-width: ${e.screenXSMax}px)`]:[M3(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:F3(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:F3(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:F3(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:F3(e)}}}},B3=(e,t)=>Rl(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),z3=Ml("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=B3(e,n);return[T3(r),I3(r),N3(r),A3(r),R3(r),L3(r),D1(r),f1]}),(e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0})),{order:-1e3}),H3=[],U3=e=>{let{help:t,helpStatus:n,errors:r=H3,warnings:o=H3,className:i,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=yy.useContext(R0),c=`${l}-item-explain`,[,u]=z3(l),d=yy.useMemo((()=>OZ(l)),[l]),p=Bp(r),f=Bp(o),h=yy.useMemo((()=>null!=t?[zp(t,"help",n)]:[].concat(xa(p.map(((e,t)=>zp(e,"error","error",t)))),xa(f.map(((e,t)=>zp(e,"warning","warning",t)))))),[t,n,p,f]),g={};return a&&(g.id=`${a}_help`),yy.createElement(RQ,{motionDeadline:d.motionDeadline,motionName:`${l}-show-help`,visible:!!h.length,onVisibleChanged:s},(e=>{const{className:t,style:n}=e;return yy.createElement("div",Object.assign({},g,{className:zJ(c,t,i,u),style:n,role:"alert"}),yy.createElement(FQ,Object.assign({keys:h},OZ(l),{motionName:`${l}-show-help-item`,component:!1}),(e=>{const{key:t,error:n,errorStatus:r,className:o,style:i}=e;return yy.createElement("div",{key:t,className:zJ(o,{[`${c}-${r}`]:r}),style:i},n)})))}))},W3=["parentNode"],G3="form_item";YI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=yy.useContext(PQ),{getPrefixCls:r,direction:o,form:i}=yy.useContext(mQ),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:d,colon:p,labelAlign:f,labelWrap:h,labelCol:g,wrapperCol:m,hideRequiredMark:b,layout:y="horizontal",scrollToFirstError:v,requiredMark:w,onFinishFailed:x,name:S,style:E,feedbackIcons:C}=e,k=YI(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),O=AZ(c),D=yy.useContext(UJ),$=yy.useMemo((()=>void 0!==w?w:i&&void 0!==i.requiredMark?i.requiredMark:!b),[b,w,i]),_=null!=p?p:null==i?void 0:i.colon,N=r("form",a),[j,P]=z3(N),T=zJ(N,`${N}-${y}`,{[`${N}-hide-required-mark`]:!1===$,[`${N}-rtl`]:"rtl"===o,[`${N}-${O}`]:O},P,null==i?void 0:i.className,s,l),[I]=Vp(d),{__INTERNAL__:A}=I;A.name=S;const R=yy.useMemo((()=>({name:S,labelAlign:f,labelCol:g,labelWrap:h,wrapperCol:m,vertical:"vertical"===y,colon:_,requiredMark:$,itemRef:A.itemRef,form:I,feedbackIcons:C})),[S,f,g,m,y,_,$,I,C]);yy.useImperativeHandle(t,(()=>I));const F=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),I.scrollToField(t,n)}};return j(yy.createElement(jQ,{disabled:u},yy.createElement(IQ,{size:O},yy.createElement(A0,Object.assign({},{validateMessages:D}),yy.createElement(T0.Provider,{value:R},yy.createElement(aj,Object.assign({id:S},k,{name:S,onFinishFailed:e=>{if(null==x||x(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==v)return void F(v,t);i&&void 0!==i.scrollToFirstError&&F(i.scrollToFirstError,t)}},form:I,style:Object.assign(Object.assign({},null==i?void 0:i.style),E),className:T})))))))},q3=yy.forwardRef(V3),X3=()=>{const{status:e,errors:t=[],warnings:n=[]}=yy.useContext(F0);return{status:e,errors:t,warnings:n}};X3.Context=F0;const K3=X3,Y3=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},J3=$Q(["Form","item-item"],((e,t)=>{let{rootPrefixCls:n}=t;const r=B3(e,n);return[Y3(r)]})),Q3=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:i,warnings:a,_internalItemRender:s,extra:l,help:c,fieldId:u,marginBottom:d,onErrorVisibleChanged:p}=e,f=`${t}-item`,h=yy.useContext(T0),g=r||h.wrapperCol||{},m=zJ(`${f}-control`,g.className),b=yy.useMemo((()=>Object.assign({},h)),[h]);delete b.labelCol,delete b.wrapperCol;const y=yy.createElement("div",{className:`${f}-control-input`},yy.createElement("div",{className:`${f}-control-input-content`},o)),v=yy.useMemo((()=>({prefixCls:t,status:n})),[t,n]),w=null!==d||i.length||a.length?yy.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},yy.createElement(R0.Provider,{value:v},yy.createElement(U3,{fieldId:u,errors:i,warnings:a,help:c,helpStatus:n,className:`${f}-explain-connected`,onVisibleChanged:p})),!!d&&yy.createElement("div",{style:{width:0,height:d}})):null,x={};u&&(x.id=`${u}_extra`);const S=l?yy.createElement("div",Object.assign({},x,{className:`${f}-extra`}),l):null,E=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:y,errorList:w,extra:S}):yy.createElement(yy.Fragment,null,y,w,S);return yy.createElement(T0.Provider,{value:b},yy.createElement(I4,Object.assign({},g,{className:m}),E),yy.createElement(J3,{prefixCls:t}))},Z3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},e6=yy.forwardRef((function(e,t){return yy.createElement(qQ,fa({},e,{ref:t,icon:Z3}))}));JI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:s,requiredMark:l,tooltip:c}=e;var u;const[d]=QJ("Form"),{vertical:p,labelAlign:f,labelCol:h,labelWrap:g,colon:m}=yy.useContext(T0);if(!n)return null;const b=o||h||{},y=`${t}-item-label`,v=zJ(y,"left"===(i||f)&&`${y}-left`,b.className,{[`${y}-wrap`]:!!g});let w=n;const x=!0===a||!1!==m&&!1!==a;x&&!p&&"string"==typeof n&&""!==n.trim()&&(w=n.replace(/[:|:]\s*$/,""));const S=function(e){return e?"object"!=typeof e||yy.isValidElement(e)?{title:e}:e:null}(c);if(S){const{icon:e=yy.createElement(e6,null)}=S,n=JI(S,["icon"]),r=yy.createElement(e5,Object.assign({},n),yy.cloneElement(e,{className:`${t}-item-tooltip`,title:""}));w=yy.createElement(yy.Fragment,null,w,r)}const E="optional"===l,C="function"==typeof l;C?w=l(w,{required:!!s}):E&&!s&&(w=yy.createElement(yy.Fragment,null,w,yy.createElement("span",{className:`${t}-item-optional`,title:""},(null==d?void 0:d.optional)||(null===(u=qJ.Form)||void 0===u?void 0:u.optional))));const k=zJ({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:E||C,[`${t}-item-no-colon`]:!x});return yy.createElement(I4,Object.assign({},b,{className:v}),yy.createElement("label",{htmlFor:r,className:k,title:"string"==typeof n?n:""},w))},n6={success:XQ,warning:eZ,error:YQ,validating:pZ};QI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t}=e;return t}),((e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,n)=>e===t.childProps[n])))),o6=function(e){function t(t,n,i){return r&&!g?yy.createElement(qp,{prefixCls:k,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:P,errors:A,warnings:R,noStyle:!0},t):yy.createElement(Xp,Object.assign({key:"row"},e,{className:zJ(o,D),prefixCls:k,fieldId:n,isRequired:i,errors:A,warnings:R,meta:P,onSubItemMetaChange:I}),t)}const{name:n,noStyle:r,className:o,dependencies:i,prefixCls:a,shouldUpdate:s,rules:l,children:c,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:h,hidden:g,help:m}=e,{getPrefixCls:b}=yy.useContext(mQ),{name:y}=yy.useContext(T0),v=function(e){if("function"==typeof e)return e;const t=Bs(e);return t.length<=1?t[0]:t}(c),w="function"==typeof v,x=yy.useContext(I0),{validateTrigger:S}=yy.useContext(DN),E=void 0!==h?h:S,C=function(e){return!(null==e)}(n),k=b("form",a),[O,D]=z3(k),$=yy.useContext($N),_=yy.useRef(),[N,j]=function(){const[e,t]=yy.useState({}),n=yy.useRef(null),r=yy.useRef([]),o=yy.useRef(!1);return yy.useEffect((()=>(o.current=!1,()=>{o.current=!0,R$.cancel(n.current),n.current=null})),[]),[e,function(e){o.current||(null===n.current&&(r.current=[],n.current=R$((()=>{n.current=null,t((e=>{let t=e;return r.current.forEach((e=>{t=e(t)})),t}))}))),r.current.push(e))}]}(),[P,T]=Tl((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),I=(e,t)=>{j((n=>{const r=Object.assign({},n),o=[].concat(xa(e.name.slice(0,-1)),xa(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[A,R]=yy.useMemo((()=>{const e=xa(P.errors),t=xa(P.warnings);return Object.values(N).forEach((n=>{e.push.apply(e,xa(n.errors||[])),t.push.apply(t,xa(n.warnings||[]))})),[e,t]}),[N,P.errors,P.warnings]),F=function(){const{itemRef:e}=yy.useContext(T0),t=yy.useRef({});return function(n,r){const o=r&&"object"==typeof r&&r.ref,i=n.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=Hs(e(n),o)),t.current.ref}}();if(!C&&!w&&!i)return O(t(v));let M={};return"string"==typeof d?M.label=d:n&&(M.label=String(n)),p&&(M=Object.assign(Object.assign({},M),p)),O(yy.createElement(gu,Object.assign({},e,{messageVariables:M,trigger:f,validateTrigger:E,onMetaChange:e=>{const t=null==$?void 0:$.getKey(e.name);if(T(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==m&&x){let n=e.name;if(e.destroy)n=_.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(xa(r)),_.current=n}x(e,n)}}}),((r,o,a)=>{const c=Hp(n).length&&o?o.name:[],d=Up(c,y),p=void 0!==u?u:!(!l||!l.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return t&&t.required&&!t.warningOnly}return!1}))),h=Object.assign({},r);let g=null;if(Array.isArray(v)&&C)g=v;else if(w&&(!s&&!i||C));else if(!i||w||C)if(rZ(v)){const t=Object.assign(Object.assign({},v.props),h);if(t.id||(t.id=d),m||A.length>0||R.length>0||e.extra){const n=[];(m||A.length>0)&&n.push(`${d}_help`),e.extra&&n.push(`${d}_extra`),t["aria-describedby"]=n.join(" ")}A.length>0&&(t["aria-invalid"]="true"),p&&(t["aria-required"]="true"),Ws(v)&&(t.ref=F(c,v)),new Set([].concat(xa(Hp(f)),xa(Hp(E)))).forEach((e=>{t[e]=function(){var t,n,r,o,i,a,s,l;for(a=arguments.length,s=new Array(a),l=0;l{var{prefixCls:t,children:n}=e,r=ZI(e,["prefixCls","children"]);const{getPrefixCls:o}=yy.useContext(mQ),i=o("form",t),a=yy.useMemo((()=>({prefixCls:i,status:"error"})),[i]);return yy.createElement(mu,Object.assign({},r),((e,t,r)=>yy.createElement(R0.Provider,{value:a},n(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:r.errors,warnings:r.warnings}))))},i6.ErrorList=U3,i6.useForm=Vp,i6.useFormInstance=function(){const{form:e}=yy.useContext(T0);return e},i6.useWatch=wu,i6.Provider=A0,i6.create=()=>{};const a6=i6;let s6=null,l6=e=>e(),c6=[],u6={};const d6=yy.forwardRef(((e,t)=>{const[n,r]=yy.useState(Kp),[o,i]=uc(n),a=HQ(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(Kp)};return yy.useEffect(u,[]),yy.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),yy.createElement(WQ,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),p6={open:function(e){const t=cc((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return c6.push(r),()=>{n?l6((()=>{n()})):r.skipped=!0}}));return Yp(),t},destroy:function(e){c6.push({type:"destroy",key:e}),Yp()},config:function(e){u6=Object.assign(Object.assign({},u6),e),l6((()=>{var e;null===(e=null==s6?void 0:s6.sync)||void 0===e||e.call(s6)}))},useMessage:dc,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=tN(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=yy.useContext(mQ),l=t||s("message"),[,c]=hZ(l);return yy.createElement(q_,Object.assign({},a,{prefixCls:l,className:zJ(n,c,`${l}-notice-pure-panel`),eventKey:"pure",duration:null,content:yy.createElement(mZ,{prefixCls:l,type:r,icon:o},i)}))}},f6=p6;["success","info","warning","error","loading"].forEach((e=>{f6[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return c6.push(o),()=>{r?l6((()=>{r()})):o.skipped=!0}}));return Yp(),n}(e,n)}}));const h6=f6;eA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:s}=e,l=eA(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:c}=yy.useContext(mQ),u=c(),d=t||c("modal"),[,p]=I1(d),f=`${d}-confirm`;let h={};return h=i?{closable:null!=o&&o,title:"",footer:"",children:yy.createElement(ku,Object.assign({},e,{prefixCls:d,confirmPrefixCls:f,rootPrefixCls:u,content:s}))}:{closable:null==o||o,title:a,footer:void 0===e.footer?yy.createElement(H0,Object.assign({},e)):e.footer,children:s},yy.createElement(SN,Object.assign({prefixCls:d,className:zJ(p,`${d}-pure-panel`,i&&f,i&&`${f}-${i}`,n)},l,{closeIcon:Eu(d,r),closable:o},h))})),m6=R1;m6.useModal=Pu,m6.info=function(e){return Ou($u(e))},m6.success=function(e){return Ou(_u(e))},m6.error=function(e){return Ou(Nu(e))},m6.warning=Jp,m6.warn=Jp,m6.confirm=function(e){return Ou(ju(e))},m6.destroyAll=function(){for(;B1.length;){const e=B1.pop();e&&e()}},m6.config=function(e){let{rootPrefixCls:t}=e;z1=t},m6._InternalPanelDoNotUseOrYouWillBeFired=g6;const b6=m6;let y6=null,v6=e=>e(),w6=[],x6={};const S6=yy.forwardRef(((e,t)=>{const[n,r]=yy.useState(Qp),[o,i]=Iu(n),a=HQ(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(Qp)};return yy.useEffect(u,[]),yy.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),yy.createElement(WQ,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),E6={open:ef,destroy:function(e){w6.push({type:"destroy",key:e}),Zp()},config:function(e){x6=Object.assign(Object.assign({},x6),e),v6((()=>{var e;null===(e=null==y6?void 0:y6.sync)||void 0===e||e.call(y6)}))},useNotification:Au,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:s,closable:l=!0,closeIcon:c}=e,u=dj(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=yy.useContext(mQ),p=t||d("notification"),f=`${p}-notice`,[,h]=X1(p);return yy.createElement(q_,Object.assign({},u,{prefixCls:p,className:zJ(n,h,`${f}-pure-panel`),eventKey:"pure",duration:null,closable:l,closeIcon:Tu(p,c),content:yy.createElement(Y1,{prefixCls:f,icon:r,type:o,message:i,description:a,btn:s})}))}},C6=E6;["success","info","warning","error"].forEach((e=>{C6[e]=t=>ef(Object.assign(Object.assign({},t),{type:e}))}));const k6=C6;tA=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},nA=function(e){return void 0!==e?"".concat(e,"px"):void 0},rA=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],oA=function(e){var t=e.prefixCls,n=e.disabled,r=e.checked,o=e.label,i=e.title,a=e.value,s=e.onChange;return yy.createElement("label",{className:zJ(e.className,ki({},"".concat(t,"-item-disabled"),n))},yy.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:n,checked:r,onChange:function(e){n||s(e,a)}}),yy.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))},iA=yy.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=void 0===o?"rc-segmented":o,a=e.direction,s=e.options,l=e.disabled,c=e.defaultValue,u=e.value,d=e.onChange,p=e.className,f=void 0===p?"":p,h=e.motionName,g=void 0===h?"thumb-motion":h,m=Oi(e,rA),b=yy.useRef(null),y=yy.useMemo((function(){return Hs(b,t)}),[b,t]),v=yy.useMemo((function(){return function(e){return e.map((function(e){if("object"===Ei(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==Ei(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return Ea(Ea({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(s)}),[s]),w=Ua(Al(null===(n=v[0])||void 0===n?void 0:n.value,{value:u,defaultValue:c}),2),x=w[0],S=w[1],E=Ua(yy.useState(!1),2),C=E[0],k=E[1],O=function(e,t){l||(S(t),null==d||d(t))},D=Qs(m,["children"]);return yy.createElement("div",fa({},D,{className:zJ(i,(r={},ki(r,"".concat(i,"-rtl"),"rtl"===a),ki(r,"".concat(i,"-disabled"),l),r),f),ref:y}),yy.createElement("div",{className:"".concat(i,"-group")},yy.createElement(tf,{prefixCls:i,value:x,containerRef:b,motionName:"".concat(i,"-").concat(g),direction:a,getValueIndex:function(e){return v.findIndex((function(t){return t.value===e}))},onMotionStart:function(){k(!0)},onMotionEnd:function(){k(!1)}}),v.map((function(e){return yy.createElement(oA,fa({},e,{key:e.value,prefixCls:i,className:zJ(e.className,"".concat(i,"-item"),ki({},"".concat(i,"-item-selected"),e.value===x&&!C)),checked:e.value===x,onChange:O,disabled:!!l||!!e.disabled}))}))))})),iA.displayName="Segmented",iA.defaultProps={options:[]};const O6=Object.assign({overflow:"hidden"},yQ),D6=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{display:"inline-block",padding:e.segmentedPadding,color:e.itemColor,backgroundColor:e.segmentedBgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},rf(e)),{color:e.itemSelectedColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:e.controlHeight-2*e.segmentedPadding,lineHeight:e.controlHeight-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`},O6),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},rf(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-2*e.segmentedPadding,lineHeight:e.controlHeightLG-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-2*e.segmentedPadding,lineHeight:e.controlHeightSM-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),nf(`&-disabled ${t}-item`,e)),nf(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},$6=Ml("Segmented",(e=>{const{lineWidth:t,lineWidthBold:n,colorBgLayout:r}=e,o=Rl(e,{segmentedPadding:n,segmentedBgColor:r,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[D6(o)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i}=e;return{itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i,itemSelectedColor:n}}));aA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,block:i,options:a=[],size:s="middle",style:l}=e,c=aA(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:u,direction:d,segmented:p}=yy.useContext(mQ),f=u("segmented",n),[h,g]=$6(f),m=AZ(s),b=yy.useMemo((()=>a.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,r=aA(e,["icon","label"]);return Object.assign(Object.assign({},r),{label:yy.createElement(yy.Fragment,null,yy.createElement("span",{className:`${f}-item-icon`},t),n&&yy.createElement("span",null,n))})}return e}))),[a,f]),y=zJ(r,o,null==p?void 0:p.className,{[`${f}-block`]:i,[`${f}-sm`]:"small"===m,[`${f}-lg`]:"large"===m},g),v=Object.assign(Object.assign({},null==p?void 0:p.style),l);return h(yy.createElement(iA,Object.assign({},c,{className:y,style:v,options:b,ref:t,prefixCls:f,direction:d})))}));sA=yy.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),lA=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],cA=yy.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.value,a=e.valueIndex,s=e.onStartMove,l=e.style,c=e.render,u=e.dragging,d=e.onOffsetChange,p=Oi(e,lA),f=yy.useContext(sA),h=f.min,g=f.max,m=f.direction,b=f.disabled,y=f.keyboard,v=f.range,w=f.tabIndex,x=f.ariaLabelForHandle,S=f.ariaLabelledByForHandle,E=f.ariaValueTextFormatterForHandle,C="".concat(o,"-handle"),k=function(e){b||s(e,a)},O=af(m,i,h,g),D=yy.createElement("div",fa({ref:t,className:zJ(C,(n={},ki(n,"".concat(C,"-").concat(a+1),v),ki(n,"".concat(C,"-dragging"),u),n)),style:Ea(Ea({},O),l),onMouseDown:k,onTouchStart:k,onKeyDown:function(e){if(!b&&y){var t=null;switch(e.which||e.keyCode){case V_.LEFT:t="ltr"===m||"btt"===m?-1:1;break;case V_.RIGHT:t="ltr"===m||"btt"===m?1:-1;break;case V_.UP:t="ttb"!==m?1:-1;break;case V_.DOWN:t="ttb"!==m?-1:1;break;case V_.HOME:t="min";break;case V_.END:t="max";break;case V_.PAGE_UP:t=2;break;case V_.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),d(t,a))}},tabIndex:b?null:sf(w,a),role:"slider","aria-valuemin":h,"aria-valuemax":g,"aria-valuenow":i,"aria-disabled":b,"aria-label":sf(x,a),"aria-labelledby":sf(S,a),"aria-valuetext":null===(r=sf(E,a))||void 0===r?void 0:r(i),"aria-orientation":"ltr"===m||"rtl"===m?"horizontal":"vertical"},p));return c&&(D=c(D,{index:a,prefixCls:o,value:i,dragging:u})),D})),uA=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],dA=yy.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,i=e.onOffsetChange,a=e.values,s=e.handleRender,l=e.draggingIndex,c=Oi(e,uA),u=yy.useRef({});return yy.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=u.current[e])||void 0===t||t.focus()}}})),yy.createElement(yy.Fragment,null,a.map((function(e,t){return yy.createElement(cA,fa({ref:function(e){e?u.current[t]=e:delete u.current[t]},dragging:l===t,prefixCls:n,style:sf(r,t),key:t,value:e,valueIndex:t,onStartMove:o,onOffsetChange:i,render:s},c))})))})),pA=yy.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k=e.prefixCls,O=void 0===k?"rc-slider":k,D=e.className,$=e.style,_=e.disabled,N=void 0!==_&&_,j=e.keyboard,P=void 0===j||j,T=e.autoFocus,I=e.onFocus,A=e.onBlur,R=e.min,F=void 0===R?0:R,M=e.max,L=void 0===M?100:M,B=e.step,z=void 0===B?1:B,H=e.value,U=e.defaultValue,W=e.range,G=e.count,V=e.onChange,q=e.onBeforeChange,X=e.onAfterChange,K=e.allowCross,Y=void 0===K||K,J=e.pushable,Q=void 0!==J&&J,Z=e.draggableTrack,ee=e.reverse,te=e.vertical,ne=e.included,re=void 0===ne||ne,oe=e.startPoint,ie=e.trackStyle,ae=e.handleStyle,se=e.railStyle,le=e.dotStyle,ce=e.activeDotStyle,ue=e.marks,de=e.dots,pe=e.handleRender,fe=e.tabIndex,he=void 0===fe?0:fe,ge=e.ariaLabelForHandle,me=e.ariaLabelledByForHandle,be=e.ariaValueTextFormatterForHandle,ye=yy.useRef(),ve=yy.useRef(),we=yy.useMemo((function(){return te?ee?"ttb":"btt":ee?"rtl":"ltr"}),[ee,te]),xe=yy.useMemo((function(){return isFinite(F)?F:0}),[F]),Se=yy.useMemo((function(){return isFinite(L)?L:100}),[L]),Ee=yy.useMemo((function(){return null!==z&&z<=0?1:z}),[z]),Ce=yy.useMemo((function(){return"boolean"==typeof Q?!!Q&&Ee:Q>=0&&Q}),[Q,Ee]),ke=yy.useMemo((function(){return Object.keys(ue||{}).map((function(e){var t=ue[e],n={value:Number(e)};return t&&"object"===Ei(t)&&!yy.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"==typeof t})).sort((function(e,t){return e.value-t.value}))}),[ue]),Oe=function(e,t,n,r,o,i){var a=yy.useCallback((function(n){var r=isFinite(n);return r=Math.min(t,n),Math.max(e,r)}),[e,t]),s=yy.useCallback((function(r){var o,i,s,l;return null!==n?(o=e+Math.round((a(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},s=Math.max(i(n),i(t),i(e)),l=Number(o.toFixed(s)),e<=l&&l<=t?l:null):null}),[n,e,t,a]),l=yy.useCallback((function(o){var i,l,c=a(o),u=r.map((function(e){return e.value}));return null!==n&&u.push(s(o)),u.push(e,t),i=u[0],l=t-e,u.forEach((function(e){var t=Math.abs(c-e);t<=l&&(i=e,l=t)})),i}),[e,t,r,n,a,s]),c=function o(i,a,l,c){var u,d,p,f,h,g,m,b,y=arguments.length>3&&void 0!==c?c:"unit";return"number"==typeof a?(p=(d=i[l])+a,f=[],r.forEach((function(e){f.push(e.value)})),f.push(e,t),f.push(s(d)),h=a>0?1:-1,f.push(s("unit"===y?d+h*n:p)),f=f.filter((function(e){return null!==e})).filter((function(e){return a<0?e<=d:e>=d})),"unit"===y&&(f=f.filter((function(e){return e!==d}))),g="unit"===y?d:p,u=f[0],m=Math.abs(u-g),f.forEach((function(e){var t=Math.abs(e-g);t1?((b=xa(i))[l]=u,o(b,a-h,l,y)):u):"min"===a?e:"max"===a?t:void 0},u=function(e,t,n,r){var o=e[n],i=c(e,t,n,arguments.length>3&&void 0!==r?r:"unit");return{value:i,changed:i!==o}},d=function(e){return null===i&&0===e||"number"==typeof i&&e3&&void 0!==r?r:"unit",C=e.map(l),k=C[n],O=c(C,t,n,E);if(C[n]=O,!1===o)a=i||0,n>0&&C[n-1]!==k&&(C[n]=Math.max(C[n],C[n-1]+a)),n0;h-=1)for(g=!0;d(C[h]-C[h-1])&&g;)m=u(C,-1,h-1),C[h-1]=m.value,g=m.changed;for(b=C.length-1;b>0;b-=1)for(y=!0;d(C[b]-C[b-1])&&y;)v=u(C,-1,b-1),C[b-1]=v.value,y=v.changed;for(w=0;w=0?G+1:2);o.length=0&&ye.current.focus(e)}c(null)}),[l=s[0]]),d=yy.useMemo((function(){return(!Z||null!==Ee)&&Z}),[Z,Ee]),p=function(e,t,n,o,i,a,s,l,c){var u,d,p,f,h,g=Ua(yy.useState(null),2),m=g[0],b=g[1],y=Ua(yy.useState(-1),2),v=y[0],w=y[1],x=Ua(yy.useState(n),2),S=x[0],E=x[1],C=Ua(yy.useState(n),2),k=C[0],O=C[1],D=yy.useRef(null),$=yy.useRef(null);return yy.useEffect((function(){-1===v&&E(n)}),[n,v]),yy.useEffect((function(){return function(){document.removeEventListener("mousemove",D.current),document.removeEventListener("mouseup",$.current),document.removeEventListener("touchmove",D.current),document.removeEventListener("touchend",$.current)}}),[]),u=function(e,t){S.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&b(t),E(e),s(e))},(p=yy.useRef(d=function(e,t){var n,r,s,l,d,p,f,h;-1===e?(n=k[0],r=i-k[k.length-1],s=t*(i-o),s=Math.max(s,o-n),s=Math.min(s,r),l=a(n+s),s=l-n,d=k.map((function(e){return e+s})),u(d)):(p=(i-o)*t,(f=xa(S))[e]=k[e],h=c(f,p,e,"dist"),u(h.values,h.value))})).current=d,f=function(o,i){var a,s,l,c,u,d;o.stopPropagation(),a=n[i],w(i),b(a),O(n),s=lf(o),l=s.pageX,c=s.pageY,u=function(n){var r,o,a,s,u,d,f;switch(n.preventDefault(),o=(r=lf(n)).pageX-l,a=r.pageY-c,u=(s=e.current.getBoundingClientRect()).width,d=s.height,t){case"btt":f=-a/d;break;case"ttb":f=a/d;break;case"rtl":f=-o/u;break;default:f=o/u}p.current(i,f)},d=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",u),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",u),D.current=null,$.current=null,w(-1),null==X||X(r(Ie.current))},document.addEventListener("mouseup",d),document.addEventListener("mousemove",u),document.addEventListener("touchend",d),document.addEventListener("touchmove",u),D.current=u,$.current=d},h=yy.useMemo((function(){var e=xa(n).sort((function(e,t){return e-t})),t=xa(S).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?S:n}),[n,S]),[v,m,h,f]}(ve,we,Te,xe,Se,$e,o,0,_e),f=Ua(p,4),g=f[1],m=f[2],b=f[3],y=function(e,t){b(e,t),null==q||q(r(Ie.current))},yy.useEffect((function(){if(!v){var e=Te.lastIndexOf(g);ye.current.focus(e)}}),[v=-1!==(h=f[0])]),w=yy.useMemo((function(){return xa(m).sort((function(e,t){return e-t}))}),[m]),x=Ua(yy.useMemo((function(){return W?[w[0],w[w.length-1]]:[xe,w[0]]}),[w,W,xe]),2),S=x[0],E=x[1],yy.useImperativeHandle(t,(function(){return{focus:function(){ye.current.focus(0)},blur:function(){var e=document.activeElement;ve.current.contains(e)&&(null==e||e.blur())}}})),yy.useEffect((function(){T&&ye.current.focus(0)}),[]),C=yy.useMemo((function(){return{min:xe,max:Se,direction:we,disabled:N,keyboard:P,step:Ee,included:re,includedStart:S,includedEnd:E,range:W,tabIndex:he,ariaLabelForHandle:ge,ariaLabelledByForHandle:me,ariaValueTextFormatterForHandle:be}}),[xe,Se,we,N,P,Ee,re,S,E,W,he,ge,me,be]),yy.createElement(sA.Provider,{value:C},yy.createElement("div",{ref:ve,className:zJ(O,D,(n={},ki(n,"".concat(O,"-disabled"),N),ki(n,"".concat(O,"-vertical"),te),ki(n,"".concat(O,"-horizontal"),!te),ki(n,"".concat(O,"-with-marks"),ke.length),n)),style:$,onMouseDown:a},yy.createElement("div",{className:"".concat(O,"-rail"),style:se}),yy.createElement(uf,{prefixCls:O,style:ie,values:w,startPoint:oe,onStartMove:d?y:null}),yy.createElement(hf,{prefixCls:O,marks:ke,dots:de,style:le,activeStyle:ce}),yy.createElement(dA,{ref:ye,prefixCls:O,style:ae,values:m,draggingIndex:h,onStartMove:y,onOffsetChange:u,onFocus:I,onBlur:A,handleRender:pe}),yy.createElement(pf,{prefixCls:O,marks:ke,onClick:i})))}));const N6=yy.forwardRef(((e,t)=>{function n(){R$.cancel(i.current),i.current=null}const{open:r}=e,o=yy.useRef(null),i=yy.useRef(null);return yy.useEffect((()=>(r?i.current=R$((()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null})):n(),n)),[r,e.title]),yy.createElement(e5,Object.assign({ref:Hs(o,t)},e))})),j6=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:s}=e;return{[t]:Object.assign(Object.assign({},vQ(e)),{position:"relative",height:r,margin:`${a}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+2*e.handleLineWidth,height:e.handleSize+2*e.handleLineWidth,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:`\n inset-inline-start ${e.motionDurationMid},\n inset-block-start ${e.motionDurationMid},\n width ${e.motionDurationMid},\n height ${e.motionDurationMid},\n box-shadow ${e.motionDurationMid}\n `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+2*e.handleLineWidthHover,height:e.handleSizeHover+2*e.handleLineWidthHover},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.handleActiveColor}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`\n ${t}-dot\n `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new U$(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[`\n ${t}-mark-text,\n ${t}-dot\n `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},P6=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:i}=e,a=t?"width":"height",s=t?"height":"width",l=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart",u=(3*r-o)/2,d=(o-r)/2;return{[t?"paddingBlock":"paddingInline"]:r,[s]:3*r,[`${n}-rail`]:{[a]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-track-draggable`]:Object.assign({},t?{borderWidth:`${d}px 0`,transform:`translateY(-${d}px)`}:{borderWidth:`0 ${d}px`,transform:`translateX(-${d}px)`}),[`${n}-handle`]:{[l]:u},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:3*r+(t?0:e.marginFull),[a]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[a]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[l]:(r-i)/2}}},T6=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},P6(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},I6=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},P6(e,!1)),{height:"100%"})}},A6=Ml("Slider",(e=>{const t=Rl(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[j6(t),T6(t),I6(t)]}),(e=>{const t=e.controlHeightLG/4;return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:e.controlHeightSM/2,dotSize:8,handleLineWidth:e.lineWidth+1,handleLineWidthHover:e.lineWidth+3,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:e.colorPrimary,dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}}));fA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r"number"==typeof e?e.toString():"",F6=rJ.forwardRef(((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:i,style:a,disabled:s,tooltipPrefixCls:l,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:d,tooltipPlacement:p}=e,f=fA(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:h,slider:g,getPrefixCls:m,getPopupContainer:b}=rJ.useContext(mQ),y=rJ.useContext(PQ),v=null!=s?s:y,[w,x]=rJ.useState({}),S=(e,t)=>{x((n=>Object.assign(Object.assign({},n),{[e]:t})))},E=(e,t)=>e||(t?"rtl"===h?"left":"right":"top"),C=m("slider",n),[k,O]=A6(C),D=zJ(o,null==g?void 0:g.className,i,{[`${C}-rtl`]:"rtl"===h},O);"rtl"!==h||f.vertical||(f.reverse=!f.reverse);const[$,_]=rJ.useMemo((()=>r?"object"==typeof r?[!0,r.draggableTrack]:[!0,!1]:[!1]),[r]),N=Object.assign(Object.assign({},null==g?void 0:g.style),a);return k(rJ.createElement(pA,Object.assign({},f,{step:f.step,range:$,draggableTrack:_,className:D,style:N,disabled:v,ref:t,prefixCls:C,handleRender:(t,n)=>{var r;const{index:o,dragging:i}=n,{tooltip:a={},vertical:s}=e,f=Object.assign({},a),{open:h,placement:g,getPopupContainer:y,prefixCls:v,formatter:x}=f;let k;k=x||null===x?x:c||null===c?c:R6;const O=null!==(r=null!=h?h:u)&&void 0!==r?r:void 0===h&&!!k&&(w[o]||i),D=Object.assign(Object.assign({},t.props),{onMouseEnter:()=>S(o,!0),onMouseLeave:()=>S(o,!1)}),$=m("tooltip",null!=v?v:l);return rJ.createElement(N6,Object.assign({},f,{prefixCls:$,title:k?k(n.value):"",open:O,placement:E(null!=g?g:p,s),key:o,overlayClassName:`${C}-tooltip`,getPopupContainer:y||d||b}),rJ.cloneElement(t,D))}})))}));hA=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],gA=yy.forwardRef((function(e,t){function n(e,t){var n=y;return c||(v(n=e),null==h||h(n,t)),n}var r,o=e.prefixCls,i=void 0===o?"rc-switch":o,a=e.className,s=e.checked,l=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,f=e.onClick,h=e.onChange,g=e.onKeyDown,m=Oi(e,hA),b=Ua(Al(!1,{value:s,defaultValue:l}),2),y=b[0],v=b[1],w=zJ(i,a,(ki(r={},"".concat(i,"-checked"),y),ki(r,"".concat(i,"-disabled"),c),r));return yy.createElement("button",fa({},m,{type:"button",role:"switch","aria-checked":y,disabled:c,className:w,ref:t,onKeyDown:function(e){e.which===V_.LEFT?n(!1,e):e.which===V_.RIGHT&&n(!0,e),null==g||g(e)},onClick:function(e){var t=n(!y,e);null==f||f(t,e)}}),u,yy.createElement("span",{className:"".concat(i,"-inner")},yy.createElement("span",{className:"".concat(i,"-inner-checked")},d),yy.createElement("span",{className:"".concat(i,"-inner-unchecked")},p)))})),gA.displayName="Switch";const M6=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:o,innerMinMarginSM:i,innerMaxMarginSM:a,handleSizeSM:s}=e,l=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:o,height:n,lineHeight:`${n}px`,[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${s+2*r}px - ${2*a}px)`,marginInlineEnd:`calc(100% - ${s+2*r}px + ${2*a}px)`},[`${l}-unchecked`]:{marginTop:-n,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:(s-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${s+2*r}px + ${2*a}px)`,marginInlineEnd:`calc(-100% + ${s+2*r}px - ${2*a}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${s+r}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},L6=e=>{const{componentCls:t,handleSize:n}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(n-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},B6=e=>{const{componentCls:t,motion:n,trackPadding:r,handleBg:o,handleShadow:i,handleSize:a}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:r,insetInlineStart:r,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:o,borderRadius:a/2,boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${a+r}px)`},[`&:not(${t}-disabled):active`]:n?{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},z6=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:o,innerMaxMargin:i,handleSize:a}=e,s=`${t}-inner`;return{[t]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:o,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${a+2*r}px - ${2*i}px)`,marginInlineEnd:`calc(100% - ${a+2*r}px + ${2*i}px)`},[`${s}-unchecked`]:{marginTop:-n,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${s}`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${a+2*r}px + ${2*i}px)`,marginInlineEnd:`calc(-100% + ${a+2*r}px - ${2*i}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:2*r,marginInlineEnd:2*-r}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:2*-r,marginInlineEnd:2*r}}}}}},H6=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},vQ(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:`${n}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),EQ(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},U6=Ml("Switch",(e=>{const t=Rl(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[H6(t),z6(t),B6(t),L6(t),M6(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:o}=e,i=t*n,a=r/2,s=i-4,l=a-4;return{trackHeight:i,trackHeightSM:a,trackMinWidth:2*s+8,trackMinWidthSM:2*l+4,trackPadding:2,handleBg:o,handleSize:s,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new U$("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+2+4,innerMinMarginSM:l/2,innerMaxMarginSM:l+2+4}}));mA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,size:r,disabled:o,loading:i,className:a,rootClassName:s,style:l}=e,c=mA(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:u,direction:d,switch:p}=yy.useContext(mQ),f=yy.useContext(PQ),h=(null!=o?o:f)||i,g=u("switch",n),m=yy.createElement("div",{className:`${g}-handle`},i&&yy.createElement(pZ,{className:`${g}-loading-icon`})),[b,y]=U6(g),v=AZ(r),w=zJ(null==p?void 0:p.className,{[`${g}-small`]:"small"===v,[`${g}-loading`]:i,[`${g}-rtl`]:"rtl"===d},a,s,y),x=Object.assign(Object.assign({},null==p?void 0:p.style),l);return b(yy.createElement(IZ,{component:"Switch"},yy.createElement(gA,Object.assign({},c,{prefixCls:g,className:w,style:x,disabled:h,ref:t,loadingIcon:m}))))}));W6.__ANT_SWITCH=!0;const G6=W6,V6=e=>{const{lineWidth:t,fontSizeIcon:n}=e,r=e.fontSizeSM;return Rl(e,{tagFontSize:r,tagLineHeight:e.lineHeightSM*r+"px",tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},q6=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText}),X6=Ml("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,i=r-n,a=t-n;return{[o]:Object.assign(Object.assign({},vQ(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(V6(e))),q6);bA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r(e=>Ll(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(V6(e))),q6),Y6=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},J6=$Q(["Tag","status"],(e=>{const t=V6(e);return[Y6(t,"success","Success"),Y6(t,"processing","Info"),Y6(t,"error","Error"),Y6(t,"warning","Warning")]}),q6);yA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,style:i,children:a,icon:s,color:l,onClose:c,closeIcon:u,closable:d,bordered:p=!0}=e,f=yA(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:h,direction:g,tag:m}=yy.useContext(mQ),[b,y]=yy.useState(!0);yy.useEffect((()=>{"visible"in f&&y(f.visible)}),[f.visible]);const v=Dd(l),w=function(e){return Q2.includes(e)}(l),x=v||w,S=Object.assign(Object.assign({backgroundColor:l&&!x?l:void 0},null==m?void 0:m.style),i),E=h("tag",n),[C,k]=X6(E),O=zJ(E,null==m?void 0:m.className,{[`${E}-${l}`]:x,[`${E}-has-color`]:l&&!x,[`${E}-hidden`]:!b,[`${E}-rtl`]:"rtl"===g,[`${E}-borderless`]:!p},r,o,k),D=e=>{e.stopPropagation(),null==c||c(e),e.defaultPrevented||y(!1)},[,$]=Hc(d,u,(e=>null===e?yy.createElement(QQ,{className:`${E}-close-icon`,onClick:D}):yy.createElement("span",{className:`${E}-close-icon`,onClick:D},e)),null,!1),_="function"==typeof f.onClick||a&&"a"===a.type,N=s||null,j=N?yy.createElement(yy.Fragment,null,N,a&&yy.createElement("span",null,a)):a,P=yy.createElement("span",Object.assign({},f,{ref:t,className:O,style:S}),j,$,v&&yy.createElement(K6,{key:"preset",prefixCls:E}),w&&yy.createElement(J6,{key:"status",prefixCls:E}));return C(_?yy.createElement(IZ,{component:"Tag"},P):P)},Z6=yy.forwardRef(Q6);Z6.CheckableTag=e=>{const{prefixCls:t,style:n,className:r,checked:o,onChange:i,onClick:a}=e,s=bA(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:l,tag:c}=yy.useContext(mQ),u=l("tag",t),[d,p]=X6(u),f=zJ(u,`${u}-checkable`,{[`${u}-checkable-checked`]:o},null==c?void 0:c.className,r,p);return d(yy.createElement("span",Object.assign({},s,{style:Object.assign(Object.assign({},n),null==c?void 0:c.style),className:f,onClick:e=>{null==i||i(!o),null==a||a(e)}})))};const e8=Z6,t8=(e,t)=>new U$(e).setAlpha(t).toRgbString(),n8=(e,t)=>new U$(e).lighten(t).toHexString(),r8=e=>{const t=kl(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},o8=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:t8(r,.85),colorTextSecondary:t8(r,.65),colorTextTertiary:t8(r,.45),colorTextQuaternary:t8(r,.25),colorFill:t8(r,.18),colorFillSecondary:t8(r,.12),colorFillTertiary:t8(r,.08),colorFillQuaternary:t8(r,.04),colorBgElevated:n8(n,12),colorBgContainer:n8(n,8),colorBgLayout:n8(n,0),colorBgSpotlight:n8(n,26),colorBorder:n8(n,26),colorBorderSecondary:n8(n,19)}},i8={defaultConfig:pQ,defaultSeed:pQ.token,useToken:function(){const[e,t,n]=jl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:Dl,darkAlgorithm:(e,t)=>{const n=Object.keys(rQ).map((t=>{const n=kl(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:Dl(e);return Object.assign(Object.assign(Object.assign({},r),n),Ol(e,{generateColorPalettes:r8,generateNeutralColorPalettes:o8}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:Dl(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),uQ(r)),{controlHeight:o}),nQ(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{const t=Wa((null==e?void 0:e.algorithm)?e.algorithm:Dl),n=Object.assign(Object.assign({},oQ),null==e?void 0:e.token);return aD(n,{override:null==e?void 0:e.token},t,Nl)}};vA=function(){return i8.useToken().token},SA=yy.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(xA=(wA=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}})("dark"))&&void 0!==xA&&xA.matches?"dark":"light"}),EA=function(){return yy.useContext(SA)},CA=function(){var e=vA(),t=EA(),n=t.appearance,r=t.isDarkMode;return yy.useMemo((function(){return FD(RD({token:e,css:Kk,appearance:n,isDarkMode:r}))}),[e,n,r])},kA=function(){var e=vA(),t=CA();return yy.useMemo((function(){return bf(bf({},e),{},{stylish:t})}),[e,t])},OA=function(e){return vf(vf({},e),{},{mobile:e.xs,tablet:e.md,laptop:e.lg,desktop:e.xxl})},DA=function(){var e=function(e){let t=!(arguments.length>0&&void 0!==e)||e;const n=yy.useRef({}),r=function(){const[,e]=yy.useReducer((e=>e+1),0);return e}(),o=Sd();return QO((()=>{const e=o.subscribe((e=>{n.current=e,t&&r()}));return()=>o.unsubscribe(e)}),[]),n.current}();return yy.useMemo((function(){return OA(e)}),[e])},$A=function(){var e=vA(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return yy.useMemo((function(){return OA(t)}),[e])},_A=function(e,t){return Object.entries(e).map((function(e){var n=Ua(e,2),r=n[0],o=n[1],i=o;return Uk(o)||(i=Kk(o)),t[r]?"".concat(t[r]," {").concat(i.styles,"}"):""})).join("")},NA=["stylish","appearance","isDarkMode","prefixCls"],jA=["prefixCls"],PA=function(e){var t=e.hashPriority,n=e.useTheme,r=e.EmotionContext;return function(e,o){var i=null==o?void 0:o.__BABEL_FILE_NAME__,a=!!i;return function(s){var l=n(),c=yy.useContext(r),u=Xk(c.cache,{hashPriority:(null==o?void 0:o.hashPriority)||t,label:null==o?void 0:o.label}),d=u.cx,p=u.css,f=$A(),h=yy.useMemo((function(){var t,n,r,o,c,u,h;return e instanceof Function?(n=l.stylish,r=l.appearance,o=l.isDarkMode,c=l.prefixCls,u=Oi(l,NA),h=function(e){return _A(e,f)},Object.assign(h,f),t=e({token:u,stylish:n,appearance:r,isDarkMode:o,prefixCls:c,cx:d,css:Kk,responsive:h},s)):t=e,"object"===Ei(t)&&(t=Uk(t)?p(t):Object.fromEntries(Object.entries(t).map((function(e){var t=Ua(e,2),n=t[0],r=t[1],o=a?"".concat(i,"-").concat(n):void 0;return"object"===Ei(r)?a?[n,p(r,"label:".concat(o))]:[n,p(r)]:[n,r]})))),t}),[s,l]);return yy.useMemo((function(){var e=l.prefixCls,t=Oi(l,jA);return{styles:h,cx:d,theme:t,prefixCls:e}}),[h,l])}}},TA=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return ky.jsx(t.Provider,{value:e.theme,children:e.children})}},IA=DO,AA=CO,RA=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";AA=e.ThemeContext,IA=TA(e)};const a8=yy.memo((function(e){var t,n=e.children,r=e.theme,o=e.prefixCls,i=e.getStaticInstance,a=e.staticInstanceConfig,s=EA(),l=s.appearance,c=s.isDarkMode,u=Ua(h6.useMessage(null==a?void 0:a.message),2),d=u[0],p=u[1],f=Ua(k6.useNotification(null==a?void 0:a.notification),2),h=f[0],g=f[1],m=Ua(b6.useModal(),2),b=m[0],y=m[1];return yy.useEffect((function(){null==i||i({message:d,modal:b,notification:h})}),[]),t=yy.useMemo((function(){var e,t=c?i8.darkAlgorithm:i8.defaultAlgorithm,n=r;return"function"==typeof r&&(n=r(l)),n?(e=n.algorithm?n.algorithm instanceof Array?n.algorithm:[n.algorithm]:[],xf(xf({},n),{},{algorithm:n.algorithm?[t].concat(xa(e)):t})):{algorithm:t}}),[r,c]),ky.jsxs(WQ,{prefixCls:o,theme:t,children:[p,g,y,n]})}));FA=function(e){"function"==typeof yy.startTransition?yy.startTransition(e):e()},LA=function(e){var t=e.themeMode,n=e.setAppearance,r=e.setBrowserPrefers,o=function(){wA("dark").matches?n("dark"):n("light")},i=function(){wA("dark").matches?r("dark"):r("light")};return yy.useLayoutEffect((function(){if("auto"===t)return setTimeout(o,1),MA||(MA=wA("dark")),MA.addEventListener("change",o),function(){MA.removeEventListener("change",o)};FA((function(){n(t)}))}),[t]),yy.useLayoutEffect((function(){return MA||(MA=wA("dark")),MA.addEventListener("change",i),function(){MA.removeEventListener("change",i)}}),[]),null};const s8=yy.memo((function(e){var t,n=e.children,r=e.appearance,o=e.defaultAppearance,i=e.onAppearanceChange,a=e.themeMode,s=e.defaultThemeMode,l=e.onThemeModeChange,c=(0,e.useTheme)(),u=c.appearance,d=Ua(Ef("light",{value:a,defaultValue:null!=s?s:c.themeMode,onChange:function(e){return null==l?void 0:l(e)}}),2),p=d[0],f=d[1],h=Ua(Ef("light",{value:r,defaultValue:null!=o?o:u,onChange:function(e){return null==i?void 0:i(e)}}),2),g=h[0],m=h[1],b=Ua(yy.useState(null!==(t=wA("dark"))&&void 0!==t&&t.matches?"dark":"light"),2),y=b[0],v=b[1],w=Ua(yy.useState(!1),2),x=w[0],S=w[1];return yy.useEffect((function(){FA((function(){S(!0)}))}),[]),ky.jsxs(SA.Provider,{value:{themeMode:p,setThemeMode:f,appearance:g,setAppearance:m,isDarkMode:"dark"===g,browserPrefers:y},children:[x&&ky.jsx(LA,{themeMode:p,setAppearance:m,setBrowserPrefers:v}),n]})}));BA=["stylish"];const l8=function(e){var t=e.children,n=e.customToken,r=e.defaultCustomToken,o=e.customStylish,i=e.prefixCls,a=void 0===i?"ant":i,s=e.StyledThemeProvider,l=EA(),c=l.appearance,u=l.isDarkMode,d=kA(),p=d.stylish,f=Oi(d,BA),h=yy.useMemo((function(){return r?r instanceof Function?r({token:f,appearance:c,isDarkMode:u}):r:{}}),[r,f,c]),g=yy.useMemo((function(){return kf(kf({},h),n instanceof Function?n({token:f,appearance:c,isDarkMode:u}):n)}),[h,n,f,c]),m=yy.useMemo((function(){return o?o({token:kf(kf({},f),g),stylish:p,appearance:c,isDarkMode:u,css:Kk}):{}}),[o,f,g,p,c]),b=yy.useMemo((function(){return kf(kf({},m),p)}),[m,p]),y=kf(kf(kf(kf({},f),g),{},{stylish:b},l),{},{prefixCls:a});return ky.jsx(s,{theme:y,children:t})};zA=function(e){var t=e.styledConfig?TA(e.styledConfig):void 0,n=e.StyleEngineContext;return yy.memo((function(r){var o=r.children,i=r.customToken,a=r.customStylish,s=r.theme,l=r.getStaticInstance,c=r.prefixCls,u=r.staticInstanceConfig,d=r.appearance,p=r.defaultAppearance,f=r.onAppearanceChange,h=r.themeMode,g=r.defaultThemeMode,m=r.onThemeModeChange,b=r.styled,y=yy.useContext(n),v=y.prefixCls,w=y.StyledThemeContext,x=y.CustomThemeContext,S=yy.useContext(x),E=b?TA(b):t||IA,C=c||v;return ky.jsx(n.Provider,{value:{prefixCls:C,StyledThemeContext:(null==b?void 0:b.ThemeContext)||w||AA,CustomThemeContext:x},children:ky.jsx(s8,{themeMode:h,defaultThemeMode:g,onThemeModeChange:m,defaultAppearance:p,appearance:d,onAppearanceChange:f,useTheme:e.useTheme,children:ky.jsx(a8,{prefixCls:C,staticInstanceConfig:u,theme:s,getStaticInstance:l,children:ky.jsx(l8,{prefixCls:C,customToken:i,defaultCustomToken:S,customStylish:a,StyledThemeProvider:E,children:o})})})})}))},HA=function(e){return function(){var t=yy.useContext(e.StyleEngineContext),n=t.StyledThemeContext,r=t.CustomThemeContext,o=t.prefixCls,i=kA(),a=EA(),s=yy.useContext(r),l=yy.useContext(null!=n?n:AA)||{},c=yy.useMemo((function(){return Df(Df(Df(Df({},i),a),s),{},{prefixCls:o||"ant"})}),[i,a,o,s]);return l&&0!==Object.keys(l).length?l:c}},UA=new Lk,"undefined"!=typeof global&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=UA),VA=(vY={key:"acss",speedy:!1},jY=_f(_f({},vY),{},{key:null!==(wY=vY.key)&&void 0!==wY?wY:"zcss",speedy:null!==(xY=vY.speedy)&&void 0!==xY&&xY}),PY=Tk({key:jY.key,speedy:jY.speedy,container:jY.container}),TY=Yk(PY),IY=AD(TY),PY.cache=UA.add(PY.cache),EY=null===(SY=jY.styled)||void 0===SY?void 0:SY.ThemeContext,kY=HA({StyleEngineContext:CY=yy.createContext({CustomThemeContext:yy.createContext(jY.customToken?jY.customToken:{}),StyledThemeContext:EY,prefixCls:null==jY?void 0:jY.prefixCls})}),OY=PA({hashPriority:jY.hashPriority,useTheme:kY,EmotionContext:TY}),DY=_O(kY),$Y=NO(OY),_Y=zA({styledConfig:jY.styled,StyleEngineContext:CY,useTheme:kY}),NY=Xk(PY.cache,{hashPriority:jY.hashPriority}),WA={createStyles:OY,createGlobalStyle:DY,createStylish:$Y,css:Kk,cx:NY.cx,keyframes:PY.keyframes,injectGlobal:PY.injectGlobal,styleManager:PY,useTheme:kY,StyleProvider:IY,ThemeProvider:_Y}).createGlobalStyle,qA=WA.css,XA=WA.cx,KA=WA.keyframes,YA=WA.ThemeProvider,JA=WA.StyleProvider,QA=WA.useTheme,tR=(GA=WA.createStyles)((function(e){var t=e.css,n=KA(ZA||(ZA=Di(["\n 0% {\n rotate: 0deg;\n }\n 100% {\n rotate: 360deg;\n }\n "])));return{spin:t(eR||(eR=Di(["\n animation: "," 1s linear infinite;\n "])),n)}})),nR=["icon","size","color","fill","className","spin"],rR=function(e){var t,n;switch(e){case"large":t=24,n=2;break;case"normal":t=20,n=2;break;case"small":t=14,n=1.5;break;default:e?(t=(null==e?void 0:e.fontSize)||24,n=(null==e?void 0:e.strokeWidth)||2):(t="1em",n=2)}return{fontSize:t,strokeWidth:n}};const c8=yy.memo((function(e){var t=e.icon,n=e.size,r=e.color,o=e.fill,i=e.className,a=e.spin,s=Oi(e,nR),l=tR(),c=l.styles,u=l.cx,d=t,p=yy.useMemo((function(){return rR(n)}),[n]),f=p.fontSize,h=p.strokeWidth;return ky.jsx("span",jf(jf({className:u("anticon",a&&c.spin,i),role:"img"},s),{},{children:ky.jsx(d,{color:r,fill:null!=o?o:"transparent",focusable:!1,height:f,size:f,strokeWidth:h,width:f})}))}));iR=GA((function(e,t){var n,r,o=e.token,i=e.isDarkMode,a=t.offset,s=(null!==(n=null==a?void 0:a.x)&&void 0!==n?n:0)+"px",l=(null!==(r=null==a?void 0:a.y)&&void 0!==r?r:0)+"px",c=t.outside?"0":".1",u=t.size+"px";return(0,e.css)(oR||(oR=Di(["\n pointer-events: none;\n\n position: absolute;\n z-index: 1;\n inset: 0;\n\n opacity: ",";\n background: radial-gradient(\n "," circle at "," ",",\n ",",\n ","\n );\n border-radius: inherit;\n\n transition: all 0.2s;\n "])),c,u,s,l,i?o.colorText:"#fff",i?"transparent":o.colorTextQuaternary)})),aR=["className","size"],sR=function(){var e=Ua(yy.useState(),2),t=e[0],n=e[1],r=Ua(yy.useState(!0),2),o=r[0],i=r[1],a=yy.useRef();return yy.useEffect((function(){var e,t,r;if(a.current&&a.current.parentElement)return t=function(t){var r=e.getBoundingClientRect();n({x:t.clientX-r.x,y:t.clientY-r.y}),i(!1)},r=function(){i(!0)},(e=a.current.parentElement).addEventListener("mousemove",t),e.addEventListener("mouseleave",r),function(){e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r)}}),[]),[t,o,a]};const u8=yy.memo((function(e){var t=e.className,n=e.size,r=void 0===n?64:n,o=Oi(e,aR),i=Ua(sR(),3),a=i[2],s=iR({offset:i[0],outside:i[1],size:r});return ky.jsx("div",function(e){var t,n;for(t=1;ti?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o-1},fM=function(e,t){var n=this.__data__,r=cM(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},fh.prototype.clear=function(){this.__data__=[],this.size=0},fh.prototype.delete=uM,fh.prototype.get=dM,fh.prototype.has=pM,fh.prototype.set=fM,gM=hM=fh,mM=function(){this.__data__=new gM,this.size=0},bM=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},yM=function(e){return this.__data__.get(e)},vM=function(e){return this.__data__.has(e)},wM=JF,xM=RF,SM=function(e){if(!xM(e))return!1;var t=wM(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},nY=/[^.]+$/.exec((EM=LF["__core-js_shared__"])&&EM.keys&&EM.keys.IE_PROTO||""),CM=nY?"Symbol(src)_1."+nY:"",kM=Function.prototype.toString,DM=SM,$M=function(e){return!!CM&&CM in e},_M=RF,NM=OM=function(e){if(null!=e){try{return kM.call(e)}catch(fY){}try{return e+""}catch(fY){}}return""},jM=/[\\^$.*+?()[\]{}|]/g,PM=/^\[object .+?Constructor\]$/,TM=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(jM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),IM=function(e,t){return null==e?void 0:e[t]},AM=function(e){return!(!_M(e)||$M(e))&&(DM(e)?TM:PM).test(NM(e))},RM=IM,FM=function(e,t){var n=RM(e,t);return AM(n)?n:void 0},MM=FM(LF,"Map"),LM=FM(Object,"create"),zM=BM=LM,HM=BM,UM=Object.prototype.hasOwnProperty,WM=BM,GM=Object.prototype.hasOwnProperty,VM=BM,qM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},XM=function(e){var t,n=this.__data__;return HM?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:UM.call(n,e)?n[e]:void 0},KM=function(e){var t=this.__data__;return WM?void 0!==t[e]:GM.call(t,e)},YM=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=VM&&void 0===t?"__lodash_hash_undefined__":t,this},hh.prototype.clear=function(){this.__data__=zM?zM(null):{},this.size=0},hh.prototype.delete=qM,hh.prototype.get=XM,hh.prototype.has=KM,hh.prototype.set=YM,JM=hh,QM=hM,ZM=MM,eL=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},nL=tL=function(e,t){var n=e.__data__;return eL(t)?n["string"==typeof t?"string":"hash"]:n.map},rL=tL,oL=tL,iL=tL,aL=function(e){var t=nL(this,e).delete(e);return this.size-=t?1:0,t},sL=function(e){return rL(this,e).get(e)},lL=function(e){return oL(this,e).has(e)},cL=function(e,t){var n=iL(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},gh.prototype.clear=function(){this.size=0,this.__data__={hash:new JM,map:new(ZM||QM),string:new JM}},gh.prototype.delete=aL,gh.prototype.get=sL,gh.prototype.has=lL,gh.prototype.set=cL,dL=hM,pL=MM,fL=uL=gh,hL=hM,gL=bM,mL=yM,bL=vM,yL=function(e,t){var n,r=this.__data__;if(r instanceof dL){if(n=r.__data__,!pL||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new fL(n)}return r.set(e,t),this.size=r.size,this},mh.prototype.clear=mM,mh.prototype.delete=gL,mh.prototype.get=mL,mh.prototype.has=bL,mh.prototype.set=yL,vL=mh,wL=uL,xL=function(e){return this.__data__.has(e)},bh.prototype.add=bh.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},bh.prototype.has=xL,CL=SL=bh,kL=function(e,t){for(var n=-1,r=null==e?0:e.length;++ng))return!1;if(a=i.get(e),s=i.get(t),a&&s)return a==t&&s==e;for(l=-1,c=!0,u=2&n?new CL:void 0,i.set(e,t),i.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},cB=QF,(uB={})["[object Float32Array]"]=uB["[object Float64Array]"]=uB["[object Int8Array]"]=uB["[object Int16Array]"]=uB["[object Int32Array]"]=uB["[object Uint8Array]"]=uB["[object Uint8ClampedArray]"]=uB["[object Uint16Array]"]=uB["[object Uint32Array]"]=!0,uB["[object Arguments]"]=uB["[object Array]"]=uB["[object ArrayBuffer]"]=uB["[object Boolean]"]=uB["[object DataView]"]=uB["[object Date]"]=uB["[object Error]"]=uB["[object Function]"]=uB["[object Map]"]=uB["[object Number]"]=uB["[object Object]"]=uB["[object RegExp]"]=uB["[object Set]"]=uB["[object String]"]=uB["[object WeakMap]"]=!1,dB=function(e){return cB(e)&&lB(e.length)&&!!uB[sB(e)]},pB=function(e){return function(t){return e(t)}},function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&FF.process,i=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(fY){}}();e.exports=i}(fB={exports:{}},fB.exports),hB=dB,bB=(mB=(gB=fB.exports)&&gB.isTypedArray)?pB(mB):hB,vB=qL,wB=tB,xB=ML,SB=rB,EB=iB,CB=yB=bB,kB=Object.prototype.hasOwnProperty,OB=function(e,t){var n,r=xB(e),o=!r&&wB(e),i=!r&&!o&&SB(e),a=!r&&!o&&!i&&CB(e),s=r||o||i||a,l=s?vB(e.length,String):[],c=l.length;for(n in e)!t&&!kB.call(e,n)||s&&("length"==n||i&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||EB(n,c))||l.push(n);return l},DB=Object.prototype,$B=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||DB)},AY=Object.keys,RY=Object,_B=$B,NB=function(e){return AY(RY(e))},jB=Object.prototype.hasOwnProperty,PB=function(e){var t,n;if(!_B(e))return NB(e);for(n in t=[],Object(e))jB.call(e,n)&&"constructor"!=n&&t.push(n);return t},TB=SM,IB=aB,AB=OB,RB=PB,FB=function(e){return null!=e&&IB(e.length)&&!TB(e)},MB=function(e){return FB(e)?AB(e):RB(e)},LB=zL,BB=VL,zB=MB,HB=function(e){return LB(e,zB,BB)},UB=HB,WB=Object.prototype.hasOwnProperty,GB=function(e,t,n,r,o,i){var a,s,l,c,u,d,p,f,h,g,m,b=1&n,y=UB(e),v=y.length;if(v!=UB(t).length&&!b)return!1;for(a=v;a--;)if(s=y[a],!(b?s in t:WB.call(t,s)))return!1;if(l=i.get(e),c=i.get(t),l&&c)return l==t&&c==e;for(u=!0,i.set(e,t),i.set(t,e),d=b;++a .ant-menu-item-only-child,\n .ant-menu-submenu-title {\n width: 100%;\n margin: 0 !important;\n border-top: none;\n border-radius: 0;\n\n &:active {\n color: ",";\n background-color: ",";\n }\n }\n\n .ant-menu-item-only-child:first-child {\n border-top: none;\n }\n\n .ant-menu-submenu-title[aria-expanded='true'] {\n a {\n font-weight: 600;\n color: "," !important;\n }\n }\n\n .ant-menu-item-group-title {\n padding-top: 8px;\n padding-bottom: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n text-overflow: ellipsis;\n text-transform: uppercase;\n white-space: nowrap;\n\n background: ",";\n }\n\n .ant-menu-item {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n border-radius: ","px;\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n\n .ant-menu-item-active {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n background: ",";\n border-radius: ","px;\n }\n\n .ant-menu-item-selected {\n font-weight: 600;\n color: ",";\n background: ",";\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n "])),n.colorText,n.colorFill,n.colorText,n.colorFillSecondary,n.borderRadius,n.colorText,n.colorFillSecondary,n.colorFillSecondary,n.borderRadius,n.colorBgLayout,n.colorText,n.colorBgLayout,n.colorText)}})),qz=["items","openKeys","selectedKeys","opened","setOpened","className","headerHeight"];const $8=yy.memo((function(e){var t=e.items,n=e.openKeys,r=e.selectedKeys,o=e.opened,i=e.setOpened,a=e.className,s=e.headerHeight,l=void 0===s?64:s,c=Oi(e,qz),u=Vz(l),d=u.styles;return ky.jsxs(D8,Dh(Dh({className:(0,u.cx)(d.container,a),onClick:function(){i(!o)}},c),{},{children:[ky.jsx(p8,{icon:o?AJ:CJ,size:"site"}),ky.jsxs(C3,{bodyStyle:{padding:0},className:d.drawer,closeIcon:void 0,headerStyle:{display:"none"},open:o,placement:"left",rootClassName:d.drawerRoot,width:"100vw",children:[ky.jsx(C5,{className:d.menu,items:t,mode:"inline",openKeys:n,selectedKeys:r}),ky.jsx("div",{className:d.fillRect})]})]}))}));Xz=["icon","children","size"],Jz=GA((function(e){var t=e.cx,n=e.css,r=e.token;return{small:n(Kz||(Kz=Di(["\n padding: 2px 6px;\n line-height: 1;\n "]))),tag:t(n(Yz||(Yz=Di(["\n color: "," !important;\n background: ",";\n border: ","px;\n\n &:hover {\n color: ",";\n background: ",";\n }\n "])),r.colorTextSecondary,r.colorFillSecondary,r.borderRadius,r.colorText,r.colorFill))}}));const _8=yy.memo((function(e){var t=e.icon,n=e.children,r=e.size,o=void 0===r?"default":r,i=Oi(e,Xz),a=Jz(),s=a.styles;return ky.jsx(e8,_h(_h({bordered:!1,className:(0,a.cx)(s.tag,"small"===o&&s.small)},i),{},{children:ky.jsxs(Bz,{align:"center",gap:4,horizontal:!0,children:[t,n]})}))}));Qz={exports:{}},Zz={},eH=yy,tH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},nH=eH.useState,rH=eH.useEffect,oH=eH.useLayoutEffect,iH=eH.useDebugValue,aH="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=nH({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return oH((function(){o.value=n,o.getSnapshot=t,Nh(o)&&i({inst:o})}),[e,n,t]),rH((function(){return Nh(o)&&i({inst:o}),e((function(){Nh(o)&&i({inst:o})}))}),[e]),iH(n),n},Zz.useSyncExternalStore=void 0!==eH.useSyncExternalStore?eH.useSyncExternalStore:aH,Qz.exports=Zz,sH=Qz.exports,lH={blue:{dark:["#000506","#002126","#00363f","#004e59","#006675","#008093","#159ab0","#47b3ca","#6acde4","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],darkA:["rgba(0, 167, 200, 0.03)","rgba(0, 220, 253, 0.15)","rgba(0, 216, 252, 0.25)","rgba(0, 223, 254, 0.35)","rgba(0, 222, 254, 0.46)","rgba(0, 221, 253, 0.58)","rgba(30, 223, 255, 0.69)","rgba(89, 224, 252, 0.8)","rgba(118, 228, 253, 0.9)","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],light:["#ffffff","#fbfeff","#f4fcff","#eafaff","#dff7ff","#d3f5ff","#c4f2ff","#b4efff","#a1ecff","#8ae8ff","#159ab0","#004e59","#000506"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 205, 255, 0.02)","rgba(35, 195, 255, 0.05)","rgba(22, 199, 255, 0.09)","rgba(9, 193, 255, 0.13)","rgba(11, 199, 255, 0.18)","rgba(9, 201, 255, 0.24)","rgba(5, 202, 255, 0.3)","rgba(1, 204, 255, 0.37)","rgba(1, 205, 255, 0.46)","rgba(1, 145, 169, 0.92)","#004e59","#000506"]},bnw:{dark:["#000000","#111111","#333333","#555555","#666666","#888888","#aaaaaa","#cccccc","#dddddd","#eeeeee","#ffffff","#ffffff","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.08)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.22)","rgba(255, 255, 255, 0.36)","rgba(255, 255, 255, 0.48)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.72)","rgba(255, 255, 255, 0.84)","rgba(255, 255, 255, 0.88)","rgba(255, 255, 255, 0.92)","rgba(255, 255, 255, 0.96)","rgba(255, 255, 255, 0.98)"],light:["#ffffff","#f5f5f5","#eeeeee","#cccccc","#aaaaaa","#888888","#666666","#444444","#333333","#222222","#111111","#111111","#111111"],lightA:["rgba(0, 0, 0, 0.02)","rgba(0, 0, 0, 0.08)","rgba(0, 0, 0, 0.16)","rgba(0, 0, 0, 0.22)","rgba(0, 0, 0, 0.36)","rgba(0, 0, 0, 0.48)","rgba(0, 0, 0, 0.6)","rgba(0, 0, 0, 0.72)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.88)","rgba(0, 0, 0, 0.92)","rgba(0, 0, 0, 0.96)","rgba(0, 0, 0, 0.98)"]},cyan:{dark:["#000503","#00221c","#003930","#005245","#006c5b","#008772","#2fa28a","#55bca4","#75d7be","#95f3d9","#bdf7e4","#dffcf0","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 243, 200, 0.14)","rgba(0, 248, 209, 0.23)","rgba(0, 248, 209, 0.33)","rgba(0, 251, 212, 0.43)","rgba(0, 255, 215, 0.53)","rgba(73, 253, 216, 0.64)","rgba(115, 254, 222, 0.74)","rgba(138, 253, 224, 0.85)","rgba(155, 253, 226, 0.96)","rgba(195, 255, 235, 0.97)","rgba(225, 255, 242, 0.99)","#ffffff"],light:["#ffffff","#f9fffb","#effff8","#e3fff4","#d8fef0","#ccfcec","#c0fae8","#b3f8e3","#a5f6de","#95f3d9","#2fa28a","#005245","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 255, 122, 0.03)","rgba(26, 255, 155, 0.07)","rgba(0, 255, 155, 0.11)","rgba(11, 249, 161, 0.16)","rgba(0, 240, 160, 0.2)","rgba(3, 235, 163, 0.25)","rgba(2, 232, 162, 0.3)","rgba(5, 230, 163, 0.36)","rgba(3, 226, 165, 0.42)","rgba(1, 142, 112, 0.82)","#005245","#000503"]},geekblue:{dark:["#000216","#001343","#00225c","#003176","#00418f","#0052a8","#0264c1","#1877d5","#288aea","#369eff","#88bffb","#c5dffd","#ffffff"],darkA:["rgba(0, 22, 244, 0.09)","rgba(0, 70, 248, 0.27)","rgba(0, 92, 249, 0.37)","rgba(0, 104, 251, 0.47)","rgba(0, 116, 255, 0.56)","rgba(0, 124, 255, 0.66)","rgba(3, 132, 254, 0.76)","rgba(29, 142, 254, 0.84)","rgba(43, 150, 254, 0.92)","#369eff","rgba(137, 193, 254, 0.99)","#c5dffd","#ffffff"],light:["#ffffff","#f8faff","#eaf3ff","#daeaff","#c7e0ff","#b1d5ff","#9ac9ff","#7fbcff","#60aeff","#369eff","#0264c1","#003176","#000216"],lightA:["rgba(255, 255, 255, 0.01)","rgba(22, 88, 255, 0.03)","rgba(22, 122, 255, 0.09)","rgba(8, 115, 255, 0.15)","rgba(0, 114, 255, 0.22)","rgba(3, 120, 255, 0.31)","rgba(3, 120, 255, 0.4)","rgba(4, 124, 255, 0.51)","rgba(3, 126, 255, 0.63)","rgba(1, 132, 255, 0.79)","#0264c1","#003176","#000216"]},gold:{dark:["#070300","#271a00","#3f2c00","#593f00","#745400","#906a00","#ac8100","#c99811","#e4b12f","#ffcb47","#ffdd90","#ffeecd","#ffffff"],darkA:["rgba(233, 100, 0, 0.03)","rgba(244, 163, 0, 0.16)","rgba(252, 176, 0, 0.25)","rgba(254, 180, 0, 0.35)","rgba(252, 183, 0, 0.46)","rgba(253, 186, 0, 0.57)","rgba(253, 190, 0, 0.68)","rgba(254, 192, 22, 0.79)","rgba(253, 197, 52, 0.9)","#ffcb47","#ffdd90","#ffeecd","#ffffff"],light:["#ffffff","#fffcff","#fff8f2","#fff4e2","#ffefd0","#ffe9bb","#ffe3a4","#ffdb8b","#ffd46d","#ffcb47","#ac8100","#593f00","#070300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 138, 38, 0.06)","rgba(255, 163, 13, 0.12)","rgba(255, 171, 8, 0.19)","rgba(255, 174, 3, 0.27)","rgba(255, 177, 2, 0.36)","rgba(255, 177, 3, 0.46)","rgba(255, 181, 3, 0.58)","rgba(255, 184, 3, 0.73)","#ac8100","#593f00","#070300"]},gray:{dark:["#000000","#111111","#222222","#2d2d2d","#333333","#444444","#555555","#666666","#6f6f6f","#777777","#aaaaaa","#dddddd","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.06)","rgba(255, 255, 255, 0.10)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.24)","rgba(255, 255, 255, 0.28)","rgba(255, 255, 255, 0.32)","rgba(255, 255, 255, 0.38)","rgba(255, 255, 255, 0.44)","rgba(255, 255, 255, 0.5)","rgba(255, 255, 255, 0.66)","rgba(255, 255, 255, 0.84)","#ffffff"],light:["#ffffff","#f8f8f8","#eeeeee","#e3e3e3","#dddddd","#cccccc","#bbbbbb","#aaaaaa","#999999","#888888","#666666","#333333","#080808"],lightA:["rgba(0, 0, 0, 0.015)","rgba(0, 0, 0, 0.03)","rgba(0, 0, 0, 0.06)","rgba(0, 0, 0, 0.12)","rgba(0, 0, 0, 0.18)","rgba(0, 0, 0, 0.24)","rgba(0, 0, 0, 0.32)","rgba(0, 0, 0, 0.38)","rgba(0, 0, 0, 0.44)","rgba(0, 0, 0, 0.5)","rgba(0, 0, 0, 0.68)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.98)"]},green:{dark:["#000503","#001d12","#002d1d","#003f28","#005232","#00653c","#007944","#1b8d4d","#3ba05a","#55b467","#96cd92","#cde6c3","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 242, 150, 0.12)","rgba(0, 250, 161, 0.18)","rgba(0, 252, 160, 0.25)","rgba(0, 248, 152, 0.33)","rgba(0, 252, 150, 0.4)","rgba(0, 252, 142, 0.48)","rgba(48, 252, 137, 0.56)","rgba(94, 254, 143, 0.63)","rgba(120, 254, 145, 0.71)","rgba(185, 253, 180, 0.81)","rgba(225, 253, 214, 0.91)","#ffffff"],light:["#ffffff","#f4fdeb","#e7f8dd","#d8f2ce","#c7eabd","#b4e1ac","#a0d79b","#89cc8a","#71c179","#55b467","#007944","#003f28","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(117, 230, 5, 0.08)","rgba(84, 205, 12, 0.14)","rgba(60, 190, 10, 0.2)","rgba(40, 174, 1, 0.26)","rgba(28, 164, 3, 0.33)","rgba(18, 155, 5, 0.4)","rgba(4, 146, 6, 0.47)","rgba(1, 144, 16, 0.56)","rgba(1, 143, 28, 0.67)","#007944","#003f28","#000503"]},lime:{dark:["#020400","#142100","#253700","#374f00","#4b6800","#608200","#769d00","#8fb81b","#a9d42f","#c4f042","#daf685","#eefbbe","#ffffff"],darkA:["rgba(100, 200, 0, 0.02)","rgba(154, 254, 0, 0.13)","rgba(168, 250, 0, 0.22)","rgba(177, 255, 0, 0.31)","rgba(183, 254, 0, 0.41)","rgba(188, 255, 0, 0.51)","rgba(190, 253, 0, 0.62)","rgba(196, 252, 37, 0.73)","rgba(204, 255, 57, 0.83)","rgba(209, 255, 70, 0.94)","rgba(225, 254, 137, 0.97)","rgba(240, 254, 192, 0.99)","#ffffff"],light:["#ffffff","#feffeb","#f9ffd8","#f2ffc1","#ebfdaf","#e4fc9b","#ddf987","#d5f773","#cdf35c","#c4f042","#769d00","#374f00","#020400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(242, 255, 5, 0.08)","rgba(218, 255, 11, 0.16)","rgba(203, 255, 7, 0.25)","rgba(193, 249, 5, 0.32)","rgba(187, 247, 5, 0.4)","rgba(183, 242, 0, 0.47)","rgba(179, 240, 0, 0.55)","rgba(177, 236, 0, 0.64)","rgba(175, 235, 0, 0.74)","#769d00","#374f00","#020400"]},magenta:{dark:["#100002","#350011","#4b001e","#63002d","#79093f","#8e1752","#a32466","#b8317b","#ce3e91","#e34ba9","#f38bcb","#fec5e8","#ffffff"],darkA:["rgba(229, 0, 29, 0.07)","rgba(252, 0, 81, 0.21)","rgba(250, 0, 100, 0.3)","rgba(254, 0, 115, 0.39)","rgba(252, 19, 131, 0.48)","rgba(254, 41, 146, 0.56)","rgba(255, 56, 159, 0.64)","rgba(252, 67, 168, 0.73)","rgba(254, 77, 179, 0.81)","rgba(255, 84, 190, 0.89)","rgba(253, 145, 211, 0.96)","#fec5e8","#ffffff"],light:["#ffffff","#fff7f9","#ffeaf4","#ffdaee","#ffc7e7","#ffb2df","#ff99d6","#f980ca","#ef67ba","#e34ba9","#a32466","#63002d","#100002"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 105, 0.04)","rgba(255, 22, 133, 0.09)","rgba(255, 8, 142, 0.15)","rgba(255, 0, 146, 0.22)","rgba(255, 7, 152, 0.31)","rgba(255, 0, 153, 0.4)","rgba(243, 1, 149, 0.5)","rgba(228, 2, 140, 0.6)","rgba(216, 1, 134, 0.71)","rgba(148, 0, 77, 0.86)","#63002d","#100002"]},orange:{dark:["#080300","#271400","#3d2000","#552d00","#6f3a00","#8a4700","#a75400","#c66100","#e37013","#ff802b","#ffae87","#ffd7c8","#ffffff"],darkA:["rgba(200, 75, 0, 0.04)","rgba(244, 125, 0, 0.16)","rgba(254, 133, 0, 0.24)","rgba(250, 132, 0, 0.34)","rgba(252, 132, 0, 0.44)","rgba(251, 129, 0, 0.55)","rgba(253, 127, 0, 0.66)","rgba(254, 124, 0, 0.78)","rgba(255, 126, 21, 0.89)","#ff802b","#ffae87","#ffd7c8","#ffffff"],light:["#ffffff","#fff9f8","#fff0ec","#ffe6dd","#ffd9ca","#ffcbb5","#ffbb9c","#ffaa7f","#ff975c","#ff802b","#a75400","#552d00","#080300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 22, 0.03)","rgba(255, 67, 17, 0.08)","rgba(255, 76, 12, 0.14)","rgba(255, 74, 3, 0.21)","rgba(255, 76, 0, 0.29)","rgba(255, 81, 1, 0.39)","rgba(255, 88, 4, 0.51)","rgba(255, 93, 0, 0.64)","rgba(255, 102, 0, 0.83)","#a75400","#552d00","#080300"]},purple:{dark:["#0d000b","#2e002a","#42003e","#560053","#670e66","#781e78","#892b8a","#9a399e","#ab46b2","#bd54c6","#d590da","#edc7ee","#ffffff"],darkA:["rgba(217, 0, 183, 0.06)","rgba(242, 0, 221, 0.19)","rgba(254, 0, 238, 0.26)","rgba(253, 0, 244, 0.34)","rgba(251, 34, 249, 0.41)","rgba(255, 64, 255, 0.47)","rgba(249, 78, 251, 0.55)","rgba(248, 92, 255, 0.62)","rgba(244, 100, 254, 0.7)","rgba(242, 108, 254, 0.78)","rgba(248, 167, 253, 0.86)","rgba(252, 212, 253, 0.94)","#ffffff"],light:["#ffffff","#fff6fb","#ffe7fd","#fdd6fe","#f6c4f8","#eeb1f1","#e49ce8","#d886de","#cb6ed2","#bd54c6","#892b8a","#560053","#0d000b"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 30, 155, 0.04)","rgba(255, 15, 235, 0.1)","rgba(243, 14, 249, 0.17)","rgba(218, 9, 226, 0.24)","rgba(200, 3, 210, 0.31)","rgba(186, 1, 196, 0.39)","rgba(174, 3, 186, 0.48)","rgba(164, 1, 176, 0.57)","rgba(156, 0, 170, 0.67)","rgba(113, 0, 114, 0.83)","#560053","#0d000b"]},red:{dark:["#0f0006","#34001d","#4b002b","#640039","#7a0c46","#911b53","#a72860","#bf356e","#d7427b","#f04f88","#ff8eab","#ffc9d3","#ffffff"],darkA:["rgba(250, 0, 100, 0.06)","rgba(248, 0, 138, 0.21)","rgba(250, 0, 143, 0.3)","rgba(250, 0, 142, 0.4)","rgba(254, 25, 146, 0.48)","rgba(254, 47, 146, 0.57)","rgba(253, 61, 145, 0.66)","rgba(255, 71, 147, 0.75)","rgba(253, 78, 145, 0.85)","rgba(255, 84, 145, 0.94)","#ff8eab","#ffc9d3","#ffffff"],light:["#ffffff","#fff7f7","#ffeced","#ffdde2","#ffccd5","#ffb8c7","#ffa2b8","#ff88a8","#fe6998","#f04f88","#a72860","#640039","#0f0006"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 55, 0.04)","rgba(255, 17, 30, 0.08)","rgba(255, 12, 48, 0.14)","rgba(255, 0, 45, 0.2)","rgba(255, 1, 55, 0.28)","rgba(255, 4, 63, 0.37)","rgba(255, 2, 70, 0.47)","rgba(253, 1, 80, 0.59)","rgba(233, 0, 83, 0.69)","rgba(151, 2, 68, 0.85)","#640039","#0f0006"]},volcano:{dark:["#0c0100","#2f0a00","#451200","#5d1900","#762000","#8e2a07","#a53716","#bc4424","#d45132","#ec5e41","#ff9480","#ffcbc3","#ffffff"],darkA:["rgba(240, 20, 0, 0.05)","rgba(247, 53, 0, 0.19)","rgba(246, 64, 0, 0.28)","rgba(251, 68, 0, 0.37)","rgba(251, 68, 0, 0.47)","rgba(254, 75, 12, 0.56)","rgba(254, 85, 34, 0.65)","rgba(254, 92, 49, 0.74)","rgba(255, 98, 60, 0.83)","rgba(254, 101, 70, 0.93)","#ff9480","#ffcbc3","#ffffff"],light:["#ffffff","#fff7f6","#ffece9","#ffded9","#ffcec5","#ffbbaf","#ffa695","#ff8e78","#fb745a","#ec5e41","#a53716","#5d1900","#0c0100"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 30, 0.04)","rgba(255, 44, 11, 0.09)","rgba(255, 35, 2, 0.15)","rgba(255, 42, 3, 0.23)","rgba(255, 43, 5, 0.32)","rgba(255, 43, 3, 0.42)","rgba(255, 42, 0, 0.53)","rgba(249, 41, 1, 0.65)","rgba(230, 40, 2, 0.75)","rgba(157, 38, 2, 0.92)","#5d1900","#0c0100"]},yellow:{dark:["#050400","#251d00","#3e3300","#584a00","#736300","#8e7d00","#ab9800","#c7b426","#e3d142","#ffef5c","#fff594","#fffad3","#ffffff"],darkA:["rgba(250, 200, 0, 0.02)","rgba(247, 193, 0, 0.15)","rgba(248, 204, 0, 0.25)","rgba(251, 211, 0, 0.35)","rgba(250, 215, 0, 0.46)","rgba(254, 223, 0, 0.56)","rgba(255, 227, 0, 0.67)","rgba(255, 231, 49, 0.78)","rgba(255, 235, 74, 0.89)","#ffef5c","#fff594","#fffad3","#ffffff"],light:["#ffffff","#fffeff","#fffcff","#fffbf1","#fffada","#fff9c2","#fff7aa","#fff592","#fff279","#ffef5c","#ab9800","#584a00","#050400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 155, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 188, 22, 0.06)","rgba(255, 222, 8, 0.15)","rgba(255, 230, 1, 0.24)","rgba(255, 231, 5, 0.34)","rgba(255, 232, 2, 0.43)","rgba(255, 230, 2, 0.53)","rgba(255, 230, 0, 0.64)","#ab9800","#584a00","#050400"]}},cH=globalThis&&globalThis.__extends||(cY=function(e,t){return(cY=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}cY(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),uH=globalThis&&globalThis.__assign||function(){return uH=Object.assign||function(e){var t,n,r,o;for(n=1,r=arguments.length;n div {\n cursor: pointer;\n\n position: absolute;\n\n color: ",";\n\n background: ",";\n border-color: ",";\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n\n transition: all 0.2s ",";\n\n &:hover {\n color: ",";\n background: ",";\n }\n\n &:active {\n color: ",";\n background: ",";\n }\n }\n "])),n.motionEaseOut,n.colorTextTertiary,n.colorFillTertiary,n.colorBorderSecondary,n.motionEaseOut,n.colorTextSecondary,n.colorFillSecondary,n.colorText,n.colorFill),i=qA(TH||(TH=Di(["\n position: absolute;\n z-index: 200;\n "])));return{bottomFloat:XA(i,qA(IH||(IH=Di(["\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n "])))),bottomHandle:XA("".concat(QH,"-bottom-handle"),qA(AH||(AH=Di(["\n ",";\n\n &::before {\n bottom: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r)),container:XA(QH,qA(RH||(RH=Di(["\n flex-shrink: 0;\n border: 0 solid ",";\n\n &:hover {\n .","-toggle {\n opacity: 1;\n }\n }\n "])),n.colorBorderSecondary,QH)),fixed:qA(FH||(FH=Di(["\n position: relative;\n "]))),fullscreen:qA(MH||(MH=Di(["\n position: absolute;\n inset: ","px 0 0 0;\n\n width: 100%;\n height: calc(100% - ","px);\n\n background: ",";\n "])),t,t,n.colorBgLayout),handlerIcon:qA(LH||(LH=Di(["\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ",";\n "])),n.motionEaseOut),leftFloat:XA(i,qA(BH||(BH=Di(["\n top: ","px;\n bottom: 0;\n left: 0;\n height: calc(100% - ","px);\n "])),t,t)),leftHandle:XA(qA(zH||(zH=Di(["\n ",";\n\n &::before {\n left: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(QH,"-left-handle")),panel:XA("".concat(QH,"-fixed"),qA(HH||(HH=Di(["\n overflow: hidden;\n transition: all 0.2s ",";\n "])),n.motionEaseOut)),rightFloat:XA(i,qA(UH||(UH=Di(["\n top: ","px;\n right: 0;\n bottom: 0;\n height: calc(100% - ","px);\n "])),t,t)),rightHandle:XA(qA(WH||(WH=Di(["\n ",";\n &::before {\n right: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(QH,"-right-handle")),toggleBottom:XA("".concat(QH,"-toggle"),"".concat(QH,"-toggle-bottom"),o,qA(GH||(GH=Di(["\n bottom: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: 16px;\n margin-left: -20px;\n\n border-radius: 0 0 4px 4px;\n }\n "])),16,JH,40)),toggleLeft:XA("".concat(QH,"-toggle"),"".concat(QH,"-toggle-left"),o,qA(VH||(VH=Di(["\n left: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 4px 0 0 4px;\n }\n "])),16,JH,JH,40)),toggleRight:XA("".concat(QH,"-toggle"),"".concat(QH,"-toggle-right"),o,qA(qH||(qH=Di(["\n right: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 0 4px 4px 0;\n }\n "])),16,JH,JH,40)),toggleTop:XA("".concat(QH,"-toggle"),"".concat(QH,"-toggle-top"),o,qA(XH||(XH=Di(["\n top: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: ","px;\n margin-left: -20px;\n\n border-radius: 4px 4px 0 0;\n }\n "])),16,JH,40,JH)),topFloat:XA(i,qA(KH||(KH=Di(["\n top: ","px;\n right: 0;\n left: 0;\n width: 100%;\n "])),t)),topHandle:XA("".concat(QH,"-top-handle"),qA(YH||(YH=Di(["\n ",";\n\n &::before {\n top: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r))}})),eU=function(e){switch(e){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}};const N8=yy.memo((function(e){var t,n,r,o,i,a,s,l,c,u,d,p,f,h,g,m,b,y,v,w,x,S,E,C,k,O,D=e.headerHeight,$=void 0===D?0:D,_=e.fullscreen,N=e.maxHeight,j=e.pin,P=void 0===j||j,T=e.mode,I=void 0===T?"fixed":T,A=e.children,R=e.placement,F=void 0===R?"right":R,M=e.resize,L=e.style,B=e.size,z=e.defaultSize,H=e.minWidth,U=e.minHeight,W=e.maxWidth,G=e.onSizeChange,V=e.onSizeDragging,q=e.expandable,X=void 0===q||q,K=e.expand,Y=e.defaultExpand,J=void 0===Y||Y,Q=e.onExpandChange,Z=e.className,ee=e.showHandlerWhenUnexpand,te=e.destroyOnClose,ne=e.hanlderStyle,re=e.classNames,oe=void 0===re?{}:re,ie=yy.useRef(),ae=(b=ie,v=(y={}).onEnter,w=y.onLeave,x=y.onChange,S=lh(function(e){var t,n,r,o;return void 0===e&&(e=!1),t=lh(function(e){var t,n;return void 0===e&&(e=!1),t=lh(yy.useState(e),2),n=t[1],[t[0],yy.useMemo((function(){var t=!e;return{toggle:function(){return n((function(n){return n===e?t:e}))},set:function(e){return n(e)},setLeft:function(){return n(e)},setRight:function(){return n(t)}}}),[])]}(!!e),2),r=(n=t[1]).toggle,o=n.set,[t[0],yy.useMemo((function(){return{toggle:r,set:function(e){return o(!!e)},setTrue:function(){return o(!0)},setFalse:function(){return o(!1)}}}),[])]}(!1),2),E=S[0],k=(C=S[1]).setTrue,O=C.setFalse,yh("mouseenter",(function(){null==v||v(),k(),null==x||x(!0)}),{target:b}),yh("mouseleave",(function(){null==w||w(),O(),null==x||x(!1)}),{target:b}),E),se="top"===F||"bottom"===F,le=ZH($),ce=le.styles,ue=le.cx,de=Ua(Ef(J,{onChange:Q,value:K}),2),pe=de[0],fe=de[1];return yy.useEffect((function(){P||(ae&&!pe?fe(!0):!ae&&pe&&fe(!1))}),[P,ae,pe]),n=(t=Ua(yy.useState(!0),2))[0],r=t[1],i=(o=Ua(yy.useState(!1),2))[0],a=o[1],l=yy.useMemo((function(){return s?ki({},eU(F),ce["".concat(eU(F),"Handle")]):{}}),[s=!1!==M&&pe,F]),c=Ph(ki({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},eU(F),!0),M),u=yy.useMemo((function(){return Ph(se?{height:180,width:"100%"}:{height:"100%",width:280},z)}),[se]),d=pe?{defaultSize:u,maxHeight:"number"==typeof N?Math.max(N,0):N,maxWidth:"number"==typeof W?Math.max(W,0):W,minHeight:"number"==typeof U?Math.max(U,0):U,minWidth:"number"==typeof H?Math.max(H,0):H,size:B}:se?{minHeight:0,size:{height:0}}:{minWidth:0,size:{width:0}},f=(p=yy.useMemo((function(){switch(F){case"top":return{Arrow:hJ,className:"Bottom"};case"bottom":return{Arrow:bJ,className:"Top"};case"right":return{Arrow:gJ,className:"Left"};case"left":return{Arrow:mJ,className:"Right"}}}),[ce,F])).Arrow,g=ky.jsx(D8,{className:ue(ce["toggle".concat(h=p.className)],oe.handle),style:{opacity:pe?P?void 0:0:ee?1:0},children:ky.jsx(D8,{onClick:function(){fe(!pe)},style:ne,children:ky.jsx("div",{className:ce.handlerIcon,style:{transform:"rotate(".concat(pe?180:0,"deg)")},children:ky.jsx(f,{size:16,strokeWidth:1.5})})})}),m=ky.jsx(NH,Ph(Ph({},d),{},{className:ue(ce.panel,oe.content),enable:s?c:void 0,handleClasses:l,onResize:function(e,t,n,r){null==V||V(r,{height:n.style.height,width:n.style.width})},onResizeStart:function(){a(!0),r(!1)},onResizeStop:function(e,t,n,o){a(!1),r(!0),null==G||G(o,{height:n.style.height,width:n.style.width})},style:Ph({transition:i?"unset":void 0},L),children:A})),_?ky.jsx("div",{className:ue(ce.fullscreen,Z),children:A}):ky.jsxs("aside",{className:ue(ce.container,ce["fixed"===I?"fixed":"".concat(F,"Float")],Z),ref:ie,style:pe?ki({},"border".concat(h,"Width"),1):{},children:[X&&n&&g,te?pe&&m:m]})}));iU=GA((function(e){var t=e.css,n=e.token;return{body:t(tU||(tU=Di(["\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n padding: 16px;\n "]))),container:t(nU||(nU=Di(["\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n "]))),footer:t(rU||(rU=Di(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: flex-start;\n\n padding: 8px 16px;\n\n border-top: 1px solid ",";\n "])),n.colorBorderSecondary),header:t(oU||(oU=Di(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: space-between;\n\n padding: 8px 16px;\n\n font-weight: 500;\n\n border-bottom: 1px solid ",";\n "])),n.colorBorderSecondary)}})),aU=["className","children"];const j8=yy.memo((function(e){var t=e.className,n=e.children,r=Oi(e,aU),o=iU();return ky.jsx("div",Ih(Ih({className:(0,o.cx)(o.styles.body,t)},r),{},{children:n}))}));sU=["className","children"];const P8=yy.memo((function(e){var t=e.className,n=e.children,r=Oi(e,sU),o=iU();return ky.jsx("div",Rh(Rh({className:(0,o.cx)(o.styles.container,t)},r),{},{children:n}))}));lU=["className","children"];const T8=yy.memo((function(e){var t=e.className,n=e.children,r=Oi(e,lU),o=iU();return ky.jsx("div",Mh(Mh({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));cU=["pin","setPin","className","setExpand","title","position"];const I8=yy.memo((function(e){var t=e.pin,n=e.setPin,r=e.className,o=e.setExpand,i=e.title,a=e.position,s=void 0===a?"left":a,l=Oi(e,cU),c=iU(),u=c.cx,d=c.styles,p=ky.jsx(p8,{icon:$J,onClick:function(){return o(!1)},size:{blockSize:24,fontSize:14}}),f=ky.jsx(p8,{active:t,icon:t?jJ:NJ,onClick:function(){return n(!t)},size:{blockSize:24,fontSize:14}});return ky.jsxs("div",Bh(Bh({className:u(d.header,r)},l),{},{children:["left"===s?p:f,i,"left"===s?f:p]}))}));uU=function e(t,n){var r,o,i,a;if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;)if(!e(t[a=i[o]],n[a]))return!1;return!0}return t!=t&&n!=n};const A8=t(uU);dU=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t};const R8=yy.memo((function(e){var t=e.url;return yy.useEffect((function(){var e=dU(t);document.head.append(e)}),[]),!1}));pU=function(e){var t=e.prefixCls,n=e.icon,r=e.title,o=e.items,i=void 0===o?[]:o,a=e.style,s=e.className;return rJ.createElement("div",{className:zJ("".concat(t,"-column"),s),style:a},(r||n)&&rJ.createElement("h2",null,n&&rJ.createElement("span",{className:"".concat(t,"-column-icon")},n),r),i.map((function(e,n){var r=e.LinkComponent||"a";return rJ.createElement("div",{className:zJ("".concat(t,"-item"),e.className),style:e.style,key:n},rJ.createElement(r,{href:e.url,to:"string"!=typeof r?e.url:void 0,target:e.openExternal?"_blank":void 0,rel:e.openExternal?"noopener noreferrer":void 0},e.icon&&rJ.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&rJ.createElement(rJ.Fragment,null,rJ.createElement("span",{className:"".concat(t,"-item-separator")},"-"),rJ.createElement("span",{className:"".concat(t,"-item-description")},e.description)))})))},fU=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],hU=function(e){var t=e.prefixCls,n=void 0===t?"rc-footer":t,r=e.className,o=e.style,i=e.bottom,a=e.columns,s=e.maxColumnsPerRow,l=e.backgroundColor,c=e.columnLayout,u=e.theme,d=void 0===u?"dark":u,p=Oi(e,fU),f=zJ("".concat(n),r,ki({},"".concat(n,"-").concat(d),!!d)),h="number"==typeof s&&s>0;return rJ.createElement("footer",Ea(Ea({},p),{},{className:f,style:Ea(Ea({},o),{},{backgroundColor:l})}),rJ.createElement("section",{className:"".concat(n,"-container")},a&&a.length>0&&rJ.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:c,flexWrap:h?"wrap":void 0}},a.map((function(e,t){var r=e.title,o=e.icon,i=e.className,a=e.items,l=void 0===a?[]:a,c=Ea({},e.style);return h&&(c.flex="0 0 ".concat(100/(s+1)+.1,"%")),rJ.createElement(pU,{key:t,prefixCls:n,title:r,icon:o,items:l,style:c,className:i})})))),i&&rJ.createElement("section",{className:"".concat(n,"-bottom")},rJ.createElement("div",{className:"".concat(n,"-bottom-container")},i)))},bU=GA((function(e,t){var n=e.css,r=e.responsive,o=e.token,i=t.isEmpty,a=t.contentMaxWidth,s="rc-footer";return{container:n(gU||(gU=Di(["\n grid-area: footer;\n align-self: stretch;\n\n color: ",";\n text-align: center;\n\n border-top: 1px solid ",";\n\n "," {\n flex-direction: column;\n border: none;\n }\n "])),o.colorTextDescription,o.colorSplit,r.mobile),footer:n(mU||(mU=Di(["\n font-size: 14px;\n line-height: 1.5;\n color: ",";\n background-color: ",";\n\n &."," {\n a {\n color: ",";\n text-decoration: none;\n transition: all 0.3s;\n\n &:hover {\n color: ",";\n }\n }\n }\n\n ."," {\n &-container {\n width: 100%;\n max-width: ","px;\n margin: auto;\n padding: ",";\n }\n\n &-columns {\n display: flex;\n justify-content: space-around;\n }\n\n &-column {\n text-align: left;\n\n h2 {\n position: relative;\n\n margin: 0 auto;\n\n font-size: 16px;\n font-weight: 500;\n color: ",";\n }\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 22px;\n margin-inline-end: 0.5em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n }\n\n &-item {\n margin: 12px 0;\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 16px;\n margin-inline-end: 0.4em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n\n &-separator {\n margin: 0 0.3em;\n }\n }\n\n &-bottom {\n color: ",";\n\n &-container {\n width: 100%;\n max-width: ","px;\n margin: 0 auto;\n padding: 16px 0;\n\n line-height: 32px;\n text-align: center;\n }\n }\n\n &-light {\n color: rgba(0, 0, 0, 85%);\n background-color: transparent;\n\n h2,\n a {\n color: rgba(0, 0, 0, 85%);\n }\n }\n\n &-light &-bottom-container {\n border-top-color: #e8e8e8;\n }\n\n &-light &-item-separator,\n &-light &-item-description {\n color: rgba(0, 0, 0, 45%);\n }\n }\n\n "," {\n ."," {\n &-container {\n padding: 40px 0;\n }\n\n &-columns {\n display: block;\n }\n\n &-column {\n display: block;\n margin-bottom: 40px;\n text-align: center;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n }\n "])),o.colorTextSecondary,o.colorBgLayout,s,o.colorTextTertiary,o.colorLinkHover,s,a,i?"0":"60px 0 20px",o.colorText,o.colorTextDescription,a,r.mobile,s)}}));const F8=yy.memo((function(e){var t=e.columns,n=e.bottom,r=e.theme,o=e.contentMaxWidth,i=bU({contentMaxWidth:void 0===o?960:o,isEmpty:!t||0===(null==t?void 0:t.length)}).styles;return ky.jsx("section",{className:i.container,children:ky.jsx(hU,{bottom:n,className:i.footer,columns:t,theme:r})})}));OU=GA((function(e,t){var n,r=e.css,o=e.cx,i=e.token,a=e.isDarkMode,s=e.responsive;return{footer:r(yU||(yU=Di(["\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n "]))),formTitle:r(vU||(vU=Di(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 6px;\n\n text-align: left;\n\n > div {\n font-weight: 500;\n line-height: 1;\n }\n\n > small {\n display: block;\n\n line-height: 1;\n color: ",";\n word-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .ant-tag {\n font-family: ",";\n }\n "])),i.colorTextDescription,i.fontFamilyCode),group:o(a&&r(wU||(wU=Di(["\n .ant-collapse-content {\n background: transparent;\n }\n\n .ant-collapse-header {\n background: ",";\n }\n "])),i.colorFillTertiary),r(xU||(xU=Di(["\n .ant-collapse-header {\n align-items: center !important;\n border-radius: 0 !important;\n }\n\n .ant-collapse-content-box {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n .ant-form-item-label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n "])))),icon:r(SU||(SU=Di(["\n transition: all 100ms ",";\n "])),i.motionEaseOut),item:r(EU||(EU=Di(["\n padding: 8px 0;\n\n .ant-row {\n justify-content: space-between;\n\n > div {\n flex: unset !important;\n flex-grow: unset !important;\n }\n }\n\n .ant-form-item-required::before {\n align-self: flex-start;\n }\n\n ","\n\n "," {\n padding: 16px 0;\n\n .ant-row {\n flex-direction: column;\n gap: 4px;\n }\n\n .ant-form-item-control {\n flex: 1;\n width: 100%;\n }\n }\n "])),t&&r(CU||(CU=Di(["\n .ant-form-item-control {\n width: ",";\n }\n "])),(n=t,"number"==typeof n||Ff(n)&&"[object Number]"==Rf(n)?"".concat(t,"px"):t)),s.mobile),title:r(kU||(kU=Di(["\n display: flex;\n gap: 8px;\n align-items: center;\n\n font-size: 16px;\n font-weight: 600;\n\n .anticon {\n color: ",";\n }\n "])),i.colorPrimary)}})),DU=["className","children"];const M8=yy.memo((function(e){var t=e.className,n=e.children,r=Oi(e,DU),o=OU();return ky.jsx("div",Hh(Hh({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));$U=["className","icon","title","children","extra"];const L8=yy.memo((function(e){var t=e.className,n=e.icon,r=e.title,o=e.children,i=e.extra,a=Oi(e,$U),s=OU(),l=s.styles;return ky.jsx(W4,function(e){var t,n;for(t=1;t label {\n height: unset;\n }\n\n .ant-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .ant-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .ant-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .ant-collapse-item {\n overflow: hidden !important;\n border-radius: ","px !important;\n }\n "])),n.borderRadius)}})),AU=["className","itemMinWidth","footer","form","items","children"],(RU=yy.forwardRef((function(e,t){var n=e.className,r=e.itemMinWidth,o=e.footer,i=e.form,a=e.items,s=e.children,l=Oi(e,AU),c=IU();return ky.jsxs(a6,Kh(Kh({className:(0,c.cx)(c.styles.form,n),colon:!1,form:i,layout:"horizontal",ref:t},l),{},{children:[null==a?void 0:a.map((function(e,t){return ky.jsx(L8,{extra:null==e?void 0:e.extra,icon:null==e?void 0:e.icon,title:e.title,children:e.children.filter((function(e){return!e.hidden})).map((function(e,t){return ky.jsx(H8,Kh({divider:0!==t,minWidth:r},e),t)}))},t)})),s,o&&ky.jsx(M8,{children:o})]}))}))).Item=H8,RU.Group=L8;const U8=RU;FU={};const W8=ky,G8=yy;LU=function({id:e,host:t,repo:n,repoId:r,category:o,categoryId:i,mapping:a,term:s,strict:l,reactionsEnabled:c,emitMetadata:u,inputPosition:d,theme:p,lang:f,loading:h}){const[g,m]=G8.useState(!1);return G8.useEffect((()=>{g||(Promise.resolve().then((()=>(MU||(MU=1,function(t){function n(e,t,r=e,o){var i,a,s,l;if(t===Y)return t;let c=void 0!==o?null===(i=r._$Co)||void 0===i?void 0:i[o]:r._$Cl;const u=L(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==u&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===u?c=void 0:(c=new u(e),c._$AT(e,r,o)),void 0!==o?(null!==(s=(l=r)._$Co)&&void 0!==s?s:l._$Co=[])[o]=c:r._$Cl=c),void 0!==c&&(t=n(e,c._$AS(e,t.values),c,o)),t}function r(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):pe(e,t)}function i(e){void 0!==this._$AN?(ge(this),this._$AM=e,me(this)):this._$AM=e}function a(e,t=!1,n=0){const r=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(r))for(let i=n;ie:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new v("string"==typeof e?e:e+"",void 0,b))(t)})(e):e,x=window,S=x.trustedTypes,E=S?S.emptyScript:"",C=x.reactiveElementPolyfillSupport,k={toAttribute(e,t){switch(t){case Boolean:e=e?E:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},O=(e,t)=>t!==e&&(t==t||e==e),D={attribute:!0,type:String,converter:k,reflect:!1,hasChanged:O},$="finalized";let _=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const r=this._$Ep(n,t);void 0!==r&&(this._$Ev.set(r,n),e.push(r))})),e}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const o=this[e];this[t]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||D}static finalize(){if(this.hasOwnProperty($))return!1;this[$]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(w(e))}else void 0!==e&&t.push(w(e));return t}static _$Ep(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{m?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const n=document.createElement("style"),r=h.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=t.cssText,e.appendChild(n)}))})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=D){var r;const o=this.constructor._$Ep(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:k).toAttribute(t,n.type);this._$El=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(n=e.converter)||void 0===n?void 0:n.fromAttribute)?e.converter:k;this._$El=o,this[o]=i.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||O)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(g){Promise.reject(g)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};_[$]=!0,_.elementProperties=new Map,_.elementStyles=[],_.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:_}),(null!==(s=x.reactiveElementVersions)&&void 0!==s?s:x.reactiveElementVersions=[]).push("1.6.2");const N=window,j=N.trustedTypes,P=j?j.createPolicy("lit-html",{createHTML:e=>e}):void 0,T="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,A="?"+I,R=`<${A}>`,F=document,M=()=>F.createComment(""),L=e=>null===e||"object"!=typeof e&&"function"!=typeof e,B=Array.isArray,z="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,W=/>/g,G=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,K=(e,...t)=>({_$litType$:1,strings:e,values:t}),Y=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),Q=new WeakMap,Z=F.createTreeWalker(F,129,null,!1);class ee{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[l,c]=((e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"":"",a=H;for(let l=0;l"===s[0]?(a=o??H,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,n=s[1],a=void 0===s[3]?G:'"'===s[3]?q:V):a===q||a===V?a=G:a===U||a===W?a=H:(a=G,o=void 0);const d=a===G&&e[l+1].startsWith("/>")?" ":"";i+=a===H?t+R:c>=0?(r.push(n),t.slice(0,c)+T+t.slice(c)+I+d):t+I+(-2===c?(r.push(void 0),l):d)}const s=i+(e[n]||"")+(2===t?"":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==P?P.createHTML(s):s,r]})(e,t);if(this.el=ee.createElement(l,n),Z.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Z.nextNode())&&s.length0){r.textContent=j?j.emptyScript:"";for(let n=0;nB(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==J&&L(this._$AH)?this._$AA.nextSibling.data=e:this.$(F.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=ee.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new te(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=Q.get(e.strings);return void 0===t&&Q.set(e.strings,t=new ee(e)),t}T(e){B(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new ne(this.k(M()),this.k(M()),this,this.options)):n=t[r],n._$AI(o),r++;r2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,o){const i=this.strings;let a=!1;if(void 0===i)e=n(this,e,t,0),a=!L(e)||e!==this._$AH&&e!==Y,a&&(this._$AH=e);else{const o=e;let s,l;for(e=i[0],s=0;s{var r,o;const i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let a=i._$litPart$;if(void 0===a){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;i._$litPart$=a=new ne(t.insertBefore(M(),e),e,void 0,n??{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return Y}};ue.finalized=!0,ue._$litElement$=!0,null===(c=globalThis.litElementHydrateSupport)||void 0===c||c.call(globalThis,{LitElement:ue});const de=globalThis.litElementPolyfillSupport;null==de||de({LitElement:ue}),(null!==(u=globalThis.litElementVersions)&&void 0!==u?u:globalThis.litElementVersions=[]).push("3.3.2");const pe=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};window;let fe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const he=(e,t)=>{var n,r;const o=e._$AN;if(void 0===o)return!1;for(const i of o)null===(r=(n=i)._$AO)||void 0===r||r.call(n,t,!1),he(i,t);return!0},ge=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},me=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),be(t)}},be=e=>{var t,n,r,o;2==e.type&&(null!==(t=(r=e)._$AP)&&void 0!==t||(r._$AP=a),null!==(n=(o=e)._$AQ)&&void 0!==n||(o._$AQ=i))};class ye extends fe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),me(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),t&&(he(this,e),ge(this))}setValue(e){if((()=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}class ve{}const we=new WeakMap,xe=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends ye{render(e){return J}update(e,[t]){var n;const r=t!==this.G;return r&&void 0!==this.G&&this.ot(void 0),(r||this.rt!==this.lt)&&(this.G=t,this.ct=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),J}ot(e){var t;if("function"==typeof this.G){const n=null!==(t=this.ct)&&void 0!==t?t:globalThis;let r=we.get(n);void 0===r&&(r=new WeakMap,we.set(n,r)),void 0!==r.get(this.G)&&this.G.call(this.ct,void 0),r.set(this.G,e),void 0!==e&&this.G.call(this.ct,e)}else this.G.value=e}get rt(){var e,t,n;return"function"==typeof this.G?null===(t=we.get(null!==(e=this.ct)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.G):null===(n=this.G)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?p(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&d(t,n,i),i},t.GiscusWidget=class extends ue{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=new ve,this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var e;return null==(e=this._iframeRef)?void 0:e.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(e){return`[giscus] An error occurred. Error message: "${e}".`}setupSession(){const t=location.href,n=new URL(t),r=localStorage.getItem(this.GISCUS_SESSION_KEY),o=n.searchParams.get("giscus")||"";if(this.__session="",o)return localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(o)),this.__session=o,n.searchParams.delete("giscus"),n.hash="",void history.replaceState(void 0,document.title,n.toString());if(r)try{this.__session=JSON.parse(r)}catch(e){localStorage.removeItem(this.GISCUS_SESSION_KEY)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(e){if(e.origin!==this._host)return;const{data:t}=e;if("object"!=typeof t||!t.giscus)return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut)return void this.signOut();if(!t.giscus.error)return;const n=t.giscus.error;(n.includes("Bad credentials")||n.includes("Invalid state value")||n.includes("State has expired"))&&null!==localStorage.getItem(this.GISCUS_SESSION_KEY)?this.signOut():n.includes("Discussion not found")}sendMessage(e){!this.iframeRef||!this.iframeRef.contentWindow||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:e},this._host)}updateConfig(){const e={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:"1"===this.strict,reactionsEnabled:"1"===this.reactionsEnabled,emitMetadata:"1"===this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(e)}firstUpdated(){var e;null==(e=this.iframeRef)||e.addEventListener("load",(()=>{var e;null==(e=this.iframeRef)||e.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()}))}requestUpdate(e,t,n){this.hasUpdated&&"host"!==e?this.updateConfig():super.requestUpdate(e,t,n)}getMetaContent(e,t=!1){const n=document.querySelector((t?`meta[property='og:${e}'],`:"")+`meta[name='${e}']`);return n?n.content:""}_getCleanedUrl(){const e=new URL(location.href);return e.searchParams.delete("giscus"),e.hash="",e}getTerm(){switch(this.mapping){case"url":return`${this._getCleanedUrl()}`;case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term||"";case"number":return"";default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return"number"===this.mapping&&this.term||""}getIframeSrc(){const e=this._getCleanedUrl().toString(),t=`${e}${this.id?"#"+this.id:""}`,n=this.getMetaContent("description",!0),r=this.getMetaContent("giscus:backlink")||e,o={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId||"",category:this.category||"",categoryId:this.categoryId||"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:n,backLink:r};return`${this._host}${this.lang?`/${this.lang}`:""}/widget?${new URLSearchParams(o)}`}render(){return K` +function e(e,t){for(var n=0;nr[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){var t,n;return e.__esModule?e:("function"==typeof(t=e.default)?(n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)},n.prototype=t.prototype):n={},Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n)}function r(e,t,n){this.props=e,this.context=t,this.refs=mQ,this.updater=n||pQ}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=mQ,this.updater=n||pQ}function a(e,t,n){var r,o,i,a,s={},l=null,c=null;if(null!=t)for(r in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(l=""+t.key),t)r_.call(t,r)&&!i_.hasOwnProperty(r)&&(s[r]=t[r]);if(1==(o=arguments.length-2))s.children=n;else if(1t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!E_.call(I_,e)||!E_.call(P_,e)&&(O_.test(e)?I_[e]=!0:(P_[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function v(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q_&&e[q_]||e["@@iterator"])?e:null}function y(e){if(void 0===K_)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);K_=t&&t[1]||""}return"\n"+K_+e}function w(e,t){var n,r,o,i,a,s,l;if(!e||Y_)return"";Y_=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return l="\n"+o[a].replace(" at new "," at "),e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Y_=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?y(e):""}function C(e){switch(e.tag){case 5:return y(e.type);case 16:return y("Lazy");case 13:return y("Suspense");case 19:return y("SuspenseList");case 0:case 2:case 15:return w(e.type,!1);case 11:return w(e.type.render,!1);case 1:return w(e.type,!0);default:return""}}function k(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case j_:return"Fragment";case $_:return"Portal";case L_:return"Profiler";case F_:return"StrictMode";case H_:return"Suspense";case z_:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case U_:return(e.displayName||"Context")+".Consumer";case M_:return(e._context.displayName||"Context")+".Provider";case B_:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case W_:return null!==(t=e.displayName||null)?t:k(e.type)||"Memo";case V_:t=e._payload,e=e._init;try{return k(e(t))}catch(n){}}return null}function x(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return k(t);case 8:return t===F_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function D(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function S(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function E(e){e._valueTracker||(e._valueTracker=function(e){var t,n,r=S(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),i=""+e[r];if(!e.hasOwnProperty(r)&&void 0!==o&&"function"==typeof o.get&&"function"==typeof o.set)return t=o.get,n=o.set,Object.defineProperty(e,r,{configurable:!0,get:function(){return t.call(this)},set:function(e){i=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return i},setValue:function(e){i=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}(e))}function O(e){var t,n,r;return!(!e||(t=e._valueTracker)&&(n=t.getValue(),r="",e&&(r=S(e)?e.checked?"true":"false":e.value),(e=r)===n||(t.setValue(e),0)))}function P(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function I(e,t){var n=t.checked;return X_({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function N(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=D(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function A(e,t){null!=(t=t.checked)&&_(e,"checked",t,!1)}function R(e,t){A(e,t);var n=D(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?$(e,t.type,n):t.hasOwnProperty("defaultValue")&&$(e,t.type,D(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function T(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function $(e,t,n){"number"===t&&P(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function j(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&n)&&(n|=16&s),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0n;n++)t.push(e);return t}function ge(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Ov(t)]=n}function he(e,t){var n,r,o=e.entangledLanes|=t;for(e=e.entanglements;o;)(r=1<<(n=31-Ov(o)))&t|e[n]&t&&(e[n]|=t),o&=~r}function be(e){return 1<(e&=-e)?4=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Je(r)}}function et(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?et(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tt(){var e,t,n;for(e=window,t=P();t instanceof e.HTMLIFrameElement;){try{n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=P((e=t.contentWindow).document)}return t}function nt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function rt(e){var t,n,r,o=tt(),i=e.focusedElem,a=e.selectionRange;if(o!==i&&i&&i.ownerDocument&&et(i.ownerDocument.documentElement,i)){null!==a&&nt(i)&&(o=a.start,void 0===(e=a.end)&&(e=o),"selectionStart"in i?(i.selectionStart=o,i.selectionEnd=Math.min(e,i.value.length)):(e=(o=i.ownerDocument||document)&&o.defaultView||window).getSelection&&(e=e.getSelection(),t=i.textContent.length,n=Math.min(a.start,t),a=void 0===a.end?n:Math.min(a.end,t),!e.extend&&n>a&&(t=a,a=n,n=t),t=Ze(i,n),r=Ze(i,a),t&&r&&(1!==e.rangeCount||e.anchorNode!==t.node||e.anchorOffset!==t.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&((o=o.createRange()).setStart(t.node,t.offset),e.removeAllRanges(),n>a?(e.addRange(o),e.extend(r.node,r.offset)):(o.setEnd(r.node,r.offset),e.addRange(o))))),o=[];for(e=i;e=e.parentNode;)1===e.nodeType&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;iPw||(e.current=Ow[Pw],Ow[Pw]=null,Pw--)}function Rt(e,t){Pw++,Ow[Pw]=e.current,e.current=t}function Tt(e,t){var n,r,o,i=e.type.contextTypes;if(!i)return Iw;if((n=e.stateNode)&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;for(o in r={},i)r[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=r),r}function $t(e){return null!=e.childContextTypes}function jt(){At(Aw),At(Nw)}function Ft(e,t,n){if(Nw.current!==Iw)throw Error(m(168));Rt(Nw,t),Rt(Aw,n)}function Lt(e,t,n){var r,o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(r in o=o.getChildContext())if(!(r in t))throw Error(m(108,x(e)||"Unknown",r));return X_({},n,o)}function Mt(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Iw,Rw=Nw.current,Rt(Nw,e),Rt(Aw,Aw.current),!0}function Ut(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=Lt(e,t,Rw),r.__reactInternalMemoizedMergedChildContext=e,At(Aw),At(Nw),Rt(Nw,e)):At(Aw),Rt(Aw,n)}function Bt(e){null===Tw?Tw=[e]:Tw.push(e)}function Ht(){var e,t,n,r;if(!jw&&null!==Tw){jw=!0,e=0,t=Rv;try{for(n=Tw,Rv=1;e>=a,o-=a,Ww=1<<32-Ov(t)+o|n<g?(h=m,m=null):h=m.sibling,null===(b=d(o,m,s[g],l))){null===m&&(m=h);break}e&&m&&null===b.alternate&&t(o,m),a=i(b,a,g),null===u?c=b:u.sibling=b,u=b,m=h}if(g===s.length)return n(o,m),Xw&&zt(o,g),c;if(null===m){for(;gg?(h=u,u=null):h=u.sibling,null===(_=d(o,u,b.value,l))){null===u&&(u=h);break}e&&u&&null===_.alternate&&t(o,u),a=i(_,a,g),null===c?y=_:c.sibling=_,c=_,u=h}if(b.done)return n(o,u),Xw&&zt(o,g),y;if(null===u){for(;!b.done;g++,b=s.next())null!==(b=p(o,b.value,l))&&(a=i(b,a,g),null===c?y=b:c.sibling=b,c=b);return Xw&&zt(o,g),y}for(u=r(o,u);!b.done;g++,b=s.next())null!==(b=f(u,o,g,b.value,l))&&(e&&null!==b.alternate&&u.delete(null===b.key?g:b.key),a=i(b,a,g),null===c?y=b:c.sibling=b,c=b);return e&&u.forEach((function(e){return t(o,e)})),Xw&&zt(o,g),y}(l,c,u,g);Sn(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(c=o(c,u)).return=l,l=c):(n(l,c),(c=ni(u,l.mode,g)).return=l,l=c),a(l)):n(l,c)}}function Pn(e){if(e===sC)throw Error(m(174));return e}function In(e,t){switch(Rt(uC,t),Rt(cC,e),Rt(lC,sC),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:H(null,"");break;default:t=H(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}At(lC),Rt(lC,t)}function Nn(){At(lC),At(cC),At(uC)}function An(e){var t,n;Pn(uC.current),(t=Pn(lC.current))!==(n=H(t,e.type))&&(Rt(cC,e),Rt(lC,n))}function Rn(e){cC.current===e&&(At(lC),At(cC))}function Tn(e){var t,n;for(t=e;null!==t;){if(13===t.tag){if(null!==(n=t.memoizedState)&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function $n(){for(var e=0;er?r:4,e(!0),n=fC.transition,fC.transition={};try{e(!1),t()}finally{Rv=r,fC.transition=n}}function fr(){return Bn().memoizedState}function gr(e,t,n){var r=yo(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},br(e)?_r(t,n):null!==(n=un(e,t,n,r))&&(wo(n,e,r,vo()),vr(n,t,r))}function hr(e,t,n){var r,o,i,a,s=yo(e),l={lane:s,action:n,hasEagerState:!1,eagerState:null,next:null};if(br(e))_r(t,l);else{if(r=e.alternate,0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{if(i=r(o=t.lastRenderedState,n),l.hasEagerState=!0,l.eagerState=i,qy(i,o))return null===(a=t.interleaved)?(l.next=l,cn(t)):(l.next=a.next,a.next=l),void(t.interleaved=l)}catch(c){}null!==(n=un(e,t,l,s))&&(wo(n,e,s,l=vo()),vr(n,t,s))}}function br(e){var t=e.alternate;return e===hC||null!==t&&t===hC}function _r(e,t){yC=vC=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vr(e,t,n){if(0!=(4194240&n)){var r=t.lanes;t.lanes=n|=r&=e.pendingLanes,he(e,n)}}function yr(e,t){var n,r,o;try{n="",r=t;do{n+=C(r),r=r.return}while(r);o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function wr(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Cr(e,t,n){(n=fn(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lk||(lk=!0,ck=r)},n}function kr(e,t,n){var r,o,i;return(n=fn(-1,n)).tag=3,"function"==typeof(r=e.type.getDerivedStateFromError)&&(o=t.value,n.payload=function(){return r(o)},n.callback=function(){}),null!==(i=e.stateNode)&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===uk?uk=new Set([this]):uk.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function xr(e,t,n){var r,o=e.pingCache;null===o?(o=e.pingCache=new EC).set(t,r=new Set):void 0===(r=o.get(t))&&o.set(t,r=new Set),r.has(n)||(r.add(n),e=Wo.bind(null,e,t,n),t.then(e,e))}function Dr(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function Sr(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=fn(-1,1)).tag=2,gn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}function Er(e,t,n,r){t.child=null===e?aC(t,null,n,r):iC(t,e.child,n,r)}function Or(e,t,n,r,o){n=n.render;var i=t.ref;return sn(t,o),r=Ln(e,t,n,r,i,o),n=Mn(),null===e||PC?(Xw&&n&&Vt(t),t.flags|=1,Er(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function Pr(e,t,n,r,o){var i;return null===e?"function"!=typeof(i=n.type)||Qo(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zo(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ir(e,t,i,r,o)):(i=e.child,0==(e.lanes&o)&&(n=null!==(n=n.compare)?n:Qe)(i.memoizedProps,r)&&e.ref===t.ref?Gr(e,t,o):(t.flags|=1,(e=Jo(i,r)).ref=t.ref,e.return=t,t.child=e))}function Ir(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Qe(i,r)&&e.ref===t.ref){if(PC=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Gr(e,t,o);0!=(131072&e.flags)&&(PC=!0)}}return Rr(e,t,n,r,o)}function Nr(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Rt(QC,YC),YC|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Rt(QC,YC),YC|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Rt(QC,YC),YC|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Rt(QC,YC),YC|=r;return Er(e,t,o,n),t.child}function Ar(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Rr(e,t,n,r,o){var i=$t(n)?Rw:Nw.current;return i=Tt(t,i),sn(t,o),n=Ln(e,t,n,r,i,o),r=Mn(),null===e||PC?(Xw&&r&&Vt(t),t.flags|=1,Er(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Gr(e,t,o))}function Tr(e,t,n,r,o){var i,a,s,l,c,u,p,d,m,f;return $t(n)?(i=!0,Mt(t)):i=!1,sn(t,o),null===t.stateNode?(Vr(e,t),Cn(t,n,r),xn(t,n,r,o),r=!0):null===e?((a=t.stateNode).props=s=t.memoizedProps,l=a.context,c="object"==typeof(c=n.contextType)&&null!==c?ln(c):Tt(t,c=$t(n)?Rw:Nw.current),(p="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&kn(t,a,r,c),nC=!1,a.state=d=t.memoizedState,_n(t,r,a,o),l=t.memoizedState,s!==r||d!==l||Aw.current||nC?("function"==typeof u&&(yn(t,n,u,r),l=t.memoizedState),(s=nC||wn(t,n,s,r,d,l,c))?(p||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)):(a=t.stateNode,mn(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:nn(t.type,s),a.props=c,p=t.pendingProps,d=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ln(l):Tt(t,l=$t(n)?Rw:Nw.current),(u="function"==typeof(m=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==p||d!==l)&&kn(t,a,r,l),nC=!1,a.state=d=t.memoizedState,_n(t,r,a,o),f=t.memoizedState,s!==p||d!==f||Aw.current||nC?("function"==typeof m&&(yn(t,n,m,r),f=t.memoizedState),(c=nC||wn(t,n,c,r,d,f,l)||!1)?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)),$r(e,t,n,r,i,o)}function $r(e,t,n,r,o,i){var a,s;return Ar(e,t),a=0!=(128&t.flags),r||a?(r=t.stateNode,OC.current=t,s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&a?(t.child=iC(t,e.child,null,i),t.child=iC(t,null,s,i)):Er(e,t,s,i),t.memoizedState=r.state,o&&Ut(t,n,!0),t.child):(o&&Ut(t,n,!1),Gr(e,t,i))}function jr(e){var t=e.stateNode;t.pendingContext?Ft(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ft(0,t.context,!1),In(e,t.containerInfo)}function Fr(e,t,n,r,o){return en(),tn(o),t.flags|=256,Er(e,t,n,r),t.child}function Lr(e){return{baseLanes:e,cachePool:null,transitions:null}}function Mr(e,t,n){var r,o,i=t.pendingProps,a=pC.current,s=!1,l=0!=(128&t.flags);return(r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Rt(pC,1&a),null===e?(Yt(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(t.lanes=0==(1&t.mode)?1:"$!"===e.data?8:1073741824,null):(l=i.children,e=i.fallback,s?(s=t.child,l={mode:"hidden",children:l},0==(1&(i=t.mode))&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ti(l,i,0,null),e=ei(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Lr(n),t.memoizedState=IC,e):Ur(t,l))):null!==(a=e.memoizedState)&&null!==(r=a.dehydrated)?function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,Br(e,t,a,r=wr(Error(m(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,r=ti({mode:"visible",children:r.children},o=t.mode,0,null),(i=ei(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&iC(t,e.child,null,a),t.child.memoizedState=Lr(a),t.memoizedState=IC,i);if(0==(1&t.mode))return Br(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Br(e,t,a,r=wr(i=Error(m(419)),r,void 0))}if(s=0!=(a&e.childLanes),PC||s){if(null!==(r=qC)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,pn(e,o),wo(r,e,o,-1))}return To(),Br(e,t,a,r=wr(Error(m(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Go.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,qw=Dt(o.nextSibling),Gw=t,Xw=!0,Kw=null,null!==e&&(Bw[Hw++]=Ww,Bw[Hw++]=Vw,Bw[Hw++]=zw,Ww=e.id,Vw=e.overflow,zw=t),(t=Ur(t,r.children)).flags|=4096,t)}(e,t,l,i,r,a,n):s?(s=i.fallback,r=(a=e.child).sibling,o={mode:"hidden",children:i.children},0==(1&(l=t.mode))&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=o,t.deletions=null):(i=Jo(a,o)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Jo(r,s):(s=ei(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Lr(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=IC,i):(e=(s=e.child).sibling,i=Jo(s,{mode:"visible",children:i.children}),0==(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i)}function Ur(e,t){return(t=ti({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Br(e,t,n,r){return null!==r&&tn(r),iC(t,e.child,null,n),(e=Ur(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hr(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),an(e.return,t,n)}function zr(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Wr(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Er(e,t,r.children,n),0!=(2&(r=pC.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hr(e,n,t);else if(19===e.tag)Hr(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Rt(pC,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Tn(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),zr(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Tn(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}zr(t,!0,n,null,i);break;case"together":zr(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vr(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Gr(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ek|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(m(153));if(null!==t.child){for(n=Jo(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Jo(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function qr(e,t){var n,r;if(!Xw)switch(e.tailMode){case"hidden":for(t=e.tail,n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":for(n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xr(e){var t,n=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(n)for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=14680064&t.subtreeFlags,o|=14680064&t.flags,t.return=e,t=t.sibling;else for(t=e.child;null!==t;)r|=t.lanes|t.childLanes,o|=t.subtreeFlags,o|=t.flags,t.return=e,t=t.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function Kr(e,t,n){var r,o,i,a,s,l=t.pendingProps;switch(Gt(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xr(t),null;case 1:case 17:return $t(t.type)&&jt(),Xr(t),null;case 3:return l=t.stateNode,Nn(),At(Aw),At(Nw),$n(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(Jt(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==Kw&&(Do(Kw),Kw=null))),AC(e,t),Xr(t),null;case 5:if(Rn(t),r=Pn(uC.current),n=t.type,null!==e&&null!=t.stateNode)RC(e,t,n,l,r),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!l){if(null===t.stateNode)throw Error(m(166));return Xr(t),null}if(e=Pn(lC.current),Jt(t)){switch(n=t.type,o=t.memoizedProps,(l=t.stateNode)[Cw]=t,l[kw]=o,e=0!=(1&t.mode),n){case"dialog":ut("cancel",l),ut("close",l);break;case"iframe":case"object":case"embed":ut("load",l);break;case"video":case"audio":for(r=0;r<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof l.is?e=i.createElement(n,{is:l.is}):(e=i.createElement(n),"select"===n&&(i=e,l.multiple?i.multiple=!0:l.size&&(i.size=l.size))):e=i.createElementNS(e,n),e[Cw]=t,e[kw]=l,NC(e,t,!1,!1),t.stateNode=e;e:{switch(i=q(n,l),n){case"dialog":ut("cancel",e),ut("close",e),r=l;break;case"iframe":case"object":case"embed":ut("load",e),r=l;break;case"video":case"audio":for(r=0;rak&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304)}else{if(!l)if(null!==(e=Tn(i))){if(t.flags|=128,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),qr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!Xw)return Xr(t),null}else 2*vv()-o.renderingStartTime>ak&&1073741824!==n&&(t.flags|=128,l=!0,qr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=o.last)?n.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(o.rendering=t=o.tail,o.tail=t.sibling,o.renderingStartTime=vv(),t.sibling=null,n=pC.current,Rt(pC,l?1&n|2:1&n),t):(Xr(t),null);case 22:case 23:return Io(),l=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==l&&(t.flags|=8192),l&&0!=(1&t.mode)?0!=(1073741824&YC)&&(Xr(t),6&t.subtreeFlags&&(t.flags|=8192)):Xr(t),null;case 24:case 25:return null}throw Error(m(156,t.tag))}function Yr(e,t){switch(Gt(t),t.tag){case 1:return $t(t.type)&&jt(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Nn(),At(Aw),At(Nw),$n(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Rn(t),null;case 13:if(At(pC),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(m(340));en()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return At(pC),null;case 4:return Nn(),null;case 10:return on(t.type._context),null;case 22:case 23:return Io(),null;default:return null}}function Qr(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){zo(e,t,r)}else n.current=null}function Jr(e,t,n){try{n()}catch(r){zo(e,t,r)}}function Zr(e,t,n){var r,o,i=t.updateQueue;if(null!==(i=null!==i?i.lastEffect:null)){r=i=i.next;do{(r.tag&e)===e&&(o=r.destroy,r.destroy=void 0,void 0!==o&&Jr(t,n,o)),r=r.next}while(r!==i)}}function eo(e,t){var n;if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function to(e){var t=e.ref;null!==t&&(e=e.stateNode,"function"==typeof t?t(e):t.current=e)}function no(e){var t=e.alternate;null!==t&&(e.alternate=null,no(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Cw],delete t[kw],delete t[Dw],delete t[Sw],delete t[Ew]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ro(e){return 5===e.tag||3===e.tag||4===e.tag}function oo(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ro(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function io(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=wt));else if(4!==r&&null!==(e=e.child))for(io(e,t,n),e=e.sibling;null!==e;)io(e,t,n),e=e.sibling}function ao(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ao(e,t,n),e=e.sibling;null!==e;)ao(e,t,n),e=e.sibling}function so(e,t,n){for(n=n.child;null!==n;)lo(e,t,n),n=n.sibling}function lo(e,t,n){var r,o,i,a;if(Ev&&"function"==typeof Ev.onCommitFiberUnmount)try{Ev.onCommitFiberUnmount(Sv,n)}catch(s){}switch(n.tag){case 5:jC||Qr(n,t);case 6:r=UC,o=BC,UC=null,so(e,t,n),BC=o,null!==(UC=r)&&(BC?(n=n.stateNode,8===(e=UC).nodeType?e.parentNode.removeChild(n):e.removeChild(n)):UC.removeChild(n.stateNode));break;case 18:null!==UC&&(BC?(n=n.stateNode,8===(e=UC).nodeType?xt(e.parentNode,n):1===e.nodeType&&xt(e,n),De(e)):xt(UC,n.stateNode));break;case 4:r=UC,o=BC,UC=n.stateNode.containerInfo,BC=!0,so(e,t,n),UC=r,BC=o;break;case 0:case 11:case 14:case 15:if(!jC&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{a=(i=o).destroy,i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&Jr(n,t,a),o=o.next}while(o!==r)}so(e,t,n);break;case 1:if(!jC&&(Qr(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){zo(n,t,s)}so(e,t,n);break;case 21:so(e,t,n);break;case 22:1&n.mode?(jC=(r=jC)||null!==n.memoizedState,so(e,t,n),jC=r):so(e,t,n);break;default:so(e,t,n)}}function co(e){var t,n=e.updateQueue;null!==n&&(e.updateQueue=null,null===(t=e.stateNode)&&(t=e.stateNode=new FC),n.forEach((function(n){var r=qo.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})))}function uo(e,t){var n,r,o,i,a,s,l=t.deletions;if(null!==l)for(n=0;no&&(o=a),r&=~i;if(r=o,10<(r=(120>(r=vv()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*HC(r/1960))-r)){e.timeoutHandle=bw(Uo.bind(null,e,ok,sk),r);break}Uo(e,ok,sk);break;default:throw Error(m(329))}}}return Co(e,vv()),e.callbackNode===n?ko.bind(null,e):null}function xo(e,t){var n=rk;return e.current.memoizedState.isDehydrated&&(No(e,t).flags|=256),2!==(e=$o(e,t))&&(t=ok,ok=n,null!==t&&Do(t)),e}function Do(e){null===ok?ok=e:ok.push.apply(ok,e)}function So(e,t){for(t&=~nk,e.suspendedLanes|=t&=~tk,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===dk)r=!1;else{if(e=dk,dk=null,mk=0,0!=(6&GC))throw Error(m(331));for(o=GC,GC|=4,LC=e.current;null!==LC;){if(a=(i=LC).child,0!=(16&LC.flags)&&null!==(s=i.deletions)){for(l=0;lvv()-ik?No(e,0):nk|=n),Co(e,t)}function Vo(e,t){0===t&&(0==(1&e.mode)?t=1:(t=Av,0==(130023424&(Av<<=1))&&(Av=4194304)));var n=vo();null!==(e=pn(e,t))&&(ge(e,t,n),Co(e,n))}function Go(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Vo(e,n)}function qo(e,t){var n,r,o=0;switch(e.tag){case 13:n=e.stateNode,null!==(r=e.memoizedState)&&(o=r.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(m(314))}null!==n&&n.delete(t),Vo(e,o)}function Xo(e,t){return gv(e,t)}function Ko(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yo(e,t,n,r){return new Ko(e,t,n,r)}function Qo(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Jo(e,t){var n=e.alternate;return null===n?((n=Yo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zo(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Qo(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case j_:return ei(n.children,o,i,t);case F_:a=8,o|=8;break;case L_:return(e=Yo(12,n,t,2|o)).elementType=L_,e.lanes=i,e;case H_:return(e=Yo(13,n,t,o)).elementType=H_,e.lanes=i,e;case z_:return(e=Yo(19,n,t,o)).elementType=z_,e.lanes=i,e;case G_:return ti(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case M_:a=10;break e;case U_:a=9;break e;case B_:a=11;break e;case W_:a=14;break e;case V_:a=16,r=null;break e}throw Error(m(130,null==e?e:typeof e,""))}return(t=Yo(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function ei(e,t,n,r){return(e=Yo(7,e,r,t)).lanes=n,e}function ti(e,t,n,r){return(e=Yo(22,e,r,t)).elementType=G_,e.lanes=n,e.stateNode={isHidden:!1},e}function ni(e,t,n){return(e=Yo(6,e,null,t)).lanes=n,e}function ri(e,t,n){return(t=Yo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oi(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fe(0),this.expirationTimes=fe(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fe(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ii(e,t,n,r,o,i,a,s,l){return e=new oi(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Yo(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},dn(i),e}function ai(e){var t,n;if(!e)return Iw;e:{if(oe(e=e._reactInternals)!==e||1!==e.tag)throw Error(m(170));t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if($t(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(m(171))}return 1===e.tag&&$t(n=e.type)?Lt(e,n,t):t}function si(e,t,n,r,o,i,a,s,l){return(e=ii(n,r,!0,e,0,i,0,s,l)).context=ai(null),n=e.current,(i=fn(r=vo(),o=yo(n))).callback=null!=t?t:null,gn(n,i,o),e.current.lanes=o,ge(e,o,r),Co(e,r),e}function li(e,t,n,r){var o=t.current,i=vo(),a=yo(o);return n=ai(n),null===t.context?t.context=n:t.pendingContext=n,(t=fn(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=gn(o,t,a))&&(wo(e,o,a,i),hn(e,o,a)),a}function ci(e){return(e=e.current).child?e.child.stateNode:null}function ui(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n=0||(n[o]=e[o]);return n}(e,t),Object.getOwnPropertySymbols)for(i=Object.getOwnPropertySymbols(e),o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function Ei(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Oi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e,t){var n,r;for(n=0;n2||Vi(nD)>3?"":" "}function Yi(e,t){for(;--t&&Bi()&&!(nD<48||nD>102||nD>57&&nD<65||nD>70&&nD<97););return Wi(e,zi()+(t<6&&32==Hi()&&32==Bi()))}function Qi(e){for(;Bi();)switch(nD){case e:return tD;case 34:case 39:34!==e&&39!==e&&Qi(nD);break;case 40:41===e&&Qi(e);break;case 92:Bi()}return tD}function Ji(e,t){for(;Bi()&&e+nD!==57&&(e+nD!==84||47!==Hi()););return"/*"+Wi(t,tD-1)+"*"+Yx(47===e?e:Bi())}function Zi(e){for(;!Vi(Hi());)Bi();return Wi(e,tD)}function ea(e){return qi(ta("",null,null,null,[""],e=Gi(e),0,[0],e))}function ta(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,p=a,d=0,m=0,f=0,g=1,h=1,b=1,_=0,v="",y=o,w=i,C=r,k=v;h;)switch(f=_,_=Bi()){case 40:if(108!=f&&58==Ti(k,p-1)){-1!=Ri(k+=Ai(Xi(_),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=Xi(_);break;case 9:case 10:case 13:case 32:k+=Ki(f);break;case 92:k+=Yi(zi()-1,7);continue;case 47:switch(Hi()){case 42:case 47:Li(ra(Ji(Bi(),zi()),t,n),l);break;default:k+="/"}break;case 123*g:s[c++]=ji(k)*b;case 125*g:case 59:case 0:switch(_){case 0:case 125:h=0;case 59+u:-1==b&&(k=Ai(k,/\f/g,"")),m>0&&ji(k)-p&&Li(m>32?oa(k+";",r,n,p-1):oa(Ai(k," ","")+";",r,n,p-2),l);break;case 59:k+=";";default:if(Li(C=na(k,t,n,c,u,o,s,v,y=[],w=[],p),i),123===_)if(0===u)ta(k,t,C,C,y,i,p,s,w);else switch(99===d&&110===Ti(k,3)?100:d){case 100:case 108:case 109:case 115:ta(e,C,C,r&&Li(na(e,C,C,0,0,o,s,v,o,y=[],p),w),o,w,p,s,r?y:w);break;default:ta(k,C,C,C,[""],w,0,s,w)}}c=u=m=0,g=b=1,v=k="",p=a;break;case 58:p=1+ji(k),m=f;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==(nD=tD>0?Ti(rD,--tD):0,Zx--,10===nD&&(Zx=1,Jx--),nD))continue;switch(k+=Yx(_),_*g){case 38:b=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(ji(k)-1)*b,b=1;break;case 64:45===Hi()&&(k+=Xi(Bi())),d=Hi(),u=p=ji(v=k+=Zi(zi())),_++;break;case 45:45===f&&2==ji(k)&&(g=0)}}return i}function na(e,t,n,r,o,i,a,s,l,c,u){var p,d,m,f,g,h,b=o-1,_=0===o?i:[""],v=Fi(_);for(p=0,d=0,m=0;p0?_[f]+" "+g:Ai(g,/&\f/g,_[f])))&&(l[m++]=h);return Mi(e,t,n,0===o?Wx:s,l,c,u)}function ra(e,t,n){return Mi(e,t,n,zx,Yx(nD),$i(e,2,-2),0)}function oa(e,t,n,r){return Mi(e,t,n,Vx,$i(e,0,r),$i(e,r+1,-1),r)}function ia(e,t){var n,r="",o=Fi(e);for(n=0;n6)switch(Ti(e,t+1)){case 109:if(45!==Ti(e,t+4))break;case 102:return Ai(e,/(.+:)(.+)-([^]+)/,"$1"+Hx+"$2-$3$1"+Bx+(108==Ti(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ri(e,"stretch")?la(Ai(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ti(e,t+1))break;case 6444:switch(Ti(e,ji(e)-3-(~Ri(e,"!important")&&10))){case 107:return Ai(e,":",":"+Hx)+e;case 101:return Ai(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Hx+(45===Ti(e,14)?"inline-":"")+"box$3$1"+Hx+"$2$3$1"+Ux+"$2box$3")+e}break;case 5936:switch(Ti(e,t+11)){case 114:return Hx+e+Ux+Ai(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Hx+e+Ux+Ai(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Hx+e+Ux+Ai(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Hx+e+Ux+e+e}return e}function ca(e,t,n){var r,o,i,a;if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return CD={name:n.name,styles:n.styles,next:CD},n.name;if(void 0!==n.styles){if(void 0!==(r=n.next))for(;void 0!==r;)CD={name:r.name,styles:r.styles,next:CD},r=r.next;return n.styles+";"}return function(e,t,n){var r,o,i,a,s,l="";if(Array.isArray(n))for(r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}function Da(e,t,n){var r=u_.useRef({});return"value"in r.current&&!n(r.current.condition,t)||(r.current.value=e(),r.current.condition=t),r.current.value}function Sa(){}function Ea(){}function Oa(e,t,n){t||DS[n]||(e(!1,n),DS[n]=!0)}function Pa(e,t){Oa(Sa,e,t)}function Ia(e,t,n){var r=arguments.length>2&&void 0!==n&&n,o=new Set;return function e(t,n,i){var a,s,l,c=arguments.length>2&&void 0!==i?i:1,u=o.has(t);if(Pa(!u,"Warning: There may be circular references"),u)return!1;if(t===n)return!0;if(r&&c>1)return!1;if(o.add(t),a=c+1,Array.isArray(t)){if(!Array.isArray(n)||t.length!==n.length)return!1;for(s=0;s0&&void 0!==e?e:{}).mark;return t?t.startsWith("data-")?t:"data-".concat(t):$S}function $a(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function ja(e){return Array.from((jS.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function Fa(e,t){var n,r,o,i,a,s,l,c,u,p,d=arguments.length>1&&void 0!==t?t:{};if(!Aa())return null;if(n=d.csp,i=void 0===(o=d.priority)?0:o,s="prependQueue"===(a=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r=d.prepend)),(l=document.createElement("style")).setAttribute(RS,a),s&&i&&l.setAttribute(TS,"".concat(i)),null!=n&&n.nonce&&(l.nonce=null==n?void 0:n.nonce),l.innerHTML=e,u=(c=$a(d)).firstChild,r){if(s&&(p=ja(c).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(RS)))return!1;var t=Number(e.getAttribute(TS)||0);return i>=t}))).length)return c.insertBefore(l,p[p.length-1].nextSibling),l;c.insertBefore(l,u)}else c.appendChild(l);return l}function La(e,t){var n=arguments.length>1&&void 0!==t?t:{};return ja($a(n)).find((function(t){return t.getAttribute(Ta(n))===e}))}function Ma(e,t){var n=arguments.length>1&&void 0!==t?t:{},r=La(e,n);r&&$a(n).removeChild(r)}function Ua(e,t,n){var r,o,i,a,s,l=arguments.length>2&&void 0!==n?n:{};return function(e,t){var n,r=jS.get(e);r&&Ra(document,r)||(n=Fa("",t),jS.set(e,n.parentNode),e.removeChild(n))}($a(l),l),(r=La(t,l))?(null!==(o=l.csp)&&void 0!==o&&o.nonce&&r.nonce!==(null===(i=l.csp)||void 0===i?void 0:i.nonce)&&(r.nonce=null===(a=l.csp)||void 0===a?void 0:a.nonce),r.innerHTML!==e&&(r.innerHTML=e),r):((s=Fa(e,l)).setAttribute(Ta(l),t),s)}function Ba(e){if(Array.isArray(e))return e}function Ha(){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 za(e,t){return Ba(e)||function(e,t){var n,r,o,i,a,s,l,c=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=c){a=[],s=!0,l=!1;try{if(o=(c=c.call(e)).next,0===t){if(Object(c)!==c)return;s=!1}else for(;!(s=(n=o.call(c)).done)&&(a.push(n.value),a.length!==t);s=!0);}catch(u){l=!0,r=u}finally{try{if(!s&&null!=c.return&&(i=c.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(e,t)||ya(e,t)||Ha()}function Wa(e){var t=Array.isArray(e)?e:[e];return US.has(t)||US.set(t,new MS(t)),US.get(t)}function Va(e){var t=BS.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof MS?t+=r.id:r&&"object"===ki(r)?t+=Va(r):t+=r})),BS.set(e,t)),t}function Ga(e,t,n,r,o){var i,a,s=u_.useContext(KQ).cache,l=[e].concat(wa(t)),c=l.join("_"),u=QQ([c]),p=function(e){s.update(l,(function(t){var r=za(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i}))};return u_.useMemo((function(){p()}),[c]),i=s.get(l),a=i[1],YQ((function(){null==o||o(a)}),(function(e){return p((function(t){var n=za(t,2),r=n[0],i=n[1];return e&&0===r&&(null==o||o(a)),[r+1,i]})),function(){s.update(l,(function(e){var t=za(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(u((function(){return null==r?void 0:r(i,!1)})),null):[o-1,i]}))}}),[c]),a}function qa(e){return e.trim()}function Xa(e,t){return(e=t.exec(e))?e[0]:e}function Ka(e,t,n){return e.replace(t,n)}function Ya(e,t){return e.indexOf(t)}function Qa(e,t){return 0|e.charCodeAt(t)}function Ja(e,t,n){return e.slice(t,n)}function Za(e){return e.length}function es(e){return e.length}function ts(e,t){return t.push(e),e}function ns(e,t){return e.filter((function(e){return!Xa(e,t)}))}function rs(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:fE,column:gE,length:a,return:"",siblings:s}}function os(e,t){return mE(rs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function is(e){for(;e.root;)e=os(e.root,{children:[e]});ts(e,e.siblings)}function as(){return _E=bE2||us(_E)>3?"":" "}function ms(e,t){for(;--t&&as()&&!(_E<48||_E>102||_E>57&&_E<65||_E>70&&_E<97););return cs(e,ls()+(t<6&&32==ss()&&32==as()))}function fs(e){for(;as();)switch(_E){case e:return bE;case 34:case 39:34!==e&&39!==e&&fs(_E);break;case 40:41===e&&fs(e);break;case 92:as()}return bE}function gs(e,t){for(;as()&&e+_E!==57&&(e+_E!==84||47!==ss()););return"/*"+cs(t,bE-1)+"*"+dE(47===e?e:as())}function hs(e){for(;!us(ss());)as();return cs(e,bE)}function bs(e){return function(e){return vE="",e}(_s("",null,null,null,[""],e=function(e){return fE=gE=1,hE=Za(vE=e),bE=0,[]}(e),0,[0],e))}function _s(e,t,n,r,o,i,a,s,l){for(var c=0,u=0,p=a,d=0,m=0,f=0,g=1,h=1,b=1,_=0,v="",y=o,w=i,C=r,k=v;h;)switch(f=_,_=as()){case 40:if(108!=f&&58==Qa(k,p-1)){-1!=Ya(k+=Ka(ps(_),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=ps(_);break;case 9:case 10:case 13:case 32:k+=ds(f);break;case 92:k+=ms(ls()-1,7);continue;case 47:switch(ss()){case 42:case 47:ts(ys(gs(as(),ls()),t,n,l),l);break;default:k+="/"}break;case 123*g:s[c++]=Za(k)*b;case 125*g:case 59:case 0:switch(_){case 0:case 125:h=0;case 59+u:-1==b&&(k=Ka(k,/\f/g,"")),m>0&&Za(k)-p&&ts(m>32?ws(k+";",r,n,p-1,l):ws(Ka(k," ","")+";",r,n,p-2,l),l);break;case 59:k+=";";default:if(ts(C=vs(k,t,n,c,u,o,s,v,y=[],w=[],p,i),i),123===_)if(0===u)_s(k,t,C,C,y,i,p,s,w);else switch(99===d&&110===Qa(k,3)?100:d){case 100:case 108:case 109:case 115:_s(e,C,C,r&&ts(vs(e,C,C,0,0,o,s,v,o,y=[],p,w),w),o,w,p,s,r?y:w);break;default:_s(k,C,C,C,[""],w,0,s,w)}}c=u=m=0,g=b=1,v=k="",p=a;break;case 58:p=1+Za(k),m=f;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==(_E=bE>0?Qa(vE,--bE):0,gE--,10===_E&&(gE=1,fE--),_E))continue;switch(k+=dE(_),_*g){case 38:b=u>0?1:(k+="\f",-1);break;case 44:s[c++]=(Za(k)-1)*b,b=1;break;case 64:45===ss()&&(k+=ps(as())),d=ss(),u=p=Za(v=k+=hs(ls())),_++;break;case 45:45===f&&2==Za(k)&&(g=0)}}return i}function vs(e,t,n,r,o,i,a,s,l,c,u,p){var d,m,f,g,h,b,_=o-1,v=0===o?i:[""],y=es(v);for(d=0,m=0,f=0;d0?v[g]+" "+h:Ka(h,/&\f/g,v[g])))&&(l[f++]=b);return rs(e,t,n,0===o?aE:s,l,c,u,p)}function ys(e,t,n,r){return rs(e,t,n,iE,dE(_E),Ja(e,2,-2),0,r)}function ws(e,t,n,r,o){return rs(e,t,n,sE,Ja(e,0,r),Ja(e,r+1,-1),r,o)}function Cs(e,t,n){switch(function(e,t){return 45^Qa(e,0)?(((t<<2^Qa(e,0))<<2^Qa(e,1))<<2^Qa(e,2))<<2^Qa(e,3):0}(e,t)){case 5103:return oE+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oE+e+e;case 4789:return rE+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oE+e+rE+e+nE+e+e;case 5936:switch(Qa(e,t+11)){case 114:return oE+e+nE+Ka(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oE+e+nE+Ka(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oE+e+nE+Ka(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return oE+e+nE+e+e;case 6165:return oE+e+nE+"flex-"+e+e;case 5187:return oE+e+Ka(e,/(\w+).+(:[^]+)/,oE+"box-$1$2"+nE+"flex-$1$2")+e;case 5443:return oE+e+nE+"flex-item-"+Ka(e,/flex-|-self/g,"")+(Xa(e,/flex-|baseline/)?"":nE+"grid-row-"+Ka(e,/flex-|-self/g,""))+e;case 4675:return oE+e+nE+"flex-line-pack"+Ka(e,/align-content|flex-|-self/g,"")+e;case 5548:return oE+e+nE+Ka(e,"shrink","negative")+e;case 5292:return oE+e+nE+Ka(e,"basis","preferred-size")+e;case 6060:return oE+"box-"+Ka(e,"-grow","")+oE+e+nE+Ka(e,"grow","positive")+e;case 4554:return oE+Ka(e,/([^-])(transform)/g,"$1"+oE+"$2")+e;case 6187:return Ka(Ka(Ka(e,/(zoom-|grab)/,oE+"$1"),/(image-set)/,oE+"$1"),e,"")+e;case 5495:case 3959:return Ka(e,/(image-set\([^]*)/,oE+"$1$`$1");case 4968:return Ka(Ka(e,/(.+:)(flex-)?(.*)/,oE+"box-pack:$3"+nE+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oE+e+e;case 4200:if(!Xa(e,/flex-|baseline/))return nE+"grid-column-align"+Ja(e,t)+e;break;case 2592:case 3360:return nE+Ka(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,Xa(e.props,/grid-\w+-end/)}))?~Ya(e+(n=n[t].value),"span")?e:nE+Ka(e,"-start","")+e+nE+"grid-row-span:"+(~Ya(n,"span")?Xa(n,/\d+/):+Xa(n,/\d+/)-+Xa(e,/\d+/))+";":nE+Ka(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return Xa(e.props,/grid-\w+-start/)}))?e:nE+Ka(Ka(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Ka(e,/(.+)-inline(.+)/,oE+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Za(e)-1-t>6)switch(Qa(e,t+1)){case 109:if(45!==Qa(e,t+4))break;case 102:return Ka(e,/(.+:)(.+)-([^]+)/,"$1"+oE+"$2-$3$1"+rE+(108==Qa(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ya(e,"stretch")?Cs(Ka(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Ka(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,i,a,s){return nE+n+":"+r+s+(o?nE+n+"-span:"+(i?a:+a-+r)+s:"")+e}));case 4949:if(121===Qa(e,t+6))return Ka(e,":",":"+oE)+e;break;case 6444:switch(Qa(e,45===Qa(e,14)?18:11)){case 120:return Ka(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oE+(45===Qa(e,14)?"inline-":"")+"box$3$1"+oE+"$2$3$1"+nE+"$2box$3")+e;case 100:return Ka(e,":",":"+nE)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Ka(e,"scroll-","scroll-snap-")+e}return e}function ks(e,t){var n,r="";for(n=0;n-1&&!e.return)switch(e.type){case sE:return void(e.return=Cs(e.value,e.length,n));case cE:return ks([os(e,{value:Ka(e.value,"@","@"+oE)})],r);case aE:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(Xa(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":is(os(e,{props:[Ka(t,/:(read-\w+)/,":"+rE+"$1")]})),is(os(e,{props:[t]})),mE(e,{props:ns(n,r)});break;case"::placeholder":is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+oE+"input-$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,":"+rE+"$1")]})),is(os(e,{props:[Ka(t,/:(plac\w+)/,nE+"input-$1")]})),is(os(e,{props:[t]})),mE(e,{props:ns(n,r)})}return""}))}}function Ss(e){return ks(bs(e),xs).replace(/\{%%%\:[^;];}/g,";")}function Es(){return null}function Os(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b=e.token,_=e.path,v=e.hashId,y=e.layer,w=e.nonce,C=e.clientOnly,k=e.order,x=void 0===k?0:k,D=u_.useContext(KQ),S=D.autoClear;return n=D.defaultCache,r=D.hashPriority,o=D.container,i=D.ssrInline,a=D.transformers,s=D.linters,l=D.cache,u=[c=b._tokenKey].concat(wa(_)),p=xE,d=Ga("style",u,(function(){var e,n,o,i,l,p,d,m,f=u.join("|");return function(e){var t,n,r;return CE||(CE={},Aa()&&((t=document.createElement("div")).className=yE,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t),(getComputedStyle(t).content||"").replace(/^"/,"").replace(/"$/,"").split(";").forEach((function(e){var t=za(e.split(":"),2);CE[t[0]]=t[1]})),(n=document.querySelector("style[".concat(yE,"]")))&&(kE=!1,null===(r=n.parentNode)||void 0===r||r.removeChild(n)),document.body.removeChild(t))),!!CE[e]}(f)&&(e=function(e){var t,n=CE[e],r=null;return n&&Aa()&&(kE?r=wE:(t=document.querySelector("style[".concat(PS,'="').concat(CE[e],'"]')))?r=t.innerHTML:delete CE[e]),[r,n]}(f),o=(n=za(e,2))[0])?[o,c,n[1],{},C,x]:(i=t(),p=(l=za(SE(i,{hashId:v,hashPriority:r,layer:y,path:_.join("-"),transformers:a,linters:s}),2))[1],d=Ss(l[0]),m=function(e,t){return xa("".concat(e.join("%")).concat(t))}(u,d),[d,c,m,p,C,x])}),(function(e,t){var n=za(e,3);(t||S)&&xE&&Ma(n[2],{mark:PS})}),(function(e){var t,n,r,i,a,s=za(e,4),u=s[0];t=s[2],n=s[3],p&&u!==wE&&(r={mark:PS,prepend:"queue",attachTo:o,priority:x},(i="function"==typeof w?w():w)&&(r.csp={nonce:i}),(a=Ua(u,t,r))[IS]=l.instanceId,a.setAttribute(OS,c),Object.keys(n).forEach((function(e){Ua(Ss(n[e]),"_effect-".concat(e),r)})))})),m=za(d,3),f=m[0],g=m[1],h=m[2],function(e){var t,r;return t=i&&!p&&n?u_.createElement("style",ma({},(Di(r={},OS,g),Di(r,PS,h),r),{dangerouslySetInnerHTML:{__html:f}})):u_.createElement(Es,null),u_.createElement(u_.Fragment,null,t,e)}}function Ps(e){return e.notSplit=!0,e}function Is(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ns(e){var t,n;for(t=1;t1&&void 0!==t?t:{},r=[];return fQ.Children.forEach(e,(function(e){(null!=e||n.keepEmpty)&&(Array.isArray(e)?r=r.concat(Ls(e)):pS.isFragment(e)&&e.props?r=r.concat(Ls(e.props.children,n)):r.push(e))})),r}function Ms(e,t){"function"==typeof e?e(t):"object"===ki(e)&&e&&"current"in e&&(e.current=t)}function Us(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n3&&void 0!==r&&r;return t.length&&o&&void 0===n&&!Zs(e,t.slice(0,-1))?e:el(e,t,n,o)}function nl(e){return Array.isArray(e)?[]:{}}function rl(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1)&&(e=1),e}function ll(e){return e<=1?"".concat(100*Number(e),"%"):e}function cl(e){return 1===e.length?"0"+e:String(e)}function ul(e,t,n){var r,o,i,a,s,l;if(e=il(e,255),t=il(t,255),n=il(n,255),i=0,a=0,s=((r=Math.max(e,t,n))+(o=Math.min(e,t,n)))/2,r===o)a=0,i=0;else{switch(l=r-o,a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function dl(e,t,n){var r,o,i,a,s,l;if(e=il(e,255),t=il(t,255),n=il(n,255),i=0,a=r=Math.max(e,t,n),s=r-(o=Math.min(e,t,n)),l=0===r?0:s/r,r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t=60&&Math.round(e.h)<=240?n?Math.round(e.h)-hO*t:Math.round(e.h)+hO*t:n?Math.round(e.h)+hO*t:Math.round(e.h)-hO*t)<0?r+=360:r>=360&&(r-=360),r}function wl(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-bO*t:t===CO?e.s+bO:e.s+_O*t)>1&&(r=1),n&&t===wO&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function Cl(e,t,n){var r;return(r=n?e.v+vO*t:e.v-yO*t)>1&&(r=1),Number(r.toFixed(2))}function kl(e,t){var n,r,o,i,a,s,l=arguments.length>1&&void 0!==t?t:{},c=[],u=hl(e);for(n=wO;n>0;n-=1)o=vl(hl({h:yl(r=_l(u),n,!0),s:wl(r,n,!0),v:Cl(r,n,!0)})),c.push(o);for(c.push(vl(u)),i=1;i<=CO;i+=1)s=vl(hl({h:yl(a=_l(u),i),s:wl(a,i),v:Cl(a,i)})),c.push(s);return"dark"===l.theme?kO.map((function(e){var t,n,r,o=e.index,i=e.opacity;return vl((t=hl(l.backgroundColor||"#141414"),{r:((n=hl(c[o])).r-t.r)*(r=100*i/100)+t.r,g:(n.g-t.g)*r+t.g,b:(n.b-t.b)*r+t.b}))})):c}function xl(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,p=n(l),d=n(o),m=n(i),f=n(a),g=n(s),h=r(c,u),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},h),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new gO("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}function Dl(e){const t=Object.keys(fJ).map((t=>{const n=kl(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),xl(e,{generateColorPalettes:vJ,generateNeutralColorPalettes:yJ})),wJ(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),mJ(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},hJ(r))}(e))}function Sl(e){return e>=0&&e<=255}function El(e,t){const{r:n,g:r,b:o,a:i}=new gO(e).toRgb();if(i<1)return e;const{r:a,g:s,b:l}=new gO(t).toRgb();for(let c=.01;c<=1;c+=.01){const e=Math.round((n-a*(1-c))/c),t=Math.round((r-s*(1-c))/c),i=Math.round((o-l*(1-c))/c);if(Sl(e)&&Sl(t)&&Sl(i))return new gO({r:e,g:t,b:i,a:Math.round(100*c)/100}).toRgbString()}return new gO({r:n,g:r,b:o,a:1}).toRgbString()}function Ol(e){const{override:t}=e,n=OO(e,["override"]),r=Object.assign({},t);Object.keys(gJ).forEach((e=>{delete r[e]}));const o=Object.assign(Object.assign({},n),r);if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:El(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:El(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:El(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:El(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new gO("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new gO("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new gO("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}function Pl(){const{token:e,hashed:t,theme:n,components:r}=fQ.useContext(xJ),o=`${dJ}-${t||""}`,i=n||CJ,[a,s]=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:{},o=u_.useContext(KQ).cache.instanceId,i=r.salt,a=void 0===i?"":i,s=r.override,l=void 0===s?YS:s,c=r.formatToken,u=r.getComputedToken,p=u_.useMemo((function(){return Object.assign.apply(Object,[{}].concat(wa(t)))}),[t]),d=u_.useMemo((function(){return Va(p)}),[p]),m=u_.useMemo((function(){return Va(l)}),[l]),f=Ga("token",[a,e.id,d,m],(function(){var t,n=u?u(p,l,e):eE(p,l,e,c),r=function(e,t){return xa("".concat(t,"_").concat(Va(e)))}(n,a);return n._tokenKey=r,function(e){JS.set(e,(JS.get(e)||0)+1)}(r),t="".concat(QS,"-").concat(xa(r)),n._hashId=t,[n,t]}),(function(e){!function(e,t){var n,r;JS.set(e,(JS.get(e)||0)-1),r=(n=Array.from(JS.keys())).filter((function(e){return(JS.get(e)||0)<=0})),n.length-r.length>ZS&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(OS,'="').concat(e,'"]')).forEach((function(e){var n;e[IS]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),JS.delete(e)}))}(e[0]._tokenKey,o)}));return f}(i,[gJ,e],{salt:o,override:Object.assign({override:e},r),getComputedToken:DJ,formatToken:Ol});return[i,a,t?s:""]}function Il(e){var t,n=u_.useRef();return n.current=e,t=u_.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o{Object.keys(e).forEach((t=>{Object.defineProperty(r,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),jJ=!0,r}function $l(){}function jl(e,t,n,r){const o=Array.isArray(e)?e:[e,e],[i]=o,a=o.join("-");return e=>{const[o,s,l]=Pl(),{getPrefixCls:c,iconPrefixCls:u,csp:p}=u_.useContext(EJ),d=c(),m={theme:o,token:s,hashId:l,nonce:()=>null==p?void 0:p.nonce,clientOnly:null==r?void 0:r.clientOnly,order:-999};return Os(Object.assign(Object.assign({},m),{clientOnly:!1,path:["Shared",d]}),(()=>[{"&":NJ(s)}])),LJ(u),[Os(Object.assign(Object.assign({},m),{path:[a,e,u]}),(()=>{const{token:o,flush:a}=function(e){let t,n=e,r=$l;return $J&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(jJ&&t.add(n),e[n])}),r=(e,n)=>{var r;FJ[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=FJ[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:r}}(s),c=Object.assign({},s[i]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==c?void 0:c[t])||(null==c?void 0:c[n]))&&(null!==(r=c[n])&&void 0!==r||(c[n]=null==c?void 0:c[t]))}))}const p="function"==typeof n?n(Tl(o,null!=c?c:{})):n,m=Object.assign(Object.assign({},p),c),f=Tl(o,{componentCls:`.${e}`,prefixCls:e,iconCls:`.${u}`,antCls:`.${d}`},m),g=t(f,{hashId:l,prefixCls:e,rootPrefixCls:d,iconPrefixCls:u,overrideComponentToken:c});return a(i,m),[!1===(null==r?void 0:r.resetStyle)?null:AJ(s,e),g]})),l]}}function Fl(e,t){return pJ.reduce(((n,r)=>{const o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}function Ll(e){var t=e.children,n=Si(e,IO);return u_.createElement(NO.Provider,{value:n},t)}function Ml(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function Ul(e){var t,n,r,o,i;if(GO[e])return GO[e];if(t=zO[e])for(r=(n=Object.keys(t)).length,o=0;o0&&void 0!==e?e:[]).map(zl)}function Vl(e){const{children:t}=e,[,n]=Pl(),{motion:r}=n,o=u_.useRef(!1);return o.current=o.current||!1===r,o.current?u_.createElement(Ll,{motion:r},t):t}function Gl(){return KJ||"ant"}function ql(){return YJ||SJ}function Xl(e){return FP.test(e)}function Kl(e){return null==e?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&zP.call(e)==uP}(e))return GP?GP.call(e):"";var t=e+"";return"0"==t&&1/e==-cP?"-0":t}(e)}function Yl(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function Ql(e){return function(e){return Yl(e)instanceof ShadowRoot}(e)?Yl(e):null}function Jl(e){return"object"===ki(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===ki(e.icon)||"function"==typeof e.icon)}function Zl(e){var t=arguments.length>0&&void 0!==e?e:{};return Object.keys(t).reduce((function(e,n){var r=t[n];return"class"===n?(e.className=r,delete e.class):(delete e[n],e[nZ(n)]=r),e}),{})}function ec(e,t,n){return fQ.createElement(e.tag,n?ka(ka({key:t},Zl(e.attrs)),n):ka({key:t},Zl(e.attrs)),(e.children||[]).map((function(n,r){return ec(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function tc(e){return kl(e)[0]}function nc(e){return e?Array.isArray(e)?e:[e]:[]}function rc(e){var t=za(nc(e),2);return rZ.setTwoToneColors({primaryColor:t[0],secondaryColor:t[1]})}function oc(e,t){return 0===e.indexOf(t)}function ic(e,t){var n,r,o=arguments.length>1&&void 0!==t&&t;return n=!1===o?{aria:!0,data:!0,attr:!0}:!0===o?{aria:!0}:ka({},o),r={},Object.keys(e).forEach((function(t){(n.aria&&("role"===t||oc(t,tI))||n.data&&oc(t,nI)||n.attr&&eI.includes(t))&&(r[t]=e[t])})),r}function ac(e){return e&&fZ(e)&&e.type===u_.Fragment}function sc(e,t){return function(e,t,n){return fZ(e)?u_.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}(e,e,t)}function lc(e){var t=arguments.length>0&&void 0!==e?e:{},n=t.getContainer,r=void 0===n?sI:n,o=t.motion,i=t.prefixCls,a=t.maxCount,s=t.className,l=t.style,c=t.onAllRemoved,u=Si(t,aI),p=za(u_.useState(),2),d=p[0],m=p[1],f=u_.useRef(),g=u_.createElement(iI,{container:d,ref:f,prefixCls:i,motion:o,maxCount:a,className:s,style:l,onAllRemoved:c}),h=za(u_.useState([]),2),b=h[0],_=h[1],v=u_.useMemo((function(){return{open:function(e){var t=function(){var e,t,n,r={};for(e=arguments.length,t=new Array(e),n=0;n{t=e((()=>{n(!0)}))})),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}function uc(e){const t=u_.useRef(null);return[u_.useMemo((()=>{const e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){const e=()=>{};return e.then=()=>{},e}const{open:r,prefixCls:o,hashId:i,message:a}=t.current,s=`${o}-notice`,{content:l,icon:c,type:u,key:p,className:d,style:m,onClose:f}=n,g=uI(n,["content","icon","type","key","className","style","onClose"]);let h=p;return null==h&&(IZ+=1,h=`antd-message-${IZ}`),cc((t=>(r(Object.assign(Object.assign({},g),{key:h,content:u_.createElement(EZ,{prefixCls:o,type:u,icon:c},l),placement:"top",className:JQ(u&&`${s}-${u}`,i,d,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),m),onClose:()=>{null==f||f(),t()}})),()=>{e(h)})))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach((e=>{r[e]=(t,r,o)=>{let i,a,s;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?s=r:(a=r,s=o);const l=Object.assign(Object.assign({onClose:s,duration:a},i),{type:e});return n(l)}})),r}),[]),u_.createElement(PZ,Object.assign({key:"message-holder"},e,{ref:t}))]}function pc(e){return uc(e)}function dc(){function e(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function t(e,t,n,o){var i=Object.create((t&&t.prototype instanceof r?t:r).prototype),a=new d(o||[]);return _(i,"_invoke",{value:l(e,n,a)}),i}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function r(){}function o(){}function i(){}function a(t){["next","throw","return"].forEach((function(n){e(t,n,(function(e){return this._invoke(n,e)}))}))}function s(e,t){function r(o,i,a,s){var l,c,u=n(e[o],e,i);if("throw"!==u.type)return(c=(l=u.arg).value)&&"object"==ki(c)&&b.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}));s(u.arg)}var o;_(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function l(e,t,r){var o=k;return function(i,a){var s,l,u;if(o===D)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return{value:f,done:!0}}for(r.method=i,r.arg=a;;){if((s=r.delegate)&&(l=c(s,r))){if(l===E)continue;return l}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===k)throw o=S,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);if(o=D,"normal"===(u=n(e,t,r)).type){if(o=r.done?S:x,u.arg===E)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=S,r.method="throw",r.arg=u.arg)}}}function c(e,t){var r,o,i=t.method,a=e.iterator[i];return a===f?(t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=f,c(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),E):"throw"===(r=n(a,e.iterator,t.arg)).type?(t.method="throw",t.arg=r.arg,t.delegate=null,E):(o=r.arg)?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=f),t.delegate=null,E):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,E)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function m(e){var t,n,r;if(e||""===e){if(t=e[y])return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(r=function t(){for(;++n=0;--r){if(i=(o=this.tryEntries[r]).completion,"root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev)if(a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc"),a&&s){if(this.prev=0;--n)if((r=this.tryEntries[n]).tryLoc<=this.prev&&b.call(r,"finallyLoc")&&this.prev=0;--t)if((n=this.tryEntries[t]).finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),E},catch:function(e){var t,n,r,o;for(t=this.tryEntries.length-1;t>=0;--t)if((n=this.tryEntries[t]).tryLoc===e)return"throw"===(r=n.completion).type&&(o=r.arg,p(n)),o;throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=f),E}},g}function mc(e,t,n,r,o,i,a){var s,l;try{l=(s=e[i](a)).value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,o)}function fc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){function i(e){mc(s,r,o,i,a,"next",e)}function a(e){mc(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)}))}}function gc(e){var t=pI.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===ki(t)&&(t.usingClientEntryPoint=e)}function hc(e,t){gI?function(e,t){gc(!0);var n=t[hI]||gI(t);gc(!1),n.render(e),t[hI]=n}(e,t):function(e,t){mI(e,t)}(e,t)}function bc(e){return _c.apply(this,arguments)}function _c(){return(_c=fc(dc().mark((function e(t){return dc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[hI])||void 0===e||e.unmount(),delete t[hI]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vc(e){fI(e)}function yc(e){return wc.apply(this,arguments)}function wc(){return(wc=fc(dc().mark((function e(t){return dc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===gI){e.next=2;break}return e.abrupt("return",bc(t));case 2:vc(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Cc(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function kc(e){return Number.isNaN(e)?0:e}function xc(e){return"string"==typeof e}function Dc(e){return"text"===e||"link"===e}function Sc(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function Ec(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Oc(e,t){let n=arguments.length>1&&void 0!==t?t:{focus:!0};const{componentCls:r}=e,o=`${r}-compact`;return{[o]:Object.assign(Object.assign({},Sc(e,o,n)),Ec(r,o,n))}}function Pc(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ic(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Pc(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}function Nc(e){return"danger"===e?{danger:!0}:{type:e}}function Ac(e){return!(!e||!e.then)}function Rc(e){var t,n,r,o,i,a=e.match(/^(.*)px$/),s=Number(null==a?void 0:a[1]);return Number.isNaN(s)?"undefined"==typeof document?0:(void 0===CI&&((t=document.createElement("div")).style.width="100%",t.style.height="200px",(r=(n=document.createElement("div")).style).position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(t),document.body.appendChild(n),o=t.offsetWidth,n.style.overflow="scroll",o===(i=t.offsetWidth)&&(i=n.clientWidth),document.body.removeChild(n),CI=o-i),CI):s}function Tc(e){var t=za(u_.useState("ssr-id"),2),n=t[0],r=t[1],o=ka({},gQ).useId,i=null==o?void 0:o();return u_.useEffect((function(){if(!o){var e=EI;EI+=1,r("rc_unique_".concat(e))}}),[]),e||i||n}function $c(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function jc(e,t){var n,r=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");return"number"!=typeof r&&"number"!=typeof(r=(n=e.document).documentElement[o])&&(r=n.body[o]),r}function Fc(e){var t=e.prefixCls,n=e.style,r=e.maskProps;return u_.createElement(GJ,{key:"mask",visible:e.visible,motionName:e.motionName,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,o){var i=e.className;return u_.createElement("div",ma({ref:o,style:ka(ka({},e.style),n),className:JQ("".concat(t,"-mask"),i)},r))}))}function Lc(e){function t(e){null==f||f(e)}var n=e.prefixCls,r=void 0===n?"rc-dialog":n,o=e.zIndex,i=e.visible,a=void 0!==i&&i,s=e.keyboard,l=void 0===s||s,c=e.focusTriggerAfterClose,u=void 0===c||c,p=e.wrapStyle,d=e.wrapClassName,m=e.wrapProps,f=e.onClose,g=e.afterOpenChange,h=e.afterClose,b=e.transitionName,_=e.animation,v=e.closable,y=void 0===v||v,w=e.mask,C=void 0===w||w,k=e.maskTransitionName,x=e.maskAnimation,D=e.maskClosable,S=void 0===D||D,E=e.maskStyle,O=e.maskProps,P=e.rootClassName,I=u_.useRef(),N=u_.useRef(),A=u_.useRef(),R=za(u_.useState(a),2),T=R[0],$=R[1],j=Tc(),F=u_.useRef(!1),L=u_.useRef(),M=null;return S&&(M=function(e){F.current?F.current=!1:N.current===e.target&&t(e)}),u_.useEffect((function(){a&&($(!0),Ra(N.current,document.activeElement)||(I.current=document.activeElement))}),[a]),u_.useEffect((function(){return function(){clearTimeout(L.current)}}),[]),u_.createElement("div",ma({className:JQ("".concat(r,"-root"),P)},ic(e,{data:!0})),u_.createElement(Fc,{prefixCls:r,visible:C&&a,motionName:$c(r,k,x),style:ka({zIndex:o},E),maskProps:O}),u_.createElement("div",ma({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===rI.ESC)return e.stopPropagation(),void t(e);a&&e.keyCode===rI.TAB&&A.current.changeActive(!e.shiftKey)},className:JQ("".concat(r,"-wrap"),d),ref:N,onClick:M,style:ka(ka({zIndex:o},p),{},{display:T?null:"none"})},m),u_.createElement(II,ma({},e,{onMouseDown:function(){clearTimeout(L.current),F.current=!0},onMouseUp:function(){L.current=setTimeout((function(){F.current=!1}))},ref:A,closable:y,ariaId:j,prefixCls:r,visible:a&&T,onClose:t,onVisibleChanged:function(e){if(e)Ra(N.current,document.activeElement)||null===(t=A.current)||void 0===t||t.focus();else{if($(!1),C&&I.current&&u){try{I.current.focus({preventScroll:!0})}catch(xY){}I.current=null}T&&(null==h||h())}var t;null==g||g(e)},motionName:$c(r,b,_)}))))}function Mc(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:fQ.createElement(cZ,null);const a=function(e,t,n){return"boolean"==typeof e?e:void 0===t?!!n:!1!==t&&null!==t}(e,t,arguments.length>4&&void 0!==o&&o);if(!a)return[!1,null];const s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}function Uc(e){return null==e?[]:Array.isArray(e)?e:[e]}function Bc(){return Bc=Object.assign?Object.assign.bind():function(e){var t,n,r;for(t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function Xc(e,t){return null==e||!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e)}function Kc(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var s=r;r+=1,s=i||n<0||n>=i?e:(r=e[t],(o=t-n)>0?[].concat(wa(e.slice(0,n)),[r],wa(e.slice(n,t)),wa(e.slice(t+1,i))):o<0?[].concat(wa(e.slice(0,t)),wa(e.slice(t+1,n+1)),[r],wa(e.slice(n+1,i))):e)}function pu(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}function du(e){var t=e.name,n=Si(e,hN),r=u_.useContext(TI),o=u_.useContext($I),i=void 0!==t?iu(t):void 0,a="keep";return n.isListField||(a="_".concat((i||[]).join("_"))),u_.createElement(_N,ma({key:a,name:i,isListField:!!o},n,{fieldContext:r}))}function mu(e){var t=e.name,n=e.initialValue,r=e.children,o=e.rules,i=e.validateTrigger,a=e.isListField,s=u_.useContext(TI),l=u_.useContext($I),c=u_.useRef({keys:[],id:0}).current,u=u_.useMemo((function(){var e=iu(s.prefixName)||[];return[].concat(wa(e),wa(iu(t)))}),[s.prefixName,t]),p=u_.useMemo((function(){return ka(ka({},s),{},{prefixName:u})}),[s,u]),d=u_.useMemo((function(){return{getKey:function(e){var t=u.length;return[c.keys[e[t]],e.slice(t+1)]}}}),[u]);return"function"!=typeof r?(Pa(!1,"Form.List only accepts function as children."),null):u_.createElement($I.Provider,{value:d},u_.createElement(TI.Provider,{value:p},u_.createElement(du,{name:[],shouldUpdate:function(e,t,n){return"internal"!==n.source&&e!==t},rules:o,validateTrigger:i,initialValue:n,isList:!0,isListField:null!=a?a:!!l},(function(e,t){var n=e.value,o=e.onChange,i=s.getFieldValue,a=function(){return i(u||[])||[]},l={add:function(e,t){var n=a();t>=0&&t<=n.length?(c.keys=[].concat(wa(c.keys.slice(0,t)),[c.id],wa(c.keys.slice(t))),o([].concat(wa(n.slice(0,t)),[e],wa(n.slice(t))))):(c.keys=[].concat(wa(c.keys),[c.id]),o([].concat(wa(n),[e]))),c.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(c.keys=c.keys.filter((function(e,t){return!n.has(t)})),o(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(c.keys=uu(c.keys,e,t),o(uu(n,e,t)))}}},p=(void 0===n?[]:n)||[];return Array.isArray(p)||(p=[]),r(p.map((function(e,t){var n=c.keys[t];return void 0===n&&(c.keys[t]=c.id,n=c.keys[t],c.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))}function fu(e){return e.map((function(e){return"".concat(ki(e),":").concat(e)})).join(vN)}function gu(e){var t,n=u_.useRef(),r=za(u_.useState({}),2)[1];return n.current||(e?n.current=e:(t=new CN((function(){r({})})),n.current=t.getForm())),[n.current]}function hu(e){try{return JSON.stringify(e)}catch(t){return Math.random()}}function bu(){var e,t,n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_;for(e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat(wa(n.slice(1))));for(let e=0;e{const e=ol(),{getPrefixCls:i,getIconPrefixCls:l,getTheme:c}=JJ(),u=i(void 0,L1),p=r||`${u}-modal`,d=l(),m=c();let f=a;!1===f&&(f=void 0),hc(u_.createElement(j1,Object.assign({},s,{getContainer:f,prefixCls:p,rootPrefixCls:u,iconPrefixCls:d,okText:t,locale:e,theme:m,cancelText:n||e.cancelText})),o)}))}function r(){for(var r=arguments.length,o=new Array(r),i=0;i{"function"==typeof e.afterClose&&e.afterClose(),t.apply(this,o)}}),a.visible&&delete a.visible,n(a)}const o=document.createDocumentFragment();let i,a=Object.assign(Object.assign({},e),{close:r,open:!0});return n(a),F1.push(r),{destroy:r,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),n(a)}}}function Cu(e){return Object.assign(Object.assign({},e),{type:"warning"})}function ku(e){return Object.assign(Object.assign({},e),{type:"info"})}function xu(e){return Object.assign(Object.assign({},e),{type:"success"})}function Du(e){return Object.assign(Object.assign({},e),{type:"error"})}function Su(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Eu(){const e=u_.useRef(null),[t,n]=u_.useState([]);u_.useEffect((()=>{t.length&&(wa(t).forEach((e=>{e()})),n([]))}),[t]);const r=u_.useCallback((t=>function(r){var o;B1+=1;const i=u_.createRef();let a;const s=new Promise((e=>{a=e}));let l,c=!1;const u=u_.createElement(U1,{key:`modal-${B1}`,config:t(r),ref:i,afterClose:()=>{null==l||l()},isSilent:()=>c,onConfirm:e=>{a(e)}});return l=null===(o=e.current)||void 0===o?void 0:o.patchElement(u),l&&F1.push(l),{destroy:()=>{function e(){var e;null===(e=i.current)||void 0===e||e.destroy()}i.current?e():n((t=>[].concat(wa(t),[e])))},update:e=>{function t(){var t;null===(t=i.current)||void 0===t||t.update(e)}i.current?t():n((e=>[].concat(wa(e),[t])))},then:e=>(c=!0,s.then(e))}}),[]);return[u_.useMemo((()=>({info:r(ku),success:r(xu),error:r(Du),warning:r(Cu),confirm:r(Su)})),[]),u_.createElement(H1,{key:"modal-holder",ref:e})]}function Ou(e,t){return null===t||!1===t?null:t||u_.createElement("span",{className:`${e}-close-x`},u_.createElement(cZ,{className:`${e}-close-icon`}))}function Pu(e){const t=u_.useRef(null);return[u_.useMemo((()=>{const n=n=>{var r;if(!t.current)return;const{open:o,prefixCls:i,hashId:a,notification:s}=t.current,l=`${i}-notice`,{message:c,description:u,icon:p,type:d,btn:m,className:f,style:g,role:h="alert",closeIcon:b}=n,_=AN(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),v=Ou(l,b);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:X1},_),{content:u_.createElement(q1,{prefixCls:l,icon:p,type:d,message:c,description:u,btn:m,role:h}),className:JQ(d&&`${l}-${d}`,a,f,null==s?void 0:s.className),style:Object.assign(Object.assign({},null==s?void 0:s.style),g),closeIcon:v,closable:!!v}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach((e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))})),r}),[]),u_.createElement(K1,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Iu(e){return Pu(e)}function Nu(e){return function(t){return u_.createElement(eZ,{theme:{token:{motion:!1,zIndexPopupBase:0}}},u_.createElement(e,Object.assign({},t)))}}function Au(e){var t=arguments.length>0&&void 0!==e?e:250,n=u_.useRef(null),r=u_.useRef(null);return u_.useEffect((function(){return function(){window.clearTimeout(r.current)}}),[]),[function(){return n.current},function(e){(e||null===n.current)&&(n.current=e),window.clearTimeout(r.current),r.current=window.setTimeout((function(){n.current=null}),t)}]}function Ru(e,t){function n(e){m(f,e)}var r,o,i,a,s=e.prefixCls,l=e.invalidate,c=e.item,u=e.renderItem,p=e.responsive,d=e.responsiveDisabled,m=e.registerSize,f=e.itemKey,g=e.className,h=e.style,b=e.children,_=e.display,v=e.order,y=e.component,w=void 0===y?"div":y,C=Si(e,TN),k=p&&!_;return u_.useEffect((function(){return function(){n(null)}}),[]),r=u&&c!==$N?u(c):b,l||(o={opacity:k?0:1,height:k?0:$N,overflowY:k?"hidden":$N,order:p?v:$N,pointerEvents:k?"none":$N,position:k?"absolute":$N}),i={},k&&(i["aria-hidden"]=!0),a=u_.createElement(w,ma({className:JQ(!l&&s,g),style:ka(ka({},o),h)},i,C,{ref:t}),r),p&&(a=u_.createElement(rO,{onResize:function(e){n(e.offsetWidth)},disabled:d},a)),a}function Tu(e,t){var n=za(u_.useState(t),2),r=n[1];return[n[0],Il((function(t){e((function(){r(t)}))}))]}function $u(e){return"+ ".concat(e.length," ...")}function ju(e,t){function n(e,t,n){(re!==e||void 0!==t&&t!==ee)&&(oe(e),n||(le(eS,ge=u_.useMemo((function(){var e=b;return de?e=null===L&&$?b:b.slice(0,Math.min(b.length,U/C)):"number"==typeof S&&(e=b.slice(0,S)),e}),[b,C,L,S,de]),he=u_.useMemo((function(){return b.slice(de?ie+1:ge.length)}),[b,ge,de,ie]),be=u_.useCallback((function(e,t){var n;return"function"==typeof y?y(e):null!==(n=y&&(null==e?void 0:e[y]))&&void 0!==n?n:t}),[y]),_e=u_.useCallback(_||function(e){return e},[_]);return GS((function(){var e,t,r,i,a;if(U&&"number"==typeof ue&&ge){if(e=Q,r=(t=ge.length)-1,!t)return void n(0,null);for(i=0;iU){n(i-1,e-a-Q+X);break}}P&&o(0)+Q>U&&te(null)}}),[U,H,X,Q,be,ge]),a={},null!==ee&&de&&(a={position:"absolute",left:ee,top:0}),s={prefixCls:ce,responsive:de,component:A,invalidate:me},l=v?function(e,t){var n=be(e,t);return u_.createElement(FN.Provider,{key:n,value:ka(ka({},s),{},{order:t,item:e,itemKey:n,registerSize:r,display:t<=ie})},v(e,t))}:function(e,t){var n=be(e,t);return u_.createElement(jN,ma({},s,{order:t,key:n,item:e,renderItem:_e,itemKey:n,registerSize:r,display:t<=ie}))},u={order:(i=se&&!!he.length)?ie:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:function(e,t){K(t),G(X)},display:i},O?O&&(c=u_.createElement(FN.Provider,{value:ka(ka({},s),u)},O(he))):(p=E||$u,c=u_.createElement(jN,ma({},s,u),"function"==typeof p?p(he):p)),d=u_.createElement(N,ma({className:JQ(!me&&g,D),style:x,ref:t},T),ge.map(l),fe?c:null,P&&u_.createElement(jN,ma({},s,{responsive:pe,responsiveDisabled:!de,order:ie,className:"".concat(ce,"-suffix"),registerSize:function(e,t){J(t)},display:!0,style:a}),P)),pe&&(d=u_.createElement(rO,{onResize:function(e,t){M(t.clientWidth)},disabled:!de},d)),d}function Fu(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function Lu(e){return["string","number"].includes(ki(e))}function Mu(e){var t=void 0;return e&&(Lu(e.title)?t=e.title.toString():Lu(e.label)&&(t=e.label.toString())),t}function Uu(e){var t;return null!==(t=e.key)&&void 0!==t?t:e.value}function Bu(e){return e?Array.isArray(e)?e:[e]:[]}function Hu(e,t,n){var r=arguments.length>0&&void 0!==e?e:[],o=arguments.length>1&&void 0!==t?t:[];return(arguments.length>2?n:void 0)?r[0]===o[0]:r[0]===o[0]&&r[1]===o[1]}function zu(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function Wu(e){return e.ownerDocument.defaultView}function Vu(e){for(var t,n=[],r=null==e?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];r;)[(t=Wu(r).getComputedStyle(r)).overflowX,t.overflowY,t.overflow].some((function(e){return o.includes(e)}))&&n.push(r),r=r.parentElement;return n}function Gu(e,t){var n=arguments.length>1&&void 0!==t?t:1;return Number.isNaN(e)?n:e}function qu(e){return Gu(parseFloat(e),0)}function Xu(e,t){var n=ka({},e);return(t||[]).forEach((function(e){var t,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A;e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement||(r=(t=Wu(e).getComputedStyle(e)).overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,p=e.clientHeight,d=e.offsetWidth,m=e.clientWidth,f=qu(i),g=qu(a),y=(d-m-(h=qu(s))-(b=qu(l)))*(_=Gu(Math.round(c.width/d*1e3)/1e3)),w=(u-p-f-g)*(v=Gu(Math.round(c.height/u*1e3)/1e3)),C=f*v,k=g*v,x=h*_,D=b*_,S=0,E=0,"clip"===r&&(S=(O=qu(o))*_,E=O*v),N=(P=c.x+x-S)+c.width+2*S-x-D-y,A=(I=c.y+C-E)+c.height+2*E-C-k-w,n.left=Math.max(n.left,P),n.top=Math.max(n.top,I),n.right=Math.min(n.right,N),n.bottom=Math.min(n.bottom,A))})),n}function Ku(e,t){var n="".concat(arguments.length>1&&void 0!==t?t:0),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function Yu(e,t){var n=za(t||[],2),r=n[1];return[Ku(e.width,n[0]),Ku(e.height,r)]}function Qu(e){var t=arguments.length>0&&void 0!==e?e:"";return[t[0],t[1]]}function Ju(e,t){var n=t[0],r=t[1];return{x:"l"===r?e.x:"r"===r?e.x+e.width:e.x+e.width/2,y:"t"===n?e.y:"b"===n?e.y+e.height:e.y+e.height/2}}function Zu(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function ep(e){var t,n,r,o,i,a,s=e.prefixCls,l=e.align,c=e.arrowPos,u=e.arrow||{},p=u.className,d=u.content,m=c.x,f=void 0===m?0:m,g=c.y,h=void 0===g?0:g,b=u_.useRef();return l&&l.points?(t={position:"absolute"},!1!==l.autoArrow&&(i=(n=l.points[0])[1],a=(r=l.points[1])[1],(o=n[0])!==r[0]&&["t","b"].includes(o)?"t"===o?t.top=0:t.bottom=0:t.top=h,i!==a&&["l","r"].includes(i)?"l"===i?t.left=0:t.right=0:t.left=f),u_.createElement("div",{ref:b,className:JQ("".concat(s,"-arrow"),p),style:t},d)):null}function tp(e){var t=e.prefixCls,n=e.zIndex;return e.mask?u_.createElement(GJ,ma({},e.motion,{motionAppear:!0,visible:e.open,removeOnLeave:!0}),(function(e){var r=e.className;return u_.createElement("div",{style:{zIndex:n},className:JQ("".concat(t,"-mask"),r)})})):null}function np(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!=r?r:void 0!==n?n:"rc-index-key-".concat(t)}function rp(e,t){var n=e||{},r=n.label||(t?"children":"label");return{label:r,value:n.value||"value",options:n.options||"options",groupLabel:n.groupLabel||r}}function op(e){var t=ka({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Pa(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function ip(e){return"tags"===e||"multiple"===e}function ap(e,t){var n=arguments.length>1&&void 0!==t&&t;return Ls(e).map((function(e,t){if(!u_.isValidElement(e)||!e.type)return null;var r=e.type.isSelectOptGroup,o=e.key,i=e.props,a=i.children,s=Si(i,bA);return n||!r?function(e){var t=e.key,n=e.props,r=n.value;return ka({key:t,value:void 0!==r?r:t,children:n.children},Si(n,hA))}(e):ka(ka({key:"__RC_SELECT_GRP__".concat(null===o?t:o,"__"),label:o},s),{},{options:ap(a)})})).filter((function(e){return e}))}function sp(e){var t,n=u_.useRef();return n.current=e,t=u_.useCallback((function(){return n.current.apply(n,arguments)}),[]),t}function lp(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]}function cp(e){var t=e.children,n=e.setRef,r=u_.useCallback((function(e){n(e)}),[]);return u_.cloneElement(t,{ref:r})}function up(e,t){var n=arguments.length>0&&void 0!==e?e:0,r=n/(arguments.length>1&&void 0!==t?t:0)*100;return isNaN(r)&&(r=0),r=Math.max(r,DA),r=Math.min(r,n/2),Math.floor(r)}function pp(e,t){function n(e){ve((function(t){var n;return n=function(e){var t=e;return Number.isNaN(k.current)||(t=Math.min(t,k.current)),Math.max(t,0)}("function"==typeof e?e(t):e),ge.current.scrollTop=n,n}))}function r(e,t){var r=e;t?(xk.flushSync((function(){Ce(r)})),P()):n(r)}var o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M,U,B,H=e.prefixCls,z=void 0===H?"rc-virtual-list":H,W=e.className,V=e.height,G=e.itemHeight,q=e.fullHeight,X=void 0===q||q,K=e.style,Y=e.data,Q=e.children,J=e.itemKey,Z=e.virtual,ee=e.direction,te=e.scrollWidth,ne=e.component,re=void 0===ne?"div":ne,oe=e.onScroll,ie=e.onVirtualScroll,ae=e.onVisibleChange,se=e.innerProps,le=e.extraRender,ce=Si(e,SA),ue=!(!1===Z||!V||!G),pe=ue&&Y&&G*Y.length>V,de="rtl"===ee,me=JQ(z,Di({},"".concat(z,"-rtl"),de),W),fe=Y||EA,ge=u_.useRef(),he=u_.useRef(),be=za(u_.useState(0),2),_e=be[0],ve=be[1],ye=za(u_.useState(0),2),we=ye[0],Ce=ye[1],ke=za(u_.useState(!1),2),xe=ke[0],De=ke[1],Se=function(){De(!0)},Ee=function(){De(!1)},Oe=u_.useCallback((function(e){return"function"==typeof J?J(e):null==e?void 0:e[J]}),[J]),Pe={getKey:Oe},Ie=u_.useRef({start:0,end:fe.length}),Ne=u_.useRef(),Ae=function(e,t){var n=za(u_.useState(e),2),r=n[0],o=n[1],i=za(u_.useState(null),2),a=i[0],s=i[1];return u_.useEffect((function(){var n=function(e,t,n){function r(e){return void 0!==e?n(e):a}var o,i,a,s,l,c,u,p=e.length,d=t.length;if(0===p&&0===d)return null;for(p=_e&&void 0===n&&(n=a,r=t),u>_e+V&&void 0===o&&(o=a),t=u;return void 0===n&&(n=0,r=0,o=Math.ceil(V/G)),void 0===o&&(o=fe.length-1),{scrollHeight:t,start:n,end:o=Math.min(o+1,fe.length-1),offset:r}}),[pe,ue,_e,fe,i[3],V]),u=c.scrollHeight,d=c.end,m=c.offset,Ie.current.start=p=c.start,Ie.current.end=d,f=za(u_.useState({width:0,height:V}),2),g=f[0],h=f[1],b=function(e){h(e)},_=u_.useRef(),v=u_.useRef(),y=u_.useMemo((function(){return up(g.width,te)}),[g.width,te]),w=u_.useMemo((function(){return up(g.height,u)}),[g.height,u]),(k=u_.useRef(C=u-V)).current=C,S=o2(x=_e<=0,D=_e>=C),O=u_.useRef((E=function(){return{x:de?-we:we,y:_e}})()),P=Il((function(){if(ie){var e=E();O.current.x===e.x&&O.current.y===e.y||(ie(e),O.current=e)}})),I=function(e){var t=e,n=te-g.width;return t=Math.max(t,0),Math.min(t,n)},N=Il((function(e,t){t?(xk.flushSync((function(){Ce((function(t){return I(t+(de?-e:e))}))})),P()):n((function(t){return t+e}))})),A=za(function(e,t,n,r,o){var i=u_.useRef(0),a=u_.useRef(null),s=u_.useRef(null),l=u_.useRef(!1),c=o2(t,n),u=u_.useRef(null),p=u_.useRef(null);return[function(t){var n,d,m;e&&(lO.cancel(p.current),p.current=lO((function(){u.current=null}),2),n=t.deltaY,d=Math.abs(t.deltaX),m=Math.abs(n),null===u.current&&(u.current=r&&d>m?"x":"y"),"x"===u.current?function(e){o(e.deltaX,!0),kA||e.preventDefault()}(t):function(e){lO.cancel(a.current);var t=e.deltaY;i.current+=t,s.current=t,c(t)||(kA||e.preventDefault(),a.current=lO((function(){o(i.current*(l.current?10:1)),i.current=0})))}(t))},function(t){e&&(l.current=t.detail===s.current)}]}(ue,x,D,!!te,N),2),R=A[0],T=A[1],function(e,t,n){var r=u_.useRef(!1),o=u_.useRef(0),i=u_.useRef(null),a=u_.useRef(null),s=function(e){var t,i;r.current&&(t=Math.ceil(e.touches[0].pageY),i=o.current-t,o.current=t,n(i)&&e.preventDefault(),clearInterval(a.current),a.current=setInterval((function(){(!n(i*=xA,!0)||Math.abs(i)<=.1)&&clearInterval(a.current)}),16))},l=function(){r.current=!1,u()},c=function(e){u(),1!==e.touches.length||r.current||(r.current=!0,o.current=Math.ceil(e.touches[0].pageY),i.current=e.target,i.current.addEventListener("touchmove",s),i.current.addEventListener("touchend",l))},u=function(){i.current&&(i.current.removeEventListener("touchmove",s),i.current.removeEventListener("touchend",l))};GS((function(){return e&&t.current.addEventListener("touchstart",c),function(){var e;null===(e=t.current)||void 0===e||e.removeEventListener("touchstart",c),u(),clearInterval(a.current)}}),[e])}(ue,ge,(function(e,t){return!S(e,t)&&(R({preventDefault:function(){},deltaY:e}),!0)})),GS((function(){function e(e){ue&&e.preventDefault()}var t=ge.current;return t.addEventListener("wheel",R),t.addEventListener("DOMMouseScroll",T),t.addEventListener("MozMousePixelScroll",e),function(){t.removeEventListener("wheel",R),t.removeEventListener("DOMMouseScroll",T),t.removeEventListener("MozMousePixelScroll",e)}}),[ue]),j=function(e,t,n,r,o,i,a,s){var l=u_.useRef();return function(c){var u,p,d,m;null!=c?(lO.cancel(l.current),"number"==typeof c?a(c):c&&"object"===ki(c)&&(p=c.align,u="index"in c?c.index:t.findIndex((function(e){return o(e)===c.key})),m=void 0===(d=c.offset)?0:d,function s(c,d){var f,g,h,b,_,v,y,w,C,k,x,D,S;if(!(c<0)&&e.current){if(g=!1,h=d,f=e.current.clientHeight){for(b=d||p,_=0,v=0,y=0,w=Math.min(t.length,u),C=0;C<=w;C+=1)k=o(t[C]),_=y=(v=_)+(void 0===(x=n.get(k))?r:x),C===u&&void 0===x&&(g=!0);switch(D=null,b){case"top":D=v-m;break;case"bottom":D=y-f+m;break;default:v<(S=e.current.scrollTop)?h="top":y>S+f&&(h="bottom")}null!==D&&D!==e.current.scrollTop&&a(D)}l.current=lO((function(){g&&i(),s(c-1,h)}),2)}}(3))):s()}}(ge,fe,l,G,Oe,s,n,$=function(){var e,t;null===(e=_.current)||void 0===e||e.delayHidden(),null===(t=v.current)||void 0===t||t.delayHidden()}),u_.useImperativeHandle(t,(function(){return{getScrollInfo:E,scrollTo:function(e){var t;(t=e)&&"object"===ki(t)&&("left"in t||"top"in t)?(void 0!==e.left&&Ce(I(e.left)),j(e.top)):j(e)}}})),GS((function(){if(ae){var e=fe.slice(p,d+1);ae(e,fe)}}),[p,d,fe]),F=function(e,t,n,r){var o=za(u_.useMemo((function(){return[new Map,[]]}),[e,n.id,r]),2),i=o[0],a=o[1];return function(o,s){var l,c,u,p,d,m=arguments.length>1&&void 0!==s?s:o,f=i.get(o),g=i.get(m);if(void 0===f||void 0===g)for(l=e.length,c=a.length;cV&&u_.createElement(wA,{ref:_,prefixCls:z,scrollOffset:_e,scrollRange:u,rtl:de,onScroll:r,onStartMove:Se,onStopMove:Ee,spinSize:w,containerSize:g.height}),pe&&te&&u_.createElement(wA,{ref:v,prefixCls:z,scrollOffset:we,scrollRange:te,rtl:de,onScroll:r,onStartMove:Se,onStopMove:Ee,spinSize:y,containerSize:g.width,horizontal:!0}))}function dp(e){return"string"==typeof e||"number"==typeof e}function mp(e,t,n){return JQ({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:n})}function fp(e,t){const{componentCls:n,iconCls:r}=e,o=`${n}-selection-overflow`,i=e.controlHeightSM,[a]=b2(e);return{[`${n}-multiple${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[o]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:a-2+"px 4px",borderRadius:e.borderRadius,[`${n}-show-search&`]:{cursor:"text"},[`${n}-disabled&`]:{background:e.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:"2px 0",lineHeight:`${i}px`,visibility:"hidden",content:'"\\a0"'}},[`\n &${n}-show-arrow ${n}-selector,\n &${n}-allow-clear ${n}-selector\n `]:{paddingInlineEnd:e.fontSizeIcon+e.controlPaddingHorizontal},[`${n}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:i,marginTop:2,marginBottom:2,lineHeight:i-2*e.lineWidth+"px",background:e.colorFillSecondary,borderRadius:e.borderRadiusSM,cursor:"default",transition:`font-size ${e.motionDurationSlow}, line-height ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,userSelect:"none",marginInlineEnd:4,paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS/2,[`${n}-disabled&`]:{color:e.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{display:"inline-flex",alignItems:"center",color:e.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${r}`]:{verticalAlign:"-0.2em"},"&:hover":{color:e.colorIconHover}})},[`${o}-item + ${o}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.inputPaddingHorizontalBase-a,"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}}function gp(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:o}=e,i=e.controlHeight-2*e.lineWidth,a=Math.ceil(1.25*e.fontSize);return{[`${n}-single${t?`${n}-${t}`:""}`]:{fontSize:e.fontSize,[`${n}-selector`]:Object.assign(Object.assign({},IJ(e)),{display:"flex",borderRadius:o,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%"}},[`\n ${n}-selection-item,\n ${n}-selection-placeholder\n `]:{padding:0,lineHeight:`${i}px`,transition:`all ${e.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${i}px`}},[`${n}-selection-item`]:{position:"relative",userSelect:"none"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:after`,`${n}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`\n &${n}-show-arrow ${n}-selection-item,\n &${n}-show-arrow ${n}-selection-placeholder\n `]:{paddingInlineEnd:a},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:e.controlHeight,padding:`0 ${r}px`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:`${i}px`}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${r}px`,"&:after":{display:"none"}}}}}}}function hp(e){const{componentCls:t}=e,n=e.controlPaddingHorizontalSM-e.lineWidth;return[gp(e),gp(Tl(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${n}px`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:n+1.5*e.fontSize},[`\n &${t}-show-arrow ${t}-selection-item,\n &${t}-show-arrow ${t}-selection-placeholder\n `]:{paddingInlineEnd:1.5*e.fontSize}}}},gp(Tl(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}function bp(){const[,e]=Pl(),t=F2(L2(e));return fQ.useMemo((()=>{const e=new Map;let n=-1,r={};return{matchHandlers:{},dispatch:t=>(r=t,e.forEach((e=>e(r))),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},unregister(){Object.keys(t).forEach((e=>{const n=this.matchHandlers[t[e]];null==n||n.mql.removeListener(null==n?void 0:n.listener)})),e.clear()},register(){Object.keys(t).forEach((e=>{const n=t[e],o=t=>{let{matches:n}=t;this.dispatch(Object.assign(Object.assign({},r),{[e]:n}))},i=window.matchMedia(n);i.addListener(o),this.matchHandlers[n]={mql:i,listener:o},o(i)}))},responsiveMap:t}}),[e])}function _p(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return u_.createElement("div",{className:JQ("".concat(n,"-content"),i),style:a},u_.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}function vp(e){const t=U2,{contentRadius:n,limitVerticalRadius:r}=e,o=n>12?n+2:12;return{dropdownArrowOffset:o,dropdownArrowOffsetVertical:r?t:o}}function yp(e,t){return e?t:{}}function wp(e,t){const{componentCls:n,sizePopupArrow:r,borderRadiusXS:o,borderRadiusOuter:i,boxShadowPopoverArrow:a}=e,{colorBg:s,contentRadius:l=e.borderRadiusLG,limitVerticalRadius:c,arrowDistance:u=0,arrowPlacement:p={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:d,dropdownArrowOffset:m}=vp({contentRadius:l,limitVerticalRadius:c});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},OJ(r,o,i,s,a)),{"&:before":{background:s}})]},yp(!!p.top,{[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:m}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:m}}})),yp(!!p.bottom,{[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:u,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:m}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:m}}})),yp(!!p.left,{[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:d},[`&-placement-leftBottom ${n}-arrow`]:{bottom:d}})),yp(!!p.right,{[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:d},[`&-placement-rightBottom ${n}-arrow`]:{bottom:d}}))}}function Cp(e,t){return arguments.length>1&&void 0!==t&&!t?pJ.includes(e):[].concat(wa(Q2),wa(pJ)).includes(e)}function kp(e,t){const n=Cp(t),r=JQ({[`${e}-${t}`]:t&&n}),o={},i={};return t&&!n&&(o.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:o,arrowStyle:i}}function xp(e,t){var n,r,o,i,a,s,l,c,u,p=e.arrow,d=void 0!==p&&p,m=e.prefixCls,f=void 0===m?"rc-dropdown":m,g=e.transitionName,h=e.animation,b=e.align,_=e.placement,v=void 0===_?"bottomLeft":_,y=e.placements,w=void 0===y?JA:y,C=e.getPopupContainer,k=e.showAction,x=e.hideAction,D=e.overlayClassName,S=e.overlayStyle,E=e.visible,O=e.trigger,P=void 0===O?["hover"]:O,I=e.autoFocus,N=e.overlay,A=e.children,R=e.onVisibleChange,T=Si(e,ZA),$=za(fQ.useState(),2),j=$[1],F="visible"in e?E:$[0],L=fQ.useRef(null),M=fQ.useRef(null),U=fQ.useRef(null);return fQ.useImperativeHandle(t,(function(){return L.current})),function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,o=e.autoFocus,i=e.overlayRef,a=u_.useRef(!1),s=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},l=function(){var e;return!(null===(e=i.current)||void 0===e||!e.focus||(i.current.focus(),a.current=!0,0))},c=function(e){switch(e.keyCode){case qA:s();break;case XA:var t=!1;a.current||(t=l()),t?e.preventDefault():s()}};u_.useEffect((function(){return t?(window.addEventListener("keydown",c),o&&lO(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}}),[t])}({visible:F,triggerRef:U,onVisibleChange:r=function(e){j(e),null==R||R(e)},autoFocus:I,overlayRef:M}),o=function(t){var n=e.onOverlayClick;j(!1),n&&n(t)},i=function(){return fQ.createElement(KA,{ref:M,overlay:N,prefixCls:f,arrow:d})},a=function(){return"function"==typeof N?i:i()},s=function(){return"minOverlayWidthMatchTrigger"in e?e.minOverlayWidthMatchTrigger:!e.alignPoint},l=fQ.cloneElement(A,{className:JQ(null===(n=A.props)||void 0===n?void 0:n.className,F&&(u=e.openClassName,void 0!==u?u:"".concat(f,"-open"))),ref:Hs(A)?Us(U,A.ref):void 0}),(c=x)||-1===P.indexOf("contextMenu")||(c=["click"]),fQ.createElement(r2,ma({builtinPlacements:w},T,{prefixCls:f,ref:L,popupClassName:JQ(D,Di({},"".concat(f,"-show-arrow"),d)),popupStyle:S,action:P,showAction:k,hideAction:c,popupPlacement:v,popupAlign:b,popupTransitionName:g,popupAnimation:h,popupVisible:F,stretch:s()?"minWidth":"",popup:a(),onPopupVisibleChange:r,onPopupClick:o,getPopupContainer:C}),l)}function Dp(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Sp(e){return Dp(u_.useContext(eR),e)}function Ep(e){var t=e.children,n=e.locked,r=Si(e,tR),o=u_.useContext(nR),i=Da((function(){return e=r,t=ka({},o),Object.keys(e).forEach((function(n){var r=e[n];void 0!==r&&(t[n]=r)})),t;var e,t}),[o,r],(function(e,t){return!(n||e[0]===t[0]&&Ia(e[1],t[1],!0))}));return u_.createElement(nR.Provider,{value:i},t)}function Op(){return u_.useContext(oR)}function Pp(e){var t=u_.useContext(iR);return u_.useMemo((function(){return void 0!==e?[].concat(wa(t),[e]):t}),[t,e])}function Ip(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t;return!!NZ(e)&&(n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null,o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||s&&a<0))}function Np(e,t){var n=function(e,t){var n=arguments.length>1&&void 0!==t&&t,r=wa(e.querySelectorAll("*")).filter((function(e){return Ip(e,n)}));return Ip(e,n)&&r.unshift(e),r}(e,!0);return n.filter((function(e){return t.has(e)}))}function Ap(e,t,n,r){var o,i,a,s=arguments.length>3&&void 0!==r?r:1;return e?(i=(o=Np(e,t)).length,a=o.findIndex((function(e){return n===e})),s<0?-1===a?a=i-1:a-=1:s>0&&(a+=1),o[a=(a+i)%i]):null}function Rp(e){var t,n=u_.useRef(e);return n.current=e,t=u_.useCallback((function(){var e,t,r,o;for(t=arguments.length,r=new Array(t),o=0;o1&&(i.motionAppear=!1),a=i.onVisibleChanged,i.onVisibleChanged=function(e){return _.current||e||r(!0),null==a?void 0:a(e)},n?null:u_.createElement(Ep,{mode:p,locked:!_.current},u_.createElement(GJ,ma({visible:o},i,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(m,"-hidden")}),(function(e){return u_.createElement(NR,{id:s,className:e.className,style:e.style},u)})))}function zp(e){var t=e.eventKey,n=e.children,r=Pp(t),o=Mp(n,r),i=Op();return u_.useEffect((function(){if(i)return i.registerPath(t,r),function(){i.unregisterPath(t,r)}}),[r]),u_.createElement(iR.Provider,{value:r},i?o:u_.createElement(LR,e,o))}function Wp(e){var t=e.children,n=Si(e,UR),r=Mp(t,Pp(n.eventKey));return Op()?r:u_.createElement(BR,Ys(n,["warnKey"]),r)}function Vp(e){var t=e.className,n=e.style,r=u_.useContext(nR).prefixCls;return Op()?null:u_.createElement("li",{className:JQ("".concat(r,"-item-divider"),t),style:n})}function Gp(e){return(e||[]).map((function(e,t){var n,r,o,i,a,s,l;return e&&"object"===ki(e)?(r=(n=e).label,o=n.children,i=n.key,a=n.type,s=Si(n,HR),l=null!=i?i:"tmp-".concat(t),o||"group"===a?u_.createElement("group"===a?Wp:zp,ma({key:l},s,{title:r}),Gp(o)):"divider"===a?u_.createElement(Vp,ma({key:l},s)):u_.createElement(i5,ma({key:l},s),r)):null})).filter((function(e){return e}))}function qp(e,t,n){var r=e;return t&&(r=Gp(t)),Mp(r,n)}function Xp(e){return(e||[]).map(((e,t)=>{if(e&&"object"==typeof e){const n=e,{label:r,children:o,key:i,type:a}=n,s=qR(n,["label","children","key","type"]),l=null!=i?i:`tmp-${t}`;return o||"group"===a?u_.createElement("group"===a?Wp:u5,Object.assign({key:l},s,{title:r}),Xp(o)):"divider"===a?u_.createElement(s5,Object.assign({key:l},s)):u_.createElement(c5,Object.assign({key:l},s),r)}return null})).filter((e=>e))}function Kp(e){return u_.useMemo((()=>e?Xp(e):e),[e])}function Yp(e){return Tl(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}function Qp(e){return e&&"object"==typeof e?e:{}}function Jp(e){var t=e.id,n=e.activeKey,r=e.animated,o=e.tabPosition,i=e.destroyInactiveTabPane,a=u_.useContext(p3),s=a.prefixCls,l=a.tabs,c=r.tabPane,u="".concat(s,"-tabpane");return u_.createElement("div",{className:JQ("".concat(s,"-content-holder"))},u_.createElement("div",{className:JQ("".concat(s,"-content"),"".concat(s,"-content-").concat(o),Di({},"".concat(s,"-content-animated"),c))},l.map((function(e){var o=e.key,a=e.forceRender,s=e.style,l=e.className,p=Si(e,YR),d=o===n;return u_.createElement(GJ,ma({key:o,visible:d,forceRender:a,removeOnLeave:!!i,leavedClassName:"".concat(u,"-hidden")},r.tabPaneMotion),(function(e,n){var r=e.style,i=e.className;return u_.createElement(KR,ma({},p,{prefixCls:u,id:t,tabKey:o,animated:c,active:d,style:ka(ka({},s),r),className:JQ(l,i),ref:n}))}))}))))}function Zp(e,t){var n=u_.useRef(e),r=za(u_.useState({}),2)[1];return[n.current,function(e){var o="function"==typeof e?e(n.current):e;o!==n.current&&t(o,n.current),n.current=o,r({})}]}function ed(e){var t=za(u_.useState(0),2),n=t[0],r=t[1],o=u_.useRef(0),i=u_.useRef();return i.current=e,qS((function(){var e;null===(e=i.current)||void 0===e||e.call(i)}),[n]),function(){o.current===n&&(o.current+=1,r(o.current))}}function td(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function nd(e){return String(e).replace(/"/g,rT)}function rd(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}function od(e,t){var n=e.editable,r=e.locale,o=e.style;return n&&!1!==n.showAdd?u_.createElement("button",{ref:t,type:"button",className:"".concat(e.prefixCls,"-nav-add"),style:o,"aria-label":(null==r?void 0:r.addAriaLabel)||"Add tab",onClick:function(e){n.onEdit("add",{event:e})}},n.addIcon||"+"):null}function id(e,t){function n(e){var t,n,r=l.filter((function(e){return!e.disabled})),o=r.findIndex((function(e){return e.key===E}))||0,i=r.length;for(t=0;tUe?Ue:e}function r(){u(Date.now())}function o(){window.clearTimeout(s.current)}function i(){lO.cancel(E.current)}var a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M=u_.useContext(p3),U=M.prefixCls,B=M.tabs,H=e.className,z=e.style,W=e.id,V=e.animated,G=e.activeKey,q=e.rtl,X=e.extra,K=e.editable,Y=e.locale,Q=e.tabPosition,J=e.tabBarGutter,Z=e.children,ee=e.onTabClick,te=e.onTabScroll,ne=u_.useRef(),re=u_.useRef(),oe=u_.useRef(),ie=u_.useRef(),ae=u_.useRef(),se=u_.useRef(),le=u_.useRef(),ce="top"===Q||"bottom"===Q,ue=za(Zp(0,(function(e,t){ce&&te&&te({direction:e>t?"left":"right"})})),2),pe=ue[0],de=ue[1],me=za(Zp(0,(function(e,t){!ce&&te&&te({direction:e>t?"top":"bottom"})})),2),fe=me[0],ge=me[1],he=za(u_.useState([0,0]),2),be=he[0],_e=he[1],ve=za(u_.useState([0,0]),2),ye=ve[0],we=ve[1],Ce=za(u_.useState([0,0]),2),ke=Ce[0],xe=Ce[1],De=za(u_.useState([0,0]),2),Se=De[0],Ee=De[1],Oe=(T=new Map,$=u_.useRef([]),j=za(u_.useState({}),2)[1],F=u_.useRef("function"==typeof T?T():T),L=ed((function(){var e=F.current;$.current.forEach((function(t){e=t(e)})),$.current=[],F.current=e,j({})})),[F.current,function(e){$.current.push(e),L()}]),Pe=za(Oe,2),Ie=Pe[1],Ne=function(e,t,n){return u_.useMemo((function(){var n,r,o,i,a,s,l=new Map,c=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||QR,u=c.left+c.width;for(r=0;ra?(o=n,g.current="x"):(o=r,g.current="y"),t(-o,-o)&&e.preventDefault()}},u_.useEffect((function(){function t(e){h.current.onTouchMove(e)}function n(e){h.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){h.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){h.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(ie,(function(e,t){function i(e,t){e((function(e){return n(e+t)}))}return!!je&&(ce?i(de,e):i(ge,t),o(),r(),!0)})),u_.useEffect((function(){return o(),c&&(s.current=window.setTimeout((function(){u(0)}),100)),o}),[c]),p=function(e,t,n,r,o,i,a){var s,l,c,u=a.tabs,p=a.tabPosition,d=a.rtl;return["top","bottom"].includes(p)?(s="width",l=d?"right":"left",c=Math.abs(n)):(s="height",l="top",c=-n),u_.useMemo((function(){var n,r,o,i,a,p;if(!u.length)return[0,0];for(r=n=u.length,o=0;oc+t){r=o-1;break}for(a=0,p=n-1;p>=0;p-=1)if((e.get(u[p].key)||nT)[l]=r?[0,0]:[a,r]}),[e,t,r,o,i,c,p,u.map((function(e){return e.key})).join("_"),d])}(Ne,Fe,ce?pe:fe,Re,Te,$e,ka(ka({},e),{},{tabs:B})),m=(d=za(p,2))[0],f=d[1],g=Il((function(e){var t,r,o=Ne.get(arguments.length>0&&void 0!==e?e:G)||{width:0,height:0,left:0,right:0,top:0};ce?(t=pe,q?o.rightpe+Fe&&(t=o.right+o.width-Fe):o.left<-pe?t=-o.left:o.left+o.width>-pe+Fe&&(t=-(o.left+o.width-Fe)),ge(0),de(n(t))):(r=fe,o.top<-fe?r=-o.top:o.top+o.height>-fe+Fe&&(r=-(o.top+o.height-Fe)),de(0),ge(n(r)))})),h={},"top"===Q||"bottom"===Q?h[q?"marginRight":"marginLeft"]=J:h.marginTop=J,b=B.map((function(e,t){var n=e.key;return u_.createElement(ad,{id:W,prefixCls:U,key:n,tab:e,style:0===t?void 0:h,closable:e.closable,editable:K,active:n===G,renderWrapper:Z,removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,onClick:function(e){ee(n,e)},onFocus:function(){g(n),r(),ie.current&&(q||(ie.current.scrollLeft=0),ie.current.scrollTop=0)}})})),_=function(){return Ie((function(){var e=new Map;return B.forEach((function(t){var n,r=t.key,o=null===(n=ae.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(nd(r),'"]'));o&&e.set(r,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})})),e}))},u_.useEffect((function(){_()}),[B.map((function(e){return e.key})).join("_")]),v=ed((function(){var e,t,n,r=iT(ne),o=iT(re),i=iT(oe);_e([r[0]-o[0]-i[0],r[1]-o[1]-i[1]]),e=iT(le),xe(e),t=iT(se),Ee(t),n=iT(ae),we([n[0]-e[0],n[1]-e[1]]),_()})),y=B.slice(0,m),w=B.slice(f+1),C=[].concat(wa(y),wa(w)),x=(k=za(u_.useState(),2))[0],D=k[1],S=Ne.get(G),E=u_.useRef(),u_.useEffect((function(){var e={};return S&&(ce?(q?e.right=S.right:e.left=S.left,e.width=S.width):(e.top=S.top,e.height=S.height)),i(),E.current=lO((function(){D(e)})),i}),[S,ce,q]),u_.useEffect((function(){g()}),[G,Me,Ue,td(S),td(Ne),ce]),u_.useEffect((function(){v()}),[q]),O=!!C.length,P="".concat(U,"-nav-wrap"),ce?q?(N=pe>0,I=pe!==Ue):(I=pe<0,N=pe!==Me):(A=fe<0,R=fe!==Me),u_.createElement(rO,{onResize:v},u_.createElement("div",{ref:Bs(t,ne),role:"tablist",className:JQ("".concat(U,"-nav"),H),style:z,onKeyDown:function(){r()}},u_.createElement(oT,{ref:re,position:"left",extra:X,prefixCls:U}),u_.createElement("div",{className:JQ(P,(a={},Di(a,"".concat(P,"-ping-left"),I),Di(a,"".concat(P,"-ping-right"),N),Di(a,"".concat(P,"-ping-top"),A),Di(a,"".concat(P,"-ping-bottom"),R),a)),ref:ie},u_.createElement(rO,{onResize:v},u_.createElement("div",{ref:ae,className:"".concat(U,"-nav-list"),style:{transform:"translate(".concat(pe,"px, ").concat(fe,"px)"),transition:c?"none":void 0}},b,u_.createElement(d3,{ref:le,prefixCls:U,locale:Y,editable:K,style:ka(ka({},0===b.length?void 0:h),{},{visibility:O?"hidden":null})}),u_.createElement("div",{className:JQ("".concat(U,"-ink-bar"),Di({},"".concat(U,"-ink-bar-animated"),V.inkBar)),style:x})))),u_.createElement(m3,ma({},e,{removeAriaLabel:null==Y?void 0:Y.removeAriaLabel,ref:se,prefixCls:U,tabs:C,className:!O&&Le,tabMoving:!!c})),u_.createElement(oT,{ref:oe,position:"right",extra:X,prefixCls:U})))}function ld(e){var t=e.renderTabBar,n=Si(e,sT),r=u_.useContext(p3).tabs;return t?t(ka(ka({},n),{},{panes:r.map((function(e){var t=e.label,n=e.key,r=Si(e,lT);return u_.createElement(KR,ma({tab:t,key:n,tabKey:n},r))}))}),f3):u_.createElement(f3,n)}function cd(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f=e.id,g=e.prefixCls,h=void 0===g?"rc-tabs":g,b=e.className,_=e.items,v=e.direction,y=e.activeKey,w=e.defaultActiveKey,C=e.editable,k=e.animated,x=e.tabPosition,D=void 0===x?"top":x,S=e.tabBarGutter,E=e.tabBarStyle,O=e.tabBarExtraContent,P=e.locale,I=e.moreIcon,N=e.moreTransitionName,A=e.destroyInactiveTabPane,R=e.renderTabBar,T=e.onChange,$=e.onTabClick,j=e.onTabScroll,F=e.getPopupContainer,L=e.popupClassName,M=Si(e,cT),U=u_.useMemo((function(){return(_||[]).filter((function(e){return e&&"object"===ki(e)&&"key"in e}))}),[_]),B="rtl"===v,H=function(e){var t,n=arguments.length>0&&void 0!==e?e:{inkBar:!0,tabPane:!1};return(t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!1}:ka({inkBar:!0},"object"===ki(n)?n:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(k),z=za(u_.useState(!1),2),W=z[0],V=z[1];return u_.useEffect((function(){V(n2())}),[]),r=za(Rl((function(){var e;return null===(e=U[0])||void 0===e?void 0:e.key}),{value:y,defaultValue:w}),2),o=r[0],i=r[1],a=za(u_.useState((function(){return U.findIndex((function(e){return e.key===o}))})),2),s=a[0],l=a[1],u_.useEffect((function(){var e,t=U.findIndex((function(e){return e.key===o}));-1===t&&(t=Math.max(0,Math.min(s,U.length-1)),i(null===(e=U[t])||void 0===e?void 0:e.key)),l(t)}),[U.map((function(e){return e.key})).join("_"),o,s]),u=(c=za(Rl(null,{value:f}),2))[0],p=c[1],u_.useEffect((function(){f||(p("rc-tabs-".concat(uT)),uT+=1)}),[]),m=ka(ka({},d={id:u,activeKey:o,animated:H,tabPosition:D,rtl:B,mobile:W}),{},{editable:C,locale:P,moreIcon:I,moreTransitionName:N,tabBarGutter:S,onTabClick:function(e,t){null==$||$(e,t);var n=e!==o;i(e),n&&(null==T||T(e))},onTabScroll:j,extra:O,style:E,panes:null,getPopupContainer:F,popupClassName:L}),u_.createElement(p3.Provider,{value:{tabs:U,prefixCls:h}},u_.createElement("div",ma({ref:t,id:f,className:JQ(h,"".concat(h,"-").concat(D),(n={},Di(n,"".concat(h,"-mobile"),W),Di(n,"".concat(h,"-editable"),C),Di(n,"".concat(h,"-rtl"),B),n),b)},M),void 0,u_.createElement(ld,ma({},m,{renderTabBar:R})),u_.createElement(Jp,ma({destroyInactiveTabPane:A},d,{animated:H}))))}function ud(e,t){const[n,r]=u_.useState("string"==typeof e?e:"");return u_.useEffect((()=>{(()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;nNumber.MAX_SAFE_INTEGER)return String(dd()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e3&&void 0!==r&&r;return""===e?"":(i=(o=fd(e)).negativeStr,a=o.integerStr,s=o.decimalStr,l="".concat(t).concat(s),c="".concat(i).concat(a),n>=0?(u=Number(s[n]))>=5&&!p?yd(vd(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,p):0===n?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n)):".0"===l?c:"".concat(c).concat(l))}function wd(e){return!(!e.addonBefore&&!e.addonAfter)}function Cd(e){return!!(e.prefix||e.suffix||e.allowClear)}function kd(e,t,n,r){var o,i;if(n)return o=t,"click"===t.type?(i=e.cloneNode(!0),o=Object.create(t,{target:{value:i},currentTarget:{value:i}}),i.value="",void n(o)):void 0!==r?(o=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,void n(o)):void n(o)}function xd(e,t){var n,r;if(e&&(e.focus(t),n=(t||{}).cursor))switch(r=e.value.length,n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}function Dd(e){return null==e?"":String(e)}function Sd(e){var t,n,r,o,i,a,s,l=e.prefixCls,c=e.upNode,u=e.downNode,p=e.upDisabled,d=e.downDisabled,m=e.onStep,f=u_.useRef(),g=u_.useRef([]),h=u_.useRef();return h.current=m,t=function(){clearTimeout(f.current)},n=function(e,n){e.preventDefault(),t(),h.current(n),f.current=setTimeout((function e(){h.current(n),f.current=setTimeout(e,PT)}),IT)},u_.useEffect((function(){return function(){t(),g.current.forEach((function(e){return lO.cancel(e)}))}}),[]),OT()?null:(r="".concat(l,"-handler"),o=JQ(r,"".concat(r,"-up"),Di({},"".concat(r,"-up-disabled"),p)),i=JQ(r,"".concat(r,"-down"),Di({},"".concat(r,"-down-disabled"),d)),s={unselectable:"on",role:"button",onMouseUp:a=function(){return g.current.push(lO(t))},onMouseLeave:a},u_.createElement("div",{className:"".concat(r,"-wrap")},u_.createElement("span",ma({},s,{onMouseDown:function(e){n(e,!0)},"aria-label":"Increase Value","aria-disabled":p,className:o}),c||u_.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-up-inner")})),u_.createElement("span",ma({},s,{onMouseDown:function(e){n(e,!1)},"aria-label":"Decrease Value","aria-disabled":d,className:i}),u||u_.createElement("span",{unselectable:"on",className:"".concat(l,"-handler-down-inner")}))))}function Ed(e){var t="number"==typeof e?bd(e):fd(e).fullStr;return t.includes(".")?fd(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}function Od(e,t){const n=u_.useRef([]),r=()=>{n.current.push(setTimeout((()=>{var t,n,r,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return u_.useEffect((()=>(t&&r(),()=>n.current.forEach((e=>{e&&clearTimeout(e)})))),[]),r}function Pd(e,t){return wa(e||"").slice(0,t).join("")}function Id(e,t,n,r){var o=n;return e?o=Pd(n,r):wa(t||"").lengthr&&(o=t),o}function Nd(e){return"string"==typeof e&&String(Number(e))===e?(Pa(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}function Ad(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v=e.prefixCls,y=e.open,w=e.placement,C=e.inline,k=e.push,x=e.forceRender,D=e.autoFocus,S=e.keyboard,E=e.rootClassName,O=e.rootStyle,P=e.zIndex,I=e.className,N=e.style,A=e.motion,R=e.width,T=e.height,$=e.children,j=e.contentWrapperStyle,F=e.mask,L=e.maskClosable,M=e.maskMotion,U=e.maskClassName,B=e.maskStyle,H=e.afterOpenChange,z=e.onClose,W=e.onMouseEnter,V=e.onMouseOver,G=e.onMouseLeave,q=e.onClick,X=e.onKeyDown,K=e.onKeyUp,Y=u_.useRef(),Q=u_.useRef(),J=u_.useRef();if(u_.useImperativeHandle(t,(function(){return Y.current})),a=function(e){var t,n,r=e.keyCode,o=e.shiftKey;switch(r){case rI.TAB:r===rI.TAB&&(o||document.activeElement!==J.current?o&&document.activeElement===Q.current&&(null===(n=J.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=Q.current)||void 0===t||t.focus({preventScroll:!0}));break;case rI.ESC:z&&S&&(e.stopPropagation(),z(e))}},u_.useEffect((function(){var e;y&&D&&(null===(e=Y.current)||void 0===e||e.focus({preventScroll:!0}))}),[y]),l=(s=za(u_.useState(!1),2))[0],c=s[1],u=u_.useContext(KT),p=null!==(n=null!==(r=null===(o=!1===k?{distance:0}:!0===k?{}:k||{})||void 0===o?void 0:o.distance)&&void 0!==r?r:null==u?void 0:u.pushDistance)&&void 0!==n?n:180,d=u_.useMemo((function(){return{pushDistance:p,push:function(){c(!0)},pull:function(){c(!1)}}}),[p]),u_.useEffect((function(){var e,t;y?null==u||null===(e=u.push)||void 0===e||e.call(u):null==u||null===(t=u.pull)||void 0===t||t.call(u)}),[y]),u_.useEffect((function(){return function(){var e;null==u||null===(e=u.pull)||void 0===e||e.call(u)}}),[]),m=F&&u_.createElement(GJ,ma({key:"mask"},M,{visible:y}),(function(e,t){var n=e.className,r=e.style;return u_.createElement("div",{className:JQ("".concat(v,"-mask"),n,U),style:ka(ka({},r),B),onClick:L&&y?z:void 0,ref:t})})),f="function"==typeof A?A(w):A,g={},l&&p)switch(w){case"top":g.transform="translateY(".concat(p,"px)");break;case"bottom":g.transform="translateY(".concat(-p,"px)");break;case"left":g.transform="translateX(".concat(p,"px)");break;default:g.transform="translateX(".concat(-p,"px)")}return"left"===w||"right"===w?g.width=Nd(R):g.height=Nd(T),h={onMouseEnter:W,onMouseOver:V,onMouseLeave:G,onClick:q,onKeyDown:X,onKeyUp:K},b=u_.createElement(GJ,ma({key:"panel"},f,{visible:y,forceRender:x,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(v,"-content-wrapper-hidden")}),(function(t,n){var r=t.className,o=t.style;return u_.createElement("div",ma({className:JQ("".concat(v,"-content-wrapper"),r),style:ka(ka(ka({},g),o),j)},ic(e,{data:!0})),u_.createElement(YT,ma({containerRef:n,prefixCls:v,className:I,style:N},h),$))})),_=ka({},O),P&&(_.zIndex=P),u_.createElement(KT.Provider,{value:d},u_.createElement("div",{className:JQ(v,"".concat(v,"-").concat(w),E,(i={},Di(i,"".concat(v,"-open"),y),Di(i,"".concat(v,"-inline"),C),i)),style:_,tabIndex:-1,ref:Y,onKeyDown:a},m,u_.createElement("div",{tabIndex:0,ref:Q,style:QT,"aria-hidden":"true","data-sentinel":"start"}),b,u_.createElement("div",{tabIndex:0,ref:J,style:QT,"aria-hidden":"true","data-sentinel":"end"})))}function Rd(e){const[t,n]=u_.useState(e);return u_.useEffect((()=>{const t=setTimeout((()=>{n(e)}),e.length?0:10);return()=>{clearTimeout(t)}}),[e]),t}function Td(e,t,n,r){return{key:"string"==typeof e?e:`${t}-${arguments.length>3&&void 0!==r?r:0}`,error:e,errorStatus:n}}function $d(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function jd(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:V4.includes(n)?`${G4}_${n}`:n}function Fd(e){return $d(e).join("_")}function Ld(e){const[t]=gu(),n=u_.useRef({}),r=u_.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const r=Fd(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e,t){let n=arguments.length>1&&void 0!==t?t:{};const o=jd($d(e),r.__INTERNAL__.name),i=o?document.getElementById(o):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(yZ(e,t));var n;const r="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:o,top:i,left:a}of yZ(e,wZ(t)))o.scroll({top:i,left:a,behavior:r})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},n))},getFieldInstance:e=>{const t=Fd(e);return n.current[t]}})),[e,t]);return[r]}function Md(e){const{prefixCls:t,className:n,rootClassName:r,style:o,help:i,errors:a,warnings:s,validateStatus:l,meta:c,hasFeedback:u,hidden:p,children:d,fieldId:m,required:f,isRequired:g,onSubItemMetaChange:h}=e,b=o$(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),_=`${t}-item`,{requiredMark:v}=u_.useContext(j0),y=u_.useRef(null),w=Rd(a),C=Rd(s),k=null!=i,x=!!(k||a.length||s.length),D=!!y.current&&NZ(y.current),[S,E]=u_.useState(null);GS((()=>{if(x&&y.current){const e=getComputedStyle(y.current);E(parseInt(e.marginBottom,10))}}),[x,D]);const O=function(e){let t=arguments.length>0&&void 0!==e&&e,n="";return void 0!==l?n=l:c.validating?n="validating":(t?w:c.errors).length?n="error":(t?C:c.warnings).length?n="warning":(c.touched||u&&c.validated)&&(n="success"),n}(),P=u_.useMemo((()=>{let e;if(u){const t=O&&t8[O];e=t?u_.createElement("span",{className:JQ(`${_}-feedback-icon`,`${_}-feedback-icon-${O}`)},u_.createElement(t,null)):null}return{status:O,errors:a,warnings:s,hasFeedback:u,feedbackIcon:e,isFormItemInput:!0}}),[O,u]),I=JQ(_,n,r,{[`${_}-with-help`]:k||w.length||C.length,[`${_}-has-feedback`]:O&&u,[`${_}-has-success`]:"success"===O,[`${_}-has-warning`]:"warning"===O,[`${_}-has-error`]:"error"===O,[`${_}-is-validating`]:"validating"===O,[`${_}-hidden`]:p});return u_.createElement("div",{className:I,style:o,ref:y},u_.createElement(j3,Object.assign({className:`${_}-row`},Ys(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),u_.createElement(e8,Object.assign({htmlFor:m},e,{requiredMark:v,required:null!=f?f:g,prefixCls:t})),u_.createElement(Q4,Object.assign({},e,c,{errors:w,warnings:C,prefixCls:t,status:O,help:i,marginBottom:S,onErrorVisibleChanged:e=>{e||E(null)}}),u_.createElement(F0.Provider,{value:h},u_.createElement(U0.Provider,{value:P},d)))),!!S&&u_.createElement("div",{className:`${_}-margin-offset`,style:{marginBottom:-S}}))}function Ud(){const{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:i}=c8,a=null!=e?e:JJ().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,duration:n,rtl:r,maxCount:o,top:i}}function Bd(){if(!a8){const e=document.createDocumentFragment(),t={fragment:e};return a8=t,void s8((()=>{hc(u_.createElement(u8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Bd())}))}}),e)}))}a8.instance&&(l8.forEach((e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":s8((()=>{const t=a8.instance.open(Object.assign(Object.assign({},c8),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)}));break;case"destroy":s8((()=>{null==a8||a8.instance.destroy(e.key)}));break;default:s8((()=>{var n;const r=(n=a8.instance)[t].apply(n,wa(e.args));null==r||r.then(e.resolve),e.setCloseFn(r)}))}})),l8=[])}function Hd(e){return wu(Cu(e))}function zd(){const{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=y8,a=null!=e?e:JJ().getPrefixCls("notification"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,rtl:n,maxCount:r,top:o,bottom:i}}function Wd(){if(!b8){const e=document.createDocumentFragment(),t={fragment:e};return b8=t,void _8((()=>{hc(u_.createElement(w8,{ref:e=>{const{instance:n,sync:r}=e||{};Promise.resolve().then((()=>{!t.instance&&n&&(t.instance=n,t.sync=r,Wd())}))}}),e)}))}b8.instance&&(v8.forEach((e=>{switch(e.type){case"open":_8((()=>{b8.instance.open(Object.assign(Object.assign({},y8),e.config))}));break;case"destroy":_8((()=>{null==b8||b8.instance.destroy(e.key)}))}})),v8=[])}function Vd(e){v8.push({type:"open",config:e}),Wd()}function Gd(e){var t,n,r=e.prefixCls,o=e.containerRef,i=e.value,a=e.getValueIndex,s=e.motionName,l=e.onMotionStart,c=e.onMotionEnd,u=e.direction,p=u_.useRef(null),d=za(u_.useState(i),2),m=d[0],f=d[1],g=function(e){var t,n=a(e),i=null===(t=o.current)||void 0===t?void 0:t.querySelectorAll(".".concat(r,"-item"))[n];return(null==i?void 0:i.offsetParent)&&i},h=za(u_.useState(null),2),b=h[0],_=h[1],v=za(u_.useState(null),2),y=v[0],w=v[1];return GS((function(){var e,t,n,r;m!==i&&(e=g(m),t=g(i),n=s$(e),r=s$(t),f(i),_(n),w(r),e&&t?l():c())}),[i]),t=u_.useMemo((function(){return l$("rtl"===u?-(null==b?void 0:b.right):null==b?void 0:b.left)}),[u,b]),n=u_.useMemo((function(){return l$("rtl"===u?-(null==y?void 0:y.right):null==y?void 0:y.left)}),[u,y]),b&&y?u_.createElement(GJ,{visible:!0,motionName:s,motionAppear:!0,onAppearStart:function(){return{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},onAppearActive:function(){return{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},onVisibleChanged:function(){_(null),w(null),c()}},(function(e,o){var i=e.className,a=ka(ka({},e.style),{},{"--thumb-start-left":t,"--thumb-start-width":l$(null==b?void 0:b.width),"--thumb-active-left":n,"--thumb-active-width":l$(null==y?void 0:y.width)}),s={ref:Us(p,o),style:a,className:JQ("".concat(r,"-thumb"),i)};return u_.createElement("div",s)})):null}function qd(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Xd(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}function Kd(e,t,n){return(e-t)/(n-t)}function Yd(e,t,n,r){var o=Kd(t,n,r),i={};switch(e){case"rtl":i.right="".concat(100*o,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(100*o,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(100*o,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(100*o,"%"),i.transform="translateX(-50%)"}return i}function Qd(e,t){return Array.isArray(e)?e[t]:e}function Jd(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function Zd(e){var t=e.prefixCls,n=e.style,r=e.start,o=e.end,i=e.index,a=e.onStartMove,s=u_.useContext(m$),l=s.direction,c=s.min,u=s.max,p=s.disabled,d=s.range,m="".concat(t,"-track"),f=Kd(r,c,u),g=Kd(o,c,u),h=function(e){!p&&a&&a(e,-1)},b={};switch(l){case"rtl":b.right="".concat(100*f,"%"),b.width="".concat(100*g-100*f,"%");break;case"btt":b.bottom="".concat(100*f,"%"),b.height="".concat(100*g-100*f,"%");break;case"ttb":b.top="".concat(100*f,"%"),b.height="".concat(100*g-100*f,"%");break;default:b.left="".concat(100*f,"%"),b.width="".concat(100*g-100*f,"%")}return u_.createElement("div",{className:JQ(m,d&&"".concat(m,"-").concat(i+1)),style:ka(ka({},b),n),onMouseDown:h,onTouchStart:h})}function em(e){var t=e.prefixCls,n=e.style,r=e.values,o=e.startPoint,i=e.onStartMove,a=u_.useContext(m$),s=a.included,l=a.range,c=a.min,u=u_.useMemo((function(){var e,t,n,i;if(!l)return 0===r.length?[]:(e=null!=o?o:c,t=r[0],[{start:Math.min(e,t),end:Math.max(e,t)}]);for(n=[],i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&(t=e.shift(),e[0]=t+e[0]),e[0]=e[0].match(/^file:\/\/\//)?e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0].replace(/^([^/:]+):\/*/,"$1://"),n=0;n0&&(r=r.replace(/^[\/]+/,"")),r=r.replace(/[\/]+$/,n0?"?":"")+o.join("&")}("object"==typeof e?e:[].slice.call(arguments))}function Tm(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function $m(e){var t,n;for(t=1;t=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a),r(s+(u=n-i/2),l+u,c+u))}function Bm(e){var t,n,r,o,i,a,s,l,c,u,p;if("string"!=typeof e)throw new DF(3);if(t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return SF[t]?"#"+SF[t]:e}(e),t.match(EF))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(OF))return n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n};if(t.match(PF))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(IF))return r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2)),{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r};if(o=NF.exec(t))return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};if(i=AF.exec(t.substring(0,50)))return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};if(a=RF.exec(t)){if(s="rgb("+Um(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",!(l=NF.exec(s)))throw new DF(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}if(c=TF.exec(t.substring(0,50))){if(u="rgb("+Um(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",!(p=NF.exec(u)))throw new DF(4,t,u);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new DF(5)}function Hm(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function zm(e){return Hm(Math.round(255*e))}function Wm(e,t,n){return $F("#"+zm(e)+zm(t)+zm(n))}function Vm(e,t,n){return Um(e,t,n,Wm)}function Gm(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return $F("#"+Hm(e)+Hm(t)+Hm(n));if("object"==typeof e&&void 0===t&&void 0===n)return $F("#"+Hm(e.red)+Hm(e.green)+Hm(e.blue));throw new DF(6)}function qm(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=Bm(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?Gm(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?Gm(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new DF(7)}function Xm(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Xm(e,t,r)}}function Km(e){return Xm(e,e.length,[])}function Ym(e,t){if("transparent"===t)return t;var n=function(e){return function(e){var t,n,r,o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;if(s===l)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};switch(n=s-l,r=c>.5?n/(2-s-l):n/(s+l),s){case o:t=(i-a)/n+(i=1?Vm(e.hue,e.saturation,e.lightness):"rgba("+Um(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new DF(2)}(e);if(LF(e))return function(e){if("object"==typeof e)return Vm(e.hue,e.saturation,e.lightness);throw new DF(1)}(e);throw new DF(8)}(ma({},n,{hue:n.hue+parseFloat(e)}))}function Qm(e){var t,n;return"transparent"===e?0:(t=Bm(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),parseFloat((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3)))}function Jm(e,t,n,r){var o,i,a,s,l;return void 0===t&&(t=BF),void 0===n&&(n=HF),void 0===r&&(r=!0),i=(o=Qm(e)>.179)?t:n,!r||(a=i,s=Qm(e),l=Qm(a),parseFloat((s>l?(s+.05)/(l+.05):(l+.05)/(s+.05)).toFixed(2))>=4.5)?i:o?BF:HF}function Zm(e,t){var n,r,o,i,a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;n=a.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=n.next()).done;)o.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return o}function ef(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return o=!0,i=!1,{s:function(){s=s.call(e)},n:function(){var e=s.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==s.return||s.return()}finally{if(i)throw a}}}}function ag(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n52;t=t/52|0)n=nG(t%52)+n;return(nG(t%52)+n).replace(tG,"$1-$2")}function hg(e){return"string"==typeof e&&!0}function bg(e){return("type"in(t=e)&&t.type.$$typeof)===sG?pG:"$$typeof"in e?dG[e.$$typeof]:cG;var t}function _g(e,t,n){var r,o,i,a,s,l,c;if("string"!=typeof t)for(_G&&(r=bG(t))&&r!==_G&&_g(e,r,n),o=fG(t),gG&&(o=o.concat(gG(t))),i=bg(e),a=bg(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}function Eg(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Eg(e.children,t)),e}))}function Og(){return u_.useContext(UG)}function Pg(e){var t,n,r;for(t="",n=0;n>>0)}("6.0.7"+m+XG[m])),p?"".concat(p,"-").concat(d):d):v;return void 0===t.displayName&&function(e){hg(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e),r=t.displayName&&t.componentId?"".concat(fg(t.displayName),"-").concat(t.componentId):t.componentId||y,o=f&&g.attrs?g.attrs.concat(_).filter(Boolean):_,i=t.shouldForwardProp,f&&g.shouldForwardProp&&(a=g.shouldForwardProp,t.shouldForwardProp?(s=t.shouldForwardProp,i=function(e,t){return a(e,t)&&s(e,t)}):i=a),l=new GG(n,r,f?g.componentStyle:void 0),c=fQ.forwardRef((function(e,t){return function(e,t,n){var r,o,i,a,s,l,c=e.attrs,u=e.componentStyle,p=e.defaultProps,d=e.foldedComponentIds,m=e.styledComponentId,f=e.target,g=fQ.useContext(qG),h=Og(),b=e.shouldForwardProp||h.shouldForwardProp,_=function(e,t,n){var r,o,i,a,s;for(o=zF(zF({},t),{className:void 0,theme:n}),i=0;i{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,e7(e,r))}function Ug(e,t){function n(){return s.getFixedT(r.lng||null,"fallback"===l.nsMode?p:p[0],u)}let r=arguments.length>1&&void 0!==t?t:{};const{i18n:o}=r,{i18n:i,defaultNS:a}=u_.useContext(s7)||{},s=o||i||o7;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new l7),!s){Fg("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&Fg("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...i7,...s.options.react,...r},{useSuspense:c,keyPrefix:u}=l;let p=e||a||s.options&&s.options.defaultNS;p="string"==typeof p?[p]:p||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(p);const d=(s.isInitialized||s.initializedStoreOnce)&&p.every((e=>function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t,n){let r=arguments.length>2&&void 0!==n?n:{};const o=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;const s=(e,n)=>{const r=t.services.backendConnector.state[`${e}|${n}`];return-1===r||2===r};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(o,e)||i&&!s(a,e)))}(e,t,r):(Fg("i18n.languages were undefined or empty",t.languages),!0)}(e,s,l))),[m,f]=u_.useState(n);let g=p.join();r.lng&&(g=`${r.lng}${g}`);const h=(e=>{const t=u_.useRef();return u_.useEffect((()=>{t.current=e}),[e,void 0]),t.current})(g),b=u_.useRef(!0);u_.useEffect((()=>{function e(){b.current&&f(n)}const{bindI18n:t,bindI18nStore:o}=l;return b.current=!0,d||c||(r.lng?Mg(s,r.lng,p,(()=>{b.current&&f(n)})):Lg(s,p,(()=>{b.current&&f(n)}))),d&&h&&h!==g&&b.current&&f(n),t&&s&&s.on(t,e),o&&s&&s.store.on(o,e),()=>{b.current=!1,t&&s&&t.split(" ").forEach((t=>s.off(t,e))),o&&s&&o.split(" ").forEach((t=>s.store.off(t,e)))}}),[s,g]);const _=u_.useRef(!0);u_.useEffect((()=>{b.current&&!_.current&&f(n),_.current=!1}),[s,u]);const v=[m,s,d];if(v.t=m,v.i18n=s,v.ready=d,d)return v;if(!d&&!c)return v;throw new Promise((e=>{r.lng?Mg(s,r.lng,p,(()=>e())):Lg(s,p,(()=>e()))}))}function Bg(e){var t,n,r=this;if(r instanceof Bg||(r=new Bg),r.tail=null,r.head=null,r.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){r.push(e)}));else if(arguments.length>0)for(t=0,n=arguments.length;tthis.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!m(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&f(t[0])){this.set=[t];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const n=((this.options.includePrerelease&&p)|(this.options.loose&&d))+":"+e,i=t.get(n);if(i)return i;const f=this.options.loose;e=e.replace(f?a[s.HYPHENRANGELOOSE]:a[s.HYPHENRANGE],S(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[s.COMPARATORTRIM],l),o("comparator trim",e),e=e.replace(a[s.TILDETRIM],c),o("tilde trim",e),e=e.replace(a[s.CARETTRIM],u),o("caret trim",e);let g=e.split(" ").map((e=>h(e,this.options))).join(" ").split(/\s+/).map((e=>D(e,this.options)));f&&(g=g.filter((e=>(o("loose invalid filter",e,this.options),!!e.match(a[s.COMPARATORLOOSE]))))),o("range list",g);const b=new Map,_=g.map((e=>new r(e,this.options)));for(const t of _){if(m(t))return[t];b.set(t.value,t)}b.size>1&&b.has("")&&b.delete("");const v=[...b.values()];return t.set(n,v),v}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some((e=>g(e,n)&&t.set.some((t=>g(t,n)&&e.every((e=>t.every((t=>e.intersects(t,n)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new i(e,this.options)}catch(t){return!1}for(let n=0;n"<0.0.0-0"===e.value,f=e=>""===e.value,g=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},h=(e,t)=>(o("comp",e,t),e=y(e,t),o("caret",e),e=_(e,t),o("tildes",e),e=C(e,t),o("xrange",e),e=x(e,t),o("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,_=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>e.replace(t.loose?a[s.TILDELOOSE]:a[s.TILDE],((t,n,r,i,a)=>{let s;return o("tilde",e,t,n,r,i,a),b(n)?s="":b(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:b(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o("replaceTilde pr",a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o("tilde return",s),s})),y=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{o("caret",e,t);const n=t.includePrerelease?"-0":"";return e.replace(t.loose?a[s.CARETLOOSE]:a[s.CARET],((t,r,i,a,s)=>{let l;return o("caret",e,t,r,i,a,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(a)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(o("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${a}-${s} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a}-${s} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${a}${n} <${r}.${i}.${+a+1}-0`:`>=${r}.${i}.${a}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${a} <${+r+1}.0.0-0`),o("caret return",l),l}))},C=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map((e=>k(e,t))).join(" ")),k=(e,t)=>(e=e.trim()).replace(t.loose?a[s.XRANGELOOSE]:a[s.XRANGE],((n,r,i,a,s,l)=>{o("xRange",e,n,r,i,a,s,l);const c=b(i),u=c||b(a),p=u||b(s);return"="===r&&p&&(r=""),l=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(a=0),s=0,">"===r?(r=">=",u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):"<="===r&&(r="<",u?i=+i+1:a=+a+1),"<"===r&&(l="-0"),n=`${r+i}.${a}.${s}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),o("xRange return",n),n})),x=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[s.STAR],"")),D=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?s.GTE0PRE:s.GTE0],"")),S=e=>(t,n,r,o,i,a,s,l,c,u,p,d)=>`${n=b(r)?"":b(o)?`>=${r}.0.0${e?"-0":""}`:b(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${l}`}`.trim(),E=(e,t,n)=>{for(let r=0;r0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0};return Tq}function Wg(){if(Fq)return jq;Fq=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(r,o){if(o=n(o),r instanceof t){if(r.loose===!!o.loose)return r;r=r.value}r=r.trim().split(/\s+/).join(" "),a("comparator",r,o),this.options=o,this.loose=!!o.loose,this.parse(r),this.value=this.semver===e?"":this.operator+this.semver.version,a("comp",this)}parse(t){const n=t.match(this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR]);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),this.semver=n[2]?new s(n[2],this.options.loose):e}toString(){return this.value}test(t){if(a("Comparator.test",t,this.options.loose),this.semver===e||t===e)return!0;if("string"==typeof t)try{t=new s(t,this.options)}catch(n){return!1}return i(t,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new l(e.value,r).test(this.value):""===e.operator?""===e.value||new l(this.value,r).test(e.semver):!((r=n(r)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(i(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(i(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}jq=t;const n=oq,{safeRe:r,t:o}=rq,i=Oq,a=nq,s=aq,l=zg();return jq}function Vg(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}function Gg(e,t,n,r){function o(){d===p&&(d=p.slice())}function i(){if(m)throw new Error(Vg(3));return u}function a(e){if("function"!=typeof e)throw new Error(Vg(4));if(m)throw new Error(Vg(5));var t=!0;return o(),d.push(e),function(){if(t){if(m)throw new Error(Vg(6));t=!1,o();var n=d.indexOf(e);d.splice(n,1),p=null}}}function s(e){var t,n;if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(Vg(7));if(void 0===e.type)throw new Error(Vg(8));if(m)throw new Error(Vg(9));try{m=!0,u=c(u,e)}finally{m=!1}for(t=p=d,n=0;n=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}(t,a);if(null==l)return void e.dispatch(Mee);let c=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");!function(e){qg("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}(i),c=i(l)}e.dispatch(Kg(o,c));const u=s.getSource(l).beginDrag(a,l);if(null==u)return;!function(e){qg(Xg(e),"Item must be an object.")}(u),s.pinSource(l);const p=s.getSourceType(l);return{type:Tee,payload:{itemType:p,item:u,sourceId:l,clientOffset:o||null,sourceClientOffset:c||null,isSourcePublic:!!r}}}}function Qg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jg(e){var t,n,r;for(t=1;t{const a=function(e,t,n,r){const o=n.getTarget(e);let i=o?o.drop(r,e):void 0;return function(e){qg(void 0===e||Xg(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:r.getDropResult()),i}(o,i,r,n),s={type:Fee,payload:{dropResult:Jg({},t,a)}};e.dispatch(s)}))}}function eh(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){qg(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const r=t.getSourceId();return null!=r&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:Lee}}}function th(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function nh(e){return function(t,{clientOffset:n}={}){!function(e){qg(Array.isArray(e),"Expected targetIds to be an array.")}(t);const r=t.slice(0),o=e.getMonitor(),i=e.getRegistry();return function(e,t,n){for(let r=e.length-1;r>=0;r--)th(t.getTargetType(e[r]),n)||e.splice(r,1)}(r,i,o.getItemType()),function(e,t,n){qg(t.isDragging(),"Cannot call hover while not dragging."),qg(!t.didDrop(),"Cannot call hover after drop.");for(let r=0;rah(e,!1))):qg("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function sh(e){switch(e[0]){case"S":return cX.SOURCE;case"T":return cX.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function lh(e,t){const n=e.entries();let r=!1;do{const{done:e,value:[,o]}=n.next();if(o===t)return!0;r=!!e}while(!r);return!1}function ch(e=Bee,t){switch(t.type){case jee:break;case Yee:case Qee:case Zee:case Jee:return Bee;default:return Hee}const{targetIds:n=[],prevTargetIds:r=[]}=t.payload,o=function(e,t){const n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);const o=[];return n.forEach(((e,t)=>{1===e&&o.push(t)})),o}(n,r);if(!(o.length>0)&&function(e,t,n=nte){if(e.length!==t.length)return!1;for(let r=0;re!==o)))});case Fee:return mh({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case Lee:return mh({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}var r,o}function gh(e=0,t){switch(t.type){case Yee:case Qee:return e+1;case Jee:case Zee:return e-1;default:return e}}function hh(e=0){return e+1}function bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _h(e){var t,n,r;for(t=1;te&&e[t]?e[t]:r||null),n))})}),dragOffset:ph(e.dragOffset,t),refCount:gh(e.refCount,t),dragOperation:fh(e.dragOperation,t),stateId:hh(e.stateId)};var n,r}function yh(e,t,n={},r=!1){const o=function(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return Gg(vh,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}(r),i=new zee(o,new tte(o)),a=new Uee(o,i),s=e(a,t,n);return a.receiveBackend(s),a}function wh(){return"undefined"!=typeof global?global:window}function Ch(e,t,n){const[r,o]=u_.useState((()=>t(e))),i=u_.useCallback((()=>{const i=t(e);E6(r,i)||(o(i),n&&n())}),[r,e,n]);return lte(i),[r,i]}function kh(e,t,n){return function(e,t){const[r,o]=Ch(e,t,(()=>n.reconnect()));return lte((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(o,{handlerIds:[t]})}),[e,o]),r}(t,e||(()=>({})))}function xh(e,t){const n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),u_.useMemo((()=>"function"==typeof e?e():e),n)}function Dh(e){return u_.useMemo((()=>e.hooks.dragSource()),[e])}function Sh(e){return u_.useMemo((()=>e.hooks.dragPreview()),[e])}function Eh(e,t,n,r){let o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let l=0;l{const r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{const e=function(e){return(t=null,n=null)=>{if(!u_.isValidElement(t)){const r=t;return e(r,n),r}const r=t;return function(e){if("string"!=typeof e.type)throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e.type.displayName||e.type.name||"the component"} into a
, or turn it into a drag source or a drop target itself.`)}(r),function(e,t){const n=e.ref;return qg("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),u_.cloneElement(e,n?{ref:e=>{Ih(n,e),Ih(t,e)}}:{ref:t})}(r,n?t=>e(t,n):e)}}(r);t[n]=()=>e}})),t}function Ih(e,t){"function"==typeof e?e(t):e.current=t}function Nh(){const{dragDropManager:e}=u_.useContext(Aee);return qg(null!=e,"Expected drag drop context"),e}function Ah(e){return u_.useMemo((()=>e.hooks.dropTarget()),[e])}function Rh(e){let t=null;return()=>(null==t&&(t=e()),t)}function Th(e,t,n){const r=t.reduce(((t,n)=>t||e.getData(n)),"");return null!=r?r:n}function $h(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(Ste).filter((e=>{const n=Ste[e];return!!(null==n?void 0:n.matchesTypes)&&n.matchesTypes.some((e=>t.indexOf(e)>-1))}))[0]||null}function jh(e){const t=e.nodeType===Ite?e:e.parentElement;if(!t)return null;const{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function Fh(e){return{x:e.clientX,y:e.clientY}}function Lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mh(e){var t,n,r;for(t=1;tNumber(e)-Number(t))).map((t=>e[t])):e}function tb(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function nb(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function rb(e){const t=(e=tb(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function ob(e,t){Qh((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),r[e=e.replace(/\[]$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),r[e=e.replace(/:list$/,"")]=t?void 0!==r[e]?[...r[e],n]:[n]:n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&Zh(n,e).includes(e.arrayFormatSeparator);n=i?Zh(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>Zh(t,e))):null===n?n:Zh(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!o)return void(r[t]=n?Zh(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>Zh(t,e)));r[t]=void 0!==r[t]?[...r[t],...i]:i};default:return(e,t,n)=>{n[e]=void 0!==n[e]?[...[n[e]].flat(),t]:t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;const e=t.decode?o.replace(/\+/g," "):o;let[i,a]=Kh(e,"=");void 0===i&&(i=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:Zh(a,t),n(Zh(i,t),a,r)}for(const[o,i]of Object.entries(r))if("object"==typeof i&&null!==i)for(const[e,n]of Object.entries(i))i[e]=nb(n,t);else r[o]=nb(i,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?eb(n):n,e}),Object.create(null))}function ib(e,t){if(!e)return"";Qh((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&ane(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Jh(t,e),"[",o,"]"].join("")]:[...n,[Jh(t,e),"[",Jh(o,e),"]=",Jh(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Jh(t,e),"[]"].join("")]:[...n,[Jh(t,e),"[]=",Jh(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Jh(t,e),":list="].join("")]:[...n,[Jh(t,e),":list=",Jh(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[Jh(n,e),t,Jh(o,e)].join("")]:[[r,Jh(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,Jh(t,e)]:[...n,[Jh(t,e),"=",Jh(r,e)].join("")]}}(t),o={};for(const[a,s]of Object.entries(e))n(a)||(o[a]=s);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?Jh(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?Jh(n,t)+"[]":o.reduce(r(n),[]).join("&"):Jh(n,t)+"="+Jh(o,t)})).filter((e=>e.length>0)).join("&")}function ab(e,t){var n;t={decode:!0,...t};let[r,o]=Kh(e,"#");return void 0===r&&(r=e),{url:(null==(n=null==r?void 0:r.split("?"))?void 0:n[0])??"",query:ob(rb(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:Zh(o,t)}:{}}}function sb(e,t){t={encode:!0,strict:!0,[lne]:!0,...t};const n=tb(e.url).split("?")[0]||"";let r=ib({...ob(rb(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let o=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,o=t[lne]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${o}`}function lb(e,t,n){n={parseFragmentIdentifier:!0,[lne]:!1,...n};const{url:r,query:o,fragmentIdentifier:i}=ab(e,n);return sb({url:r,query:Yh(o,t),fragmentIdentifier:i},n)}function cb(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}function ub(e){return null==e?"":""+e}function pb(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};const t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function db(e,t,n){const{obj:r,k:o}=pb(e,t,Object);r[o]=n}function mb(e,t){const{obj:n,k:r}=pb(e,t);if(n)return n[r]}function fb(e,t,n){for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):fb(e[r],t[r],n):e[r]=t[r]);return e}function gb(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function hb(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>wK[e])):e}function bb(e,t,n){let r=arguments.length>2&&void 0!==n?n:".";if(!e)return;if(e[t])return e[t];const o=t.split(r);let i=e;for(let a=0;aa+e;)e++,n=o.slice(a,a+e).join(r),s=i[n];if(void 0===s)return;if(null===s)return null;if(t.endsWith(n)){if("string"==typeof s)return s;if(n&&"string"==typeof s[n])return s[n]}const l=o.slice(a+e).join(r);return l?bb(s,l,r):void 0}i=i[o[a]]}return i}function _b(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}function vb(e){return e.charAt(0).toUpperCase()+e.slice(1)}function yb(e,t,n,r,o){let i=arguments.length>3&&void 0!==r?r:".",a=!(arguments.length>4&&void 0!==o)||o,s=function(e,t,n){const r=mb(e,n);return void 0!==r?r:mb(t,n)}(e,t,n);return!s&&a&&"string"==typeof n&&(s=bb(e,n,i),void 0===s&&(s=bb(t,n,i))),s}function wb(e){const t={};return function(n,r,o){const i=r+JSON.stringify(o);let a=t[i];return a||(a=e(_b(r),o),t[i]=a),a(n)}}function Cb(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function kb(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function xb(){}function Db(e){return(Db="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})(e)}function Sb(e){return xK.call(DK.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}function Eb(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":Db(XMLHttpRequest))}function Ob(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Pb(e){return(Pb="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})(e)}function Ib(e){return(Ib="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})(e)}function Nb(e){var t=function(e){var t,n;if("object"!==Ib(e)||null===e)return e;if(void 0!==(t=e[Symbol.toPrimitive])){if("object"!==Ib(n=t.call(e,"string")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ib(t)?t:String(t)}function Ab(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function Rb(e){return e.startsWith("./")?e.slice(2):e}function Tb(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function $b(...e){return e.map(Ab).map(Rb).join("/")}function jb(e){return 32===e||9===e}function Fb(e){return 10===e||13===e}function Lb(e){return e>=48&&e<=57}function Mb(e){return`${Fne}${e}`}async function Ub(e){const t=[],n=await async function(e){const t=Mb(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then((e=>e.text()))}(e);let r;try{r=JSON.parse(n)}catch(xY){if(r=jne(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return r}async function Bb(e){const t=Hb(await Ub(e));if(t.include){const n=await Bb($b(...Tb(e),t.include));n.settings&&(t.settings=n.settings.concat(t.settings)),n.bg&&!t.bg&&(t.bg=n.bg),n.colors&&(t.colors={...n.colors,...t.colors}),delete t.include}return t}function Hb(e){const t={name:e.name,type:e.type||"dark",...e,...zb(e)};var n;return e.include&&(t.include=e.include),e.tokenColors&&(t.settings=e.tokenColors,delete t.tokenColors),(n=t).settings||(n.settings=[]),n.settings[0]&&n.settings[0].settings&&!n.settings[0].scope||n.settings.unshift({settings:{foreground:n.fg,background:n.bg}}),t}function zb(e){var t,n,r,o;let i,a,s=e.settings?e.settings:e.tokenColors;const l=s?s.find((e=>!e.name&&!e.scope)):void 0;return(null==(t=null==l?void 0:l.settings)?void 0:t.foreground)&&(i=l.settings.foreground),(null==(n=null==l?void 0:l.settings)?void 0:n.background)&&(a=l.settings.background),!i&&(null==(r=null==e?void 0:e.colors)?void 0:r["editor.foreground"])&&(i=e.colors["editor.foreground"]),!a&&(null==(o=null==e?void 0:e.colors)?void 0:o["editor.background"])&&(a=e.colors["editor.background"]),i||(i="light"===e.type?Une.light:Une.dark),a||(a="light"===e.type?Bne.light:Bne.dark),{fg:i,bg:a}}function Wb(e,t){let n=[];for(let r=0,o=t.length;r=0&&i>=0;)Vb(t[o],r[i])&&o--,i--;return-1===o}function qb(e,t,n){let r=[],o=0;for(let i=0,a=e.settings.length;ie.trim()));else{if(!Array.isArray(s.scope))continue;a=s.scope}for(let e=0,i=a.length;eNumber.parseInt(e)));if(3!==t.length||t.some((e=>Number.isNaN(e))))return;return{type:"rgb",rgb:t}}if("5"===t){const t=e.shift();if(t)return{type:"table",index:Number(t)}}}function Yb(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(0===r)t.push({type:"resetAll"});else if(r<=9)JK[r]&&t.push({type:"setDecoration",value:JK[r]});else if(r<=29){const e=JK[r-20];e&&t.push({type:"resetDecoration",value:e})}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:QK[r-30]}});else if(38===r){const n=Kb(e);n&&t.push({type:"setForegroundColor",value:n})}else if(39===r)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:QK[r-40]}});else if(48===r){const n=Kb(e);n&&t.push({type:"setBackgroundColor",value:n})}else 49===r?t.push({type:"resetBackgroundColor"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:QK[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:QK[r-100+8]}})}return t}function Qb(e,t={}){function n(e="",t={},n){const r=i[e]||zne[e];return r?r({...t,children:(n=n.filter(Boolean)).join("code"===e?"\n":"")}):""}const r=t.bg||"#fff",o=function(e){const t=new Map;for(const n of e){const e=n.line;t.has(e)?t.get(e).push(n):t.set(e,[n])}return t}(t.lineOptions??[]),i=t.elements||{};return n("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${r}`},[t.langId?`
${t.langId}
`:"",n("code",{},e.map(((r,i)=>n("line",{className:function(e){const t=new Set(["line"]);for(const n of e)for(const e of n.classes??[])t.add(e);return Array.from(t)}(o.get(i+1)??[]).join(" "),lines:e,line:r,index:i},r.map(((e,o)=>{const i=[`color: ${e.color||t.fg}`];return e.fontStyle&VK.Italic&&i.push("font-style: italic"),e.fontStyle&VK.Bold&&i.push("font-weight: bold"),e.fontStyle&VK.Underline&&i.push("text-decoration: underline"),n("token",{style:i.join("; "),tokens:r,token:e,index:o},[(a=e.content,a.replace(/[&<>"']/g,(e=>Wne[e])))]);var a}))))))])}function Jb(e){return"string"==typeof e?Tne.find((t=>{var n;return t.id===e||(null==(n=t.aliases)?void 0:n.includes(e))})):e}async function Zb(e){function t(e){const t=e?u.getTheme(e):p;if(!t)throw Error(`No theme registration for ${e}`);d&&d.name===t.name||(u.setTheme(t),d=t);const n=u.getColorMap();return"css"===t.type&&function(e,t){e.bg=m[e.bg]||e.bg,e.fg=m[e.fg]||e.fg,Object.entries(e.colors).forEach((([t,n])=>{e.colors[t]=m[n]||n})),t.forEach(((e,n)=>{t[n]=m[e]||e}))}(t,n),{_theme:t,_colorMap:n}}function n(e,n="text",r,o={includeExplanation:!0}){if(function(e){return!e||["plaintext","txt","text"].includes(e)}(n))return[...e.split(/\r\n|\r|\n/).map((e=>[{content:e}]))];const{_grammar:i}=function(e){const t=u.getGrammar(e);if(!t)throw Error(`No language registration for ${e}`);return{_grammar:t}}(n),{_theme:a,_colorMap:s}=t(r);return function(e,t,n,r,o){let i=n.split(/\r\n|\r|\n/),a=WK.INITIAL,s=[],l=[];for(let c=0,u=i.length;cMath.max(0,Math.min(e,255)).toString(16).padStart(2,"0"))).join("")}`}let r;return{value:function(e){switch(e.type){case"named":return t(e.name);case"rgb":return n(e.rgb);case"table":return o=e.index,function(){if(r)return r;r=[];for(let n=0;n[t,e.colors[`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`]])))),o=function(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const a=Xb(r,i),s=a.sequence?r.substring(i,a.startPosition):r.substring(i);if(s.length>0&&o.push({value:s,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const r=Yb(a.sequence);for(const o of r)"resetAll"===o.type?(e=null,t=null,n.clear()):"resetForegroundColor"===o.type?e=null:"resetBackgroundColor"===o.type?t=null:"resetDecoration"===o.type&&n.delete(o.value);for(const o of r)"setForegroundColor"===o.type?e=o.value:"setBackgroundColor"===o.type?t=o.value:"setDecoration"===o.type&&n.add(o.value)}i=a.position}while(io.parse(t).map((t=>{let n;n=t.decorations.has("reverse")?t.background?r.value(t.background):e.bg:t.foreground?r.value(t.foreground):e.fg,t.decorations.has("dim")&&(n=function(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t){if(t[3]){const e=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${e}`}return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map((e=>`${e}${e}`)).join("")}80`}const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}(n));let o=VK.None;return t.decorations.has("bold")&&(o|=VK.Bold),t.decorations.has("italic")&&(o|=VK.Italic),t.decorations.has("underline")&&(o|=VK.Underline),{content:t.value,color:n,fontStyle:o}}))))}(r,e)}var o,i;const{_languages:a,_themes:s,_wasmPath:l}=function(e){var t;let n=Tne,r=e.themes||[],o=(null==(t=e.paths)?void 0:t.wasm)?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":Lne;return e.langs&&(n=e.langs.map(Jb)),e.theme&&r.unshift(e.theme),r.length||(r=["nord"]),{_languages:n,_themes:r,_wasmPath:o}}(e),c=new Hne(async function(e){if(!Mne){let t;t=HK.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(Mb($b(...Tb(e),"onig.wasm")))}),Mne=t.then((()=>({createOnigScanner:e=>HK.createOnigScanner(e),createOnigString:e=>HK.createOnigString(e)})))}return Mne}(l),"vscode-oniguruma"),u=new Vne(c);(null==(o=e.paths)?void 0:o.themes)&&(u.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),(null==(i=e.paths)?void 0:i.languages)&&(c.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const p=(await u.loadThemes(s))[0];let d;await u.loadLanguages(a);let m=function(){const e={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};for(let t=0;tt(e)._theme,loadTheme:async function(e){await u.loadTheme(e)},loadLanguage:async function(e){const t=Jb(e);c.addLanguage(t),await u.loadLanguage(t)},getBackgroundColor:function(e){const{_theme:n}=t(e);return n.bg},getForegroundColor:function(e){const{_theme:n}=t(e);return n.fg},getLoadedThemes:function(){return u.getLoadedThemes()},getLoadedLanguages:function(){return u.getLoadedLanguages()},setColorReplacements:function(e){m=e}}}function e_(e){return null==e}var t_,n_,r_,o_,i_,a_,s_,l_,c_,u_,p_,d_,m_,f_,g_,h_,b_,__,v_,y_,w_,C_,k_,x_,D_,S_,E_,O_,P_,I_,N_,A_,R_,T_,$_,j_,F_,L_,M_,U_,B_,H_,z_,W_,V_,G_,q_,X_,K_,Y_,Q_,J_,Z_,ev,tv,nv,rv,ov,iv,av,sv,lv,cv,uv,pv,dv,mv,fv,gv,hv,bv,_v,vv,yv,wv,Cv,kv,xv,Dv,Sv,Ev,Ov,Pv,Iv,Nv,Av,Rv,Tv,$v,jv,Fv,Lv,Mv,Uv,Bv,Hv,zv,Wv,Vv,Gv,qv,Xv,Kv,Yv,Qv,Jv,Zv,ey,ty,ny,ry,oy,iy,ay,sy,ly,cy,uy,py,dy,my,fy,gy,hy,by,_y,vy,yy,wy,Cy,ky,xy,Dy,Sy,Ey,Oy,Py,Iy,Ny,Ay,Ry,Ty,$y,jy,Fy,Ly,My,Uy,By,Hy,zy,Wy,Vy,Gy,qy,Xy,Ky,Yy,Qy,Jy,Zy,ew,tw,nw,rw,ow,iw,aw,sw,lw,cw,uw,pw,dw,mw,fw,gw,hw,bw,_w,vw,yw,ww,Cw,kw,xw,Dw,Sw,Ew,Ow,Pw,Iw,Nw,Aw,Rw,Tw,$w,jw,Fw,Lw,Mw,Uw,Bw,Hw,zw,Ww,Vw,Gw,qw,Xw,Kw,Yw,Qw,Jw,Zw,eC,tC,nC,rC,oC,iC,aC,sC,lC,cC,uC,pC,dC,mC,fC,gC,hC,bC,_C,vC,yC,wC,CC,kC,xC,DC,SC,EC,OC,PC,IC,NC,AC,RC,TC,$C,jC,FC,LC,MC,UC,BC,HC,zC,WC,VC,GC,qC,XC,KC,YC,QC,JC,ZC,ek,tk,nk,rk,ok,ik,ak,sk,lk,ck,uk,pk,dk,mk,fk,gk,hk,bk,_k,vk,yk,wk,Ck,kk,xk,Dk,Sk,Ek,Ok,Pk,Ik,Nk,Ak,Rk,Tk,$k,jk,Fk,Lk,Mk,Uk,Bk,Hk,zk,Wk,Vk,Gk,qk,Xk,Kk,Yk,Qk,Jk,Zk,ex,tx,nx,rx,ox,ix,ax,sx,lx,cx,ux,px,dx,mx,fx,gx,hx,bx,_x,vx,yx,wx,Cx,kx,xx,Dx,Sx,Ex,Ox,Px,Ix,Nx,Ax,Rx,Tx,$x,jx,Fx,Lx,Mx,Ux,Bx,Hx,zx,Wx,Vx,Gx,qx,Xx,Kx,Yx,Qx,Jx,Zx,eD,tD,nD,rD,oD,iD,aD,sD,lD,cD,uD,pD,dD,mD,fD,gD,hD,bD,_D,vD,yD,wD,CD,kD,xD,DD,SD,ED,OD,PD,ID,ND,AD,RD,TD,$D,jD,FD,LD,MD,UD,BD,HD,zD,WD,VD,GD,qD,XD,KD,YD,QD,JD,ZD,eS,tS,nS,rS,oS,iS,aS,sS,lS,cS,uS,pS,dS,mS,fS,gS,hS,bS,_S,vS,yS,wS,CS,kS,xS,DS,SS,ES,OS,PS,IS,NS,AS,RS,TS,$S,jS,FS,LS,MS,US,BS,HS,zS,WS,VS,GS,qS,XS,KS,YS,QS,JS,ZS,eE,tE,nE,rE,oE,iE,aE,sE,lE,cE,uE,pE,dE,mE,fE,gE,hE,bE,_E,vE,yE,wE,CE,kE,xE,DE,SE,EE,OE,PE,IE,NE,AE,RE,TE,$E,jE,FE,LE,ME,UE,BE,HE,zE,WE,VE,GE,qE,XE,KE,YE,QE,JE,ZE,eO,tO,nO,rO,oO,iO,aO,sO,lO,cO,uO,pO,dO,mO,fO,gO,hO,bO,_O,vO,yO,wO,CO,kO,xO,DO,SO,EO,OO,PO,IO,NO,AO,RO,TO,$O,jO,FO,LO,MO,UO,BO,HO,zO,WO,VO,GO,qO,XO,KO,YO,QO,JO,ZO,eP,tP,nP,rP,oP,iP,aP,sP,lP,cP,uP,pP,dP,mP,fP,gP,hP,bP,_P,vP,yP,wP,CP,kP,xP,DP,SP,EP,OP,PP,IP,NP,AP,RP,TP,$P,jP,FP,LP,MP,UP,BP,HP,zP,WP,VP,GP,qP,XP,KP,YP,QP,JP,ZP,eI,tI,nI,rI,oI,iI,aI,sI,lI,cI,uI,pI,dI,mI,fI,gI,hI,bI,_I,vI,yI,wI,CI,kI,xI,DI,SI,EI,OI,PI,II,NI,AI,RI,TI,$I,jI,FI,LI,MI,UI,BI,HI,zI,WI,VI,GI,qI,XI,KI,YI,QI,JI,ZI,eN,tN,nN,rN,oN,iN,aN,sN,lN,cN,uN,pN,dN,mN,fN,gN,hN,bN,_N,vN,yN,wN,CN,kN,xN,DN,SN,EN,ON,PN,IN,NN,AN,RN,TN,$N,jN,FN,LN,MN,UN,BN,HN,zN,WN,VN,GN,qN,XN,KN,YN,QN,JN,ZN,eA,tA,nA,rA,oA,iA,aA,sA,lA,cA,uA,pA,dA,mA,fA,gA,hA,bA,_A,vA,yA,wA,CA,kA,xA,DA,SA,EA,OA,PA,IA,NA,AA,RA,TA,$A,jA,FA,LA,MA,UA,BA,HA,zA,WA,VA,GA,qA,XA,KA,YA,QA,JA,ZA,eR,tR,nR,rR,oR,iR,aR,sR,lR,cR,uR,pR,dR,mR,fR,gR,hR,bR,_R,vR,yR,wR,CR,kR,xR,DR,SR,ER,OR,PR,IR,NR,AR,RR,TR,$R,jR,FR,LR,MR,UR,BR,HR,zR,WR,VR,GR,qR,XR,KR,YR,QR,JR,ZR,eT,tT,nT,rT,oT,iT,aT,sT,lT,cT,uT,pT,dT,mT,fT,gT,hT,bT,_T,vT,yT,wT,CT,kT,xT,DT,ST,ET,OT,PT,IT,NT,AT,RT,TT,$T,jT,FT,LT,MT,UT,BT,HT,zT,WT,VT,GT,qT,XT,KT,YT,QT,JT,ZT,e$,t$,n$,r$,o$,i$,a$,s$,l$,c$,u$,p$,d$,m$,f$,g$,h$,b$,_$,v$,y$,w$,C$,k$,x$,D$,S$,E$,O$,P$,I$,N$,A$,R$,T$,$$,j$,F$,L$,M$,U$,B$,H$,z$,W$,V$,G$,q$,X$,K$,Y$,Q$,J$,Z$,ej,tj,nj,rj,oj,ij,aj,sj,lj,cj,uj,pj,dj,mj,fj,gj,hj,bj,_j,vj,yj,wj,Cj,kj,xj,Dj,Sj,Ej,Oj,Pj,Ij,Nj,Aj,Rj,Tj,$j,jj,Fj,Lj,Mj,Uj,Bj,Hj,zj,Wj,Vj,Gj,qj,Xj,Kj,Yj,Qj,Jj,Zj,eF,tF,nF,rF,oF,iF,aF,sF,lF,cF,uF,pF,dF,mF,fF,gF,hF,bF,_F,vF,yF,wF,CF,kF,xF,DF,SF,EF,OF,PF,IF,NF,AF,RF,TF,$F,jF,FF,LF,MF,UF,BF,HF,zF,WF,VF,GF,qF,XF,KF,YF,QF,JF,ZF,eL,tL,nL,rL,oL,iL,aL,sL,lL,cL,uL,pL,dL,mL,fL,gL,hL,bL,_L,vL,yL,wL,CL,kL,xL,DL,SL,EL,OL,PL,IL,NL,AL,RL,TL,$L,jL,FL,LL,ML,UL,BL,HL,zL,WL,VL,GL,qL,XL,KL,YL,QL,JL,ZL,eM,tM,nM,rM,oM,iM,aM,sM,lM,cM,uM,pM,dM,mM,fM,gM,hM,bM,_M,vM,yM,wM,CM,kM,xM,DM,SM,EM,OM,PM,IM,NM,AM,RM,TM,$M,jM,FM,LM,MM,UM,BM,HM,zM,WM,VM,GM,qM,XM,KM,YM,QM,JM,ZM,eU,tU,nU,rU,oU,iU,aU,sU,lU,cU,uU,pU,dU,mU,fU,gU,hU,bU,_U,vU,yU,wU,CU,kU,xU,DU,SU,EU,OU,PU,IU,NU,AU,RU,TU,$U,jU,FU,LU,MU,UU,BU,HU,zU,WU,VU,GU,qU,XU,KU,YU,QU,JU,ZU,eB,tB,nB,rB,oB,iB,aB,sB,lB,cB,uB,pB,dB,mB,fB,gB,hB,bB,_B,vB,yB,wB,CB,kB,xB,DB,SB,EB,OB,PB,IB,NB,AB,RB,TB,$B,jB,FB,LB,MB,UB,BB,HB,zB,WB,VB,GB,qB,XB,KB,YB,QB,JB,ZB,eH,tH,nH,rH,oH,iH,aH,sH,lH,cH,uH,pH,dH,mH,fH,gH,hH,bH,_H,vH,yH,wH,CH,kH,xH,DH,SH,EH,OH,PH,IH,NH,AH,RH,TH,$H,jH,FH,LH,MH,UH,BH,HH,zH,WH,VH,GH,qH,XH,KH,YH,QH,JH,ZH,ez,tz,nz,rz,oz,iz,az,sz,lz,cz,uz,pz,dz,mz,fz,gz,hz,bz,_z,vz,yz,wz,Cz,kz,xz,Dz,Sz,Ez,Oz,Pz,Iz,Nz,Az,Rz,Tz,$z,jz,Fz,Lz,Mz,Uz,Bz,Hz,zz,Wz,Vz,Gz,qz,Xz,Kz,Yz,Qz,Jz,Zz,eW,tW,nW,rW,oW,iW,aW,sW,lW,cW,uW,pW,dW,mW,fW,gW,hW,bW,_W,vW,yW,wW,CW,kW,xW,DW,SW,EW,OW,PW,IW,NW,AW,RW,TW,$W,jW,FW,LW,MW,UW,BW,HW,zW,WW,VW,GW,qW,XW,KW,YW,QW,JW,ZW,eV,tV,nV,rV,oV,iV,aV,sV,lV,cV,uV,pV,dV,mV,fV,gV,hV,bV,_V,vV,yV,wV,CV,kV,xV,DV,SV,EV,OV,PV,IV,NV,AV,RV,TV,$V,jV,FV,LV,MV,UV,BV,HV,zV,WV,VV,GV,qV,XV,KV,YV,QV,JV,ZV,eG,tG,nG,rG,oG,iG,aG,sG,lG,cG,uG,pG,dG,mG,fG,gG,hG,bG,_G,vG,yG,wG,CG,kG,xG,DG,SG,EG,OG,PG,IG,NG,AG,RG,TG,$G,jG,FG,LG,MG,UG,BG,HG,zG,WG,VG,GG,qG,XG,KG,YG,QG,JG,ZG,eq,tq,nq,rq,oq,iq,aq,sq,lq,cq,uq,pq,dq,mq,fq,gq,hq,bq,_q,vq,yq,wq,Cq,kq,xq,Dq,Sq,Eq,Oq,Pq,Iq,Nq,Aq,Rq,Tq,$q,jq,Fq,Lq,Mq,Uq,Bq,Hq,zq,Wq,Vq,Gq,qq,Xq,Kq,Yq,Qq,Jq,Zq,eX,tX,nX,rX,oX,iX,aX,sX,lX,cX,uX,pX,dX,mX,fX,gX,hX,bX,_X,vX,yX,wX,CX,kX,xX,DX,SX,EX,OX,PX,IX,NX,AX,RX,TX,$X,jX,FX,LX,MX,UX,BX,HX,zX,WX,VX,GX,qX,XX,KX,YX,QX,JX,ZX,eK,tK,nK,rK,oK,iK,aK,sK,lK,cK,uK,pK,dK,mK,fK,gK,hK,bK,_K,vK,yK,wK,CK,kK,xK,DK,SK,EK,OK,PK,IK,NK,AK,RK,TK,$K,jK,FK,LK,MK,UK,BK,HK,zK,WK,VK,GK,qK,XK,KK,YK,QK,JK,ZK,eY,tY,nY,rY,oY,iY,aY,sY,lY,cY,uY,pY,dY,mY,fY,gY,hY,bY,_Y,vY,yY,wY,CY,kY,xY,DY,SY,EY,OY,PY,IY,NY,AY,RY,TY,$Y,jY,FY,LY,MY,UY,BY,HY,zY,WY,VY,GY,qY,XY="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},KY={exports:{}},YY={},QY={exports:{}},JY={},ZY=Symbol.for("react.element"),eQ=Symbol.for("react.portal"),tQ=Symbol.for("react.fragment"),nQ=Symbol.for("react.strict_mode"),rQ=Symbol.for("react.profiler"),oQ=Symbol.for("react.provider"),iQ=Symbol.for("react.context"),aQ=Symbol.for("react.forward_ref"),sQ=Symbol.for("react.suspense"),lQ=Symbol.for("react.memo"),cQ=Symbol.for("react.lazy"),uQ=Symbol.iterator,pQ={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dQ=Object.assign,mQ={};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype,(t_=i.prototype=new o).constructor=i,dQ(t_,r.prototype),t_.isPureReactComponent=!0,n_=Array.isArray,r_=Object.prototype.hasOwnProperty,i_={key:!0,ref:!0,__self:!0,__source:!0},a_=/\/+/g,c_={ReactCurrentDispatcher:s_={current:null},ReactCurrentBatchConfig:l_={transition:null},ReactCurrentOwner:o_={current:null}},JY.Children={map:u,forEach:function(e,t,n){u(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return u(e,(function(){t++})),t},toArray:function(e){return u(e,(function(e){return e}))||[]},only:function(e){if(!s(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},JY.Component=r,JY.Fragment=tQ,JY.Profiler=rQ,JY.PureComponent=i,JY.StrictMode=nQ,JY.Suspense=sQ,JY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=c_,JY.cloneElement=function(e,t,n){var r,o,i,a,s,l,c;if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");if(r=dQ({},e.props),o=e.key,i=e.ref,a=e._owner,null!=t)for(l in void 0!==t.ref&&(i=t.ref,a=o_.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)r_.call(t,l)&&!i_.hasOwnProperty(l)&&(r[l]=void 0===t[l]&&void 0!==s?s[l]:t[l]);if(1==(l=arguments.length-2))r.children=n;else if(1>>1],t);)e[n]=t,e[i]=r,i=n}function n(e){return 0===e.length?null:e[0]}function r(e){var t,n,r,i,a,s,l,c,u;if(0===e.length)return null;if(t=e[0],(n=e.pop())!==t){e[0]=n;e:for(r=0,i=e.length,a=i>>>1;ro(l=e[s],n))co(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(co(u,n)))break e;e[r]=u,e[c]=n,r=c}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var o=n(h);null!==o;){if(null===o.callback)r(h);else{if(!(o.startTime<=e))break;r(h),o.sortIndex=o.expirationTime,t(g,o)}o=n(h)}}function a(e){if(C=!1,i(e),!w)if(null!==n(g))w=!0,u(s);else{var t=n(h);null!==t&&p(a,t.startTime-e)}}function s(t,o){var s,c,u,d,m;w=!1,C&&(C=!1,x(O),O=-1),y=!0,s=v;try{for(i(o),_=n(g);null!==_&&(!(_.expirationTime>o)||t&&!l());)"function"==typeof(c=_.callback)?(_.callback=null,v=_.priorityLevel,u=c(_.expirationTime<=o),o=e.unstable_now(),"function"==typeof u?_.callback=u:_===n(g)&&r(g),i(o)):r(g),_=n(g);return null!==_?d=!0:(null!==(m=n(h))&&p(a,m.startTime-o),d=!1),d}finally{_=null,v=s,y=!1}}function l(){return!(e.unstable_now()-Ie||125c?(r.sortIndex=i,t(h,r),null===n(g)&&r===n(h)&&(C?(x(O),O=-1):C=!0,p(a,i-c))):(r.sortIndex=l,t(g,r),w||y||(w=!0,u(s))),r},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=v;return function(){var n=v;v=t;try{return e.apply(this,arguments)}finally{v=n}}}}(w_={}),y_.exports=w_,C_=u_,k_=y_.exports,x_=new Set,D_={},S_=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),E_=Object.prototype.hasOwnProperty,O_=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,P_={},I_={},N_={},"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){N_[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];N_[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){N_[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){N_[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){N_[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){N_[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){N_[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){N_[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){N_[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)})),A_=/[\-:]([a-z])/g,"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(A_,b);N_[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(A_,b);N_[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(A_,b);N_[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){N_[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),N_.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){N_[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)})),R_=C_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T_=Symbol.for("react.element"),$_=Symbol.for("react.portal"),j_=Symbol.for("react.fragment"),F_=Symbol.for("react.strict_mode"),L_=Symbol.for("react.profiler"),M_=Symbol.for("react.provider"),U_=Symbol.for("react.context"),B_=Symbol.for("react.forward_ref"),H_=Symbol.for("react.suspense"),z_=Symbol.for("react.suspense_list"),W_=Symbol.for("react.memo"),V_=Symbol.for("react.lazy"),G_=Symbol.for("react.offscreen"),q_=Symbol.iterator,X_=Object.assign,Y_=!1,Q_=Array.isArray,eY=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((J_=J_||document.createElement("div")).innerHTML=""+t.valueOf().toString()+"",t=J_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},Z_="undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t){MSApp.execUnsafeLocalFunction((function(){return eY(e,t)}))}:eY,ev={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tv=["Webkit","ms","Moz","O"],Object.keys(ev).forEach((function(e){tv.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ev[t]=ev[e]}))})),nv=X_({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),rv=null,ov=null,iv=null,av=null,sv=!1,lv=!1,S_)try{cv={},Object.defineProperty(cv,"passive",{get:function(){lv=!0}}),window.addEventListener("test",cv,cv),window.removeEventListener("test",cv,cv)}catch(eY){lv=!1}uv=!1,pv=null,dv=!1,mv=null,fv={onError:function(e){uv=!0,pv=e}},gv=k_.unstable_scheduleCallback,hv=k_.unstable_cancelCallback,bv=k_.unstable_shouldYield,_v=k_.unstable_requestPaint,vv=k_.unstable_now,yv=k_.unstable_getCurrentPriorityLevel,wv=k_.unstable_ImmediatePriority,Cv=k_.unstable_UserBlockingPriority,kv=k_.unstable_NormalPriority,xv=k_.unstable_LowPriority,Dv=k_.unstable_IdlePriority,Sv=null,Ev=null,Ov=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Pv(e)/Iv|0)|0},Pv=Math.log,Iv=Math.LN2,Nv=64,Av=4194304,Rv=0,Mv=!1,Uv=[],Bv=null,Hv=null,zv=null,Wv=new Map,Vv=new Map,Gv=[],qv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "),Xv=R_.ReactCurrentBatchConfig,Kv=!0,Yv=null,Qv=null,Jv=null,Zv=null,ey={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ty=$e(ey),ny=X_({},ey,{view:0,detail:0}),ry=$e(ny),sy=X_({},ny,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fe,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ay&&(ay&&"mousemove"===e.type?(oy=e.screenX-ay.screenX,iy=e.screenY-ay.screenY):iy=oy=0,ay=e),oy)},movementY:function(e){return"movementY"in e?e.movementY:iy}}),ly=$e(sy),cy=X_({},sy,{dataTransfer:0}),uy=$e(cy),py=X_({},ny,{relatedTarget:0}),dy=$e(py),my=X_({},ey,{animationName:0,elapsedTime:0,pseudoElement:0}),fy=$e(my),gy=X_({},ey,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hy=$e(gy),by=X_({},ey,{data:0}),_y=$e(by),vy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yy={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Cy=X_({},ny,{key:function(e){if(e.key){var t=vy[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ae(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?yy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fe,charCode:function(e){return"keypress"===e.type?Ae(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ae(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ky=$e(Cy),xy=X_({},sy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dy=$e(xy),Sy=X_({},ny,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fe}),Ey=$e(Sy),Oy=X_({},ey,{propertyName:0,elapsedTime:0,pseudoElement:0}),Py=$e(Oy),Iy=X_({},sy,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ny=$e(Iy),Ay=[9,13,27,32],Ry=S_&&"CompositionEvent"in window,Ty=null,S_&&"documentMode"in document&&(Ty=document.documentMode),$y=S_&&"TextEvent"in window&&!Ty,jy=S_&&(!Ry||Ty&&8=Ty),Fy=String.fromCharCode(32),Ly=!1,My=!1,Uy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},By=null,Hy=null,zy=!1,S_&&(S_?((Vy="oninput"in document)||((Gy=document.createElement("div")).setAttribute("oninput","return;"),Vy="function"==typeof Gy.oninput),Wy=Vy):Wy=!1,zy=Wy&&(!document.documentMode||9=document.documentMode,Ky=null,Yy=null,Qy=null,Jy=!1,Zy={animationend:it("Animation","AnimationEnd"),animationiteration:it("Animation","AnimationIteration"),animationstart:it("Animation","AnimationStart"),transitionend:it("Transition","TransitionEnd")},ew={},tw={},S_&&(tw=document.createElement("div").style,"AnimationEvent"in window||(delete Zy.animationend.animation,delete Zy.animationiteration.animation,delete Zy.animationstart.animation),"TransitionEvent"in window||delete Zy.transitionend.transition),nw=at("animationend"),rw=at("animationiteration"),ow=at("animationstart"),iw=at("transitionend"),aw=new Map,sw="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");for(lw=0;lw=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},ox=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},ix=function(e,t){return!1===(!(arguments.length>1&&void 0!==t)||t)?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},ax=function(e){var t,n=px(e,Hk.TITLE),r=px(e,"titleTemplate");return r&&n?r.replace(/%s/g,(function(){return Array.isArray(n)?n.join(""):n})):(t=px(e,"defaultTitle"),n||t||void 0)},sx=function(e){return px(e,"onChangeClientState")||function(){}},lx=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return tx({},e,t)}),{})},cx=function(e,t){return t.filter((function(e){return void 0!==e[Hk.BASE]})).map((function(e){return e[Hk.BASE]})).reverse().reduce((function(t,n){var r,o,i;if(!t.length)for(r=Object.keys(n),o=0;o=0;n--)if((r=e[n]).hasOwnProperty(t))return r[t];return null},dx=function(e){return{baseTag:cx([Wk,"target"],e),bodyAttributes:lx(Uk,e),defer:px(e,"defer"),encode:px(e,"encodeSpecialCharacters"),htmlAttributes:lx(Bk,e),linkTags:ux(Hk.LINK,[qk,Wk],e),metaTags:ux(Hk.META,["name","charset","http-equiv","property",Gk],e),noscriptTags:ux(Hk.NOSCRIPT,[Vk],e),onChangeClientState:sx(e),scriptTags:ux(Hk.SCRIPT,["src",Vk],e),styleTags:ux(Hk.STYLE,[zk],e),title:ax(e),titleAttributes:lx("titleAttributes",e)}},nY=Date.now(),mx=function(e){var t=Date.now();t-nY>16?(nY=t,e(t)):setTimeout((function(){mx(e)}),0)},fx=function(e){return clearTimeout(e)},gx="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||mx:global.requestAnimationFrame||mx,hx="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||fx:global.cancelAnimationFrame||fx,bx=function(){return console&&"function"==typeof console.warn&&void 0},_x=null,vx=function(e){_x&&hx(_x),e.defer?_x=gx((function(){yx(e,(function(){_x=null}))})):(yx(e),_x=null)},yx=function(e,t){var n,r,o,i=e.baseTag,a=e.htmlAttributes,s=e.linkTags,l=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,p=e.scriptTags,d=e.styleTags,m=e.title,f=e.titleAttributes;kx(Hk.BODY,e.bodyAttributes),kx(Hk.HTML,a),Cx(m,f),n={baseTag:xx(Hk.BASE,i),linkTags:xx(Hk.LINK,s),metaTags:xx(Hk.META,l),noscriptTags:xx(Hk.NOSCRIPT,c),scriptTags:xx(Hk.SCRIPT,p),styleTags:xx(Hk.STYLE,d)},r={},o={},Object.keys(n).forEach((function(e){var t=n[e],i=t.newTags,a=t.oldTags;i.length&&(r[e]=i),a.length&&(o[e]=n[e].oldTags)})),t&&t(),u(e,r,o)},wx=function(e){return Array.isArray(e)?e.join(""):e},Cx=function(e,t){void 0!==e&&document.title!==e&&(document.title=wx(e)),kx(Hk.TITLE,t)},kx=function(e,t){var n,r,o,i,a,s,l,c,u,p=document.getElementsByTagName(e)[0];if(p){for(r=(n=p.getAttribute(Qk))?n.split(","):[],o=[].concat(r),i=Object.keys(t),a=0;a=0;u--)p.removeAttribute(o[u]);r.length===o.length?p.removeAttribute(Qk):p.getAttribute(Qk)!==i.join(",")&&p.setAttribute(Qk,i.join(","))}},xx=function(e,t){var n=document.head||document.querySelector(Hk.HEAD),r=n.querySelectorAll(e+"["+Qk+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n,r=document.createElement(e);for(n in t)t.hasOwnProperty(n)&&(n===Vk?r.innerHTML=t.innerHTML:n===zk?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(n,void 0===t[n]?"":t[n]));r.setAttribute(Qk,"true"),o.some((function(e,t){return a=t,r.isEqualNode(e)}))?o.splice(a,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},Dx=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Sx=function(e,t,n,r){var o=Dx(n),i=wx(t);return o?"<"+e+" "+Qk+'="true" '+o+">"+ix(i,r)+"":"<"+e+" "+Qk+'="true">'+ix(i,r)+""},Ex=function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===Vk||e===zk)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+ix(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===Yk.indexOf(e);return t+"<"+e+" "+Qk+'="true" '+o+(a?"/>":">"+i+"")}),"")},Ox=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[Xk[n]||n]=e[n],t}),n)},Px=function(e,t){var n=arguments.length>1&&void 0!==t?t:{};return Object.keys(e).reduce((function(t,n){return t[Kk[n]||n]=e[n],t}),n)},Ix=function(e,t,n){var r,o=((r={key:t})[Qk]=!0,r),i=Ox(n,o);return[fQ.createElement(Hk.TITLE,i,t)]},Nx=function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[Qk]=!0,r);return Object.keys(t).forEach((function(e){var n=Xk[e]||e;n===Vk||n===zk?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),fQ.createElement(e,o)}))},Ax=function(e,t,n){switch(e){case Hk.TITLE:return{toComponent:function(){return Ix(0,t.title,t.titleAttributes)},toString:function(){return Sx(e,t.title,t.titleAttributes,n)}};case Uk:case Bk:return{toComponent:function(){return Ox(t)},toString:function(){return Dx(t)}};default:return{toComponent:function(){return Nx(e,t)},toString:function(){return Ex(e,t,n)}}}},Tx=function(e){var t,n;return n=t=function(t){function n(){return Zk(this,n),ox(this,t.apply(this,arguments))}return nx(n,t),n.prototype.shouldComponentUpdate=function(e){return!yQ(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Hk.SCRIPT:case Hk.NOSCRIPT:return{innerHTML:t};case Hk.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return tx({},r,((t={})[n.type]=[].concat(r[n.type]||[],[tx({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case Hk.TITLE:return tx({},o,((t={})[r.type]=a,t.titleAttributes=tx({},i),t));case Hk.BODY:return tx({},o,{bodyAttributes:tx({},i)});case Hk.HTML:return tx({},o,{htmlAttributes:tx({},i)})}return tx({},o,((n={})[r.type]=tx({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=tx({},t);return Object.keys(e).forEach((function(t){var r;n=tx({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return fQ.Children.forEach(e,(function(e){var o,i,a,s;if(e&&e.props)switch(i=(o=e.props).children,a=rx(o,["children"]),s=Px(a),n.warnOnInvalidChildren(e,i),e.type){case Hk.LINK:case Hk.META:case Hk.NOSCRIPT:case Hk.SCRIPT:case Hk.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=rx(t,["children"]),o=tx({},r);return n&&(o=this.mapChildrenToProps(n,o)),fQ.createElement(e,o)},ex(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(fQ.Component),t.propTypes={base:_Q.object,bodyAttributes:_Q.object,children:_Q.oneOfType([_Q.arrayOf(_Q.node),_Q.node]),defaultTitle:_Q.string,defer:_Q.bool,encodeSpecialCharacters:_Q.bool,htmlAttributes:_Q.object,link:_Q.arrayOf(_Q.object),meta:_Q.arrayOf(_Q.object),noscript:_Q.arrayOf(_Q.object),onChangeClientState:_Q.func,script:_Q.arrayOf(_Q.object),style:_Q.arrayOf(_Q.object),title:_Q.string,titleAttributes:_Q.object,titleTemplate:_Q.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=Rx({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},$x=function(){return null},jx=vQ(dx,vx,Rx=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.scriptTags,l=e.styleTags,c=e.title,u=void 0===c?"":c,p=e.titleAttributes;return{base:Ax(Hk.BASE,e.baseTag,n),bodyAttributes:Ax(Uk,t,n),htmlAttributes:Ax(Bk,r,n),link:Ax(Hk.LINK,o,n),meta:Ax(Hk.META,i,n),noscript:Ax(Hk.NOSCRIPT,a,n),script:Ax(Hk.SCRIPT,s,n),style:Ax(Hk.STYLE,l,n),title:Ax(Hk.TITLE,{title:u,titleAttributes:p},n)}})($x),(Fx=Tx(jx)).renderStatic=Fx.rewind,Lx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const CQ=(e,t)=>{const n=u_.forwardRef((({color:n="currentColor",size:r=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...s},l)=>{return u_.createElement("svg",{ref:l,...Lx,width:r,height:r,stroke:n,strokeWidth:i?24*Number(o)/Number(r):o,className:`lucide lucide-${c=e,c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,...s},[...t.map((([e,t])=>u_.createElement(e,t))),...(Array.isArray(a)?a:[a])||[]]);var c}));return n.displayName=`${e}`,n},kQ=CQ("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]),xQ=CQ("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]),DQ=CQ("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),SQ=CQ("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),EQ=CQ("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),OQ=CQ("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),PQ=CQ("FileClock",[["path",{d:"M16 22h2c.5 0 1-.2 1.4-.6.4-.4.6-.9.6-1.4V7.5L14.5 2H6c-.5 0-1 .2-1.4.6C4.2 3 4 3.5 4 4v3",key:"9lo3o3"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}],["path",{d:"M9.5 17.5 8 16.25V14",key:"1o80t2"}]]),IQ=CQ("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V9",key:"c89w8i"}],["path",{d:"M12 12v3",key:"158kv8"}]]),NQ=CQ("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),AQ=CQ("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]),RQ=CQ("Layout",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"3",x2:"21",y1:"9",y2:"9",key:"1vqk6q"}],["line",{x1:"9",x2:"9",y1:"21",y2:"9",key:"wpwpyp"}]]),TQ=CQ("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),$Q=CQ("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),jQ=CQ("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]),FQ=CQ("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",key:"1xcu5"}],["circle",{cx:"17.5",cy:"10.5",r:".5",key:"736e4u"}],["circle",{cx:"8.5",cy:"7.5",r:".5",key:"clrty"}],["circle",{cx:"6.5",cy:"12.5",r:".5",key:"1s4xz9"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]),LQ=CQ("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]),MQ=CQ("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"9",x2:"9",y1:"3",y2:"21",key:"13tij5"}]]),UQ=CQ("PanelRightClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["line",{x1:"15",x2:"15",y1:"3",y2:"21",key:"1hpv9i"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]]),BQ=CQ("PinOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V17h12",key:"13x2n8"}],["path",{d:"M15 9.34V6h1a2 2 0 0 0 0-4H7.89",key:"reo3ki"}]]),HQ=CQ("Pin",[["line",{x1:"12",x2:"12",y1:"17",y2:"22",key:"1jrz49"}],["path",{d:"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z",key:"13yl11"}]]),zQ=CQ("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),WQ=CQ("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),VQ=CQ("TextCursorInput",[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1",key:"18xjzo"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5",key:"fj48gi"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M9 7v10",key:"1vc8ob"}]]),GQ=CQ("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),qQ=CQ("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),XQ=CQ("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);Mx=function(){function e(e){var t=this;this._insertTag=function(e){t.container.insertBefore(e,0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){var t,n;if(this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this)),t=this.tags[this.tags.length-1],this.isSpeedy){n=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case Vx:e.return=la(e.value,e.length);break;case qx:return ia([Ui(e,{value:Ai(e.value,"@","@"+Hx)})],r);case Wx:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ia([Ui(e,{props:[Ai(t,/:(read-\w+)/,":"+Bx+"$1")]})],r);case"::placeholder":return ia([Ui(e,{props:[Ai(t,/:(plac\w+)/,":"+Hx+"input-$1")]}),Ui(e,{props:[Ai(t,/:(plac\w+)/,":"+Bx+"$1")]}),Ui(e,{props:[Ai(t,/:(plac\w+)/,Ux+"input-$1")]})],r)}return""}))}},dD=[pD],mD=function(e){var t,n,r,o,i,a,s,l,c,u,p,d,m,f,g=e.key;return"css"===g&&(t=document.querySelectorAll("style[data-emotion]:not([data-s])"),Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))),n=e.stylisPlugins||dD,r={},i=[],o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+g+' "]'),(function(e){var t,n=e.getAttribute("data-emotion").split(" ");for(t=1;t=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s,{name:c,styles:o,next:CD}},xD=function(e,t,n){var r=e.key+"-"+t.name;!1!==n||void 0!==e.registered[r]||(e.registered[r]=t.styles)},DD=function(e,t,n){var r,o;if(xD(e,t,n),r=e.key+"-"+t.name,void 0===e.inserted[t.name]){o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},SD=function(e){var t,n,r,o,i=mD(e);return i.sheet.speedy=function(e){this.isSpeedy=e},i.compat=!0,t=function(){var e,t,n,r;for(e=arguments.length,t=new Array(e),n=0;n1&&void 0!==t&&t,i={map:this.cache};return e.forEach((function(e){var t,n;i=i?null===(t=i)||void 0===t||null===(n=t.map)||void 0===n?void 0:n.get(e):void 0})),null!==(n=i)&&void 0!==n&&n.value&&o&&(i.value[1]=this.cacheCallTimes++),null===(r=i)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r,o,i,a=this;this.has(t)||(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET&&(r=this.keys.reduce((function(e,t){var n=za(e,2)[1];return a.internalGet(t)[1]1&&void 0!==n?n:{},f=arguments.length>2&&void 0!==r?r:{root:!0,parentSelectors:[]},g=f.root,h=f.injectHash,b=f.parentSelectors,_=m.hashId,v=m.layer;return i=m.hashPriority,s=void 0===(a=m.transformers)?[]:a,l="",c={},u=function e(t,n){var r=arguments.length>1&&void 0!==n?n:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]),u.forEach((function(t){var n,r="string"!=typeof t||g?t:{};"string"==typeof r?l+="".concat(r,"\n"):r._keyframe?o(r):(n=s.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r),Object.keys(n).forEach((function(t){var r,a,s,u,p,d,f,v,y=n[t];if("object"!==ki(y)||!y||"animationName"===t&&y._keyframe||function(e){return"object"===ki(e)&&e&&("_skip_check_"in e||DE in e)}(y)){let e=function(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;tE[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(o(t),r=t.getName(_)),l+="".concat(n,":").concat(r,";")};v=null!==(f=null==y?void 0:y.value)&&void 0!==f?f:y,"object"===ki(y)&&null!=y&&y[DE]&&Array.isArray(v)?v.forEach((function(n){e(t,n)})):e(t,v)}else r=!1,a=t.trim(),s=!1,(g||h)&&_?a.startsWith("@")?r=!0:a=function(e,t,n){var r,o;return t?(r=".".concat(t),o="low"===n?":where(".concat(r,")"):r,e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",i=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(i).concat(o).concat(r.slice(i.length))].concat(wa(n.slice(1))).join(" ")})).join(",")):e}(t,_,i):!g||_||"&"!==a&&""!==a||(a="",s=!0),p=(u=za(e(y,m,{root:s,injectHash:r,parentSelectors:[].concat(wa(b),[a])}),2))[0],d=u[1],c=ka(ka({},c),d),l+="".concat(a).concat(p)})))})),g?v&&function(){var e,t,n,r,o,i;return void 0===WS&&(e="@layer ".concat(HS," { .").concat(HS,' { content: "').concat(zS,'"!important; } }'),t=function(e){e.className=HS},WS=!!Aa()&&(Ua(e,HS),(o=document.createElement("div")).style.position="fixed",o.style.left="0",o.style.top="0",null==t||t(o),document.body.appendChild(o),i=null===(n=getComputedStyle(o).content)||void 0===n?void 0:n.includes(zS),null===(r=o.parentNode)||void 0===r||r.removeChild(o),Ma(HS),i)),WS}()&&(d=(p=v.split(","))[p.length-1].trim(),l="@layer ".concat(d," {").concat(l,"}"),p.length>1&&(l="@layer ".concat(v,"{%%%:%}").concat(l))):l="{".concat(l,"}"),[l,c]},EE=function(){function e(t,n){Oi(this,e),Di(this,"name",void 0),Di(this,"style",void 0),Di(this,"_keyframe",!0),this.name=t,this.style=n}return Ii(e,[{key:"getName",value:function(e){var t=arguments.length>0&&void 0!==e?e:"";return t?"".concat(t,"-").concat(this.name):this.name}}]),e}(),Ps(["borderTop","borderBottom"]),Ps(["borderTop"]),Ps(["borderBottom"]),Ps(["borderLeft","borderRight"]),Ps(["borderLeft"]),Ps(["borderRight"]),OE=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],PE=function(e){return u_.memo((function(t){var n,r=t.children,o=t.prefix,i=t.speedy,a=t.getStyleManager,s=t.container,l=t.nonce,c=t.insertionPoint,u=t.stylisPlugins,p=t.linters,d=Si(t,OE),m=u_.useContext(e),f=null!=o?o:m.sheet.key,g=null!=s?s:m.sheet.container,h=null!=i?i:m.sheet.isSpeedy,b=u_.useMemo((function(){var e,t=SD({speedy:null!=h&&h,key:f,container:g,nonce:l,insertionPoint:c,stylisPlugins:u}),n=null===(e=global)||void 0===e?void 0:e.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__;return n&&(t.cache=n.add(t.cache)),t}),[f,h,g,l,c,u]);return u_.useEffect((function(){null==a||a(b)}),[b]),n=b_.jsx(e.Provider,{value:b,children:r}),Boolean(Object.keys(d).length)||g?b_.jsx(AS,Ns(Ns({linters:p,container:g},d),{},{children:n})):n}))},IE=function(e){var t=e.token;return{buttonDefaultHover:(0,e.css)({backgroundColor:t.colorBgContainer,border:"1px solid ".concat(t.colorBorder),cursor:"pointer",":hover":{color:t.colorPrimaryHover,borderColor:t.colorPrimaryHover},":active":{color:t.colorPrimaryActive,borderColor:t.colorPrimaryActive}})}},NE=function(e){return Object.fromEntries(Object.entries(e).map((function(e){var t=za(e,2);return[t[0],t[1].styles]})))},rY=AE={exports:{}},function(){function e(){var n,r,o,i,a,s=[];for(n=0;n0},e.prototype.connect_=function(){$E&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ME?(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(){$E&&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;LE.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}(),BE=function(e,t){var n,r,o;for(n=0,r=Object.keys(t);n0},e}(),XE="undefined"!=typeof WeakMap?new WeakMap:new TE,KE=function e(t){var n,r;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.");n=UE.getInstance(),r=new qE(t,n,this),XE.set(this,r)},["observe","unobserve","disconnect"].forEach((function(e){KE.prototype[e]=function(){var t;return(t=XE.get(this))[e].apply(t,arguments)}})),YE=void 0!==jE.ResizeObserver?jE.ResizeObserver:KE,QE=new Map,JE=new YE((function(e){e.forEach((function(e){var t,n=e.target;null===(t=QE.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))})),ZE=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Rs(e,u_.Component);var t=Fs(e);return Ii(e,[{key:"render",value:function(){return this.props.children}}]),e}(),eO=u_.createContext(null),tO=u_.forwardRef(Xs),nO="rc-observer-key",(rO=u_.forwardRef(Ks)).Collection=function(e){var t=e.children,n=e.onBatchResize,r=u_.useRef(0),o=u_.useRef([]),i=u_.useContext(eO),a=u_.useCallback((function(e,t,a){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:a}),Promise.resolve().then((function(){s===r.current&&(null==n||n(o.current),o.current=[])})),null==i||i(e,t,a)}),[n,i]);return u_.createElement(eO.Provider,{value:a},t)},oO=function(e){return+setTimeout(e,16)},iO=function(e){return clearTimeout(e)},"undefined"!=typeof window&&"requestAnimationFrame"in window&&(oO=function(e){return window.requestAnimationFrame(e)},iO=function(e){return window.cancelAnimationFrame(e)}),aO=0,sO=new Map,lO=function(e,t){var n;return n=aO+=1,function t(r){if(0===r)Qs(n),e();else{var o=oO((function(){t(r-1)}));sO.set(n,o)}}(arguments.length>1&&void 0!==t?t:1),n},lO.cancel=function(e){var t=sO.get(e);return Qs(t),iO(t)};const ZQ=u_.createContext({});cO="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;const eJ=u_.createContext(void 0),tJ={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},nJ={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},tJ)},rJ="${label} is not a valid ${type}",oJ={locale:"en",Pagination:{items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},DatePicker:nJ,TimePicker:tJ,Calendar:nJ,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:rJ,method:rJ,array:rJ,object:rJ,number:rJ,date:rJ,boolean:rJ,integer:rJ,float:rJ,regexp:rJ,email:rJ,url:rJ,hex:rJ},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};let iJ=Object.assign({},oJ.Modal),aJ=[];const sJ=()=>aJ.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),oJ.Modal),lJ=u_.createContext(void 0),cJ=(e,t)=>{const n=u_.useContext(lJ);return[u_.useMemo((()=>{var r;const o=t||oJ[e],i=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),i||{})}),[e,t,n]),u_.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?oJ.locale:e}),[n])]},uJ=e=>{const{locale:t={},children:n}=e;u_.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return aJ.push(t),iJ=sJ(),()=>{aJ=aJ.filter((e=>e!==t)),iJ=sJ()}}iJ=Object.assign({},oJ.Modal)}(t&&t.Modal);return e}),[t]);const r=u_.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return u_.createElement(lJ.Provider,{value:r},n)},pJ=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],dJ="5.8.5";uO={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},pO="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),dO="[\\s|\\(]+(".concat(pO,")[,|\\s]+(").concat(pO,")[,|\\s]+(").concat(pO,")\\s*\\)?"),mO="[\\s|\\(]+(".concat(pO,")[,|\\s]+(").concat(pO,")[,|\\s]+(").concat(pO,")[,|\\s]+(").concat(pO,")\\s*\\)?"),fO={CSS_UNIT:new RegExp(pO),rgb:new RegExp("rgb"+dO),rgba:new RegExp("rgba"+mO),hsl:new RegExp("hsl"+dO),hsla:new RegExp("hsla"+mO),hsv:new RegExp("hsv"+dO),hsva:new RegExp("hsva"+mO),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/},gO=function(){function e(t,n){var r,o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t,o=hl(t),this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=sl(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=dl(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=dl(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=ul(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=ul(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),ml(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var i,a=[cl(Math.round(e).toString(16)),cl(Math.round(t).toString(16)),cl(Math.round(n).toString(16)),cl((i=r,Math.round(255*parseFloat(i)).toString(16)))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*il(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*il(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){var e,t,n,r;if(0===this.a)return"transparent";if(this.a<1)return!1;for(e="#"+ml(this.r,this.g,this.b,!1),t=0,n=Object.entries(uO);t=0)||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(t=this.toRgbString()),"prgb"===e&&(t=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(t=this.toHexString()),"hex3"===e&&(t=this.toHexString(!0)),"hex4"===e&&(t=this.toHex8String(!0)),"hex8"===e&&(t=this.toHex8String()),"name"===e&&(t=this.toName()),"hsl"===e&&(t=this.toHslString()),"hsv"===e&&(t=this.toHsvString()),t||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=al(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=al(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=al(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=al(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){var r,o,i;return void 0===n&&(n=50),r=this.toRgb(),o=new e(t).toRgb(),new e({r:(o.r-r.r)*(i=n/100)+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){var r,o,i;for(void 0===t&&(t=6),void 0===n&&(n=30),i=[this],(r=this.toHsl()).h=(r.h-((o=360/n)*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){var n,r,o,i,a,s;for(void 0===t&&(t=6),r=(n=this.toHsv()).h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){var n,r=this.toHsl(),o=r.h,i=[this],a=360/t;for(n=1;n{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},fJ={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},gJ=Object.assign(Object.assign({},fJ),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),hJ=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},bJ=(e,t)=>new gO(e).setAlpha(t).toRgbString(),_J=(e,t)=>new gO(e).darken(t).toHexString(),vJ=e=>{const t=kl(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},yJ=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:bJ(r,.88),colorTextSecondary:bJ(r,.65),colorTextTertiary:bJ(r,.45),colorTextQuaternary:bJ(r,.25),colorFill:bJ(r,.15),colorFillSecondary:bJ(r,.06),colorFillTertiary:bJ(r,.04),colorFillQuaternary:bJ(r,.02),colorBgLayout:_J(n,4),colorBgContainer:_J(n,0),colorBgElevated:_J(n,0),colorBgSpotlight:bJ(r,.85),colorBorder:_J(n,15),colorBorderSecondary:_J(n,6)}},wJ=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=e*Math.pow(2.71828,(n-1)/5),o=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(o/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:(e+8)/e})))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight));return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},CJ=Wa(Dl),kJ={token:gJ,hashed:!0},xJ=fQ.createContext(kJ);OO=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const r=n.getDerivativeToken(e),{override:o}=t,i=PO(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=Ol(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=PO(n,["theme"]);let i=o;r&&(i=DJ(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a},SJ="anticon",EJ=u_.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:SJ}),OJ=(e,t,n,r,o)=>{const i=e/2,a=i,s=1*n/Math.sqrt(2),l=i-n*(1-1/Math.sqrt(2)),c=i-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),p=2*i-c,d=u,m=2*i-s,f=l,g=2*i-0,h=a,b=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),_=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${_}px 100%, 50% ${_}px, ${2*i-_}px 100%, ${_}px 100%)`,`path('M 0 ${a} A ${n} ${n} 0 0 0 ${s} ${l} L ${c} ${u} A ${t} ${t} 0 0 1 ${p} ${d} L ${m} ${f} A ${n} ${n} 0 0 0 ${g} ${h} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:b,height:b,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},PJ={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},IJ=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),NJ=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),AJ=(e,t)=>{const{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},RJ=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),TJ=e=>({"&:focus-visible":Object.assign({},RJ(e))}),$J="undefined"!=typeof CSSINJS_STATISTIC;let jJ=!0;const FJ={},LJ=(e,t)=>{const[n,r]=Pl();return Os({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{[`.${e} .${e}-icon`]:{display:"block"}})}]))},MJ=`-ant-${Date.now()}-${Math.random()}`,UJ=u_.createContext(!1),BJ=e=>{let{children:t,disabled:n}=e;const r=u_.useContext(UJ);return u_.createElement(UJ.Provider,{value:null!=n?n:r},t)},HJ=UJ,zJ=u_.createContext(void 0),WJ=e=>{let{children:t,size:n}=e;const r=u_.useContext(zJ);return u_.createElement(zJ.Provider,{value:n||r},t)},VJ=zJ;IO=["children"],NO=u_.createContext({}),AO=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Rs(e,u_.Component);var t=Fs(e);return Ii(e,[{key:"render",value:function(){return this.props.children}}]),e}(),RO="none",TO="appear",$O="enter",jO="leave",FO="none",LO="prepare",MO="start",UO="active",BO="end",HO="prepared",oY=Aa(),iY="undefined"!=typeof window?window:{},aY={animationend:Ml("Animation","AnimationEnd"),transitionend:Ml("Transition","TransitionEnd")},oY&&("AnimationEvent"in iY||delete aY.animationend.animation,"TransitionEvent"in iY||delete aY.transitionend.transition),zO=aY,WO={},Aa()&&(VO=document.createElement("div"),WO=VO.style),GO={},qO=Ul("animationend"),XO=Ul("transitionend"),KO=!(!qO||!XO),YO=qO||"animationend",QO=XO||"transitionend",JO=Aa()?u_.useLayoutEffect:u_.useEffect,ZO=[LO,MO,UO,BO],eP=[LO,HO];const GJ=(cY=sY=KO,"object"===ki(sY)&&(cY=sY.transitionSupport),(lY=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.visible,c=void 0===l||l,u=e.removeOnLeave,p=void 0===u||u,d=e.forceRender,m=e.children,f=e.motionName,g=e.leavedClassName,h=e.eventProps,b=function(e,t){return!(!e.motionName||!cY||!1===t)}(e,u_.useContext(NO).motion),_=u_.useRef(),v=u_.useRef(),y=function(e,t,n,r){function o(){return n()}function i(){$(RO,!0),L(null,!0)}function a(e){var t,n,r=o();e&&!e.deadline&&e.target!==r||(t=B.current,T===TO&&t?n=null==S?void 0:S(r,e):T===$O&&t?n=null==E?void 0:E(r,e):T===jO&&t&&(n=null==O?void 0:O(r,e)),T!==RO&&t&&!1!==n&&i())}var s,l,c=r.motionEnter,u=void 0===c||c,p=r.motionAppear,d=void 0===p||p,m=r.motionLeave,f=void 0===m||m,g=r.motionDeadline,h=r.motionLeaveImmediately,b=r.onAppearPrepare,_=r.onEnterPrepare,v=r.onLeavePrepare,y=r.onAppearStart,w=r.onEnterStart,C=r.onLeaveStart,k=r.onAppearActive,x=r.onEnterActive,D=r.onLeaveActive,S=r.onAppearEnd,E=r.onEnterEnd,O=r.onLeaveEnd,P=r.onVisibleChanged,I=za(Nl(),2),N=I[0],A=I[1],R=za(Nl(RO),2),T=R[0],$=R[1],j=za(Nl(null),2),F=j[0],L=j[1],M=u_.useRef(!1),U=u_.useRef(null),B=u_.useRef(!1),H=za(function(e){function t(e){e&&(e.removeEventListener(QO,n),e.removeEventListener(YO,n))}var n,r=u_.useRef(),o=u_.useRef(e);return o.current=e,n=u_.useCallback((function(e){o.current(e)}),[]),u_.useEffect((function(){return function(){t(r.current)}}),[]),[function(e){r.current&&r.current!==e&&t(r.current),e&&e!==r.current&&(e.addEventListener(QO,n),e.addEventListener(YO,n),r.current=e)},t]}(a),1)[0],z=function(e){var t,n,r;switch(e){case TO:return Di(t={},LO,b),Di(t,MO,y),Di(t,UO,k),t;case $O:return Di(n={},LO,_),Di(n,MO,w),Di(n,UO,x),n;case jO:return Di(r={},LO,v),Di(r,MO,C),Di(r,UO,D),r;default:return{}}},W=u_.useMemo((function(){return z(T)}),[T]),V=function(e,t,n){var r=za(Nl(FO),2),o=r[0],i=r[1],a=function(){function e(){lO.cancel(t.current)}var t=u_.useRef(null);return u_.useEffect((function(){return function(){e()}}),[]),[function n(r,o){var i,a=arguments.length>1&&void 0!==o?o:2;e(),i=lO((function(){a<=1?r({isCanceled:function(){return i!==t.current}}):n(r,a-1)})),t.current=i},e]}(),s=za(a,2),l=s[0],c=s[1],u=t?eP:ZO;return JO((function(){var e,t,r;o!==FO&&o!==BO&&(e=u.indexOf(o),t=u[e+1],!1===(r=n(o))?i(t,!0):t&&l((function(e){function n(){e.isCanceled()||i(t,!0)}!0===r?n():Promise.resolve(r).then(n)})))}),[e,o]),u_.useEffect((function(){return function(){c()}}),[]),[function(){i(LO,!0)},o]}(T,!e,(function(e){var t,n;return e===LO?!!(t=W[LO])&&t(o()):(X in W&&L((null===(n=W[X])||void 0===n?void 0:n.call(W,o(),null))||null),X===UO&&(H(o()),g>0&&(clearTimeout(U.current),U.current=setTimeout((function(){a({deadline:!0})}),g))),X===HO&&i(),!0)})),G=za(V,2),q=G[0],X=G[1],K=Hl(X);return B.current=K,JO((function(){var n,r,o;A(t),n=M.current,M.current=!0,!n&&t&&d&&(r=TO),n&&t&&u&&(r=$O),(n&&!t&&f||!n&&h&&!t&&f)&&(r=jO),o=z(r),r&&(e||o[LO])?($(r),q()):$(RO)}),[t]),u_.useEffect((function(){(T===TO&&!d||T===$O&&!u||T===jO&&!f)&&$(RO)}),[d,u,f]),u_.useEffect((function(){return function(){M.current=!1,clearTimeout(U.current)}}),[]),s=u_.useRef(!1),u_.useEffect((function(){N&&(s.current=!0),void 0!==N&&T===RO&&((s.current||N)&&(null==P||P(N)),s.current=!0)}),[N,T]),l=F,W[LO]&&X===MO&&(l=ka({transition:"none"},l)),[T,X,l,null!=N?N:t]}(b,c,(function(){try{return _.current instanceof HTMLElement?_.current:Ws(v.current)}catch(xY){return null}}),e),w=za(y,4),C=w[0],k=w[1],x=w[2],D=w[3],S=u_.useRef(D);return D&&(S.current=!0),n=u_.useCallback((function(e){_.current=e,Ms(t,e)}),[t]),o=ka(ka({},h),{},{visible:c}),m?C===RO?r=D?m(ka({},o),n):!p&&S.current&&g?m(ka(ka({},o),{},{className:g}),n):d||!p&&!g?m(ka(ka({},o),{},{style:{display:"none"}}),n):null:(k===LO?a="prepare":Hl(k)?a="active":k===MO&&(a="start"),s=Bl(f,"".concat(C,"-").concat(a)),r=m(ka(ka({},o),{},{className:JQ(Bl(f,C),(i={},Di(i,s,s&&a),Di(i,f,"string"==typeof f),i)),style:x}),n)):r=null,u_.isValidElement(r)&&Hs(r)&&(r.ref||(r=u_.cloneElement(r,{ref:n}))),u_.createElement(AO,{ref:v},r)}))).displayName="CSSMotion",lY);tP="add",nP="keep",rP="remove",oP="removed",iP=["component","children","onVisibleChanged","onAllRemoved"],aP=["status"],sP=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];const qJ=function(e,t){var n=arguments.length>1&&void 0!==t?t:GJ,r=function(){function e(){var n,r,o,i;for(Oi(this,e),r=arguments.length,o=new Array(r),i=0;i1&&void 0!==t?t:[],o=[],i=0,a=r.length,s=Wl(arguments.length>0&&void 0!==e?e:[]),l=Wl(r);return s.forEach((function(e){var t,n,r=!1;for(t=i;t1})).forEach((function(e){(o=o.filter((function(t){return t.key!==e||t.status!==rP}))).forEach((function(t){t.key===e&&(t.status=nP)}))})),o}(n,r);return{keyEntities:o.filter((function(e){var t=n.find((function(t){return e.key===t.key}));return!t||t.status!==oP||e.status!==rP}))}}}]),e}();return Di(r,"defaultProps",{component:"div"}),r}(KO);lP=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({getPrefixCls:(e,t)=>t||(e?`${Gl()}-${e}`:Gl()),getIconPrefixCls:ql,getRootPrefixCls:()=>KJ||Gl(),getTheme:()=>QJ}),ZJ=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:u,virtual:p,dropdownMatchSelectWidth:d,popupMatchSelectWidth:m,popupOverflow:f,legacyLocale:g,parentContext:h,iconPrefixCls:b,theme:_,componentDisabled:v,segmented:y,statistic:w,spin:C,calendar:k,carousel:x,cascader:D,collapse:S,typography:E,checkbox:O,descriptions:P,divider:I,drawer:N,skeleton:A,steps:R,image:T,layout:$,list:j,mentions:F,modal:L,progress:M,result:U,slider:B,breadcrumb:H,menu:z,pagination:W,input:V,empty:G,badge:q,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:pe}=e,de=u_.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||h.getPrefixCls("");return t?`${o}-${t}`:o}),[h.getPrefixCls,e.prefixCls]),me=b||h.iconPrefixCls||SJ,fe=me!==h.iconPrefixCls,ge=n||h.csp,he=LJ(me,ge),be=function(e,t){const n=e||{},r=!1!==n.inherit&&t?t:kJ;return Da((()=>{if(!e)return t;const o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach((t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])})),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})}),[n,r],((e,t)=>e.some(((e,n)=>!Ia(e,t[n],!0)))))}(_,h.theme),_e={csp:ge,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:s||g,direction:c,space:u,virtual:p,popupMatchSelectWidth:null!=m?m:d,popupOverflow:f,getPrefixCls:de,iconPrefixCls:me,theme:be,segmented:y,statistic:w,spin:C,calendar:k,carousel:x,cascader:D,collapse:S,typography:E,checkbox:O,descriptions:P,divider:I,drawer:N,skeleton:A,steps:R,image:T,input:V,layout:$,list:j,mentions:F,modal:L,progress:M,result:U,slider:B,breadcrumb:H,menu:z,pagination:W,empty:G,badge:q,radio:X,rate:K,switch:Y,transfer:Q,avatar:J,message:Z,tag:ee,table:te,card:ne,tabs:re,timeline:oe,timePicker:ie,upload:ae,notification:se,tree:le,colorPicker:ce,datePicker:ue,wave:pe},ve=Object.assign({},h);Object.keys(_e).forEach((e=>{void 0!==_e[e]&&(ve[e]=_e[e])})),XJ.forEach((t=>{const n=e[t];n&&(ve[t]=n)}));const ye=Da((()=>ve),ve,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),we=u_.useMemo((()=>({prefixCls:me,csp:ge})),[me,ge]);let Ce=fe?he(t):t;const ke=u_.useMemo((()=>{var e,t,n,r;return rl((null===(e=oJ.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=ye.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=ye.form)||void 0===r?void 0:r.validateMessages)||{},(null==a?void 0:a.validateMessages)||{})}),[ye,null==a?void 0:a.validateMessages]);Object.keys(ke).length>0&&(Ce=u_.createElement(eJ.Provider,{value:ke},t)),s&&(Ce=u_.createElement(uJ,{locale:s,_ANT_MARK__:"internalMark"},Ce)),(me||ge)&&(Ce=u_.createElement(ZQ.Provider,{value:we},Ce)),l&&(Ce=u_.createElement(WJ,{size:l},Ce)),Ce=u_.createElement(Vl,null,Ce);const xe=u_.useMemo((()=>{const e=be||{},{algorithm:t,token:n,components:r}=e,o=lP(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?Wa(t):CJ,a={};return Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=Wa(r.algorithm)),delete r.algorithm),a[t]=r})),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},gJ),n),components:a})}),[be]);return _&&(Ce=u_.createElement(xJ.Provider,{value:xe},Ce)),void 0!==v&&(Ce=u_.createElement(BJ,{disabled:v},Ce)),u_.createElement(EJ.Provider,{value:ye},Ce)},eZ=e=>{const t=u_.useContext(EJ),n=u_.useContext(lJ);return u_.createElement(ZJ,Object.assign({parentContext:t,legacyLocale:n},e))};eZ.ConfigContext=EJ,eZ.SizeContext=VJ,eZ.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:r}=e;void 0!==t&&(KJ=t),void 0!==n&&(YJ=n),r&&(function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?function(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new gO(e),i=kl(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new gO(t.primaryColor),i=kl(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new gO(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);Aa()&&Ua(n,`${MJ}-dynamic-theme`)}(Gl(),r):QJ=r)},eZ.useConfig=function(){return{componentDisabled:u_.useContext(HJ),componentSize:u_.useContext(VJ)}},Object.defineProperty(eZ,"SizeContext",{get:()=>VJ});const tZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};cP=1/0,uP="[object Symbol]",pP=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,dP=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fP="["+(mP="\\ud800-\\udfff")+"]",gP="[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]",_P="[\\u2700-\\u27bf]",DP="(?:"+"[a-z\\xdf-\\xf6\\xf8-\\xff]"+"|"+(vP="[^"+mP+"\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000"+(bP="\\d+")+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]")+")",SP="(?:"+(xP="[A-Z\\xc0-\\xd6\\xd8-\\xde]")+"|"+vP+")",EP="(?:"+"['’]"+"(?:d|ll|m|re|s|t|ve))?",OP="(?:['’](?:D|LL|M|RE|S|T|VE))?",IP="[\\ufe0e\\ufe0f]?"+(PP="(?:"+(hP="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]")+"|"+(yP="\\ud83c[\\udffb-\\udfff]")+")?")+"(?:\\u200d(?:"+[wP="[^"+mP+"]",CP="(?:\\ud83c[\\udde6-\\uddff]){2}",kP="[\\ud800-\\udbff][\\udc00-\\udfff]"].join("|")+")[\\ufe0e\\ufe0f]?"+PP+")*",NP="(?:"+[_P,CP,kP].join("|")+")"+IP,AP="(?:"+[wP+hP+"?",hP,CP,kP,fP].join("|")+")",RP=RegExp("['’]","g"),TP=RegExp(hP,"g"),$P=RegExp(yP+"(?="+yP+")|"+AP+IP,"g"),jP=RegExp([xP+"?[a-z\\xdf-\\xf6\\xf8-\\xff]+"+EP+"(?="+[gP,xP,"$"].join("|")+")",SP+"+"+OP+"(?="+[gP,xP+DP,"$"].join("|")+")",xP+"?"+DP+"+"+EP,xP+"+"+OP,bP,NP].join("|"),"g"),FP=RegExp("[\\u200d"+mP+"\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),LP=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,MP={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},UP="object"==typeof self&&self&&self.Object===Object&&self,BP="object"==typeof XY&&XY&&XY.Object===Object&&XY||UP||Function("return this")(),uY=MP,HP=function(e){return null==uY?void 0:uY[e]},zP=Object.prototype.toString,GP=(VP=(WP=BP.Symbol)?WP.prototype:void 0)?VP.toString:void 0,pY=function(e,t,n){return t=t.toLowerCase(),e+(n?qP(Kl(t).toLowerCase()):t)},qP=function(e){var t,n,r,o,i,a;return n=(t=Xl(e=Kl(e))?function(e){return Xl(e)?function(e){return e.match($P)||[]}(e):function(e){return e.split("")}(e)}(e):void 0)?t[0]:e.charAt(0),r=t?(o=t,1,a=o.length,i=void 0===i?a:i,function(e,t,n){var r,o=-1,i=e.length;for(t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),u_.useEffect((function(){var t=Ql(e.current);Ua(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:t})}),[])},KP=["icon","className","onClick","style","primaryColor","secondaryColor"],YP={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},(QP=function(e){var t,n,r,o=e.icon,i=e.className,a=e.onClick,s=e.style,l=e.primaryColor,c=e.secondaryColor,u=Si(e,KP),p=u_.useRef(),d=YP;return l&&(d={primaryColor:l,secondaryColor:c||tc(l)}),XP(p),n=Jl(o),r="icon should be icon definiton, but got ".concat(o),Pa(n,"[@ant-design/icons] ".concat(r)),Jl(o)?((t=o)&&"function"==typeof t.icon&&(t=ka(ka({},t),{},{icon:t.icon(d.primaryColor,d.secondaryColor)})),ec(t.icon,"svg-".concat(t.name),ka(ka({className:i,onClick:a,style:s,"data-icon":t.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u),{},{ref:p}))):null}).displayName="IconReact",QP.getTwoToneColors=function(){return ka({},YP)},QP.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;YP.primaryColor=t,YP.secondaryColor=n||tc(t),YP.calculated=!!n};const rZ=QP;JP=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"],rc(EO.primary),(ZP=u_.forwardRef((function(e,t){var n,r,o,i,a,s=e.className,l=e.icon,c=e.spin,u=e.rotate,p=e.tabIndex,d=e.onClick,m=e.twoToneColor,f=Si(e,JP),g=u_.useContext(ZQ),h=g.prefixCls,b=void 0===h?"anticon":h,_=JQ(g.rootClassName,b,(Di(n={},"".concat(b,"-").concat(l.name),!!l.name),Di(n,"".concat(b,"-spin"),!!c||"loading"===l.name),n),s),v=p;return void 0===v&&d&&(v=-1),r=u?{msTransform:"rotate(".concat(u,"deg)"),transform:"rotate(".concat(u,"deg)")}:void 0,i=(o=za(nc(m),2))[0],a=o[1],u_.createElement("span",ma({role:"img","aria-label":l.name},f,{ref:t,tabIndex:v,onClick:d,className:_}),u_.createElement(rZ,{icon:l,primaryColor:i,secondaryColor:a,style:r}))}))).displayName="AntdIcon",ZP.getTwoToneColor=function(){var e=rZ.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},ZP.setTwoToneColor=rc;const oZ=ZP,iZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:tZ}))})),aZ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},sZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:aZ}))})),lZ={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},cZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:lZ}))})),uZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},pZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:uZ}))})),dZ={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},mZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:dZ}))}));eI="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),tI="aria-",nI="data-";const{isValidElement:fZ}=gQ,gZ=e=>"object"==typeof e&&null!=e&&1===e.nodeType,hZ=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,bZ=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}})(e);return!!t&&(t.clientHeightit||i>e&&a=t&&s>=n?i-e-r:a>t&&sn?a-t+o:0,vZ=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},yZ=(e,t)=>{var n,r,o,i;if("undefined"==typeof document)return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,p="function"==typeof c?c:e=>e!==c;if(!gZ(e))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,m=[];let f=e;for(;gZ(f)&&p(f);){if(f=vZ(f),f===d){m.push(f);break}null!=f&&f===document.body&&bZ(f)&&!bZ(document.documentElement)||null!=f&&bZ(f,u)&&m.push(f)}const g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:b,scrollY:_}=window,{height:v,width:y,top:w,right:C,bottom:k,left:x}=e.getBoundingClientRect();let D="start"===s||"nearest"===s?w:"end"===s?k:w+v/2,S="center"===l?x+y/2:"end"===l?C:x;const E=[];for(let O=0;O=0&&x>=0&&k<=h&&C<=g&&w>=r&&k<=i&&x>=c&&C<=o)return E;const u=getComputedStyle(e),p=parseInt(u.borderLeftWidth,10),f=parseInt(u.borderTopWidth,10),P=parseInt(u.borderRightWidth,10),I=parseInt(u.borderBottomWidth,10);let N=0,A=0;const R="offsetWidth"in e?e.offsetWidth-e.clientWidth-p-P:0,T="offsetHeight"in e?e.offsetHeight-e.clientHeight-f-I:0,$="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,j="offsetHeight"in e?0===e.offsetHeight?0:t/e.offsetHeight:0;if(d===e)N="start"===s?D:"end"===s?D-h:"nearest"===s?_Z(_,_+h,h,f,I,_+D,_+D+v,v):D-h/2,A="start"===l?S:"center"===l?S-g/2:"end"===l?S-g:_Z(b,b+g,g,p,P,b+S,b+S+y,y),N=Math.max(0,N+_),A=Math.max(0,A+b);else{N="start"===s?D-r-f:"end"===s?D-i+I+T:"nearest"===s?_Z(r,i,t,f,I+T,D,D+v,v):D-(r+t/2)+T/2,A="start"===l?S-c-p:"center"===l?S-(c+n/2)+R/2:"end"===l?S-o+P+R:_Z(c,o,n,p,P+R,S,S+y,y);const{scrollLeft:a,scrollTop:u}=e;N=Math.max(0,Math.min(u+N/j,e.scrollHeight-t/j+T)),A=Math.max(0,Math.min(a+A/$,e.scrollWidth-n/$+R)),D+=u-N,S+=a-A}E.push({el:e,top:N,left:A})}return E},wZ=e=>{return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"};var t};rI={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=rI.F1&&t<=rI.F12)return!1;switch(t){case rI.ALT:case rI.CAPS_LOCK:case rI.CONTEXT_MENU:case rI.CTRL:case rI.DOWN:case rI.END:case rI.ESC:case rI.HOME:case rI.INSERT:case rI.LEFT:case rI.MAC_FF_META:case rI.META:case rI.NUMLOCK:case rI.NUM_CENTER:case rI.PAGE_DOWN:case rI.PAGE_UP:case rI.PAUSE:case rI.PRINT_SCREEN:case rI.RIGHT:case rI.SHIFT:case rI.UP:case rI.WIN_KEY:case rI.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=rI.ZERO&&e<=rI.NINE)return!0;if(e>=rI.NUM_ZERO&&e<=rI.NUM_MULTIPLY)return!0;if(e>=rI.A&&e<=rI.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case rI.SPACE:case rI.QUESTION_MARK:case rI.NUM_PLUS:case rI.NUM_MINUS:case rI.NUM_PERIOD:case rI.NUM_DIVISION:case rI.SEMICOLON:case rI.DASH:case rI.EQUALS:case rI.COMMA:case rI.PERIOD:case rI.SLASH:case rI.APOSTROPHE:case rI.SINGLE_QUOTE:case rI.OPEN_SQUARE_BRACKET:case rI.BACKSLASH:case rI.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},oI=u_.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.style,i=e.className,a=e.duration,s=void 0===a?4.5:a,l=e.eventKey,c=e.content,u=e.closable,p=e.closeIcon,d=void 0===p?"x":p,m=e.props,f=e.onClick,g=e.onNoticeClose,h=e.times,b=za(u_.useState(!1),2),_=b[0],v=b[1],y=function(){g(l)};return u_.useEffect((function(){if(!_&&s>0){var e=setTimeout((function(){y()}),1e3*s);return function(){clearTimeout(e)}}}),[s,_,h]),n="".concat(r,"-notice"),u_.createElement("div",ma({},m,{ref:t,className:JQ(n,i,Di({},"".concat(n,"-closable"),u)),style:o,onMouseEnter:function(){v(!0)},onMouseLeave:function(){v(!1)},onClick:f}),u_.createElement("div",{className:"".concat(n,"-content")},c),u&&u_.createElement("a",{tabIndex:0,className:"".concat(n,"-close"),onKeyDown:function(e){"Enter"!==e.key&&"Enter"!==e.code&&e.keyCode!==rI.ENTER||y()},onClick:function(e){e.preventDefault(),e.stopPropagation(),y()}},d))})),iI=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l=e.prefixCls,c=void 0===l?"rc-notification":l,u=e.container,p=e.motion,d=e.maxCount,m=e.className,f=e.style,g=e.onAllRemoved,h=za(u_.useState([]),2),b=h[0],_=h[1],v=function(e){var t,n=b.find((function(t){return t.key===e}));null==n||null===(t=n.onClose)||void 0===t||t.call(n),_((function(t){return t.filter((function(t){return t.key!==e}))}))};return u_.useImperativeHandle(t,(function(){return{open:function(e){_((function(t){var n,r=wa(t),o=r.findIndex((function(t){return t.key===e.key})),i=ka({},e);return o>=0?(i.times=((null===(n=t[o])||void 0===n?void 0:n.times)||0)+1,r[o]=i):(i.times=0,r.push(i)),d>0&&r.length>d&&(r=r.slice(-d)),r}))},close:function(e){v(e)},destroy:function(){_([])}}})),n=za(u_.useState({}),2),r=n[0],o=n[1],u_.useEffect((function(){var e={};b.forEach((function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))})),Object.keys(r).forEach((function(t){e[t]=e[t]||[]})),o(e)}),[b]),i=function(e){o((function(t){var n=ka({},t);return(n[e]||[]).length||delete n[e],n}))},a=u_.useRef(!1),u_.useEffect((function(){Object.keys(r).length>0?a.current=!0:a.current&&(null==g||g(),a.current=!1)}),[r]),u?(s=Object.keys(r),xk.createPortal(u_.createElement(u_.Fragment,null,s.map((function(e){var t=r[e].map((function(e){return{config:e,key:e.key}})),n="function"==typeof p?p(e):p;return u_.createElement(qJ,ma({key:e,className:JQ(c,"".concat(c,"-").concat(e),null==m?void 0:m(e)),style:null==f?void 0:f(e),keys:t,motionAppear:!0},n,{onAllRemoved:function(){i(e)}}),(function(e,t){var n=e.config,r=e.style,o=n.key,i=n.times,a=n.style;return u_.createElement(oI,ma({},n,{ref:t,prefixCls:c,className:JQ(e.className,n.className),style:ka(ka({},r),a),times:i,key:o,eventKey:o,onNoticeClose:v}))}))}))),u)):null})),aI=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],sI=function(){return document.body},lI=0;const CZ={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},kZ=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:CZ}))})),xZ=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:p,marginXS:d,paddingXS:m,borderRadiusLG:f,zIndexPopup:g,contentPadding:h,contentBg:b}=e,_=`${t}-notice`,v=new EE("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),y=new EE("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={padding:m,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:d,fontSize:c},[`${_}-content`]:{display:"inline-block",padding:h,background:b,borderRadius:f,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n},\n ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},IJ(e)),{color:o,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[`\n ${t}-move-up-appear,\n ${t}-move-up-enter\n `]:{animationName:v,animationDuration:p,animationPlayState:"paused",animationTimingFunction:u},[`\n ${t}-move-up-appear${t}-move-up-appear-active,\n ${t}-move-up-enter${t}-move-up-enter-active\n `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:y,animationDuration:p,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[_]:Object.assign({},w)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},w),{padding:0,textAlign:"start"})}]},DZ=jl("Message",(e=>{const t=Tl(e,{height:150});return[xZ(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),{clientOnly:!0});cI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,type:n,icon:r,children:o}=e;return u_.createElement("div",{className:JQ(`${t}-custom-content`,`${t}-${n}`)},r||SZ[n],u_.createElement("span",null,o))};uI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{top:n,prefixCls:r,getContainer:o,maxCount:i,duration:a=OZ,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:p,message:d}=u_.useContext(EJ),m=r||u("message"),[,f]=DZ(m),g=u_.createElement("span",{className:`${m}-close-x`},u_.createElement(cZ,{className:`${m}-close-icon`})),[h,b]=lc({prefixCls:m,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>JQ(f,{[`${m}-rtl`]:s}),motion:()=>function(e,t){return{motionName:null!=t?t:`${e}-move-up`}}(m,l),closable:!1,closeIcon:g,duration:a,getContainer:()=>(null==o?void 0:o())||(null==p?void 0:p())||document.body,maxCount:i,onAllRemoved:c});return u_.useImperativeHandle(t,(()=>Object.assign(Object.assign({},h),{prefixCls:m,hashId:f,message:d}))),b}));let IZ=0;dI=(pI=ka({},bQ)).version,mI=pI.render,fI=pI.unmountComponentAtNode;try{Number((dI||"").split(".")[0])>=18&&(gI=pI.createRoot)}catch(xY){}hI="__rc_react_root__";const NZ=function(e){var t,n;if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox&&((t=e.getBBox()).width||t.height))return!0;if(e.getBoundingClientRect&&((n=e.getBoundingClientRect()).width||n.height))return!0}return!1},AZ=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${e.motionEaseInOut}`,`opacity 0.35s ${e.motionEaseInOut}`].join(",")}}}}},RZ=jl("Wave",(e=>[AZ(e)])),TZ="ant-wave-target",$Z=e=>{function t(){const e=getComputedStyle(r);s(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Cc(t)?t:Cc(n)?n:Cc(r)?r:null}(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;p(t?r.offsetLeft:kc(-parseFloat(n))),m(t?r.offsetTop:kc(-parseFloat(o))),g(r.offsetWidth),b(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;c([i,a,u,l].map((e=>kc(parseFloat(e)))))}const{className:n,target:r,component:o}=e,i=u_.useRef(null),[a,s]=u_.useState(null),[l,c]=u_.useState([]),[u,p]=u_.useState(0),[d,m]=u_.useState(0),[f,g]=u_.useState(0),[h,b]=u_.useState(0),[_,v]=u_.useState(!1),y={left:u,top:d,width:f,height:h,borderRadius:l.map((e=>`${e}px`)).join(" ")};if(a&&(y["--wave-color"]=a),u_.useEffect((()=>{if(r){const e=lO((()=>{t(),v(!0)}));let n;return"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(t),n.observe(r)),()=>{lO.cancel(e),null==n||n.disconnect()}}}),[]),!_)return null;const w=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(TZ));return u_.createElement(GJ,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=i.current)||void 0===n?void 0:n.parentElement;yc(e).then((()=>{null==e||e.remove()}))}return!1}},(e=>{let{className:t}=e;return u_.createElement("div",{ref:i,className:JQ(n,{"wave-quick":w},t),style:y})}))},jZ=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),hc(u_.createElement($Z,Object.assign({},t,{target:e})),o)},FZ=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=u_.useContext(EJ),i=u_.useRef(null),a=o("wave"),[,s]=RZ(a),l=function(e,t,n){const{wave:r}=u_.useContext(EJ),[,o,i]=Pl(),a=Il((a=>{const s=e.current;if((null==r?void 0:r.disabled)||!s)return;const l=s.querySelector(`.${TZ}`)||s,{showEffect:c}=r||{};(c||jZ)(l,{className:t,token:o,component:n,event:a,hashId:i})})),s=u_.useRef();return e=>{lO.cancel(s.current),s.current=lO((()=>{a(e)}))}}(i,JQ(a,s),r);return fQ.useEffect((()=>{const e=i.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!NZ(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||l(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),fQ.isValidElement(t)?sc(t,{ref:Hs(t)?Us(t.ref,i):i}):null!=t?t:null},LZ=e=>{const t=fQ.useContext(VJ);return fQ.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},MZ=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},UZ=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}},BZ=jl("Space",(e=>[UZ(e),MZ(e)]),(()=>({})),{resetStyle:!1});bI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=u_.useContext(HZ),r=u_.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:i}=n,a="vertical"===r?"-vertical-":"-";return JQ(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:o,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},WZ=e=>{let{children:t}=e;return u_.createElement(HZ.Provider,{value:null},t)},VZ=e=>{var{children:t}=e,n=bI(e,["children"]);return u_.createElement(HZ.Provider,{value:n},t)},GZ=u_.forwardRef(((e,t)=>{const{className:n,style:r,children:o,prefixCls:i}=e,a=JQ(`${i}-icon`,n);return fQ.createElement("span",{ref:t,className:a,style:r},o)})),qZ=u_.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:o,iconClassName:i}=e;const a=JQ(`${n}-loading-icon`,r);return fQ.createElement(GZ,{prefixCls:n,className:a,style:o,ref:t},fQ.createElement(kZ,{className:i}))})),XZ=()=>({width:0,opacity:0,transform:"scale(0)"}),KZ=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),YZ=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:i}=e,a=!!n;return r?fQ.createElement(qZ,{prefixCls:t,className:o,style:i}):fQ.createElement(GJ,{visible:a,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:XZ,onAppearActive:KZ,onEnterStart:XZ,onEnterActive:KZ,onLeaveStart:KZ,onLeaveActive:XZ},((e,n)=>{let{className:r,style:a}=e;return fQ.createElement(qZ,{prefixCls:t,className:o,style:Object.assign(Object.assign({},i),a),ref:n,iconClassName:r})}))};_I=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),t0=e=>{const{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},e0(`${t}-primary`,o),e0(`${t}-danger`,i)]}},n0=e=>{const{componentCls:t,iconCls:n,buttonFontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},TJ(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},r0=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),o0=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),i0=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),a0=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),s0=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},r0(e,Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),l0=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},a0(e))}),c0=e=>Object.assign({},l0(e)),u0=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),p0=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c0(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),r0(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),s0(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},r0(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),s0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),l0(e))}),d0=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},c0(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),r0(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),s0(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},r0(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),s0(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),l0(e))}),m0=e=>Object.assign(Object.assign({},p0(e)),{borderStyle:"dashed"}),f0=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},r0(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),u0(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},r0(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),u0(e))}),g0=e=>Object.assign(Object.assign(Object.assign({},r0(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),u0(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},u0(e)),r0(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),h0=e=>{const{componentCls:t}=e;return{[`${t}-default`]:p0(e),[`${t}-primary`]:d0(e),[`${t}-dashed`]:m0(e),[`${t}-link`]:f0(e),[`${t}-text`]:g0(e),[`${t}-ghost`]:s0(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},b0=function(e,t){let n=arguments.length>1&&void 0!==t?t:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,lineWidth:s,borderRadius:l,buttonPaddingHorizontal:c,iconCls:u}=e;return[{[`${r}${n}`]:{fontSize:i,height:o,padding:`${Math.max(0,(o-i*a)/2-s)}px ${c-s}px`,borderRadius:l,[`&${r}-icon-only`]:{width:o,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},[u]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${n}`]:o0(e)},{[`${r}${r}-round${n}`]:i0(e)}]},_0=e=>b0(e),v0=e=>{const t=Tl(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return b0(t,`${e.componentCls}-sm`)},y0=e=>{const t=Tl(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return b0(t,`${e.componentCls}-lg`)},w0=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},C0=jl("Button",(e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=Tl(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return[n0(r),v0(r),_0(r),y0(r),w0(r),h0(r),t0(r),Oc(e),Ic(e)]}));vI=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{loading:o=!1,prefixCls:i,type:a="default",danger:s,shape:l="default",size:c,styles:u,disabled:p,className:d,rootClassName:m,children:f,icon:g,ghost:h=!1,block:b=!1,htmlType:_="button",classNames:v,style:y={}}=e,w=vI(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:C,autoInsertSpaceInButton:k,direction:x,button:D}=u_.useContext(EJ),S=C("btn",i),[E,O]=C0(S),P=u_.useContext(HJ),I=null!=p?p:P,N=u_.useContext(QZ),A=u_.useMemo((()=>function(e){if("object"==typeof e&&e){const t=null==e?void 0:e.delay;return{loading:!1,delay:Number.isNaN(t)||"number"!=typeof t?0:t}}return{loading:!!e,delay:0}}(o)),[o]),[R,T]=u_.useState(A.loading),[$,j]=u_.useState(!1),F=Us(t,u_.createRef()),L=1===u_.Children.count(f)&&!g&&!Dc(a);u_.useEffect((()=>{let e=null;return A.delay>0?e=setTimeout((()=>{e=null,T(!0)}),A.delay):T(A.loading),function(){e&&(clearTimeout(e),e=null)}}),[A]),u_.useEffect((()=>{F&&F.current&&!1!==k&&(L&&ZZ(F.current.textContent)?$||j(!0):$&&j(!1))}),[F]);const M=t=>{const{onClick:n}=e;R||I?t.preventDefault():null==n||n(t)},U=!1!==k,{compactSize:B,compactItemClassnames:H}=zZ(S,x),z=LZ((e=>{var t,n;return null!==(n=null!==(t=null!=c?c:B)&&void 0!==t?t:N)&&void 0!==n?n:e})),W=z&&{large:"lg",small:"sm",middle:void 0}[z]||"",V=R?"loading":g,G=Ys(w,["navigate"]),q=JQ(S,O,{[`${S}-${l}`]:"default"!==l&&l,[`${S}-${a}`]:a,[`${S}-${W}`]:W,[`${S}-icon-only`]:!f&&0!==f&&!!V,[`${S}-background-ghost`]:h&&!Dc(a),[`${S}-loading`]:R,[`${S}-two-chinese-chars`]:$&&U&&!R,[`${S}-block`]:b,[`${S}-dangerous`]:!!s,[`${S}-rtl`]:"rtl"===x},H,d,m,null==D?void 0:D.className),X=Object.assign(Object.assign({},null==D?void 0:D.style),y),K=JQ(null==v?void 0:v.icon,null===(n=null==D?void 0:D.classNames)||void 0===n?void 0:n.icon),Y=Object.assign(Object.assign({},(null==u?void 0:u.icon)||{}),(null===(r=null==D?void 0:D.styles)||void 0===r?void 0:r.icon)||{}),Q=g&&!R?fQ.createElement(GZ,{prefixCls:S,className:K,style:Y},g):fQ.createElement(YZ,{existIcon:!!g,prefixCls:S,loading:!!R}),J=f||0===f?function(e,t){let n=!1;const r=[];return fQ.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1;r[t]=`${r[t]}${e}`}else r.push(e);n=o})),fQ.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&xc(e.type)&&ZZ(e.props.children)?sc(e,{children:e.props.children.split("").join(n)}):xc(e)?ZZ(e)?fQ.createElement("span",null,e.split("").join(n)):fQ.createElement("span",null,e):ac(e)?fQ.createElement("span",null,e):e}(e,t)))}(f,L&&U):null;if(void 0!==G.href)return E(fQ.createElement("a",Object.assign({},G,{className:JQ(q,{[`${S}-disabled`]:I}),style:X,onClick:M,ref:F}),Q,J));let Z=fQ.createElement("button",Object.assign({},w,{type:_,className:q,style:X,onClick:M,disabled:I,ref:F}),Q,J);return Dc(a)||(Z=fQ.createElement(FZ,{component:"Button",disabled:!!R},Z)),E(Z)},x0=u_.forwardRef(k0);x0.Group=e=>{const{getPrefixCls:t,direction:n}=u_.useContext(EJ),{prefixCls:r,size:o,className:i}=e,a=_I(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=Pl();let c="";switch(o){case"large":c="lg";break;case"small":c="sm"}const u=JQ(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:"rtl"===n},i,l);return u_.createElement(QZ.Provider,{value:o},u_.createElement("div",Object.assign({},a,{className:u})))},x0.__ANT_BUTTON=!0;const D0=x0,S0=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,p=u_.useRef(!1),d=u_.useRef(null),[m,f]=Nl(!1),g=function(){null==i||i.apply(void 0,arguments)};return u_.useEffect((()=>{let e=null;return a&&(e=setTimeout((()=>{var e;null===(e=d.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]),u_.createElement(D0,Object.assign({},Nc(t),{onClick:e=>{if(p.current)return;if(p.current=!0,!u)return void g();let t;if(s){if(t=u(e),c&&!Ac(t))return p.current=!1,void g(e)}else if(u.length)t=u(i),p.current=!1;else if(t=u(),!t)return void g();(e=>{Ac(e)&&(f(!0),e.then((function(){f(!1,!0),g.apply(void 0,arguments),p.current=!1}),(e=>{if(f(!1,!0),p.current=!1,!(null==l?void 0:l()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:r},o,{ref:d}),n)},E0=()=>({height:0,opacity:0}),O0=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},P0=e=>({height:e?e.offsetHeight:0}),I0=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,N0=function(e){return{motionName:`${arguments.length>0&&void 0!==e?e:"ant"}-motion-collapse`,onAppearStart:E0,onEnterStart:E0,onAppearActive:O0,onEnterActive:O0,onLeaveStart:P0,onLeaveActive:E0,onAppearEnd:I0,onEnterEnd:I0,onLeaveEnd:I0,motionDeadline:500}},A0=(e,t,n)=>void 0!==n?n:`${e}-${t}`;yI=u_.createContext(null),wI=[],kI="rc-util-locker-".concat(Date.now()),xI=0,DI=function(e){return!1!==e&&(Aa()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},SI=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k=e.open,x=e.autoLock,D=e.getContainer;return r=void 0===(n=e.autoDestroy)||n,o=e.children,i=za(u_.useState(k),2),a=i[1],s=i[0]||k,u_.useEffect((function(){(r||k)&&a(k)}),[k,r]),c=(l=za(u_.useState((function(){return DI(D)})),2))[0],u=l[1],u_.useEffect((function(){var e=DI(D);u(null!=e?e:null)})),p=function(e){function t(){r.parentElement||document.body.appendChild(r),o.current=!0}function n(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}var r=za(u_.useState((function(){return Aa()?document.createElement("div"):null})),1)[0],o=u_.useRef(!1),i=u_.useContext(yI),a=za(u_.useState(wI),2),s=a[0],l=a[1],c=i||(o.current?void 0:function(e){l((function(t){return[e].concat(wa(t))}))});return GS((function(){return e?i?i(t):t():n(),n}),[e]),GS((function(){s.length&&(s.forEach((function(e){return e()})),l(wI))}),[s]),[r,c]}(s&&!c),m=(d=za(p,2))[0],f=d[1],g=null!=c?c:m,y=x&&k&&Aa()&&(g===m||g===document.body),w=!!y,C=za(u_.useState((function(){return xI+=1,"".concat(kI,"_").concat(xI)})),1)[0],GS((function(){var e,t;return w?(e=function(e){if(!("undefined"!=typeof document&&e&&e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.height;return{width:Rc(t.width),height:Rc(n)}}(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth,Ua("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),C)):Ma(C),function(){Ma(C)}}),[w,C]),h=null,o&&Hs(o)&&t&&(h=o.ref),b=Bs(h,t),s&&Aa()&&void 0!==c?(_=!1===g||false,v=o,t&&(v=u_.cloneElement(o,{ref:b})),u_.createElement(yI.Provider,{value:f},_?v:xk.createPortal(v,g))):null})),EI=0;const R0=u_.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));OI={width:0,height:0,overflow:"hidden",outline:"none"},PI=fQ.forwardRef((function(e,t){var n,r,o,i,a,s=e.prefixCls,l=e.className,c=e.style,u=e.title,p=e.ariaId,d=e.footer,m=e.closable,f=e.closeIcon,g=e.onClose,h=e.children,b=e.bodyStyle,_=e.bodyProps,v=e.modalRender,y=e.onMouseDown,w=e.onMouseUp,C=e.holderRef,k=e.visible,x=e.forceRender,D=e.width,S=e.height,E=u_.useRef(),O=u_.useRef();return fQ.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=E.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?E.current.focus():e||t!==E.current||O.current.focus()}}})),n={},void 0!==D&&(n.width=D),void 0!==S&&(n.height=S),d&&(r=fQ.createElement("div",{className:"".concat(s,"-footer")},d)),u&&(o=fQ.createElement("div",{className:"".concat(s,"-header")},fQ.createElement("div",{className:"".concat(s,"-title"),id:p},u))),m&&(i=fQ.createElement("button",{type:"button",onClick:g,"aria-label":"Close",className:"".concat(s,"-close")},f||fQ.createElement("span",{className:"".concat(s,"-close-x")}))),a=fQ.createElement("div",{className:"".concat(s,"-content")},i,o,fQ.createElement("div",ma({className:"".concat(s,"-body"),style:b},_),h),r),fQ.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":u?p:null,"aria-modal":"true",ref:C,style:ka(ka({},c),n),className:JQ(s,l),onMouseDown:y,onMouseUp:w},fQ.createElement("div",{tabIndex:0,ref:E,style:OI,"aria-hidden":"true"}),fQ.createElement(R0,{shouldUpdate:k||x},v?v(a):a),fQ.createElement("div",{tabIndex:0,ref:O,style:OI,"aria-hidden":"true"}))})),(II=u_.forwardRef((function(e,t){function n(){var e,t,n,r,o,i=((n={left:(t=(e=f.current).getBoundingClientRect()).left,top:t.top}).left+=jc(o=(r=e.ownerDocument).defaultView||r.parentWindow),n.top+=jc(o,!0),n);b(m?"".concat(m.x-i.left,"px ").concat(m.y-i.top,"px"):"")}var r=e.prefixCls,o=e.title,i=e.style,a=e.className,s=e.visible,l=e.forceRender,c=e.destroyOnClose,u=e.motionName,p=e.ariaId,d=e.onVisibleChanged,m=e.mousePosition,f=u_.useRef(),g=za(u_.useState(),2),h=g[0],b=g[1],_={};return h&&(_.transformOrigin=h),u_.createElement(GJ,{visible:s,onVisibleChanged:d,onAppearPrepare:n,onEnterPrepare:n,forceRender:l,motionName:u,removeOnLeave:c,ref:f},(function(n,s){var l=n.className;return u_.createElement(PI,ma({},e,{ref:t,title:o,ariaId:p,prefixCls:r,holderRef:s,style:ka(ka(ka({},n.style),i),_),className:JQ(a,l)}))}))}))).displayName="Content",(NI=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,i=void 0!==o&&o,a=e.afterClose,s=za(u_.useState(t),2),l=s[0],c=s[1];return u_.useEffect((function(){t&&c(!0)}),[t]),r||!i||l?u_.createElement(SI,{open:t||r||l,autoDestroy:!1,getContainer:n,autoLock:t||l},u_.createElement(Lc,ma({},e,{destroyOnClose:i,afterClose:function(){null==a||a(),c(!1)}}))):null}).displayName="Dialog";const T0=()=>Aa()&&window.document.documentElement;let $0;AI="RC_FORM_INTERNAL_HOOKS",TI=u_.createContext({getFieldValue:RI=function(){Pa(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},getFieldsValue:RI,getFieldError:RI,getFieldWarning:RI,getFieldsError:RI,isFieldsTouched:RI,isFieldTouched:RI,isFieldValidating:RI,isFieldsValidating:RI,resetFields:RI,setFields:RI,setFieldValue:RI,setFieldsValue:RI,validateFields:RI,submit:RI,getInternalHooks:function(){return RI(),{dispatch:RI,initEntityValue:RI,registerField:RI,useSubscribe:RI,setInitialValues:RI,destroyForm:RI,setCallbacks:RI,registerWatch:RI,getFields:RI,setValidateMessages:RI,setPreserve:RI,getInitialValue:RI}}}),$I=u_.createContext(null),jI=/%[sdj%]/g,FI=function(){},LI=function(e){function t(t,n){var r;return(r=e.call(this,"Async Validation Error")||this).errors=t,r.fields=n,r}var n,r;return r=e,(n=t).prototype=Object.create(r.prototype),n.prototype.constructor=n,zc(n,r),t}(Vc(Error)),BI=function(){var e,t,n,r,o,i,a,s,l,c,u;return UI||(e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},o=("\n(?:\n(?:"+(r="[a-fA-F\\d]{1,4}")+":){7}(?:"+r+"|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+(n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}")+"|:"+r+"|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:"+r+":){5}(?::"+n+"|(?::"+r+"){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1\n").replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+o+"$)"),a=new RegExp("^"+n+"$"),s=new RegExp("^"+o+"$"),(l=function(e){return e&&e.exact?i:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+o+t(e)+")","g")}).v4=function(e){return e&&e.exact?a:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+o+t(e),"g")},c=l.v4().source,u=l.v6().source,UI=new RegExp("(?:^(?:(?:(?:[a-z]+:)?//)|www\\.)(?:\\S+(?::\\S*)?@)?(?:localhost|"+c+"|"+u+'|(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:[/?#][^\\s"]*)?$)',"i"))},HI=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,zI=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,WI={integer:function(e){return WI.number(e)&&parseInt(e,10)===e},float:function(e){return WI.number(e)&&!WI.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(xY){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!WI.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(HI)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(BI())},hex:function(e){return"string"==typeof e&&!!e.match(zI)}},VI=function(e,t,n,r,o){var i;e.required&&void 0===t?MI(e,t,n,r,o):["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i=e.type)>-1?WI[i](t)||r.push(qc(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(qc(o.messages.types[i],e.fullField,e.type))},GI="enum",qI={required:MI=function(e,t,n,r,o,i){!e.required||n.hasOwnProperty(e.field)&&!Xc(t,i||e.type)||r.push(qc(o.messages.required,e.fullField))},whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(qc(o.messages.whitespace,e.fullField))},type:VI,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,l=t,c=null,u="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(u?c="number":p?c="string":d&&(c="array"),!c)return!1;d&&(l=t.length),p&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(qc(o.messages[c].len,e.fullField,e.len)):a&&!s&&le.max?r.push(qc(o.messages[c].max,e.fullField,e.max)):a&&s&&(le.max)&&r.push(qc(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[GI]=Array.isArray(e[GI])?e[GI]:[],-1===e[GI].indexOf(t)&&r.push(qc(o.messages[GI],e.fullField,e[GI].join(", ")))},pattern:function(e,t,n,r,o){e.pattern&&(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(qc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"==typeof e.pattern&&(new RegExp(e.pattern).test(t)||r.push(qc(o.messages.pattern.mismatch,e.fullField,t,e.pattern))))}},XI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t,"string")&&!e.required)return n();qI.required(e,t,r,i,o,"string"),Xc(t,"string")||(qI.type(e,t,r,i,o),qI.range(e,t,r,i,o),qI.pattern(e,t,r,i,o),!0===e.whitespace&&qI.whitespace(e,t,r,i,o))}n(i)},KI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&qI.type(e,t,r,i,o)}n(i)},YI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&(qI.type(e,t,r,i,o),qI.range(e,t,r,i,o))}n(i)},QI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&qI.type(e,t,r,i,o)}n(i)},JI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),Xc(t)||qI.type(e,t,r,i,o)}n(i)},ZI=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&(qI.type(e,t,r,i,o),qI.range(e,t,r,i,o))}n(i)},eN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&(qI.type(e,t,r,i,o),qI.range(e,t,r,i,o))}n(i)},tN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();qI.required(e,t,r,i,o,"array"),null!=t&&(qI.type(e,t,r,i,o),qI.range(e,t,r,i,o))}n(i)},nN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&qI.type(e,t,r,i,o)}n(i)},rN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o),void 0!==t&&qI.enum(e,t,r,i,o)}n(i)},oN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t,"string")&&!e.required)return n();qI.required(e,t,r,i,o),Xc(t,"string")||qI.pattern(e,t,r,i,o)}n(i)},iN=function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t,"date")&&!e.required)return n();qI.required(e,t,r,a,o),Xc(t,"date")||(i=t instanceof Date?t:new Date(t),qI.type(e,i,r,a,o),i&&qI.range(e,i.getTime(),r,a,o))}n(a)},aN=function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;qI.required(e,t,r,i,o,a),n(i)},sN=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t,i)&&!e.required)return n();qI.required(e,t,r,a,o,i),Xc(t,i)||qI.type(e,t,r,a,o)}n(a)},lN=function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(Xc(t)&&!e.required)return n();qI.required(e,t,r,i,o)}n(i)},cN={string:XI,method:KI,number:YI,boolean:QI,regexp:JI,integer:ZI,float:eN,array:tN,object:nN,enum:rN,pattern:oN,date:iN,url:sN,hex:sN,email:sN,required:aN,any:lN},uN=Jc(),pN=function(){function e(e){this.rules=null,this._messages=uN,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=Qc(Jc(),e)),this._messages},t.validate=function(t,n,r){var o,i,a,s,l,c,u=this;return void 0===n&&(n={}),void 0===r&&(r=function(){}),o=t,a=r,"function"==typeof(i=n)&&(a=i,i={}),this.rules&&0!==Object.keys(this.rules).length?(i.messages?((s=this.messages())===uN&&(s=Jc()),Qc(s,i.messages),i.messages=s):i.messages=this.messages(),l={},(i.keys||Object.keys(this.rules)).forEach((function(e){var n=o[e];u.rules[e].forEach((function(r){var i=r;"function"==typeof i.transform&&(o===t&&(o=Bc({},o)),n=o[e]=i.transform(n)),(i="function"==typeof i?{validator:i}:Bc({},i)).validator=u.getValidationMethod(i),i.validator&&(i.field=e,i.fullField=i.fullField||e,i.type=u.getType(i),l[e]=l[e]||[],l[e].push({rule:i,value:n,source:o,field:e}))}))})),c={},function(e,t,n,r,o){var i,a,s,l,c,u,p;return t.first?(i=new Promise((function(t,i){var a=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}(e);Kc(a,n,(function(e){return r(e),e.length?i(new LI(e,Gc(e))):t(o)}))})),i.catch((function(e){return e})),i):(a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],p=new Promise((function(t,i){var p=function(e){if(u.push.apply(u,e),++c===l)return r(u),u.length?i(new LI(u,Gc(u))):t(o)};s.length||(r(u),t(o)),s.forEach((function(t){var r=e[t];-1!==a.indexOf(t)?Kc(r,n,p):function(e,t,n){function r(e){o.push.apply(o,e||[]),++i===a&&n(o)}var o=[],i=0,a=e.length;e.forEach((function(e){t(e,r)}))}(r,n,p)}))})),p.catch((function(e){return e})),p)}(l,i,(function(t,n){function r(e,t){return Bc({},t,{fullField:l.fullField+"."+e,fullFields:l.fullFields?[].concat(l.fullFields,[e]):[e]})}function a(a){var s,p,d,m,f;if(void 0===a&&(a=[]),s=Array.isArray(a)?a:[a],!i.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==l.message&&(s=[].concat(l.message)),p=s.map(Yc(l,o)),i.first&&p.length)return c[l.field]=1,n(p);if(u){if(l.required&&!t.value)return void 0!==l.message?p=[].concat(l.message).map(Yc(l,o)):i.error&&(p=[i.error(l,qc(i.messages.required,l.field))]),n(p);d={},l.defaultField&&Object.keys(t.value).map((function(e){d[e]=l.defaultField})),d=Bc({},d,t.rule.fields),m={},Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];m[e]=n.map(r.bind(null,e))})),(f=new e(m)).messages(i.messages),t.rule.options&&(t.rule.options.messages=i.messages,t.rule.options.error=i.error),f.validate(t.value,t.rule.options||i,(function(e){var t=[];p&&p.length&&t.push.apply(t,p),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(p)}var s,l=t.rule,u=!("object"!==l.type&&"array"!==l.type||"object"!=typeof l.fields&&"object"!=typeof l.defaultField);if(u=u&&(l.required||!l.required&&t.value),l.field=t.field,l.asyncValidator)s=l.asyncValidator(l,t.value,a,t.source,i);else if(l.validator){try{s=l.validator(l,t.value,a,t.source,i)}catch(p){console,i.suppressValidatorError||setTimeout((function(){throw p}),0),a(p.message)}!0===s?a():!1===s?a("function"==typeof l.message?l.message(l.fullField||l.field):l.message||(l.fullField||l.field)+" fails"):s instanceof Array?a(s):s instanceof Error&&a(s.message)}s&&s.then&&s.then((function(){return a()}),(function(e){return a(e)}))}),(function(e){!function(e){var t,n,r,i=[],s={};for(t=0;t0&&void 0!==e?e:bN;r.validatePromise===l&&(r.validatePromise=null,n=[],o=[],null===(t=i.forEach)||void 0===t||t.call(i,(function(e){var t=e.errors,r=void 0===t?bN:t;e.rule.warningOnly?o.push.apply(o,wa(r)):n.push.apply(n,wa(r))})),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender())})),p):[]}));return s||(r.validatePromise=l,r.dirty=!0,r.errors=bN,r.warnings=bN,r.triggerMetaEvent(),r.reRender()),l},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!(!r.dirty&&void 0===r.props.initialValue)||void 0!==(0,r.props.fieldContext.getInternalHooks(AI).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}},r.getOnlyChild=function(e){var t,n;return"function"==typeof e?(t=r.getMeta(),ka(ka({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})):1===(n=Ls(e)).length&&u_.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return Zs(e||t(!0),n)},r.getControlled=function(e){var t=arguments.length>0&&void 0!==e?e:{},n=r.props,o=n.trigger,i=n.validateTrigger,a=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,c=n.getValueProps,u=n.fieldContext,p=void 0!==i?i:u.validateTrigger,d=r.getNamePath(),m=u.getFieldsValue,f=(0,u.getInternalHooks)(AI).dispatch,g=r.getValue(),h=c||function(e){return Di({},l,e)},b=t[o],_=ka(ka({},t),h(g));return _[o]=function(){var e,t,n,o;for(r.touched=!0,r.dirty=!0,r.triggerMetaEvent(),t=arguments.length,n=new Array(t),o=0;o0&&void 0!==e?e:[];n.watchList.length&&(t=n.getFieldsValue(),r=n.getFieldsValue(!0),n.watchList.forEach((function(e){e(t,r,o)})))},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(e){return arguments.length>0&&void 0!==e&&e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(e){var t=arguments.length>0&&void 0!==e&&e,r=new yN;return n.getFieldEntities(t).forEach((function(e){var t=e.getNamePath();r.set(t,e)})),r},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=iu(e);return t.get(n)||{INVALIDATE_NAME_PATH:iu(e)}}))},this.getFieldsValue=function(e,t){var r,o,i,a,s;return n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===ki(e)&&(i=e.strict,o=e.filter),!0!==r||o?(a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[],a.forEach((function(e){var t,n,a,l="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null===(n=e.isList)||void 0===n?void 0:n.call(e))return}else if(!r&&(null===(t=e.isListField)||void 0===t?void 0:t.call(e)))return;o?(a="getMeta"in e?e.getMeta():null,o(a)&&s.push(l)):s.push(l)})),au(n.store,s.map(iu))):n.store},this.getFieldValue=function(e){n.warningUnhooked();var t=iu(e);return Zs(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:iu(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){var t;return n.warningUnhooked(),t=iu(e),n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){var t;return n.warningUnhooked(),t=iu(e),n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){var e,t,r,o,i,a,s,l,c,u,p,d;for(n.warningUnhooked(),e=arguments.length,t=new Array(e),r=0;r0&&void 0!==e?e:{},i=new yN,a=n.getFieldEntities(!0);a.forEach((function(e){var t,n=e.props.initialValue,r=e.getNamePath();void 0!==n&&((t=i.get(r)||new Set).add({entity:e,value:n}),i.set(r,t))})),t=function(e){e.forEach((function(e){var t,r,a;void 0!==e.props.initialValue&&(t=e.getNamePath(),void 0!==n.getInitialValue(t)?Pa(!1,"Form already set 'initialValues' with path '".concat(t.join("."),"'. Field can not overwrite it.")):(r=i.get(t))&&r.size>1?Pa(!1,"Multiple Field with path '".concat(t.join("."),"' set 'initialValue'. Can not decide which one to pick.")):r&&(a=n.getFieldValue(t),o.skipExist&&void 0!==a||n.updateStore(tl(n.store,t,wa(r)[0].value))))}))},o.entities?r=o.entities:o.namePathList?(r=[],o.namePathList.forEach((function(e){var t,n=i.get(e);n&&(t=r).push.apply(t,wa(wa(n).map((function(e){return e.entity}))))}))):r=a,t(r)},this.resetFields=function(e){var t,r;if(n.warningUnhooked(),t=n.store,!e)return n.updateStore(rl(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();(r=e.map(iu)).forEach((function(e){var t=n.getInitialValue(e);n.updateStore(tl(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){var t,r;n.warningUnhooked(),t=n.store,r=[],e.forEach((function(e){var o=e.name,i=Si(e,wN),a=iu(o);r.push(a),"value"in i&&n.updateStore(tl(n.store,a,i.value)),n.notifyObservers(t,[a],{type:"setField",data:e})})),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=ka(ka({},e.getMeta()),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(r,"originRCField",{value:!0}),r}))},this.initEntityValue=function(e){var t,r=e.props.initialValue;void 0!==r&&(t=e.getNamePath(),void 0===Zs(n.store,t)&&n.updateStore(tl(n.store,t,r)))},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){var t,r;return n.fieldEntities.push(e),t=e.getNamePath(),n.notifyWatch([t]),void 0!==e.props.initialValue&&(r=n.store,n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})),function(r,o,i){var a,s,l=arguments.length>2&&void 0!==i?i:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),n.isMergedPreserve(o)||r&&!(l.length>1)||(a=r?void 0:n.getInitialValue(t),t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!lu(e.getNamePath(),t)}))&&(n.updateStore(tl(s=n.store,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t))),n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":n.updateValue(e.namePath,e.value);break;case"validateField":n.validateFields([e.namePath],{triggerName:e.triggerName})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=ka(ka({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat(wa(r))}),r},this.updateValue=function(e,t){var r,o,i=iu(e),a=n.store;n.updateStore(tl(n.store,i,t)),n.notifyObservers(a,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]),r=n.triggerDependenciesUpdate(a,i),(o=n.callbacks.onValuesChange)&&o(au(n.store,[i]),n.getFieldsValue()),n.triggerOnFieldsChange([i].concat(wa(r)))},this.setFieldsValue=function(e){var t,r;n.warningUnhooked(),t=n.store,e&&(r=rl(n.store,e),n.updateStore(r)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new yN;return n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=iu(t);o.update(n,(function(t){var n=arguments.length>0&&void 0!==t?t:new Set;return n.add(e),n}))}))})),function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r,o,i,a=n.callbacks.onFieldsChange;a&&(r=n.getFields(),t&&(o=new yN,t.forEach((function(e){o.set(e.name,e.errors)})),r.forEach((function(e){e.errors=o.get(e.name)||e.errors}))),(i=r.filter((function(t){return su(e,t.name)}))).length&&a(i,r))},this.validateFields=function(e,t){var r,o,i,a,s,l,c,u,p,d;return n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e,a=(i=!!r)?r.map(iu):[],s=[],l=String(Date.now()),c=new Set,n.getFieldEntities(!0).forEach((function(e){var t,u,p,d;i||a.push(e.getNamePath()),(null===(t=o)||void 0===t?void 0:t.recursive)&&i&&(u=e.getNamePath()).every((function(e,t){return r[t]===e||void 0===r[t]}))&&a.push(u),e.props.rules&&e.props.rules.length&&(p=e.getNamePath(),c.add(p.join(l)),i&&!su(a,p)||(d=e.validateRules(ka({validateMessages:ka(ka({},mN),n.validateMessages)},o)),s.push(d.then((function(){return{name:p,errors:[],warnings:[]}})).catch((function(e){var t,n=[],r=[];return null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.errors;e.rule.warningOnly?r.push.apply(r,wa(t)):n.push.apply(n,wa(t))})),n.length?Promise.reject({name:p,errors:n,warnings:r}):{name:p,errors:n,warnings:r}})))))})),u=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(s),n.lastValidatePromise=u,u.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)})),(p=u.then((function(){return n.lastValidatePromise===u?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==u})}))).catch((function(e){return e})),d=a.filter((function(e){return c.has(e.join(l))})),n.triggerOnFieldsChange(d),p},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t})),kN=u_.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),xN=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,o=e.children,i=u_.useContext(kN),a=u_.useRef({});return u_.createElement(kN.Provider,{value:ka(ka({},i),{},{validateMessages:ka(ka({},i.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:a.current}),i.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:a.current}),i.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(a.current=ka(ka({},a.current),{},Di({},e,t))),i.registerForm(e,t)},unregisterForm:function(e){var t=ka({},a.current);delete t[e],a.current=t,i.unregisterForm(e)}})},o)},DN=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],SN=function(e,t){var n,r,o,i,a,s,l=e.name,c=e.initialValues,u=e.fields,p=e.form,d=e.preserve,m=e.children,f=e.component,g=void 0===f?"form":f,h=e.validateMessages,b=e.validateTrigger,_=void 0===b?"onChange":b,v=e.onValuesChange,y=e.onFieldsChange,w=e.onFinish,C=e.onFinishFailed,k=Si(e,DN),x=u_.useContext(kN),D=za(gu(p),1)[0],S=D.getInternalHooks(AI),E=S.useSubscribe,O=S.setInitialValues,P=S.setCallbacks,I=S.setValidateMessages,N=S.setPreserve,A=S.destroyForm;return u_.useImperativeHandle(t,(function(){return D})),u_.useEffect((function(){return x.registerForm(l,D),function(){x.unregisterForm(l)}}),[x,D,l]),I(ka(ka({},x.validateMessages),h)),P({onValuesChange:v,onFieldsChange:function(e){if(x.triggerFormChange(l,e),y){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{}}),F0=u_.createContext(null),L0=e=>{const t=Ys(e,["prefixCls"]);return u_.createElement(xN,Object.assign({},t))},M0=u_.createContext({prefixCls:""}),U0=u_.createContext({}),B0=e=>{let{children:t,status:n,override:r}=e;const o=u_.useContext(U0),i=u_.useMemo((()=>{const e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,r,o]);return u_.createElement(U0.Provider,{value:i},t)},H0=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:a,okButtonProps:s,cancelButtonProps:l}=e,[c]=cJ("Modal",ol());return fQ.createElement(BJ,{disabled:!1},fQ.createElement(D0,Object.assign({onClick:a},l),r||(null==c?void 0:c.cancelText)),fQ.createElement(D0,Object.assign({},Nc(n),{loading:o,onClick:i},s),t||(null==c?void 0:c.okText)))},z0=e=>({animationDuration:e,animationFillMode:"both"}),W0=e=>({animationDuration:e,animationFillMode:"both"}),V0=function(e,t,n,r,o){const i=arguments.length>4&&void 0!==o&&o?"&":"";return{[`\n ${i}${e}-enter,\n ${i}${e}-appear\n `]:Object.assign(Object.assign({},z0(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},W0(r)),{animationPlayState:"paused"}),[`\n ${i}${e}-enter${e}-enter-active,\n ${i}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},G0=new EE("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),q0=new EE("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),X0=function(e,t){let n=arguments.length>1&&void 0!==t&&t;const{antCls:r}=e,o=`${r}-fade`,i=n?"&":"";return[V0(o,G0,q0,e.motionDurationMid,n),{[`\n ${i}${o}-enter,\n ${i}${o}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${o}-leave`]:{animationTimingFunction:"linear"}}]},K0=new EE("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Y0=new EE("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Q0=new EE("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),J0=new EE("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Z0=new EE("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),e1=new EE("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),t1={"move-up":{inKeyframes:new EE("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new EE("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:K0,outKeyframes:Y0},"move-left":{inKeyframes:Q0,outKeyframes:J0},"move-right":{inKeyframes:Z0,outKeyframes:e1}},n1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=t1[t];return[V0(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},r1=new EE("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),o1=new EE("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i1=new EE("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),a1=new EE("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s1=new EE("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),l1=new EE("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),c1=new EE("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u1=new EE("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p1={"slide-up":{inKeyframes:r1,outKeyframes:o1},"slide-down":{inKeyframes:i1,outKeyframes:a1},"slide-left":{inKeyframes:s1,outKeyframes:l1},"slide-right":{inKeyframes:c1,outKeyframes:u1}},d1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=p1[t];return[V0(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},m1=new EE("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),f1=new EE("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),g1=new EE("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),h1=new EE("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),b1=new EE("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),_1=new EE("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),v1=new EE("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),y1=new EE("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),w1=new EE("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),C1=new EE("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),k1=new EE("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),x1=new EE("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),D1={zoom:{inKeyframes:m1,outKeyframes:f1},"zoom-big":{inKeyframes:g1,outKeyframes:h1},"zoom-big-fast":{inKeyframes:g1,outKeyframes:h1},"zoom-left":{inKeyframes:v1,outKeyframes:y1},"zoom-right":{inKeyframes:w1,outKeyframes:C1},"zoom-up":{inKeyframes:b1,outKeyframes:_1},"zoom-down":{inKeyframes:k1,outKeyframes:x1}},S1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=D1[t];return[V0(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},E1=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),O1=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},vu("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},vu("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:X0(e)}]},P1=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},IJ(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},TJ(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},I1=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls},\n ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},N1=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},A1=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}},R1=jl("Modal",(e=>{const t=e.padding,n=Tl(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:e.lineHeightHeading5*e.fontSizeHeading5+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return[P1(n),I1(n),N1(n),O1(n),e.wireframe&&A1(n),S1(n,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading})));let T1;ON=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{T1={x:e.pageX,y:e.pageY},setTimeout((()=>{T1=null}),100)}),!0);const $1=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:i}=u_.useContext(EJ),a=t=>{const{onCancel:n}=e;null==n||n(t)},{prefixCls:s,className:l,rootClassName:c,open:u,wrapClassName:p,centered:d,getContainer:m,closeIcon:f,closable:g,focusTriggerAfterClose:h=!0,style:b,visible:_,width:v=520,footer:y}=e,w=ON(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),C=r("modal",s),k=r(),[x,D]=R1(C),S=JQ(p,{[`${C}-centered`]:!!d,[`${C}-wrap-rtl`]:"rtl"===o}),E=void 0===y?u_.createElement(H0,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:a})):y,[O,P]=Mc(g,f,(e=>_u(C,e)),u_.createElement(cZ,{className:`${C}-close-icon`}),!0);return x(u_.createElement(WZ,null,u_.createElement(B0,{status:!0,override:!0},u_.createElement(NI,Object.assign({width:v},w,{getContainer:void 0===m?n:m,prefixCls:C,rootClassName:JQ(D,c),wrapClassName:S,footer:E,visible:null!=u?u:_,mousePosition:null!==(t=w.mousePosition)&&void 0!==t?t:T1,onClose:a,closable:O,closeIcon:P,focusTriggerAfterClose:h,transitionName:A0(k,"zoom",e.transitionName),maskTransitionName:A0(k,"fade",e.maskTransitionName),className:JQ(D,l,null==i?void 0:i.className),style:Object.assign(Object.assign({},null==i?void 0:i.style),b)})))))},j1=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:i,centered:a,getContainer:s,maskStyle:l,direction:c,prefixCls:u,wrapClassName:p,rootPrefixCls:d,iconPrefixCls:m,theme:f,bodyStyle:g,closable:h=!1,closeIcon:b,modalRender:_,focusTriggerAfterClose:v}=e,y=`${u}-confirm`,w=e.width||416,C=e.style||{},k=void 0===e.mask||e.mask,x=void 0!==e.maskClosable&&e.maskClosable,D=JQ(y,`${y}-${e.type}`,{[`${y}-rtl`]:"rtl"===c},e.className);return u_.createElement(eZ,{prefixCls:d,iconPrefixCls:m,direction:c,theme:f},u_.createElement($1,{prefixCls:u,className:D,wrapClassName:JQ({[`${y}-centered`]:!!e.centered},p),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:o,title:"",footer:null,transitionName:A0(d,"zoom",e.transitionName),maskTransitionName:A0(d,"fade",e.maskTransitionName),mask:k,maskClosable:x,maskStyle:l,style:C,bodyStyle:g,width:w,zIndex:n,afterClose:r,keyboard:i,centered:a,getContainer:s,closable:h,closeIcon:b,modalRender:_,focusTriggerAfterClose:v},u_.createElement(yu,Object.assign({},e,{confirmPrefixCls:y}))))},F1=[];PN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{afterClose:r,config:o}=e,i=IN(e,["afterClose","config"]);const[a,s]=u_.useState(!0),[l,c]=u_.useState(o),{direction:u,getPrefixCls:p}=u_.useContext(EJ),d=p("modal"),m=p(),f=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));l.onCancel&&r&&l.onCancel.apply(l,[()=>{}].concat(wa(t.slice(1))))};u_.useImperativeHandle(t,(()=>({destroy:f,update:e=>{c((t=>Object.assign(Object.assign({},t),e)))}})));const g=null!==(n=l.okCancel)&&void 0!==n?n:"confirm"===l.type,[h]=cJ("Modal",oJ.Modal);return u_.createElement(j1,Object.assign({prefixCls:d,rootPrefixCls:m},l,{close:f,open:a,afterClose:()=>{var e;r(),null===(e=l.afterClose)||void 0===e||e.call(l)},okText:l.okText||(g?null==h?void 0:h.okText:null==h?void 0:h.justOkText),direction:l.direction||u,cancelText:l.cancelText||(null==h?void 0:h.cancelText)},i))},U1=u_.forwardRef(M1);let B1=0;const H1=u_.memo(u_.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=u_.useState([]);return[e,u_.useCallback((e=>(t((t=>[].concat(wa(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return u_.useImperativeHandle(t,(()=>({patchElement:r})),[]),u_.createElement(u_.Fragment,null,n)}))),z1=e=>{const{componentCls:t,width:n,notificationMarginEdge:r}=e;return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new EE("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}})}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new EE("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}})}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:new EE("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}})}}}},W1=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:p,notificationBg:d,notificationPadding:m,notificationMarginEdge:f,motionDurationMid:g,motionEaseInOut:h,fontSize:b,lineHeight:_,width:v,notificationIconSize:y,colorText:w}=e,C=`${n}-notice`,k=new EE("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:v},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),x=new EE("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),D={position:"relative",width:v,maxWidth:`calc(100vw - ${2*f}px)`,marginBottom:i,marginInlineStart:"auto",padding:m,overflow:"hidden",lineHeight:_,wordWrap:"break-word",background:d,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:b,cursor:"pointer"},[`${C}-message`]:{marginBottom:e.marginXS,color:p,fontSize:o,lineHeight:e.lineHeightLG},[`${C}-description`]:{fontSize:b,color:w},[`&${C}-closable ${C}-message`]:{paddingInlineEnd:e.paddingLG},[`${C}-with-icon ${C}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+y,fontSize:o},[`${C}-with-icon ${C}-description`]:{marginInlineStart:e.marginSM+y,fontSize:b},[`${C}-icon`]:{position:"absolute",fontSize:y,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${C}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${C}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:f,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[C]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[C]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:h,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:h,animationFillMode:"both",animationDuration:g,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:k,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:x,animationPlayState:"running"}}),z1(e)),{"&-rtl":{direction:"rtl",[`${C}-btn`]:{float:"left"}}})},{[n]:{[C]:Object.assign({},D)}},{[`${C}-pure-panel`]:Object.assign(Object.assign({},D),{margin:0})}]},V1=jl("Notification",(e=>{const t=Tl(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:e.paddingMD,notificationPaddingHorizontal:e.paddingLG,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[W1(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})),{clientOnly:!0});NN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,icon:n,type:r,message:o,description:i,btn:a,role:s="alert"}=e;let l=null;return n?l=u_.createElement("span",{className:`${t}-icon`},n):r&&(l=u_.createElement(G1[r]||null,{className:JQ(`${t}-icon`,`${t}-icon-${r}`)})),u_.createElement("div",{className:JQ({[`${t}-with-icon`]:l}),role:s},l,u_.createElement("div",{className:`${t}-message`},o),u_.createElement("div",{className:`${t}-description`},i),a&&u_.createElement("div",{className:`${t}-btn`},a))};AN=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{top:n,bottom:r,prefixCls:o,getContainer:i,maxCount:a,rtl:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:u,notification:p}=u_.useContext(EJ),d=o||c("notification"),[,m]=V1(d),[f,g]=lc({prefixCls:d,style:e=>function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r}(e,null!=n?n:24,null!=r?r:24),className:()=>JQ(m,{[`${d}-rtl`]:s}),motion:()=>function(e){return{motionName:`${e}-fade`}}(d),closable:!0,closeIcon:Ou(d),duration:4.5,getContainer:()=>(null==i?void 0:i())||(null==u?void 0:u())||document.body,maxCount:a,onAllRemoved:l});return u_.useImperativeHandle(t,(()=>Object.assign(Object.assign({},f),{prefixCls:d,hashId:m,notification:p}))),g})),Y1=fQ.createContext({}),Q1=fQ.createContext({message:{},notification:{},modal:{}}),J1=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:o,fontFamily:i}=e;return{[t]:{color:n,fontSize:r,lineHeight:o,fontFamily:i}}},Z1=jl("App",(e=>[J1(e)])),e2=e=>{const{prefixCls:t,children:n,className:r,rootClassName:o,message:i,notification:a,style:s}=e,{getPrefixCls:l}=u_.useContext(EJ),c=l("app",t),[u,p]=Z1(c),d=JQ(p,c,r,o),m=u_.useContext(Y1),f=fQ.useMemo((()=>({message:Object.assign(Object.assign({},m.message),i),notification:Object.assign(Object.assign({},m.notification),a)})),[i,a,m.message,m.notification]),[g,h]=pc(f.message),[b,_]=Iu(f.notification),[v,y]=Eu(),w=fQ.useMemo((()=>({message:g,notification:b,modal:v})),[g,b,v]);return u(fQ.createElement(Q1.Provider,{value:w},fQ.createElement(Y1.Provider,{value:f},fQ.createElement("div",{className:d,style:s},y,h,_,n))))};e2.useApp=()=>fQ.useContext(Q1);const t2=e2,n2=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))};RN=u_.createContext(null),TN=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],$N=void 0,(jN=u_.forwardRef(Ru)).displayName="Item",FN=fQ.createContext(null),LN=["component"],MN=["className"],UN=["className"],BN=function(e,t){var n,r,o,i,a,s,l,c=u_.useContext(FN);return c?(i=c.className,a=Si(c,MN),s=e.className,l=Si(e,UN),u_.createElement(FN.Provider,{value:null},u_.createElement(jN,ma({ref:t,className:JQ(i,s)},a,l)))):(r=void 0===(n=e.component)?"div":n,o=Si(e,LN),u_.createElement(r,ma({},o,{ref:t})))},(HN=u_.forwardRef(BN)).displayName="RawItem",zN=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],WN="responsive",VN="invalidate",(GN=u_.forwardRef(ju)).displayName="Overflow",GN.Item=HN,GN.RESPONSIVE=WN,GN.INVALIDATE=VN,qN=function(e){var t,n=e.className,r=e.customizeIcon,o=e.onMouseDown,i=e.onClick,a=e.children;return t="function"==typeof r?r(e.customizeIconProps):r,u_.createElement("span",{className:n,onMouseDown:function(e){e.preventDefault(),o&&o(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:i,"aria-hidden":!0},void 0!==t?t:u_.createElement("span",{className:JQ(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},a))},(XN=u_.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.id,a=e.disabled,s=e.tabIndex,l=e.autoFocus,c=e.autoComplete,u=e.editable,p=e.activeDescendantId,d=e.value,m=e.maxLength,f=e.onKeyDown,g=e.onMouseDown,h=e.onChange,b=e.onPaste,_=e.onCompositionStart,v=e.onCompositionEnd,y=e.open,w=e.attrs,C=e.inputElement||u_.createElement("input",null),k=C.ref,x=C.props,D=x.onKeyDown,S=x.onChange,E=x.onMouseDown,O=x.onCompositionStart,P=x.onCompositionEnd,I=x.style;return u_.cloneElement(C,ka(ka(ka({type:"search"},x),{},{id:i,ref:Us(t,k),disabled:a,tabIndex:s,autoComplete:c||"off",autoFocus:l,className:JQ("".concat(o,"-selection-search-input"),null===(n=C)||void 0===n||null===(r=n.props)||void 0===r?void 0:r.className),role:"combobox","aria-label":"Search","aria-expanded":y,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":y?p:void 0},w),{},{value:u?d:"",maxLength:m,readOnly:!u,unselectable:u?null:"on",style:ka(ka({},I),{},{opacity:u?null:0}),onKeyDown:function(e){f(e),D&&D(e)},onMouseDown:function(e){g(e),E&&E(e)},onChange:function(e){h(e),S&&S(e)},onCompositionStart:function(e){_(e),O&&O(e)},onCompositionEnd:function(e){v(e),P&&P(e)},onPaste:b}))}))).displayName="Input",KN="undefined"!=typeof window&&window.document&&window.document.documentElement,YN=KN,QN=function(e){e.preventDefault(),e.stopPropagation()},JN=function(e){function t(e,t,n,r,o){return u_.createElement("span",{className:JQ("".concat(H,"-item"),Di({},"".concat(H,"-item-disabled"),n)),title:Mu(e)},u_.createElement("span",{className:"".concat(H,"-item-content")},t),r&&u_.createElement(qN,{className:"".concat(H,"-item-remove"),onMouseDown:QN,onClick:o,customizeIcon:w},"×"))}var n,r,o,i,a=e.id,s=e.prefixCls,l=e.values,c=e.open,u=e.searchValue,p=e.autoClearSearchValue,d=e.inputRef,m=e.placeholder,f=e.disabled,g=e.mode,h=e.showSearch,b=e.autoFocus,_=e.autoComplete,v=e.activeDescendantId,y=e.tabIndex,w=e.removeIcon,C=e.maxTagCount,k=e.maxTagTextLength,x=e.maxTagPlaceholder,D=void 0===x?function(e){return"+ ".concat(e.length," ...")}:x,S=e.tagRender,E=e.onToggleOpen,O=e.onRemove,P=e.onInputChange,I=e.onInputPaste,N=e.onInputKeyDown,A=e.onInputMouseDown,R=e.onInputCompositionStart,T=e.onInputCompositionEnd,$=u_.useRef(null),j=za(u_.useState(0),2),F=j[0],L=j[1],M=za(u_.useState(!1),2),U=M[0],B=M[1],H="".concat(s,"-selection"),z=c||"multiple"===g&&!1===p||"tags"===g?u:"",W="tags"===g||"multiple"===g&&!1===p||h&&(c||U);return o=function(){L($.current.scrollWidth)},i=[z],YN?u_.useLayoutEffect(o,i):u_.useEffect(o,i),n=u_.createElement("div",{className:"".concat(H,"-search"),style:{width:F},onFocus:function(){B(!0)},onBlur:function(){B(!1)}},u_.createElement(XN,{ref:d,open:c,prefixCls:s,id:a,inputElement:null,disabled:f,autoFocus:b,autoComplete:_,editable:W,activeDescendantId:v,value:z,onKeyDown:N,onMouseDown:A,onChange:P,onPaste:I,onCompositionStart:R,onCompositionEnd:T,tabIndex:y,attrs:ic(e,!0)}),u_.createElement("span",{ref:$,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},z," ")),r=u_.createElement(GN,{prefixCls:"".concat(H,"-overflow"),data:l,renderItem:function(e){var n,r,o=e.disabled,i=e.label,a=e.value,s=!f&&!o,l=i;return"number"==typeof k&&("string"!=typeof i&&"number"!=typeof i||(n=String(l)).length>k&&(l="".concat(n.slice(0,k),"..."))),r=function(t){t&&t.stopPropagation(),O(e)},"function"==typeof S?function(e,t,n,r,o){return u_.createElement("span",{onMouseDown:function(e){QN(e),E(!c)}},S({label:t,value:e,disabled:n,closable:r,onClose:o}))}(a,l,o,s,r):t(e,l,o,s,r)},renderRest:function(e){var n="function"==typeof D?D(e):D;return t({title:n},n,!1)},suffix:n,itemKey:Uu,maxCount:C}),u_.createElement(u_.Fragment,null,r,!l.length&&!z&&u_.createElement("span",{className:"".concat(H,"-placeholder")},m))},ZN=function(e){var t,n,r,o=e.inputElement,i=e.prefixCls,a=e.id,s=e.inputRef,l=e.disabled,c=e.autoFocus,u=e.autoComplete,p=e.activeDescendantId,d=e.mode,m=e.open,f=e.values,g=e.placeholder,h=e.tabIndex,b=e.showSearch,_=e.searchValue,v=e.activeValue,y=e.maxLength,w=e.onInputKeyDown,C=e.onInputMouseDown,k=e.onInputChange,x=e.onInputPaste,D=e.onInputCompositionStart,S=e.onInputCompositionEnd,E=e.title,O=za(u_.useState(!1),2),P=O[1],I="combobox"===d,N=I||b,A=f[0],R=_||"";return I&&v&&!O[0]&&(R=v),u_.useEffect((function(){I&&P(!1)}),[I,v]),t=!("combobox"!==d&&!m&&!b||!R),n=void 0===E?Mu(A):E,r=function(){if(A)return null;var e=t?{visibility:"hidden"}:void 0;return u_.createElement("span",{className:"".concat(i,"-selection-placeholder"),style:e},g)},u_.createElement(u_.Fragment,null,u_.createElement("span",{className:"".concat(i,"-selection-search")},u_.createElement(XN,{ref:s,prefixCls:i,id:a,open:m,inputElement:o,disabled:l,autoFocus:c,autoComplete:u,editable:N,activeDescendantId:p,value:R,onKeyDown:w,onMouseDown:C,onChange:function(e){P(!0),k(e)},onPaste:x,onCompositionStart:D,onCompositionEnd:S,tabIndex:h,attrs:ic(e,!0),maxLength:I?y:void 0})),!I&&A?u_.createElement("span",{className:"".concat(i,"-selection-item"),title:n,style:t?{visibility:"hidden"}:void 0},A.label):null,r())},eA=function(e,t){var n,r,o,i,a,s,l,c,u,p,d=u_.useRef(null),m=u_.useRef(!1),f=e.prefixCls,g=e.open,h=e.mode,b=e.showSearch,_=e.tokenWithEnter,v=e.autoClearSearchValue,y=e.onSearch,w=e.onSearchSubmit,C=e.onToggleOpen,k=e.onInputKeyDown,x=e.domRef;return u_.useImperativeHandle(t,(function(){return{focus:function(){d.current.focus()},blur:function(){d.current.blur()}}})),n=za(Au(0),2),r=n[0],o=n[1],i=function(e){var t=e.which;t!==rI.UP&&t!==rI.DOWN||e.preventDefault(),k&&k(e),t!==rI.ENTER||"tags"!==h||m.current||g||null==w||w(e.target.value),[rI.ESC,rI.SHIFT,rI.BACKSPACE,rI.TAB,rI.WIN_KEY,rI.ALT,rI.META,rI.WIN_KEY_RIGHT,rI.CTRL,rI.SEMICOLON,rI.EQUALS,rI.CAPS_LOCK,rI.CONTEXT_MENU,rI.F1,rI.F2,rI.F3,rI.F4,rI.F5,rI.F6,rI.F7,rI.F8,rI.F9,rI.F10,rI.F11,rI.F12].includes(t)||C(!0)},a=function(){o(!0)},s=u_.useRef(null),l=function(e){!1!==y(e,!0,m.current)&&C(!0)},c=function(e){e.target!==d.current&&(void 0!==document.body.style.msTouchAction?setTimeout((function(){d.current.focus()})):d.current.focus())},u=function(e){var t=r();e.target===d.current||t||"combobox"===h||e.preventDefault(),("combobox"===h||b&&t)&&g||(g&&!1!==v&&y("",!0,!1),C())},p=u_.createElement("multiple"===h||"tags"===h?JN:ZN,ma({},e,{inputRef:d,onInputKeyDown:i,onInputMouseDown:a,onInputChange:function(e){var t,n=e.target.value;_&&s.current&&/[\r\n]/.test(s.current)&&(t=s.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," "),n=n.replace(t,s.current)),s.current=null,l(n)},onInputPaste:function(e){var t=e.clipboardData.getData("text");s.current=t},onInputCompositionStart:function(){m.current=!0},onInputCompositionEnd:function(e){m.current=!1,"combobox"!==h&&l(e.target.value)}})),u_.createElement("div",{ref:x,className:"".concat(f,"-selector"),onClick:c,onMouseDown:u},p)},(tA=u_.forwardRef(eA)).displayName="Selector",nA=u_.createContext(null),rA=u_.memo((function(e){return e.children}),(function(e,t){return t.cache})),oA=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.popup,u=e.className,p=e.prefixCls,d=e.style,m=e.target,f=e.onVisibleChanged,g=e.open,h=e.keepDom,b=e.onClick,_=e.mask,v=e.arrow,y=e.arrowPos,w=e.align,C=e.motion,k=e.maskMotion,x=e.forceRender,D=e.getPopupContainer,S=e.autoDestroy,E=e.portal,O=e.zIndex,P=e.onMouseEnter,I=e.onMouseLeave,N=e.onPointerEnter,A=e.ready,R=e.offsetX,T=e.offsetY,$=e.offsetR,j=e.offsetB,F=e.onAlign,L=e.onPrepare,M=e.stretch,U=e.targetWidth,B=e.targetHeight,H="function"==typeof c?c():c,z=g||h,W=(null==D?void 0:D.length)>0,V=za(u_.useState(!D||!W),2),G=V[0],q=V[1];return GS((function(){!G&&W&&m&&q(!0)}),[G,W,m]),G?(r={left:"-1000vw",top:"-1000vh",right:n="auto",bottom:n},!A&&g||(o=w.points,s=(a=null==(i=w._experimental)?void 0:i.dynamicInset)&&"b"===o[0][0],a&&"r"===o[0][1]?(r.right=$,r.left=n):(r.left=R,r.right=n),s?(r.bottom=j,r.top=n):(r.top=T,r.bottom=n)),l={},M&&(M.includes("height")&&B?l.height=B:M.includes("minHeight")&&B&&(l.minHeight=B),M.includes("width")&&U?l.width=U:M.includes("minWidth")&&U&&(l.minWidth=U)),g||(l.pointerEvents="none"),u_.createElement(E,{open:x||z,getContainer:D&&function(){return D(m)},autoDestroy:S},u_.createElement(tp,{prefixCls:p,open:g,zIndex:O,mask:_,motion:k}),u_.createElement(rO,{onResize:F,disabled:!g},(function(e){return u_.createElement(GJ,ma({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:x,leavedClassName:"".concat(p,"-hidden")},C,{onAppearPrepare:L,onEnterPrepare:L,visible:g,onVisibleChanged:function(e){var t;null==C||null===(t=C.onVisibleChanged)||void 0===t||t.call(C,e),f(e)}}),(function(n,o){var i=n.style,a=JQ(p,n.className,u);return u_.createElement("div",{ref:Us(e,t,o),className:a,style:ka(ka(ka(ka({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},r),l),i),{},{boxSizing:"border-box",zIndex:O},d),onMouseEnter:P,onMouseLeave:I,onPointerEnter:N,onClick:b},v&&u_.createElement(ep,{prefixCls:p,arrow:v,arrowPos:y,align:w}),u_.createElement(rA,{cache:!g},H))}))})))):null})),iA=u_.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=Hs(n),i=Bs(u_.useCallback((function(e){Ms(t,r?r(e):e)}),[r]),n.ref);return o?u_.cloneElement(n,{ref:i}):n})),aA=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const r2=function(e){var t=arguments.length>0&&void 0!==e?e:SI,n=u_.forwardRef((function(e,n){function r(e,t,n,r){_[e]=function(o){var i,a,s,l;for(null==r||r(o),I(t,n),a=arguments.length,s=new Array(a>1?a-1:0),l=1;l1&&void 0!==t?t:0;P(),0===n?E(e):O.current=setTimeout((function(){E(e)}),1e3*n)},u_.useEffect((function(){return P}),[]),N=za(u_.useState(!1),2),A=N[0],R=N[1],GS((function(e){e&&!x||R(!0)}),[x]),T=za(u_.useState(null),2),$=T[0],j=T[1],L=(F=za(u_.useState([0,0]),2))[0],M=F[1],U=function(e){M([e.clientX,e.clientY])},B=function(e,t,n,r,o,i,a){var s,l,c,u=za(u_.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[r]||{}}),2),p=u[0],d=u[1],m=u_.useRef(0),f=u_.useMemo((function(){return t?Vu(t):[]}),[t]),g=u_.useRef({});return e||(g.current={}),s=Il((function(){var s,l,c,u,p,m,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M,U,B,H,z,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,pe,de,me,fe,ge,he,be,_e,ve,ye,we,Ce,ke,xe,De,Se,Ee,Oe,Pe,Ie,Ne,Ae,Re,Te,$e,je,Fe,Le,Me,Ue,Be,He,ze,We,Ve,Ge,qe,Xe,Ke,Ye;if(t&&n&&e){let e=function(e,t,n){var r=arguments.length>2&&void 0!==n?n:B,o=S.x+e,i=S.y+t,a=o+N,s=i+I,l=Math.max(o,r.left),c=Math.max(i,r.top),u=Math.min(a,r.right),p=Math.min(s,r.bottom);return Math.max(0,(u-l)*(p-c))},Qe=function(){ye=(ve=S.y+ae)+I,Ce=(we=S.x+ie)+N};if(u=(c=t).ownerDocument,m=(p=Wu(c).getComputedStyle(c)).width,h=p.height,b=p.position,_=c.style.left,v=c.style.top,y=c.style.right,w=c.style.bottom,C=ka(ka({},o[r]),i),k=u.createElement("div"),null===(s=c.parentElement)||void 0===s||s.appendChild(k),k.style.left="".concat(c.offsetLeft,"px"),k.style.top="".concat(c.offsetTop,"px"),k.style.position=b,k.style.height="".concat(c.offsetHeight,"px"),k.style.width="".concat(c.offsetWidth,"px"),c.style.left="0",c.style.top="0",c.style.right="auto",c.style.bottom="auto",x=Array.isArray(n)?{x:n[0],y:n[1],width:0,height:0}:{x:(D=n.getBoundingClientRect()).x,y:D.y,width:D.width,height:D.height},S=c.getBoundingClientRect(),I=S.height,N=S.width,A=x.height,R=x.width,T={left:0,top:0,right:(E=u.documentElement).clientWidth,bottom:E.clientHeight},j="visible",F="visibleFirst","scroll"!==($=C.htmlRegion)&&$!==F&&($=j),L=$===F,M=Xu({left:-(P=E.scrollLeft),top:-(O=E.scrollTop),right:E.scrollWidth-P,bottom:E.scrollHeight-O},f),U=Xu(T,f),B=$===j?U:M,H=L?U:B,c.style.left="auto",c.style.top="auto",c.style.right="0",c.style.bottom="0",z=c.getBoundingClientRect(),c.style.left=_,c.style.top=v,c.style.right=y,c.style.bottom=w,null===(l=c.parentElement)||void 0===l||l.removeChild(k),W=Gu(Math.round(N/parseFloat(m)*1e3)/1e3),V=Gu(Math.round(I/parseFloat(h)*1e3)/1e3),0===W||0===V||zs(n)&&!NZ(n))return;G=C.targetOffset,X=(q=za(Yu(S,C.offset),2))[0],K=q[1],Q=(Y=za(Yu(x,G),2))[1],x.x-=Y[0],x.y-=Q,Z=(J=za(C.points||[],2))[0],ee=Qu(J[1]),te=Qu(Z),ne=Ju(x,ee),re=Ju(S,te),oe=ka({},C),se=e(ie=ne.x-re.x+X,ae=ne.y-re.y+K),le=e(ie,ae,U),ce=Ju(x,["t","l"]),ue=Ju(S,["t","l"]),pe=Ju(x,["b","r"]),de=Ju(S,["b","r"]),fe=(me=C.overflow||{}).adjustX,ge=me.adjustY,he=me.shiftX,be=me.shiftY,_e=function(e){return"boolean"==typeof e?e:e>=0},Qe(),ke=_e(ge),xe=te[0]===ee[0],ke&&"t"===te[0]&&(ye>H.bottom||g.current.bt)&&(De=ae,xe?De-=I-A:De=ce.y-de.y-K,Se=e(ie,De),Ee=e(ie,De,U),Se>se||Se===se&&(!L||Ee>=le)?(g.current.bt=!0,ae=De,K=-K,oe.points=[Zu(te,0),Zu(ee,0)]):g.current.bt=!1),ke&&"b"===te[0]&&(vese||Pe===se&&(!L||Ie>=le)?(g.current.tb=!0,ae=Oe,K=-K,oe.points=[Zu(te,0),Zu(ee,0)]):g.current.tb=!1),Ne=_e(fe),Ae=te[1]===ee[1],Ne&&"l"===te[1]&&(Ce>H.right||g.current.rl)&&(Re=ie,Ae?Re-=N-R:Re=ce.x-de.x-X,Te=e(Re,ae),$e=e(Re,ae,U),Te>se||Te===se&&(!L||$e>=le)?(g.current.rl=!0,ie=Re,X=-X,oe.points=[Zu(te,1),Zu(ee,1)]):g.current.rl=!1),Ne&&"r"===te[1]&&(wese||Fe===se&&(!L||Le>=le)?(g.current.lr=!0,ie=je,X=-X,oe.points=[Zu(te,1),Zu(ee,1)]):g.current.lr=!1),Qe(),"number"==typeof(Me=!0===he?0:he)&&(weU.right&&(ie-=Ce-U.right-X,x.x>U.right-Me&&(ie+=x.x-U.right+Me))),"number"==typeof(Ue=!0===be?0:be)&&(veU.bottom&&(ae-=ye-U.bottom-K,x.y>U.bottom-Ue&&(ae+=x.y-U.bottom+Ue))),He=(Be=S.x+ie)+N,We=(ze=S.y+ae)+I,Ge=(Ve=x.x)+R,Xe=(qe=x.y)+A,Ke=(Math.max(Be,Ve)+Math.min(He,Ge))/2-Be,Ye=(Math.max(ze,qe)+Math.min(We,Xe))/2-ze,null==a||a(t,oe),d({ready:!0,offsetX:ie/W,offsetY:ae/V,offsetR:(z.right-S.x-(ie+S.width))/W,offsetB:(z.bottom-S.y-(ae+S.height))/V,arrowX:Ke/W,arrowY:Ye/V,scaleX:W,scaleY:V,align:oe})}})),l=function(){m.current+=1;var e=m.current;Promise.resolve().then((function(){m.current===e&&s()}))},GS(c=function(){d((function(e){return ka(ka({},e),{},{ready:!1})}))},[r]),GS((function(){e||c()}),[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,l]}(x,c,at?L:m,Ze,tt,nt,lt),z=(H=za(B,11))[0],W=H[1],V=H[2],G=H[3],q=H[4],X=H[5],K=H[6],Y=H[7],Q=H[8],J=H[9],Z=H[10],ee=function(e,t,n,r){return u_.useMemo((function(){var o=Bu(null!=n?n:t),i=Bu(null!=r?r:t),a=new Set(o),s=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}(wt,Ne,Ae,Re),te=za(ee,2),re=te[1],oe=(ne=te[0]).has("click"),ie=re.has("click")||re.has("contextMenu"),ae=Il((function(){A||Z()})),function(e,t,n,r){GS((function(){var o,i,a,s,l;if(e&&t&&n){let e=function(){r(),S.current&&at&&ie&&I(!1)};return o=n,i=Vu(t),a=Vu(o),s=Wu(o),(l=new Set([s].concat(wa(i),wa(a)))).forEach((function(t){t.addEventListener("scroll",e,{passive:!0})})),s.addEventListener("resize",e,{passive:!0}),r(),function(){l.forEach((function(t){t.removeEventListener("scroll",e),s.removeEventListener("resize",e)}))}}}),[e,t,n])}(x,m,c,ae),GS((function(){ae()}),[L,Ze]),GS((function(){!x||null!=tt&&tt[Ze]||ae()}),[JSON.stringify(nt)]),se=u_.useMemo((function(){var e=function(e,t,n,r){var o,i,a,s=n.points,l=Object.keys(e);for(o=0;o1?n-1:0),o=1;o1?n-1:0),o=1;o0&&void 0!==e?e:10,n=za(u_.useState(!1),2),r=n[0],o=n[1],i=u_.useRef(null),a=function(){window.clearTimeout(i.current)};return u_.useEffect((function(){return a}),[]),[r,function(e,n){a(),i.current=window.setTimeout((function(){o(e),n&&n()}),t)},a]}(),f=(m=za(d,3))[0],g=m[1],h=m[2],u_.useImperativeHandle(t,(function(){var e,t;return{focus:null===(e=u.current)||void 0===e?void 0:e.focus,blur:null===(t=u.current)||void 0===t?void 0:t.blur,scrollTo:function(e){var t;return null===(t=p.current)||void 0===t?void 0:t.scrollTo(e)}}})),b=u_.useMemo((function(){var e,t;return"combobox"!==ye?Ne:"string"==typeof(t=null===(e=fe[0])||void 0===e?void 0:e.value)||"number"==typeof t?String(t):""}),[Ne,ye,fe]),_="combobox"===ye&&"function"==typeof ke&&ke()||null,v="function"==typeof xe&&xe(),y=Bs(l,null==v||null===(n=v.props)||void 0===n?void 0:n.ref),C=(w=za(u_.useState(!1),2))[0],k=w[1],GS((function(){k(!0)}),[]),x=za(Rl(!1,{defaultValue:Se,value:De}),2),D=x[0],E=!!C&&D,O=!_e&&he,(we||O&&E&&"combobox"===ye)&&(E=!1),P=!O&&E,I=u_.useCallback((function(e){var t=void 0!==e?e:!E;we||(S(t),E!==t&&(null==Ee||Ee(t)))}),[we,E,S=x[1],Ee]),N=u_.useMemo((function(){return($e||[]).some((function(e){return["\n","\r\n"].includes(e)}))}),[$e]),A=function(e,t,n){var r,o,i,a,s=!0,l=e;return null==Pe||Pe(null),r=n?null:(o=$e)&&o.length?(i=!1,a=function e(t,n){var r,o=Js(n),a=o[0],s=o.slice(1);return a?(r=t.split(a),i=i||r.length>1,r.reduce((function(t,n){return[].concat(wa(t),wa(e(n,s)))}),[]).filter((function(e){return e}))):[t]}(e,o),i?a:null):null,"combobox"!==ye&&r&&(l="",null==Te||Te(r),I(!1),s=!1),Re&&b!==l&&Re(l,{source:t?"typing":"effect"}),s},R=function(e){e&&e.trim()&&Re(e,{source:"submit"})},u_.useEffect((function(){E||ot||"combobox"===ye||A("",!1,!1)}),[E]),u_.useEffect((function(){D&&we&&S(!1),we&&g(!1)}),[we]),T=za(Au(),2),$=T[0],j=T[1],F=function(e){var t,n,r,o,i,a,s,l,c=$(),u=e.which;if(u===rI.ENTER&&("combobox"!==ye&&e.preventDefault(),E||I(!0)),j(!!b),u===rI.BACKSPACE&&!c&&ot&&!b&&fe.length){for(n=null,r=(t=wa(fe)).length-1;r>=0;r-=1)if(!(o=t[r]).disabled){t.splice(r,1),n=o;break}n&&ge(t,{type:"remove",values:[n]})}for(i=arguments.length,a=new Array(i>1?i-1:0),s=1;s1?t-1:0),r=1;r1?r-1:0),a=1;a5&&void 0!==i&&i,c=arguments.length>6?a:void 0,u=arguments.length>7?s:void 0,p=fQ.useMemo((function(){return"object"===ki(r)?r.clearIcon:o||void 0}),[r,o]);return{allowClear:fQ.useMemo((function(){return!(l||!r||!n.length&&!c||"combobox"===u&&""===c)}),[r,l,n.length,c,u]),clearIcon:fQ.createElement(qN,{className:"".concat(e,"-clear"),onMouseDown:t,customizeIcon:p},"×")}}(le,(function(){var e;null==ve||ve(),null===(e=u.current)||void 0===e||e.focus(),ge([],{type:"clear",values:fe}),A("",!1,!1)}),fe,je,Le,we,b,ye),te=ee.allowClear,ne=ee.clearIcon,re=u_.createElement(Me,{ref:p}),oe=JQ(le,ce,(Di(r={},"".concat(le,"-focused"),f),Di(r,"".concat(le,"-multiple"),ot),Di(r,"".concat(le,"-single"),!ot),Di(r,"".concat(le,"-allow-clear"),je),Di(r,"".concat(le,"-show-arrow"),J),Di(r,"".concat(le,"-disabled"),we),Di(r,"".concat(le,"-loading"),Ce),Di(r,"".concat(le,"-open"),E),Di(r,"".concat(le,"-customize-input"),_),Di(r,"".concat(le,"-show-search"),it),r)),ie=u_.createElement(uA,{ref:c,disabled:we,prefixCls:le,visible:P,popupElement:re,containerWidth:G,animation:Ue,transitionName:Be,dropdownStyle:He,dropdownClassName:ze,direction:de,dropdownMatchSelectWidth:We,dropdownRender:Ve,dropdownAlign:Ge,placement:qe,builtinPlacements:Xe,getPopupContainer:Ke,empty:he,getTriggerDOMNode:function(){return l.current},onPopupVisibleChange:Y,onPopupMouseEnter:function(){K({})}},v?u_.cloneElement(v,{ref:y}):u_.createElement(tA,ma({},e,{domRef:l,prefixCls:le,inputElement:_,ref:u,id:se,showSearch:it,autoClearSearchValue:Ae,mode:ye,activeDescendantId:Ie,tagRender:pe,values:fe,open:E,onToggleOpen:I,activeValue:Oe,searchValue:b,onSearch:A,onSearchSubmit:R,onRemove:M,tokenWithEnter:N}))),ae=v?ie:u_.createElement("div",ma({className:oe},at,{ref:s,onMouseDown:W,onKeyDown:F,onKeyUp:L,onFocus:B,onBlur:H}),f&&!E&&u_.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(fe.map((function(e){var t=e.label,n=e.value;return["number","string"].includes(ki(t))?t:n})).join(", "))),ie,Z,te&&ne),u_.createElement(RN.Provider,{value:Q},ae)})),fA=0,gA=Aa(),hA=["children","value"],bA=["children"],(_A=function(){return null}).isSelectOptGroup=!0,(vA=function(){return null}).isSelectOption=!0,(yA=u_.forwardRef((function(e,t){var n,r=e.offsetY,o=e.offsetX,i=e.children,a=e.prefixCls,s=e.onInnerResize,l=e.innerProps,c=e.rtl,u=e.extra,p={},d={display:"flex",flexDirection:"column"};return void 0!==r&&(p={height:e.height,position:"relative",overflow:"hidden"},d=ka(ka({},d),{},(Di(n={transform:"translateY(".concat(r,"px)")},c?"marginRight":"marginLeft",-o),Di(n,"position","absolute"),Di(n,"left",0),Di(n,"right",0),Di(n,"top",0),n))),u_.createElement("div",{style:p},u_.createElement(rO,{onResize:function(e){e.offsetHeight&&s&&s()}},u_.createElement("div",ma({style:d,className:JQ(Di({},"".concat(a,"-holder-inner"),a)),ref:t},l),i,u)))}))).displayName="Filler",wA=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.prefixCls,u=e.rtl,p=e.scrollOffset,d=e.scrollRange,m=e.onStartMove,f=e.onStopMove,g=e.onScroll,h=e.horizontal,b=e.spinSize,_=e.containerSize,v=za(u_.useState(!1),2),y=v[0],w=v[1],C=za(u_.useState(null),2),k=C[0],x=C[1],D=za(u_.useState(null),2),S=D[0],E=D[1],O=!u,P=u_.useRef(),I=u_.useRef(),N=za(u_.useState(!1),2),A=N[0],R=N[1],T=u_.useRef(),$=function(){clearTimeout(T.current),R(!0),T.current=setTimeout((function(){R(!1)}),3e3)},j=d-_||0,F=_-b||0,L=j>0,M=u_.useMemo((function(){return 0===p||0===j?0:p/j*F}),[p,j,F]),U=u_.useRef({top:M,dragging:y,pageY:k,startTop:S});return U.current={top:M,dragging:y,pageY:k,startTop:S},r=function(e){w(!0),x(lp(e,h)),E(U.current.top),m(),e.stopPropagation(),e.preventDefault()},u_.useEffect((function(){var e=function(e){e.preventDefault()},t=P.current,n=I.current;return t.addEventListener("touchstart",e),n.addEventListener("touchstart",r),function(){t.removeEventListener("touchstart",e),n.removeEventListener("touchstart",r)}}),[]),(o=u_.useRef()).current=j,(i=u_.useRef()).current=F,u_.useEffect((function(){var e,t,n;if(y)return t=function(t){var n,r,a,s,l,c=U.current,u=c.dragging,p=c.pageY,d=c.startTop;lO.cancel(e),u&&(n=lp(t,h)-p,r=d,!O&&h?r-=n:r+=n,a=o.current,s=i.current,l=Math.ceil((s?r/s:0)*a),l=Math.max(l,0),l=Math.min(l,a),e=lO((function(){g(l,h)})))},n=function(){w(!1),f()},window.addEventListener("mousemove",t),window.addEventListener("touchmove",t),window.addEventListener("mouseup",n),window.addEventListener("touchend",n),function(){window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",n),window.removeEventListener("touchend",n),lO.cancel(e)}}),[y]),u_.useEffect((function(){$()}),[p]),u_.useImperativeHandle(t,(function(){return{delayHidden:$}})),a="".concat(c,"-scrollbar"),s={position:"absolute",visibility:A&&L?null:"hidden"},l={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},h?(s.height=8,s.left=0,s.right=0,s.bottom=0,l.height="100%",l.width=b,O?l.left=M:l.right=M):(s.width=8,s.top=0,s.bottom=0,O?s.right=0:s.left=0,l.width="100%",l.height=b,l.top=M),u_.createElement("div",{ref:P,className:JQ(a,(n={},Di(n,"".concat(a,"-horizontal"),h),Di(n,"".concat(a,"-vertical"),!h),Di(n,"".concat(a,"-visible"),A),n)),style:s,onMouseDown:function(e){e.stopPropagation(),e.preventDefault()},onMouseMove:$},u_.createElement("div",{ref:I,className:JQ("".concat(a,"-thumb"),Di({},"".concat(a,"-thumb-moving"),y)),style:l,onMouseDown:r}))})),CA=function(){function e(){Oi(this,e),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return Ii(e,[{key:"set",value:function(e,t){this.maps[e]=t,this.id+=1}},{key:"get",value:function(e){return this.maps[e]}}]),e}(),kA="object"===("undefined"==typeof navigator?"undefined":ki(navigator))&&/Firefox/i.test(navigator.userAgent);const o2=function(e,t){var n=u_.useRef(!1),r=u_.useRef(null),o=u_.useRef({top:e,bottom:t});return o.current.top=e,o.current.bottom=t,function(e,t){var i=e<0&&o.current.top||e>0&&o.current.bottom;return arguments.length>1&&void 0!==t&&t&&i?(clearTimeout(r.current),n.current=!1):i&&!n.current||(clearTimeout(r.current),n.current=!0,r.current=setTimeout((function(){n.current=!1}),50)),!n.current&&i}};xA=14/15,DA=20,SA=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender"],EA=[],OA={overflowY:"auto",overflowAnchor:"none"},(PA=u_.forwardRef(pp)).displayName="List",IA=u_.createContext(null),NA=["disabled","title","children","style","className"],AA=function(e,t){function n(e,t){return{role:e.group?"presentation":"option",id:"".concat(p,"_list_").concat(t)}}var r,o,i,a,s,l,c=u_.useContext(RN),u=c.prefixCls,p=c.id,d=c.open,m=c.multiple,f=c.mode,g=c.searchValue,h=c.toggleOpen,b=c.notFoundContent,_=c.onPopupScroll,v=u_.useContext(IA),y=v.flattenOptions,w=v.onActiveValue,C=v.defaultActiveFirstOption,k=v.onSelect,x=v.menuItemSelectedIcon,D=v.rawValues,S=v.fieldNames,E=v.virtual,O=v.direction,P=v.listHeight,I=v.listItemHeight,N="".concat(u,"-item"),A=Da((function(){return y}),[d,y],(function(e,t){return t[0]&&e[1]!==t[1]})),R=u_.useRef(null),T=function(e){e.preventDefault()},$=function(e){R.current&&R.current.scrollTo("number"==typeof e?{index:e}:e)},j=function(e,t){var n,r,o,i=arguments.length>1&&void 0!==t?t:1,a=A.length;for(n=0;n1&&void 0!==t&&t;M(e),n={source:o?"keyboard":"mouse"},(r=A[e])?w(r.value,e,n):w(null,-1,n)};return u_.useEffect((function(){U(!1!==C?j(0):-1)}),[A.length,g]),r=u_.useCallback((function(e){return D.has(e)&&"combobox"!==f}),[f,wa(D).toString(),D.size]),u_.useEffect((function(){var e,t=setTimeout((function(){var e,t;!m&&d&&1===D.size&&(e=Array.from(D)[0],-1!==(t=A.findIndex((function(t){return t.data.value===e})))&&(U(t),$(t)))}));return d&&(null===(e=R.current)||void 0===e||e.scrollTo(void 0)),function(){return clearTimeout(t)}}),[d,g,y.length]),o=function(e){void 0!==e&&k(e,{selected:!D.has(e)}),m||h(!1)},u_.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n,r,i=e.which,a=e.ctrlKey;switch(i){case rI.N:case rI.P:case rI.UP:case rI.DOWN:t=0,i===rI.UP?t=-1:i===rI.DOWN?t=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&a&&(i===rI.N?t=1:i===rI.P&&(t=-1)),0!==t&&(n=j(L+t,t),$(n),U(n,!0));break;case rI.ENTER:o((r=A[L])&&!r.data.disabled?r.value:void 0),d&&e.preventDefault();break;case rI.ESC:h(!1),d&&e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(e){$(e)}}})),0===A.length?u_.createElement("div",{role:"listbox",id:"".concat(p,"_list"),className:"".concat(N,"-empty"),onMouseDown:T},b):(i=Object.keys(S).map((function(e){return S[e]})),a=function(e){return e.label},s=function(e){var t,o,i,s,l,c=A[e];return c?(o=(t=c.data||{}).value,i=c.group,s=ic(t,!0),l=a(c),c?u_.createElement("div",ma({"aria-label":"string"!=typeof l||i?null:l},s,{key:e},n(c,e),{"aria-selected":r(o)}),o):null):null},l={role:"listbox",id:"".concat(p,"_list")},u_.createElement(u_.Fragment,null,E&&u_.createElement("div",ma({},l,{style:{height:0,width:0,overflow:"hidden"}}),s(L-1),s(L),s(L+1)),u_.createElement(PA,{itemKey:"key",ref:R,data:A,height:P,itemHeight:I,fullHeight:!1,onMouseDown:T,onScroll:_,virtual:E,direction:O,innerProps:E?null:l},(function(e,t){var s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C=e.groupOption,k=e.data,D=e.label,S=e.value,O=k.key;return e.group?(c=null!==(l=k.title)&&void 0!==l?l:dp(D)?D.toString():void 0,u_.createElement("div",{className:JQ(N,"".concat(N,"-group")),title:c},void 0!==D?D:O)):(u=k.disabled,p=k.title,d=k.style,m=k.className,f=Ys(Si(k,NA),i),g=r(S),h="".concat(N,"-option"),b=JQ(N,h,m,(Di(s={},"".concat(h,"-grouped"),C),Di(s,"".concat(h,"-active"),L===t&&!u),Di(s,"".concat(h,"-disabled"),u),Di(s,"".concat(h,"-selected"),g),s)),_=a(e),v=!x||"function"==typeof x||g,w=dp(y="number"==typeof _?_:_||S)?y.toString():void 0,void 0!==p&&(w=p),u_.createElement("div",ma({},ic(f),E?{}:n(e,t),{"aria-selected":g,className:b,title:w,onMouseMove:function(){L===t||u||U(t)},onClick:function(){u||o(S)},style:d}),u_.createElement("div",{className:"".concat(h,"-content")},y),u_.isValidElement(x)||g,v&&u_.createElement(qN,{className:"".concat(N,"-option-state"),customizeIcon:x,customizeIconProps:{isSelected:g}},g?"✓":null)))}))))},(RA=u_.forwardRef(AA)).displayName="OptionList",TA=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],$A=["inputValue"],jA=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k=e.id,x=e.mode,D=e.prefixCls,S=void 0===D?"rc-select":D,E=e.backfill,O=e.fieldNames,P=e.inputValue,I=e.searchValue,N=e.onSearch,A=e.autoClearSearchValue,R=void 0===A||A,T=e.onSelect,$=e.onDeselect,j=e.dropdownMatchSelectWidth,F=void 0===j||j,L=e.filterOption,M=e.filterSort,U=e.optionFilterProp,B=e.optionLabelProp,H=e.options,z=e.children,W=e.defaultActiveFirstOption,V=e.menuItemSelectedIcon,G=e.virtual,q=e.direction,X=e.listHeight,K=void 0===X?200:X,Y=e.listItemHeight,Q=void 0===Y?20:Y,J=e.value,Z=e.defaultValue,ee=e.labelInValue,te=e.onChange,ne=Si(e,TA),re=function(e){var t=za(u_.useState(),2),n=t[0],r=t[1];return u_.useEffect((function(){var e;r("rc_select_".concat((gA?(e=fA,fA+=1):e="TEST_OR_SSR",e)))}),[]),e||n}(k),oe=ip(x),ie=!(H||!z),ae=u_.useMemo((function(){return(void 0!==L||"combobox"!==x)&&L}),[L,x]),se=u_.useMemo((function(){return rp(O,ie)}),[JSON.stringify(O),ie]),le=za(Rl("",{value:void 0!==I?I:P,postState:function(e){return e||""}}),2),ce=le[0],ue=le[1],pe=function(e,t,n,r,o){return u_.useMemo((function(){var i,a,s,l=e;return!e&&(l=ap(t)),i=new Map,a=new Map,s=function(e,t,n){n&&"string"==typeof n&&e.set(t[n],t)},function e(t,l){var c,u,p=arguments.length>1&&void 0!==l&&l;for(c=0;c1&&void 0!==t?t:{},r=n.childrenAsData,o=[],i=rp(n.fieldNames,!1),a=i.label,s=i.value,l=i.options,c=i.groupLabel;return function e(t,n){t.forEach((function(t){var i,u;n||!(l in t)?(i=t[s],o.push({key:np(t,o.length),groupOption:n,data:t,label:t[a],value:i})):(void 0===(u=t[c])&&r&&(u=t.label),o.push({key:np(t,o.length),group:!0,data:t,label:u}),e(t[l],!0))}))}(e,!1),o}(a,{fieldNames:se,childrenAsData:ie})}),[a,se,ie]),l=function(e){var t,n,r=ge(e);_e(r),te&&(r.length!==Ce.length||r.some((function(e,t){var n;return(null===(n=Ce[t])||void 0===n?void 0:n.value)!==(null==e?void 0:e.value)})))&&(t=ee?r:r.map((function(e){return e.value})),n=r.map((function(e){return op(ke(e.value))})),te(oe?t:t[0],oe?n:n[0]))},u=(c=za(u_.useState(null),2))[0],p=c[1],m=(d=za(u_.useState(0),2))[0],f=d[1],g=void 0!==W?W:"combobox"!==x,h=u_.useCallback((function(e,t,n){var r=(arguments.length>2&&void 0!==n?n:{}).source,o=void 0===r?"keyboard":r;f(t),E&&"combobox"===x&&null!==e&&"keyboard"===o&&p(String(e))}),[E,x]),b=function(e,t,n){var r,o,i=function(){var t,n=ke(e);return[ee?{label:null==n?void 0:n[se.label],value:e,key:null!==(t=null==n?void 0:n.key)&&void 0!==t?t:e}:e,op(n)]};t&&T?(r=za(i(),2),T(r[0],r[1])):!t&&$&&"clear"!==n&&(o=za(i(),2),$(o[0],o[1]))},_=sp((function(e,t){var n,r=!oe||t.selected;n=r?oe?[].concat(wa(Ce),[e]):[e]:Ce.filter((function(t){return t.value!==e})),l(n),b(e,r),"combobox"===x?p(""):ip&&!R||(ue(""),p(""))})),v=function(e,t){l(e);var n=t.type;"remove"!==n&&"clear"!==n||t.values.forEach((function(e){b(e.value,!1,n)}))},y=function(e,t){var n,r;ue(e),p(null),"submit"!==t.source?"blur"!==t.source&&("combobox"===x&&l(e),null==N||N(e)):(n=(e||"").trim())&&(r=Array.from(new Set([].concat(wa(De),[n]))),l(r),b(n,!0),ue(""))},w=function(e){var t,n=e;"tags"!==x&&(n=e.map((function(e){var t=me.get(e);return null==t?void 0:t.value})).filter((function(e){return void 0!==e}))),t=Array.from(new Set([].concat(wa(De),wa(n)))),l(t),t.forEach((function(e){b(e,!0)}))},C=u_.useMemo((function(){var e=!1!==G&&!1!==F;return ka(ka({},pe),{},{flattenOptions:s,onActiveValue:h,defaultActiveFirstOption:g,onSelect:_,menuItemSelectedIcon:V,rawValues:De,fieldNames:se,virtual:e,direction:q,listHeight:K,listItemHeight:Q,childrenAsData:ie})}),[pe,s,h,g,_,V,De,se,G,F,K,Q,ie]),u_.createElement(IA.Provider,{value:C},u_.createElement(mA,ma({},ne,{id:re,prefixCls:S,ref:t,omitDomProps:$A,mode:x,displayValues:xe,onDisplayValuesChange:v,direction:q,searchValue:ce,onSearch:y,autoClearSearchValue:R,onSearchSplit:w,dropdownMatchSelectWidth:F,OptionList:RA,emptyOptions:!s.length,activeValue:u,activeDescendantId:"".concat(re,"_list_").concat(m)})))})),(FA=jA).Option=vA,FA.OptGroup=_A;const i2=(e,t)=>t||e,a2=()=>{const[,e]=Pl(),t=new gO(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return u_.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},u_.createElement("g",{fill:"none",fillRule:"evenodd"},u_.createElement("g",{transform:"translate(24 31.67)"},u_.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),u_.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),u_.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),u_.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),u_.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),u_.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),u_.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},u_.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),u_.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},s2=()=>{const[,e]=Pl(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:o}=e,{borderColor:i,shadowColor:a,contentColor:s}=u_.useMemo((()=>({borderColor:new gO(t).onBackground(o).toHexShortString(),shadowColor:new gO(n).onBackground(o).toHexShortString(),contentColor:new gO(r).onBackground(o).toHexShortString()})),[t,n,r,o]);return u_.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},u_.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},u_.createElement("ellipse",{fill:a,cx:"32",cy:"33",rx:"32",ry:"7"}),u_.createElement("g",{fillRule:"nonzero",stroke:i},u_.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),u_.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},l2=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:o,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorText},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:o,color:e.colorTextDisabled,[`${t}-description`]:{color:e.colorTextDisabled},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},c2=jl("Empty",(e=>{const{componentCls:t,controlHeightLG:n}=e,r=Tl(e,{emptyImgCls:`${t}-img`,emptyImgHeight:2.5*n,emptyImgHeightMD:n,emptyImgHeightSM:.875*n});return[l2(r)]}));LA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var{className:t,rootClassName:n,prefixCls:r,image:o=u2,description:i,children:a,imageStyle:s,style:l}=e,c=LA(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:u,direction:p,empty:d}=u_.useContext(EJ),m=u("empty",r),[f,g]=c2(m),[h]=cJ("Empty"),b=void 0!==i?i:null==h?void 0:h.description;let _=null;return _="string"==typeof o?u_.createElement("img",{alt:"string"==typeof b?b:"empty",src:o}):o,f(u_.createElement("div",Object.assign({className:JQ(g,m,null==d?void 0:d.className,{[`${m}-normal`]:o===p2,[`${m}-rtl`]:"rtl"===p},t,n),style:Object.assign(Object.assign({},null==d?void 0:d.style),l)},c),u_.createElement("div",{className:`${m}-image`,style:s},_),b&&u_.createElement("div",{className:`${m}-description`},b),a&&u_.createElement("div",{className:`${m}-footer`},a)))};d2.PRESENTED_IMAGE_DEFAULT=u2,d2.PRESENTED_IMAGE_SIMPLE=p2;const m2=d2,f2=e=>{const{componentName:t}=e,{getPrefixCls:n}=u_.useContext(EJ),r=n("empty");switch(t){case"Table":case"List":return fQ.createElement(m2,{image:m2.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return fQ.createElement(m2,{image:m2.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});default:return fQ.createElement(m2,null)}},g2=e=>{const{controlPaddingHorizontal:t,controlHeight:n,fontSize:r,lineHeight:o}=e;return{position:"relative",display:"block",minHeight:n,padding:`${(n-r*o)/2}px ${t}px`,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:o,boxSizing:"border-box"}},h2=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,o=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},IJ(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`\n ${o}${s}bottomLeft,\n ${i}${s}bottomLeft\n `]:{animationName:r1},[`\n ${o}${s}topLeft,\n ${i}${s}topLeft,\n ${o}${s}topRight,\n ${i}${s}topRight\n `]:{animationName:i1},[`${a}${s}bottomLeft`]:{animationName:o1},[`\n ${a}${s}topLeft,\n ${a}${s}topRight\n `]:{animationName:a1},"&-hidden":{display:"none"},[`${r}`]:Object.assign(Object.assign({},g2(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},PJ),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.controlItemBgHover},[`&-selected:not(${r}-option-disabled)`]:{color:e.colorText,fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:2*e.controlPaddingHorizontal}}}),"&-rtl":{direction:"rtl"}})},d1(e,"slide-up"),d1(e,"slide-down"),n1(e,"move-up"),n1(e,"move-down")]},b2=e=>{let{controlHeightSM:t,controlHeight:n,lineWidth:r}=e;const o=(n-t)/2-r;return[o,Math.ceil(o/2)]},_2=e=>{const{componentCls:t}=e,n=Tl(e,{controlHeight:e.controlHeightSM,controlHeightSM:e.controlHeightXS,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Tl(e,{fontSize:e.fontSizeLG,controlHeight:e.controlHeightLG,controlHeightSM:e.controlHeight,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius}),[,o]=b2(e);return[fp(e),fp(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.controlPaddingHorizontalSM-e.lineWidth},[`${t}-selection-search`]:{marginInlineStart:o}}},fp(r,"lg")]},v2=e=>{const{componentCls:t}=e;return{position:"relative",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${t}-disabled&`]:{color:e.colorTextDisabled,background:e.colorBgContainerDisabled,cursor:"not-allowed",[`${t}-multiple&`]:{background:e.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},y2=function(e,t,n){let r=arguments.length>2&&void 0!==n&&n;const{componentCls:o,borderHoverColor:i,outlineColor:a,antCls:s}=t;return{[e]:{[`&:not(${o}-disabled):not(${o}-customize-input):not(${s}-pagination-size-changer)`]:Object.assign(Object.assign({},r?{[`${o}-selector`]:{borderColor:i}}:{}),{[`${o}-focused& ${o}-selector`]:{borderColor:i,boxShadow:`0 0 0 ${t.controlOutlineWidth}px ${a}`,outline:0},[`&:hover ${o}-selector`]:{borderColor:i}})}}},w2=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},C2=e=>{const{componentCls:t,inputPaddingHorizontalBase:n,iconCls:r}=e;return{[t]:Object.assign(Object.assign({},IJ(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:Object.assign(Object.assign({},v2(e)),w2(e)),[`${t}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},PJ),[`${t}-selection-placeholder`]:Object.assign(Object.assign({},PJ),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${t}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:n,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:-e.fontSizeIcon/2,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:e.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${t}-clear`]:{opacity:1}}}),[`${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:n+e.fontSize+e.paddingXS}}}},k2=e=>{const{componentCls:t}=e;return[{[t]:{[`&-borderless ${t}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${t}-in-form-item`]:{width:"100%"}}},C2(e),hp(e),_2(e),h2(e),{[`${t}-rtl`]:{direction:"rtl"}},y2(t,Tl(e,{borderHoverColor:e.colorPrimaryHover,outlineColor:e.controlOutline})),y2(`${t}-status-error`,Tl(e,{borderHoverColor:e.colorErrorHover,outlineColor:e.colorErrorOutline}),!0),y2(`${t}-status-warning`,Tl(e,{borderHoverColor:e.colorWarningHover,outlineColor:e.colorWarningOutline}),!0),Oc(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},x2=jl("Select",((e,t)=>{let{rootPrefixCls:n}=t;const r=Tl(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.paddingSM-1});return[k2(r)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50}))),D2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},S2=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:D2}))})),E2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},O2=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:E2}))})),P2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},I2=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:P2}))}));MA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,{prefixCls:r,bordered:o=!0,className:i,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:p,listItemHeight:d=24,size:m,disabled:f,notFoundContent:g,status:h,builtinPlacements:b,dropdownMatchSelectWidth:_,popupMatchSelectWidth:v,direction:y,style:w,allowClear:C}=e,k=MA(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:x,getPrefixCls:D,renderEmpty:S,direction:E,virtual:O,popupMatchSelectWidth:P,popupOverflow:I,select:N}=u_.useContext(EJ),A=D("select",r),R=D(),T=null!=y?y:E,{compactSize:$,compactItemClassnames:j}=zZ(A,T),[F,L]=x2(A),M=u_.useMemo((()=>{const{mode:e}=k;if("combobox"!==e)return e===N2?"combobox":e}),[k.mode]),U="multiple"===M||"tags"===M,B=function(e,t){return void 0!==t?t:null!==e}(k.suffixIcon,k.showArrow),H=null!==(n=null!=v?v:_)&&void 0!==n?n:P,{status:z,hasFeedback:W,isFormItemInput:V,feedbackIcon:G}=u_.useContext(U0),q=i2(z,h);let X;X=void 0!==g?g:"combobox"===M?null:(null==S?void 0:S("Select"))||u_.createElement(f2,{componentName:"Select"});const{suffixIcon:K,itemIcon:Y,removeIcon:Q,clearIcon:J}=function(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:o,loading:i,multiple:a,hasFeedback:s,prefixCls:l,showSuffixIcon:c,feedbackIcon:u,showArrow:p}=e;const d=null!=n?n:u_.createElement(sZ,null),m=e=>null!==t||s||p?u_.createElement(u_.Fragment,null,!1!==c&&e,s&&u):null;let f=null;if(void 0!==t)f=m(t);else if(i)f=m(u_.createElement(kZ,{spin:!0}));else{const e=`${l}-suffix`;f=t=>{let{open:n,showSearch:r}=t;return m(u_.createElement(n&&r?I2:O2,{className:e}))}}let g=null;g=void 0!==r?r:a?u_.createElement(S2,null):null;let h=null;return h=void 0!==o?o:u_.createElement(cZ,null),{clearIcon:d,suffixIcon:f,itemIcon:g,removeIcon:h}}(Object.assign(Object.assign({},k),{multiple:U,hasFeedback:W,feedbackIcon:G,showSuffixIcon:B,prefixCls:A,showArrow:k.showArrow,componentName:"Select"})),Z=!0===C?{clearIcon:J}:C,ee=Ys(k,["suffixIcon","itemIcon"]),te=JQ(l||c,{[`${A}-dropdown-${T}`]:"rtl"===T},a,L),ne=LZ((e=>{var t;return null!==(t=null!=m?m:$)&&void 0!==t?t:e})),re=u_.useContext(HJ),oe=null!=f?f:re,ie=JQ({[`${A}-lg`]:"large"===ne,[`${A}-sm`]:"small"===ne,[`${A}-rtl`]:"rtl"===T,[`${A}-borderless`]:!o,[`${A}-in-form-item`]:V},mp(A,q,W),j,null==N?void 0:N.className,i,a,L),ae=u_.useMemo((()=>void 0!==p?p:"rtl"===T?"bottomRight":"bottomLeft"),[p,T]),se=function(e,t){return e||(e=>{const t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},t),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},t),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},t),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},t),{points:["br","tr"],offset:[0,-4]})}})(t)}(b,I);return F(u_.createElement(FA,Object.assign({ref:t,virtual:O,showSearch:null==N?void 0:N.showSearch},ee,{style:Object.assign(Object.assign({},null==N?void 0:N.style),w),dropdownMatchSelectWidth:H,builtinPlacements:se,transitionName:A0(R,"slide-up",k.transitionName),listHeight:u,listItemHeight:d,mode:M,prefixCls:A,placement:ae,direction:T,suffixIcon:K,menuItemSelectedIcon:Y,removeIcon:Q,allowClear:Z,notFoundContent:X,className:ie,getPopupContainer:s||x,dropdownClassName:te,disabled:oe})))},R2=u_.forwardRef(A2),T2=(dY=R2,Nu((function(e){const{prefixCls:t,style:n}=e,r=u_.useRef(null),[o,i]=u_.useState(0),[a,s]=u_.useState(0),[l,c]=Rl(!1,{value:e.open}),{getPrefixCls:u}=u_.useContext(EJ),p=u("select",t);u_.useEffect((()=>{if(c(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;i(t.offsetHeight+8),s(t.offsetWidth)})),t=setInterval((()=>{var n;const o=null===(n=r.current)||void 0===n?void 0:n.querySelector(`.${p}-dropdown`);o&&(clearInterval(t),e.observe(o))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let d=Object.assign(Object.assign({},e),{style:Object.assign(Object.assign({},n),{margin:0}),open:l,visible:l,getPopupContainer:()=>r.current});return u_.createElement("div",{ref:r,style:{paddingBottom:o,position:"relative",minWidth:a}},u_.createElement(dY,Object.assign({},d)))})));R2.SECRET_COMBOBOX_MODE_DO_NOT_USE=N2,R2.Option=vA,R2.OptGroup=_A,R2._InternalPanelDoNotUseOrYouWillBeFired=T2;const $2=R2,j2=["xxl","xl","lg","md","sm","xs"],F2=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),L2=e=>{const t=e,n=[].concat(j2).reverse();return n.forEach(((e,r)=>{const o=e.toUpperCase(),i=`screen${o}Min`,a=`screen${o}`;if(!(t[i]<=t[a]))throw new Error(`${i}<=${a} fails : !(${t[i]}<=${t[a]})`);if(rnew gO(e).setAlpha(t).toRgbString(),V2=(e,t)=>new gO(e).lighten(t).toHexString(),G2=e=>{const t=kl(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},q2=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:W2(r,.85),colorTextSecondary:W2(r,.65),colorTextTertiary:W2(r,.45),colorTextQuaternary:W2(r,.25),colorFill:W2(r,.18),colorFillSecondary:W2(r,.12),colorFillTertiary:W2(r,.08),colorFillQuaternary:W2(r,.04),colorBgElevated:V2(n,12),colorBgContainer:V2(n,8),colorBgLayout:V2(n,0),colorBgSpotlight:V2(n,26),colorBorder:V2(n,26),colorBorderSecondary:V2(n,19)}},X2={defaultConfig:kJ,defaultSeed:kJ.token,useToken:function(){const[e,t,n]=Pl();return{theme:e,token:t,hashId:n}},defaultAlgorithm:Dl,darkAlgorithm:(e,t)=>{const n=Object.keys(fJ).map((t=>{const n=kl(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:Dl(e);return Object.assign(Object.assign(Object.assign({},r),n),xl(e,{generateColorPalettes:G2,generateNeutralColorPalettes:q2}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:Dl(e),r=n.fontSizeSM,o=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),wJ(r)),{controlHeight:o}),mJ(Object.assign(Object.assign({},n),{controlHeight:o})))},getDesignToken:e=>{const t=Wa((null==e?void 0:e.algorithm)?e.algorithm:Dl),n=Object.assign(Object.assign({},gJ),null==e?void 0:e.token);return eE(n,{override:null==e?void 0:e.token},t,Ol)}},K2=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:s,boxShadowSecondary:l,paddingSM:c,paddingXS:u,tooltipRadiusOuter:p}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:s,minHeight:s,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,U2)}},[`${t}-content`]:{position:"relative"}}),Fl(e,((e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}}))),{"&-rtl":{direction:"rtl"}})},wp(Tl(e,{borderRadiusOuter:p}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Y2=(e,t)=>jl("Tooltip",(e=>{if(!1===t)return[];const{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:i}=e,a=Tl(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:i>4?4:i});return[K2(a),S1(e,"zoom-big-fast")]}),(e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}}),{resetStyle:!1})(e),Q2=pJ.map((e=>`${e}-inverse`)),J2=["success","processing","error","default","warning"];GA=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const{prefixCls:o,openClassName:i,getTooltipContainer:a,overlayClassName:s,color:l,overlayInnerStyle:c,children:u,afterOpenChange:p,afterVisibleChange:d,destroyTooltipOnHide:m,arrow:f=!0,title:g,overlay:h,builtinPlacements:b,arrowPointAtCenter:_=!1,autoAdjustOverflow:v=!0}=e,y=!!f,{token:w}=Z2(),{getPopupContainer:C,getPrefixCls:k,direction:x}=u_.useContext(EJ),D=u_.useRef(null),S=()=>{var e;null===(e=D.current)||void 0===e||e.forceAlign()};u_.useImperativeHandle(t,(()=>({forceAlign:S,forcePopupAlign:()=>{S()}})));const[E,O]=Rl(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),P=!g&&!h&&0!==g,I=u_.useMemo((()=>{var e,t;let n=_;return"object"==typeof f&&(n=null!==(t=null!==(e=f.pointAtCenter)&&void 0!==e?e:f.arrowPointAtCenter)&&void 0!==t?t:_),b||function(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:o,borderRadius:i,visibleFirst:a}=e,s=t/2,l={};return Object.keys(B2).forEach((e=>{const c=Object.assign(Object.assign({},r&&H2[e]||B2[e]),{offset:[0,0]});switch(l[e]=c,z2.has(e)&&(c.autoArrow=!1),e){case"top":case"topLeft":case"topRight":c.offset[1]=-s-o;break;case"bottom":case"bottomLeft":case"bottomRight":c.offset[1]=s+o;break;case"left":case"leftTop":case"leftBottom":c.offset[0]=-s-o;break;case"right":case"rightTop":case"rightBottom":c.offset[0]=s+o}const u=vp({contentRadius:i,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":c.offset[0]=-u.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":c.offset[0]=u.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":c.offset[1]=-u.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":c.offset[1]=u.dropdownArrowOffset+s}c.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};const o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,u,t,n),a&&(c.htmlRegion="visibleFirst")})),l}({arrowPointAtCenter:n,autoAdjustOverflow:v,arrowWidth:y?w.sizePopupArrow:0,borderRadius:w.borderRadius,offset:w.marginXXS,visibleFirst:!0})}),[_,f,b,w]),N=u_.useMemo((()=>0===g?g:h||g||""),[h,g]),A=u_.createElement(WZ,null,"function"==typeof N?N():N),{getPopupContainer:R,placement:T="top",mouseEnterDelay:$=.1,mouseLeaveDelay:j=.1,overlayStyle:F,rootClassName:L}=e,M=GA(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),U=k("tooltip",o),B=k(),H=e["data-popover-inject"];let z=E;"open"in e||"visible"in e||!P||(z=!1);const W=function(e,t){const n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){const{picked:n,omitted:r}=(e=>{const t={},n=Object.assign({},e);return["position","left","right","top","bottom","float","display","zIndex"].forEach((r=>{e&&r in e&&(t[r]=e[r],delete n[r])})),{picked:t,omitted:n}})(e.props.style),o=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),i=sc(e,{style:Object.assign(Object.assign({},r),{pointerEvents:"none"}),className:null});return u_.createElement("span",{style:o,className:JQ(e.props.className,`${t}-disabled-compatible-wrapper`)},i)}return e}(fZ(u)&&!ac(u)?u:u_.createElement("span",null,u),U),V=W.props,G=V.className&&"string"!=typeof V.className?V.className:JQ(V.className,i||`${U}-open`),[q,X]=Y2(U,!H),K=kp(U,l),Y=K.arrowStyle,Q=Object.assign(Object.assign({},c),K.overlayStyle),J=JQ(s,{[`${U}-rtl`]:"rtl"===x},K.className,L,X);return q(u_.createElement(M2,Object.assign({},M,{showArrow:y,placement:T,mouseEnterDelay:$,mouseLeaveDelay:j,prefixCls:U,overlayClassName:J,overlayStyle:Object.assign(Object.assign({},Y),F),getTooltipContainer:R||a||C,ref:D,builtinPlacements:I,overlay:A,visible:z,onVisibleChange:t=>{var n,r;O(!P&&t),P||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=p?p:d,overlayInnerStyle:Q,arrowContent:u_.createElement("span",{className:`${U}-arrow-content`}),motion:{motionName:A0(B,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),z?sc(W,{className:G}):W))}));e5._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=u_.useContext(EJ),l=s("tooltip",t),[c,u]=Y2(l,!0),p=kp(l,i),d=p.arrowStyle,m=Object.assign(Object.assign({},a),p.overlayStyle),f=JQ(u,l,`${l}-pure`,`${l}-placement-${r}`,n,p.className);return c(u_.createElement("div",{className:f,style:d},u_.createElement("div",{className:`${l}-arrow`}),u_.createElement(_p,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:m}),o)))};const t5=e5,n5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},r5=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:n5}))}));qA=rI.ESC,XA=rI.TAB,KA=u_.forwardRef((function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=u_.useMemo((function(){return"function"==typeof n?n():n}),[n]),a=Us(t,null==i?void 0:i.ref);return fQ.createElement(fQ.Fragment,null,r&&fQ.createElement("div",{className:"".concat(o,"-arrow")}),fQ.cloneElement(i,{ref:Hs(i)?a:void 0}))})),JA={topLeft:{points:["bl","tl"],overflow:YA={adjustX:1,adjustY:1},offset:[0,-4],targetOffset:QA=[0,0]},top:{points:["bc","tc"],overflow:YA,offset:[0,-4],targetOffset:QA},topRight:{points:["br","tr"],overflow:YA,offset:[0,-4],targetOffset:QA},bottomLeft:{points:["tl","bl"],overflow:YA,offset:[0,4],targetOffset:QA},bottom:{points:["tc","bc"],overflow:YA,offset:[0,4],targetOffset:QA},bottomRight:{points:["tr","br"],overflow:YA,offset:[0,4],targetOffset:QA}},ZA=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];const o5=fQ.forwardRef(xp);eR=u_.createContext(null),tR=["children","locked"],nR=u_.createContext(null),rR=[],oR=u_.createContext(null),iR=u_.createContext(rR),aR=u_.createContext(null),sR=u_.createContext({}),dR=rI.ENTER,mR=rI.ESC,fR=rI.HOME,gR=rI.END,hR=[uR=rI.UP,pR=rI.DOWN,lR=rI.LEFT,cR=rI.RIGHT],bR="__RC_UTIL_PATH_SPLIT__",_R=function(e){return e.join(bR)},vR=function(e){return e.split(bR)},yR="rc-menu-more",wR=Math.random().toFixed(5).toString().slice(2),CR=0,kR=["item"],xR=["title","attribute","elementRef"],DR=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],SR=["active"],ER=function(){function e(){return Oi(this,e),t.apply(this,arguments)}Rs(e,u_.Component);var t=Fs(e);return Ii(e,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,o=Ys(Si(e,xR),["eventKey","popupClassName","popupOffset","onTitleClick"]);return Pa(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u_.createElement(GN.Item,ma({},n,{title:"string"==typeof t?t:void 0},o,{ref:r}))}}]),e}(),OR=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M,U,B=e.style,H=e.className,z=e.eventKey;return r=e.disabled,o=e.itemIcon,i=e.children,a=e.role,s=e.onMouseEnter,l=e.onMouseLeave,c=e.onClick,u=e.onKeyDown,p=e.onFocus,d=Si(e,DR),m=Sp(z),g=(f=u_.useContext(nR)).prefixCls,h=f.onItemClick,b=f.disabled,_=f.overflowDisabled,v=f.itemIcon,y=f.selectedKeys,w=f.onActive,C=u_.useContext(sR)._internalRenderMenuItem,k="".concat(g,"-item"),x=u_.useRef(),D=u_.useRef(),S=b||r,E=Bs(t,D),O=Pp(z),P=function(e){return{key:z,keyPath:wa(O).reverse(),item:x.current,domEvent:e}},I=o||v,A=(N=Tp(z,S,s,l)).active,R=Si(N,SR),T=y.includes(z),$=$p(O.length),j=function(e){if(!S){var t=P(e);null==c||c(Fp(t)),h(t)}},F=function(e){if(null==u||u(e),e.which===rI.ENTER){var t=P(e);null==c||c(Fp(t)),h(t)}},L=function(e){w(z),null==p||p(e)},M={},"option"===e.role&&(M["aria-selected"]=T),U=u_.createElement(ER,ma({ref:x,elementRef:E,role:null===a?"none":a||"menuitem",tabIndex:r?null:-1,"data-menu-id":_&&m?null:m},d,R,M,{component:"li","aria-disabled":r,style:ka(ka({},$),B),className:JQ(k,(n={},Di(n,"".concat(k,"-active"),A),Di(n,"".concat(k,"-selected"),T),Di(n,"".concat(k,"-disabled"),S),n),H),onClick:j,onKeyDown:F,onFocus:L}),i,u_.createElement(jp,{props:ka(ka({},e),{},{isSelected:T}),icon:I})),C&&(U=C(U,e,{selected:T})),U}));const i5=u_.forwardRef(Lp);PR=["className","children"],IR=function(e,t){var n=e.className,r=e.children,o=Si(e,PR),i=u_.useContext(nR),a=i.prefixCls,s=i.mode;return u_.createElement("ul",ma({className:JQ(a,i.rtl&&"".concat(a,"-rtl"),"".concat(a,"-sub"),"".concat(a,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},o,{"data-menu-list":!0,ref:t}),r)},(NR=u_.forwardRef(IR)).displayName="SubMenuList",RR={topLeft:{points:["bl","tl"],overflow:AR={adjustX:1,adjustY:1}},topRight:{points:["br","tr"],overflow:AR},bottomLeft:{points:["tl","bl"],overflow:AR},bottomRight:{points:["tr","br"],overflow:AR},leftTop:{points:["tr","tl"],overflow:AR},leftBottom:{points:["br","bl"],overflow:AR},rightTop:{points:["tl","tr"],overflow:AR},rightBottom:{points:["bl","br"],overflow:AR}},TR={topLeft:{points:["bl","tl"],overflow:AR},topRight:{points:["br","tr"],overflow:AR},bottomLeft:{points:["tl","bl"],overflow:AR},bottomRight:{points:["tr","br"],overflow:AR},rightTop:{points:["tr","tl"],overflow:AR},rightBottom:{points:["br","bl"],overflow:AR},leftTop:{points:["tl","tr"],overflow:AR},leftBottom:{points:["bl","br"],overflow:AR}},$R={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},jR=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],FR=["active"],LR=function(e){var t,n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M,U,B,H,z,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se,le,ce=e.style,ue=e.className,pe=e.title,de=e.eventKey;return n=e.disabled,r=e.internalPopupClose,o=e.children,i=e.itemIcon,a=e.expandIcon,s=e.popupClassName,l=e.popupOffset,c=e.onClick,u=e.onMouseEnter,p=e.onMouseLeave,d=e.onTitleClick,m=e.onTitleMouseEnter,f=e.onTitleMouseLeave,g=Si(e,jR),h=Sp(de),_=(b=u_.useContext(nR)).prefixCls,v=b.mode,y=b.openKeys,w=b.disabled,C=b.overflowDisabled,k=b.activeKey,x=b.selectedKeys,D=b.itemIcon,S=b.expandIcon,E=b.onItemClick,O=b.onOpenChange,P=b.onActive,I=u_.useContext(sR)._internalRenderSubMenuItem,N=u_.useContext(aR),A=N.isSubPathKey,R=Pp(),T="".concat(_,"-submenu"),$=w||n,j=u_.useRef(),F=u_.useRef(),L=i||D,M=a||S,U=y.includes(de),B=!C&&U,H=A(x,de),z=Tp(de,$,m,f),W=z.active,V=Si(z,FR),G=za(u_.useState(!1),2),X=G[1],K=function(e){$||X(e)},Y=function(e){K(!0),null==u||u({key:de,domEvent:e})},Q=function(e){K(!1),null==p||p({key:de,domEvent:e})},J=u_.useMemo((function(){return W||"inline"!==v&&(q||A([k],de))}),[v,W,k,q=G[0],de,A]),Z=$p(R.length),ee=function(e){$||(null==d||d({key:de,domEvent:e}),"inline"===v&&O(de,!U))},te=Rp((function(e){null==c||c(Fp(e)),E(e)})),ne=function(e){"inline"!==v&&O(de,e)},re=function(){P(de)},oe=h&&"".concat(h,"-popup"),ie=u_.createElement("div",ma({role:"menuitem",style:Z,className:"".concat(T,"-title"),tabIndex:$?null:-1,ref:j,title:"string"==typeof pe?pe:null,"data-menu-id":C&&h?null:h,"aria-expanded":B,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":$,onClick:ee,onFocus:re},V),pe,u_.createElement(jp,{icon:"horizontal"!==v?M:null,props:ka(ka({},e),{},{isOpen:B,isSubMenu:!0})},u_.createElement("i",{className:"".concat(T,"-arrow")}))),(ae=u_.useRef(v)).current="inline"!==v&&R.length>1?"vertical":v,C||(ie=u_.createElement(Bp,{mode:se=ae.current,prefixCls:T,visible:!r&&B&&"inline"!==v,popupClassName:s,popupOffset:l,popup:u_.createElement(Ep,{mode:"horizontal"===se?"vertical":se},u_.createElement(NR,{id:oe,ref:F},o)),disabled:$,onVisibleChange:ne},ie)),le=u_.createElement(GN.Item,ma({role:"none"},g,{component:"li",style:ce,className:JQ(T,"".concat(T,"-").concat(v),ue,(t={},Di(t,"".concat(T,"-open"),B),Di(t,"".concat(T,"-active"),J),Di(t,"".concat(T,"-selected"),H),Di(t,"".concat(T,"-disabled"),$),t)),onMouseEnter:Y,onMouseLeave:Q}),ie,!C&&u_.createElement(Hp,{id:oe,open:B,keyPath:R},o)),I&&(le=I(le,e,{selected:H,active:J,open:B,disabled:$})),u_.createElement(Ep,{onItemClick:te,mode:"horizontal"===v?"vertical":v,itemIcon:L,expandIcon:M},le)},MR=["className","title","eventKey","children"],UR=["children"],BR=function(e){var t,n,r,o,i=e.className,a=e.title;return t=e.children,n=Si(e,MR),r=u_.useContext(nR),o="".concat(r.prefixCls,"-item-group"),u_.createElement("li",ma({role:"presentation"},n,{onClick:function(e){return e.stopPropagation()},className:JQ(o,i)}),u_.createElement("div",{role:"presentation",className:"".concat(o,"-title"),title:"string"==typeof a?a:void 0},a),u_.createElement("ul",{role:"group",className:"".concat(o,"-list")},t))},HR=["label","children","key","type"],zR=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],WR=[],(VR=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R,T,$,j,F,L,M,U,B,H,z,W,V,G,q,X,K,Y,Q,J,Z,ee,te,ne,re,oe,ie,ae,se=e.prefixCls,le=void 0===se?"rc-menu":se,ce=e.rootClassName,ue=e.style,pe=e.className,de=e.tabIndex,me=void 0===de?0:de,fe=e.items,ge=e.children,he=e.direction,be=e.id,_e=e.mode,ve=void 0===_e?"vertical":_e,ye=e.inlineCollapsed,we=e.disabled,Ce=e.disabledOverflow,ke=e.subMenuOpenDelay,xe=void 0===ke?.1:ke,De=e.subMenuCloseDelay,Se=void 0===De?.1:De,Ee=e.forceSubMenuRender,Oe=e.defaultOpenKeys,Pe=e.openKeys,Ie=e.activeKey,Ne=e.defaultActiveFirst,Ae=e.selectable,Re=void 0===Ae||Ae,Te=e.multiple,$e=void 0!==Te&&Te,je=e.defaultSelectedKeys,Fe=e.selectedKeys,Le=e.onSelect,Me=e.onDeselect,Ue=e.inlineIndent,Be=void 0===Ue?24:Ue,He=e.motion,ze=e.defaultMotions,We=e.triggerSubMenuAction,Ve=void 0===We?"hover":We,Ge=e.builtinPlacements,qe=e.itemIcon,Xe=e.expandIcon,Ke=e.overflowedIndicator,Ye=void 0===Ke?"...":Ke,Qe=e.overflowedIndicatorPopupClassName,Je=e.getPopupContainer,Ze=e.onClick,et=e.onOpenChange,tt=e.onKeyDown;return o=e._internalRenderMenuItem,i=e._internalRenderSubMenuItem,a=Si(e,zR),s=u_.useMemo((function(){return qp(ge,fe,WR)}),[ge,fe]),c=(l=za(u_.useState(!1),2))[0],u=l[1],p=u_.useRef(),d=function(e){var t=za(Rl(e,{value:e}),2),n=t[0],r=t[1];return u_.useEffect((function(){CR+=1;var e="".concat(wR,"-").concat(CR);r("rc-menu-uuid-".concat(e))}),[]),n}(be),m="rtl"===he,f=za(Rl(Oe,{value:Pe,postState:function(e){return e||WR}}),2),h=f[1],b=function(e,t){function n(){h(e),null==et||et(e)}arguments.length>1&&void 0!==t&&t?xk.flushSync(n):n()},_=za(u_.useState(g=f[0]),2),v=_[0],y=_[1],w=u_.useRef(!1),C=za(u_.useMemo((function(){return"inline"!==ve&&"vertical"!==ve||!ye?[ve,!1]:["vertical",ye]}),[ve,ye]),2),x=C[1],D="inline"===(k=C[0]),S=za(u_.useState(k),2),E=S[0],O=S[1],I=(P=za(u_.useState(x),2))[0],N=P[1],u_.useEffect((function(){O(k),N(x),w.current&&(D?h(v):b(WR))}),[k,x]),A=za(u_.useState(0),2),T=A[1],$=(R=A[0])>=s.length-1||"horizontal"!==E||Ce,u_.useEffect((function(){D&&y(g)}),[g]),u_.useEffect((function(){return w.current=!0,function(){w.current=!1}}),[]),j=function(){var e=za(u_.useState({}),2)[1],t=u_.useRef(new Map),n=u_.useRef(new Map),r=za(u_.useState([]),2),o=r[0],i=r[1],a=u_.useRef(0),s=u_.useRef(!1),l=u_.useCallback((function(r,o){var i,l,c=_R(o);n.current.set(c,r),t.current.set(r,c),a.current+=1,i=a.current,l=function(){i===a.current&&(s.current||e({}))},Promise.resolve().then(l)}),[]),c=u_.useCallback((function(e,r){var o=_R(r);n.current.delete(o),t.current.delete(e)}),[]),u=u_.useCallback((function(e){i(e)}),[]),p=u_.useCallback((function(e,n){var r=t.current.get(e)||"",i=vR(r);return n&&o.includes(i[0])&&i.unshift(yR),i}),[o]),d=u_.useCallback((function(e,t){return e.some((function(e){return p(e,!0).includes(t)}))}),[p]),m=u_.useCallback((function(e){var r="".concat(t.current.get(e)).concat(bR),o=new Set;return wa(n.current.keys()).forEach((function(e){e.startsWith(r)&&o.add(n.current.get(e))})),o}),[]);return u_.useEffect((function(){return function(){s.current=!0}}),[]),{registerPath:l,unregisterPath:c,refreshOverflowKeys:u,isSubPathKey:d,getKeyPath:p,getKeys:function(){var e=wa(t.current.keys());return o.length&&e.push(yR),e},getSubPathKeys:m}}(),M=j.refreshOverflowKeys,U=j.isSubPathKey,B=j.getKeyPath,H=j.getKeys,z=j.getSubPathKeys,W=u_.useMemo((function(){return{registerPath:F,unregisterPath:L}}),[F=j.registerPath,L=j.unregisterPath]),V=u_.useMemo((function(){return{isSubPathKey:U}}),[U]),u_.useEffect((function(){M($?WR:s.slice(R+1).map((function(e){return e.key})))}),[R,$]),G=za(Rl(Ie||Ne&&(null===(n=s[0])||void 0===n?void 0:n.key),{value:Ie}),2),q=G[0],X=G[1],K=Rp((function(e){X(e)})),Y=Rp((function(){X(void 0)})),u_.useImperativeHandle(t,(function(){return{list:p.current,focus:function(e){var t,n,r,o,i=null!=q?q:null===(t=s.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=p.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(Dp(d,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}})),Q=za(Rl(je||[],{value:Fe,postState:function(e){return Array.isArray(e)?e:null==e?WR:[e]}}),2),J=Q[0],Z=Q[1],ee=function(e){var t,n,r,o;Re&&(n=J.includes(t=e.key),r=$e?n?J.filter((function(e){return e!==t})):[].concat(wa(J),[t]):[t],Z(r),o=ka(ka({},e),{},{selectedKeys:r}),n?null==Me||Me(o):null==Le||Le(o)),!$e&&g.length&&"inline"!==E&&b(WR)},te=Rp((function(e){null==Ze||Ze(Fp(e)),ee(e)})),ne=Rp((function(e,t){var n,r=g.filter((function(t){return t!==e}));t?r.push(e):"inline"!==E&&(n=z(e),r=r.filter((function(e){return!n.has(e)}))),Ia(g,r,!0)||b(r,!0)})),re=function(e,t,n,r,o,i,a,s,l,c){var u,p=u_.useRef(),d=u_.useRef();return d.current=t,u=function(){lO.cancel(p.current)},u_.useEffect((function(){return function(){u()}}),[]),function(m){var f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P=m.which;if([].concat(hR,[dR,mR,fR,gR]).includes(P)){if((b=function(){return f=new Set,g=new Map,h=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(Dp(r,e),"']"));t&&(f.add(t),h.set(t,e),g.set(e,t))})),f})(),_=g.get(t),v=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(_,f),y=h.get(v),w=function(e,t,n,r){var o,i,a,s,l,c,u,p="prev",d="next",m="children",f="parent";if("inline"===e&&r===dR)return{inlineTrigger:!0};switch(Di(o={},uR,p),Di(o,pR,d),l=o,Di(i={},lR,n?d:p),Di(i,cR,n?p:d),Di(i,pR,m),Di(i,dR,m),c=i,Di(a={},uR,p),Di(a,pR,d),Di(a,dR,m),Di(a,mR,f),Di(a,lR,n?m:f),Di(a,cR,n?f:m),null===(s={inline:l,horizontal:c,vertical:u=a,inlineSub:l,horizontalSub:u,verticalSub:u}["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case p:return{offset:-1,sibling:!0};case d:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case m:return{offset:1,sibling:!1};default:return null}}(e,1===a(y,!0).length,n,P),!w&&P!==fR&&P!==gR)return;(hR.includes(P)||[fR,gR].includes(P))&&m.preventDefault(),C=function(e){var t,n,r;e&&(t=e,null!=(n=e.querySelector("a"))&&n.getAttribute("href")&&(t=n),r=h.get(e),s(r),u(),p.current=lO((function(){d.current===r&&t.focus()})))},[fR,gR].includes(P)||w.sibling||!v?(D=Np(k=v&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(v):o.current,f),x=P===fR?D[0]:P===gR?D[D.length-1]:Ap(k,f,v,w.offset),C(x)):w.inlineTrigger?l(y):w.offset>0?(l(y,!0),u(),p.current=lO((function(){var e,t;b(),e=v.getAttribute("aria-controls"),t=Ap(document.getElementById(e),f),C(t)}),5)):w.offset<0&&(S=a(y,!0),O=g.get(E=S[S.length-2]),l(E,!1),C(O))}null==c||c(m)}}(E,q,m,d,p,H,B,X,(function(e,t){var n=null!=t?t:!g.includes(e);ne(e,n)}),tt),u_.useEffect((function(){u(!0)}),[]),oe=u_.useMemo((function(){return{_internalRenderMenuItem:o,_internalRenderSubMenuItem:i}}),[o,i]),ie="horizontal"!==E||Ce?s:s.map((function(e,t){return u_.createElement(Ep,{key:e.key,overflowDisabled:t>R},e)})),ae=u_.createElement(GN,ma({id:be,ref:p,prefixCls:"".concat(le,"-overflow"),component:"ul",itemComponent:i5,className:JQ(le,"".concat(le,"-root"),"".concat(le,"-").concat(E),pe,(r={},Di(r,"".concat(le,"-inline-collapsed"),I),Di(r,"".concat(le,"-rtl"),m),r),ce),dir:he,style:ue,role:"menu",tabIndex:me,data:ie,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?s.slice(-t):null;return u_.createElement(zp,{eventKey:yR,title:Ye,disabled:$,internalPopupClose:0===t,popupClassName:Qe},n)},maxCount:"horizontal"!==E||Ce?GN.INVALIDATE:GN.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){T(e)},onKeyDown:re},a)),u_.createElement(sR.Provider,{value:oe},u_.createElement(eR.Provider,{value:d},u_.createElement(Ep,{prefixCls:le,rootClassName:ce,mode:E,openKeys:g,rtl:m,disabled:we,motion:c?He:null,defaultMotions:c?ze:null,activeKey:q,onActive:K,onInactive:Y,selectedKeys:J,inlineIndent:Be,subMenuOpenDelay:xe,subMenuCloseDelay:Se,forceSubMenuRender:Ee,builtinPlacements:Ge,triggerSubMenuAction:Ve,getPopupContainer:Je,itemIcon:qe,expandIcon:Xe,onItemClick:te,onOpenChange:ne},u_.createElement(aR.Provider,{value:V},ae),u_.createElement("div",{style:{display:"none"},"aria-hidden":!0},u_.createElement(oR.Provider,{value:W},s)))))}))).Item=i5,VR.SubMenu=zp,VR.ItemGroup=Wp,VR.Divider=Vp,globalThis&&globalThis;const a5=u_.createContext({});GR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,dashed:r}=e,o=GR(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=u_.useContext(EJ),a=i("menu",t),s=JQ({[`${a}-item-divider-dashed`]:!!r},n);return u_.createElement(Vp,Object.assign({className:s},o))},l5=u_.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),c5=e=>{var t;const{className:n,children:r,icon:o,title:i,danger:a}=e,{prefixCls:s,firstLevel:l,direction:c,disableMenuItemTitleTooltip:u,inlineCollapsed:p}=u_.useContext(l5),{siderCollapsed:d}=u_.useContext(a5);let m=i;void 0===i?m=l?r:"":!1===i&&(m="");const f={title:m};d||p||(f.title=null,f.open=!1);const g=Ls(r).length;let h=u_.createElement(i5,Object.assign({},Ys(e,["title","icon","danger"]),{className:JQ({[`${s}-item-danger`]:a,[`${s}-item-only-child`]:1===(o?g+1:g)},n),title:"string"==typeof i?i:void 0}),sc(o,{className:JQ(fZ(o)?null===(t=o.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),(e=>{const t=u_.createElement("span",{className:`${s}-title-content`},r);return(!o||fZ(r)&&"span"===r.type)&&r&&e&&l&&"string"==typeof r?u_.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):t})(p));return u||(h=u_.createElement(t5,Object.assign({},f,{placement:"rtl"===c?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),h)),h},u5=e=>{var t;const{popupClassName:n,icon:r,title:o,theme:i}=e,a=u_.useContext(l5),{prefixCls:s,inlineCollapsed:l,theme:c}=a,u=Pp();let p;if(r){const e=fZ(o)&&"span"===o.type;p=u_.createElement(u_.Fragment,null,sc(r,{className:JQ(fZ(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${s}-item-icon`)}),e?o:u_.createElement("span",{className:`${s}-title-content`},o))}else p=l&&!u.length&&o&&"string"==typeof o?u_.createElement("div",{className:`${s}-inline-collapsed-noicon`},o.charAt(0)):u_.createElement("span",{className:`${s}-title-content`},o);const d=u_.useMemo((()=>Object.assign(Object.assign({},a),{firstLevel:!1})),[a]);return u_.createElement(l5.Provider,{value:d},u_.createElement(zp,Object.assign({},Ys(e,["icon"]),{title:p,popupClassName:JQ(s,n,`${s}-${i||c}`)})))},p5={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},d5=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:p5}))}));globalThis&&globalThis;const m5=u_.createContext(null);qR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${i}px ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover,\n > ${t}-item-active,\n > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},g5=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},h5=e=>Object.assign({},RJ(e)),b5=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:p,motionDurationSlow:d,motionEaseInOut:m,motionEaseOut:f,itemPaddingInline:g,motionDurationMid:h,itemHoverColor:b,lineType:_,colorSplit:v,itemDisabledColor:y,dangerItemColor:w,dangerItemHoverColor:C,dangerItemSelectedColor:k,dangerItemActiveBg:x,dangerItemSelectedBg:D,itemHoverBg:S,itemActiveBg:E,menuSubMenuBg:O,horizontalItemSelectedColor:P,horizontalItemSelectedBg:I,horizontalItemBorderRadius:N,horizontalItemHoverBg:A,popupBg:R}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},h5(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:S},"&:active":{backgroundColor:E}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:S},"&:active":{backgroundColor:E}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:x}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:k},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:D}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},h5(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:O},[`&${n}-popup > ${n}`]:{backgroundColor:R},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:-p,marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${d} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:A,"&::after":{borderBottomWidth:c,borderBottomColor:P}},"&-selected":{color:P,backgroundColor:I,"&:hover":{backgroundColor:I},"&::after":{borderBottomWidth:c,borderBottomColor:P}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${p}px ${_} ${v}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item, ${n}-submenu-title`]:p&&u?{width:`calc(100% + ${p}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${f}`,`opacity ${h} ${f}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:k}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${m}`,`opacity ${h} ${m}`].join(",")}}}}}},_5=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:s}=e;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:`calc(100% - ${2*r}px)`},[`> ${t}-item,\n > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title,\n ${t}-submenu-title`]:{paddingInlineEnd:o+i+a}}},v5=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:s,motionEaseOut:l,paddingXL:c,itemMarginInline:u,fontSizeLG:p,motionDurationSlow:d,paddingXS:m,boxShadowSecondary:f,collapsedWidth:g,collapsedIconSize:h}=e,b={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},_5(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},_5(e)),{boxShadow:f})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${2.5*a}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${d}`,`background ${d}`,`padding ${s} ${l}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:p,textAlign:"center"}}},[`> ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${p/2}px - ${u}px)`,textOverflow:"clip",[`\n ${t}-submenu-arrow,\n ${t}-submenu-expand-icon\n `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},PJ),{paddingInline:m})}}]},y5=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${o}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${o}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${o}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},w5=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:o,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},C5=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:s,padding:l,colorSplit:c,lineWidth:u,zIndexPopup:p,borderRadiusLG:d,subMenuItemBorderRadius:m,menuArrowSize:f,menuArrowOffset:g,lineType:h,menuPanelMaskInset:b,groupTitleLineHeight:_,groupTitleFontSize:v}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${s}px ${l}px`,fontSize:v,lineHeight:_,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${o} ${a}`,`background ${o} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${o} ${a}`,`padding ${o} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:h,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),y5(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${2*r}px ${l}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:d,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${b}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:b},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:d},y5(e)),w5(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),w5(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${.2*f}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]};XR=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n,r;const o=u_.useContext(m5),i=o||{},{getPrefixCls:a,getPopupContainer:s,direction:l,menu:c}=u_.useContext(EJ),u=a(),{prefixCls:p,className:d,style:m,theme:f="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:b,siderCollapsed:_,items:v,children:y,rootClassName:w,mode:C,selectable:k,onClick:x,overflowedIndicatorPopupClassName:D}=e,S=Ys(XR(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),["collapsedWidth"]),E=Kp(v)||y;null===(n=i.validator)||void 0===n||n.call(i,{mode:C});const O=Il((function(){var e;null==x||x.apply(void 0,arguments),null===(e=i.onClick)||void 0===e||e.call(i)})),P=i.mode||C,I=null!=k?k:i.selectable,N=u_.useMemo((()=>void 0!==_?_:b),[b,_]),A={horizontal:{motionName:`${u}-slide-up`},inline:N0(u),other:{motionName:`${u}-zoom-big`}},R=a("menu",p||i.prefixCls),[T,$]=((e,t)=>jl("Menu",(e=>{if(!1===t)return[];const{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:i,fontSize:a,darkItemColor:s,darkDangerItemColor:l,darkItemBg:c,darkSubMenuItemBg:u,darkItemSelectedColor:p,darkItemSelectedBg:d,darkDangerItemSelectedBg:m,darkItemHoverBg:f,darkGroupTitleColor:g,darkItemHoverColor:h,darkItemDisabledColor:b,darkDangerItemHoverColor:_,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:y}=e,w=a/7*5,C=Tl(e,{menuArrowSize:w,menuHorizontalHeight:1.15*i,menuArrowOffset:.25*w+"px",menuPanelMaskInset:-7,menuSubMenuBg:n}),k=Tl(C,{itemColor:s,itemHoverColor:h,groupTitleColor:g,itemSelectedColor:p,itemBg:c,popupBg:c,subMenuItemBg:u,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:f,itemDisabledColor:b,dangerItemColor:l,dangerItemHoverColor:_,dangerItemSelectedColor:v,dangerItemActiveBg:y,dangerItemSelectedBg:m,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[C5(C),f5(C),v5(C),b5(C,"light"),b5(k,"dark"),g5(C),E1(C),d1(C,"slide-up"),d1(C,"slide-down"),S1(C,"zoom-big")]}),(e=>{const{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:i,colorTextDescription:a,colorBgContainer:s,colorFillAlter:l,colorFillContent:c,lineWidth:u,lineWidthBold:p,controlItemBgActive:d,colorBgTextHover:m,controlHeightLG:f,lineHeight:g,colorBgElevated:h,marginXXS:b,padding:_,fontSize:v,controlHeightSM:y,fontSizeLG:w,colorTextLightSolid:C,colorErrorHover:k}=e,x=new gO(C).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:s,itemBg:s,colorItemBgHover:m,itemHoverBg:m,colorItemBgActive:c,itemActiveBg:d,colorSubItemBg:l,subMenuItemBg:l,colorItemBgSelected:d,itemSelectedBg:d,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:p,activeBarHeight:p,colorActiveBarBorderSize:u,activeBarBorderWidth:u,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:f,groupTitleLineHeight:g,collapsedWidth:2*f,popupBg:h,itemMarginBlock:b,itemPaddingInline:_,horizontalLineHeight:1.15*f+"px",iconSize:v,iconMarginInlineEnd:y-v,collapsedIconSize:w,groupTitleFontSize:v,darkItemDisabledColor:new gO(C).setAlpha(.25).toRgbString(),darkItemColor:x,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:C,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:x,darkItemHoverColor:C,darkDangerItemHoverColor:k,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:n}}),{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(e))(R,!o),j=JQ(`${R}-${f}`,null==c?void 0:c.className,d);let F;if("function"==typeof g)F=g;else{const e=g||i.expandIcon;F=sc(e,{className:JQ(`${R}-submenu-expand-icon`,fZ(e)?null===(r=e.props)||void 0===r?void 0:r.className:"")})}const L=u_.useMemo((()=>({prefixCls:R,inlineCollapsed:N||!1,direction:l,firstLevel:!0,theme:f,mode:P,disableMenuItemTitleTooltip:h})),[R,N,l,h,f]);return T(u_.createElement(m5.Provider,{value:null},u_.createElement(l5.Provider,{value:L},u_.createElement(VR,Object.assign({getPopupContainer:s,overflowedIndicator:u_.createElement(d5,null),overflowedIndicatorPopupClassName:JQ(R,`${R}-${f}`,D),mode:P,selectable:I,onClick:O},S,{inlineCollapsed:N,style:Object.assign(Object.assign({},null==c?void 0:c.style),m),className:j,prefixCls:R,direction:l,defaultMotions:A,expandIcon:F,ref:t,rootClassName:JQ(w,$)}),E))))})),x5=u_.forwardRef(((e,t)=>{const n=u_.useRef(null),r=u_.useContext(a5);return u_.useImperativeHandle(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),u_.createElement(k5,Object.assign({ref:n},e,r))}));x5.Item=c5,x5.SubMenu=u5,x5.Divider=s5,x5.ItemGroup=Wp;const D5=x5,S5=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),E5=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),O5=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),P5=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},E5(Tl(e,{inputBorderHoverColor:e.colorBorder})))}),I5=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:r,borderRadiusLG:o,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:r,borderRadius:o}},N5=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),A5=(e,t)=>{const{componentCls:n,colorError:r,colorWarning:o,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:s,colorWarningBorderHover:l}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":Object.assign({},O5(Tl(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:i}))),[`${n}-prefix, ${n}-suffix`]:{color:r}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":Object.assign({},O5(Tl(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:a}))),[`${n}-prefix, ${n}-suffix`]:{color:o}}}},R5=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},S5(e.colorTextPlaceholder)),{"&:hover":Object.assign({},E5(e)),"&:focus, &-focused":Object.assign({},O5(e)),"&-disabled, &[disabled]":Object.assign({},P5(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},I5(e)),"&-sm":Object.assign({},N5(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),T5=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},I5(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},N5(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},{"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${n}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,\n & > ${n}-select-auto-complete ${t},\n & > ${n}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${n}-select:first-child > ${n}-select-selector,\n & > ${n}-select-auto-complete:first-child ${t},\n & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${n}-select:last-child > ${n}-select-selector,\n & > ${n}-cascader-picker:last-child ${t},\n & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},$5=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r}=e,o=(n-2*r-16)/2;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),R5(e)),A5(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},j5=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}}}},F5=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},R5(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},E5(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),j5(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),A5(e,`${t}-affix-wrapper`))}},L5=e=>{const{componentCls:t,colorError:n,colorWarning:r,borderRadiusLG:o,borderRadiusSM:i}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},IJ(e)),T5(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:o,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon`]:{color:r,borderColor:r}},"&-disabled":{[`${t}-group-addon`]:Object.assign({},P5(e))},[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},M5=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},U5=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:-e.fontSize*e.lineHeight,insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:n}},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},B5=jl("Input",(e=>{const t=Yp(e);return[$5(t),U5(t),F5(t),L5(t),M5(t),Oc(t)]})),H5=e=>{const{prefixCls:t,className:n,style:r,size:o,shape:i}=e,a=JQ({[`${t}-lg`]:"large"===o,[`${t}-sm`]:"small"===o}),s=JQ({[`${t}-circle`]:"circle"===i,[`${t}-square`]:"square"===i,[`${t}-round`]:"round"===i}),l=u_.useMemo((()=>"number"==typeof o?{width:o,height:o,lineHeight:`${o}px`}:{}),[o]);return u_.createElement("span",{className:JQ(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},z5=new EE("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),W5=e=>({height:e,lineHeight:`${e}px`}),V5=e=>Object.assign({width:e},W5(e)),G5=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:z5,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),q5=e=>Object.assign({width:5*e,minWidth:5*e},W5(e)),X5=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},V5(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},V5(o)),[`${t}${t}-sm`]:Object.assign({},V5(i))}},K5=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},q5(t)),[`${r}-lg`]:Object.assign({},q5(o)),[`${r}-sm`]:Object.assign({},q5(i))}},Y5=e=>Object.assign({width:e},W5(e)),Q5=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},Y5(2*n)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},Y5(n)),{maxWidth:4*n,maxHeight:4*n}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},J5=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},Z5=e=>Object.assign({width:2*e,minWidth:2*e},W5(e)),e3=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:2*r,minWidth:2*r},Z5(r))},J5(e,r,n)),{[`${n}-lg`]:Object.assign({},Z5(o))}),J5(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},Z5(i))}),J5(e,i,`${n}-sm`))},t3=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:p,padding:d,marginSM:m,borderRadius:f,titleHeight:g,blockRadius:h,paragraphLiHeight:b,controlHeightXS:_,paragraphMarginTop:v}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:p},V5(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},V5(c)),[`${n}-sm`]:Object.assign({},V5(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:g,background:p,borderRadius:h,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:p,borderRadius:h,"+ li":{marginBlockStart:_}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:f}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:m,[`+ ${o}`]:{marginBlockStart:v}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},e3(e)),X5(e)),K5(e)),Q5(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${s}\n `]:Object.assign({},G5(e))}}},n3=jl("Skeleton",(e=>{const{componentCls:t}=e,n=Tl(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:1.5*e.controlHeight,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[t3(n)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),r3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},o3=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:r3}))})),i3=e=>{const t=t=>{const{width:n,rows:r=2}=e;return Array.isArray(n)?n[t]:r-1===t?n:void 0},{prefixCls:n,className:r,style:o,rows:i}=e,a=wa(Array(i)).map(((e,n)=>u_.createElement("li",{key:n,style:{width:t(n)}})));return u_.createElement("ul",{className:JQ(n,r),style:o},a)},a3=e=>{let{prefixCls:t,className:n,width:r,style:o}=e;return u_.createElement("h3",{className:JQ(t,n),style:Object.assign({width:r},o)})},s3=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:o,style:i,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:p}=e,{getPrefixCls:d,direction:m,skeleton:f}=u_.useContext(EJ),g=d("skeleton",t),[h,b]=n3(g);if(n||!("loading"in e)){const e=!!s,t=!!l,n=!!c;let a,d;if(e){const e=Object.assign(Object.assign({prefixCls:`${g}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),Qp(s));a=u_.createElement("div",{className:`${g}-header`},u_.createElement(H5,Object.assign({},e)))}if(t||n){let r,o;if(t){const t=Object.assign(Object.assign({prefixCls:`${g}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),Qp(l));r=u_.createElement(a3,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),Qp(c));o=u_.createElement(i3,Object.assign({},n))}d=u_.createElement("div",{className:`${g}-content`},r,o)}const _=JQ(g,{[`${g}-with-avatar`]:e,[`${g}-active`]:u,[`${g}-rtl`]:"rtl"===m,[`${g}-round`]:p},null==f?void 0:f.className,r,o,b);return h(u_.createElement("div",{className:_,style:Object.assign(Object.assign({},null==f?void 0:f.style),i)},a,d))}return void 0!==a?a:null};s3.Button=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i=!1,size:a="default"}=e,{getPrefixCls:s}=u_.useContext(EJ),l=s("skeleton",t),[c,u]=n3(l),p=Ys(e,["prefixCls"]),d=JQ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(u_.createElement("div",{className:d},u_.createElement(H5,Object.assign({prefixCls:`${l}-button`,size:a},p))))},s3.Avatar=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=u_.useContext(EJ),l=s("skeleton",t),[c,u]=n3(l),p=Ys(e,["prefixCls","className"]),d=JQ(l,`${l}-element`,{[`${l}-active`]:o},n,r,u);return c(u_.createElement("div",{className:d},u_.createElement(H5,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:a},p))))},s3.Input=e=>{const{prefixCls:t,className:n,rootClassName:r,active:o,block:i,size:a="default"}=e,{getPrefixCls:s}=u_.useContext(EJ),l=s("skeleton",t),[c,u]=n3(l),p=Ys(e,["prefixCls"]),d=JQ(l,`${l}-element`,{[`${l}-active`]:o,[`${l}-block`]:i},n,r,u);return c(u_.createElement("div",{className:d},u_.createElement(H5,Object.assign({prefixCls:`${l}-input`,size:a},p))))},s3.Image=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i}=e,{getPrefixCls:a}=u_.useContext(EJ),s=a("skeleton",t),[l,c]=n3(s),u=JQ(s,`${s}-element`,{[`${s}-active`]:i},n,r,c);return l(u_.createElement("div",{className:u},u_.createElement("div",{className:JQ(`${s}-image`,n),style:o},u_.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},u_.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${s}-image-path`})))))},s3.Node=e=>{const{prefixCls:t,className:n,rootClassName:r,style:o,active:i,children:a}=e,{getPrefixCls:s}=u_.useContext(EJ),l=s("skeleton",t),[c,u]=n3(l),p=JQ(l,`${l}-element`,{[`${l}-active`]:i},u,n,r),d=null!=a?a:u_.createElement(o3,null);return c(u_.createElement("div",{className:p},u_.createElement("div",{className:JQ(`${l}-image`,n),style:o},d)))};const l3=s3,c3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},u3=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:c3}))})),p3=u_.createContext(null);KR=u_.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,i=e.id,a=e.active,s=e.tabKey,l=e.children;return u_.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!a,style:o,className:JQ(n,a&&"".concat(n,"-active"),r),ref:t},l)})),YR=["key","forceRender","style","className"],QR={width:0,height:0,left:0,top:0},JR=.1,ZR=.01,eT=20,tT=Math.pow(.995,eT),nT={width:0,height:0,left:0,top:0,right:0},rT="TABS_DQ";const d3=u_.forwardRef(od);oT=u_.forwardRef((function(e,t){var n,r,o=e.position,i=e.prefixCls,a=e.extra;return a?(r={},"object"!==ki(a)||u_.isValidElement(a)?r.right=a:r=a,"right"===o&&(n=r.right),"left"===o&&(n=r.left),n?u_.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null):null}));const m3=u_.memo(u_.forwardRef(id),(function(e,t){return t.tabMoving}));iT=function(e){var t=e.current||{},n=t.offsetWidth,r=t.offsetHeight;return[void 0===n?0:n,void 0===r?0:r]},aT=function(e,t){return e[t?0:1]};const f3=u_.forwardRef(sd);sT=["renderTabBar"],lT=["label","key"],cT=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],uT=0,pT=u_.forwardRef(cd);const g3={motionAppear:!1,motionEnter:!0,motionLeave:!0};dT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[d1(e,"slide-up"),d1(e,"slide-down")]]},b3=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${e.lineWidth}px ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:`${o}px`}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:`${o}px`}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadiusLG}px 0 0 ${e.borderRadiusLG}px`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},_3=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},IJ(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${r}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},PJ),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${e.paddingXXS}px ${e.paddingSM}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},v3=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${e.lineWidth}px ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:`${n}px`,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:1.25*e.controlHeight,[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${e.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-e.lineWidth},borderRight:{_skip_check_:!0,value:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},y3=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${e.borderRadius}px ${e.borderRadius}px`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${e.borderRadius}px ${e.borderRadius}px 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${e.borderRadius}px ${e.borderRadius}px 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${e.borderRadius}px 0 0 ${e.borderRadius}px`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},w3=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s}=e,l=`${t}-tab`;return{[l]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},TJ(e)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-e.marginXXS},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${l}-active ${l}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${l}-disabled ${l}-btn, &${l}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${o}`]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:!0,value:i}}}},C3=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${e.marginSM}px`}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${e.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${e.marginXXS}px`},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},k3=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${e.paddingXS}px`,background:"transparent",border:`${e.lineWidth}px ${e.lineType} ${s}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},TJ(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),w3(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},x3=jl("Tabs",(e=>{const t=Tl(e,{tabsCardPadding:e.cardPadding||`${(e.cardHeight-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${e.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${e.horizontalItemGutter}px`});return[y3(t),C3(t),v3(t),_3(t),b3(t),k3(t),h3(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:e.controlHeightLG,cardPadding:"",cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2})));mT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{type:t,className:n,rootClassName:r,size:o,onEdit:i,hideAdd:a,centered:s,addIcon:l,popupClassName:c,children:u,items:p,animated:d,style:m}=e,f=mT(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:g,moreIcon:h=u_.createElement(d5,null)}=f,{direction:b,tabs:_,getPrefixCls:v,getPopupContainer:y}=u_.useContext(EJ),w=v("tabs",g),[C,k]=x3(w);let x;"editable-card"===t&&(x={onEdit:(e,t)=>{let{key:n,event:r}=t;null==i||i("add"===e?r:n,e)},removeIcon:u_.createElement(cZ,null),addIcon:l||u_.createElement(u3,null),showAdd:!0!==a});const D=v(),S=function(e,t){return e||function(e){return e.filter((e=>e))}(Ls(t).map((e=>{if(u_.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=dT(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(p,u),E=function(e,t){let n,r=arguments.length>1&&void 0!==t?t:{inkBar:!0,tabPane:!1};return n=!1===r?{inkBar:!1,tabPane:!1}:!0===r?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof r?r:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},g3),{motionName:A0(e,"switch")})),n}(w,d),O=LZ(o),P=Object.assign(Object.assign({},null==_?void 0:_.style),m);return C(u_.createElement(pT,Object.assign({direction:b,getPopupContainer:y,moreTransitionName:`${D}-slide-up`},f,{items:S,className:JQ({[`${w}-${O}`]:O,[`${w}-card`]:["card","editable-card"].includes(t),[`${w}-editable-card`]:"editable-card"===t,[`${w}-centered`]:s},null==_?void 0:_.className,n,r,k),popupClassName:JQ(c,k),style:P,editable:x,moreIcon:h,prefixCls:w,animated:E})))};D3.TabPane=()=>null;const S3=D3,E3=u_.createContext({}),O3=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},P3=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},I3=(e,t)=>((e,t)=>{const{componentCls:n,gridColumns:r}=e,o={};for(let i=r;i>=0;i--)0===i?(o[`${n}${t}-${i}`]={display:"none"},o[`${n}-push-${i}`]={insetInlineStart:"auto"},o[`${n}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${n}${t}-offset-${i}`]={marginInlineStart:0},o[`${n}${t}-order-${i}`]={order:0}):(o[`${n}${t}-${i}`]={display:"block",flex:`0 0 ${i/r*100}%`,maxWidth:i/r*100+"%"},o[`${n}${t}-push-${i}`]={insetInlineStart:i/r*100+"%"},o[`${n}${t}-pull-${i}`]={insetInlineEnd:i/r*100+"%"},o[`${n}${t}-offset-${i}`]={marginInlineStart:i/r*100+"%"},o[`${n}${t}-order-${i}`]={order:i});return o})(e,t),N3=jl("Grid",(e=>[O3(e)])),A3=jl("Grid",(e=>{const t=Tl(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[P3(t),I3(t,""),I3(t,"-xs"),Object.keys(n).map((e=>((e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},I3(e,n))}))(t,n[e],e))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})]}));fT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=u_.useContext(EJ),{gutter:o,wrap:i,supportFlexGap:a}=u_.useContext(E3),{prefixCls:s,span:l,order:c,offset:u,push:p,pull:d,className:m,children:f,flex:g,style:h}=e,b=fT(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),_=n("col",s),[v,y]=A3(_);let w={};R3.forEach((t=>{let n={};const o=e[t];"number"==typeof o?n.span=o:"object"==typeof o&&(n=o||{}),delete b[t],w=Object.assign(Object.assign({},w),{[`${_}-${t}-${n.span}`]:void 0!==n.span,[`${_}-${t}-order-${n.order}`]:n.order||0===n.order,[`${_}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${_}-${t}-push-${n.push}`]:n.push||0===n.push,[`${_}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${_}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${_}-rtl`]:"rtl"===r})}));const C=JQ(_,{[`${_}-${l}`]:void 0!==l,[`${_}-order-${c}`]:c,[`${_}-offset-${u}`]:u,[`${_}-push-${p}`]:p,[`${_}-pull-${d}`]:d},m,w,y),k={};if(o&&o[0]>0){const e=o[0]/2;k.paddingLeft=e,k.paddingRight=e}if(o&&o[1]>0&&!a){const e=o[1]/2;k.paddingTop=e,k.paddingBottom=e}return g&&(k.flex=function(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}(g),!1!==i||k.minWidth||(k.minWidth=0)),v(u_.createElement("div",Object.assign({},b,{style:Object.assign(Object.assign({},k),h),className:C,ref:t}),f))})),$3=()=>{const[e,t]=u_.useState(!1);return u_.useEffect((()=>{t((()=>{if(!T0())return!1;if(void 0!==$0)return $0;const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div"));const t=document.createElement("div");return t.style.position="absolute",t.style.zIndex="-9999",t.appendChild(e),document.body.appendChild(t),$0=1===e.scrollHeight,document.body.removeChild(t),$0})())}),[]),e};gT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,justify:r,align:o,className:i,style:a,children:s,gutter:l=0,wrap:c}=e,u=gT(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:d}=u_.useContext(EJ),[m,f]=u_.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,h]=u_.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),b=ud(o,g),_=ud(r,g),v=$3(),y=u_.useRef(l),w=bp();u_.useEffect((()=>{const e=w.subscribe((e=>{h(e);const t=y.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&f(e)}));return()=>w.unsubscribe(e)}),[]);const C=p("row",n),[k,x]=N3(C),D=(()=>{const e=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(((t,n)=>{if("object"==typeof t)for(let r=0;r0?D[0]/-2:void 0,P=null!=D[1]&&D[1]>0?D[1]/-2:void 0;O&&(E.marginLeft=O,E.marginRight=O),v?[,E.rowGap]=D:P&&(E.marginTop=P,E.marginBottom=P);const[I,N]=D,A=u_.useMemo((()=>({gutter:[I,N],wrap:c,supportFlexGap:v})),[I,N,c,v]);return k(u_.createElement(E3.Provider,{value:A},u_.createElement("div",Object.assign({},u,{className:S,style:Object.assign(Object.assign({},E),a),ref:t}),s)))}));(hT=fQ.forwardRef((function(e,t){var n,r=e.prefixCls,o=e.forceRender,i=e.className,a=e.style,s=e.children,l=e.isActive,c=e.role,u=za(fQ.useState(l||o),2),p=u[0],d=u[1];return fQ.useEffect((function(){(o||l)&&d(!0)}),[o,l]),p?fQ.createElement("div",{ref:t,className:JQ("".concat(r,"-content"),(n={},Di(n,"".concat(r,"-content-active"),l),Di(n,"".concat(r,"-content-inactive"),!l),n),i),style:a,role:c},fQ.createElement("div",{className:"".concat(r,"-content-box")},s)):null}))).displayName="PanelContent",bT=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],_T=fQ.forwardRef((function(e,t){var n,r,o,i,a=e.showArrow,s=void 0===a||a,l=e.headerClass,c=e.isActive,u=e.onItemClick,p=e.forceRender,d=e.className,m=e.prefixCls,f=e.collapsible,g=e.accordion,h=e.panelKey,b=e.extra,_=e.header,v=e.expandIcon,y=e.openMotion,w=e.destroyInactivePanel,C=e.children,k=Si(e,bT),x="disabled"===f,D="header"===f,S="icon"===f,E=null!=b&&"boolean"!=typeof b,O=function(){null==u||u(h)},P="function"==typeof v?v(e):fQ.createElement("i",{className:"arrow"});return P&&(P=fQ.createElement("div",{className:"".concat(m,"-expand-icon"),onClick:["header","icon"].includes(f)?O:void 0},P)),o=JQ((Di(n={},"".concat(m,"-item"),!0),Di(n,"".concat(m,"-item-active"),c),Di(n,"".concat(m,"-item-disabled"),x),n),d),i={className:JQ(l,(Di(r={},"".concat(m,"-header"),!0),Di(r,"".concat(m,"-header-collapsible-only"),D),Di(r,"".concat(m,"-icon-collapsible-only"),S),r)),"aria-expanded":c,"aria-disabled":x,onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==rI.ENTER&&e.which!==rI.ENTER||O()}},D||S||(i.onClick=O,i.role=g?"tab":"button",i.tabIndex=x?-1:0),fQ.createElement("div",ma({},k,{ref:t,className:o}),fQ.createElement("div",i,s&&P,fQ.createElement("span",{className:"".concat(m,"-header-text"),onClick:"header"===f?O:void 0},_),E&&fQ.createElement("div",{className:"".concat(m,"-extra")},b)),fQ.createElement(GJ,ma({visible:c,leavedClassName:"".concat(m,"-content-hidden")},y,{forceRender:p,removeOnLeave:w}),(function(e,t){return fQ.createElement(hT,{ref:t,prefixCls:m,className:e.className,style:e.style,isActive:c,forceRender:p,role:g?"tabpanel":void 0},C)})))})),vT=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],yT=function(e,t){var n=t.prefixCls,r=t.accordion,o=t.collapsible,i=t.destroyInactivePanel,a=t.onItemClick,s=t.activeKey,l=t.openMotion,c=t.expandIcon;return e.map((function(e,t){var u,p=e.children,d=e.label,m=e.key,f=e.collapsible,g=e.onItemClick,h=e.destroyInactivePanel,b=Si(e,vT),_=String(null!=m?m:t),v=null!=f?f:o,y=null!=h?h:i;return u=r?s[0]===_:s.indexOf(_)>-1,fQ.createElement(_T,ma({},b,{prefixCls:n,key:_,panelKey:_,isActive:u,accordion:r,openMotion:l,expandIcon:c,header:d,collapsible:v,onItemClick:function(e){"disabled"!==v&&(a(e),null==g||g(e))},destroyInactivePanel:y}),p)}))},wT=function(e,t,n){var r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y;return e?(r=n.prefixCls,o=n.accordion,i=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon,p=e.key||String(t),m=(d=e.props).header,f=d.headerClass,g=d.destroyInactivePanel,h=d.collapsible,b=d.onItemClick,_=o?l[0]===p:l.indexOf(p)>-1,y={key:p,panelKey:p,header:m,headerClass:f,isActive:_,prefixCls:r,destroyInactivePanel:null!=g?g:a,openMotion:c,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==v&&(s(e),null==b||b(e))},expandIcon:u,collapsible:v=null!=h?h:i},"string"==typeof e.type?e:(Object.keys(y).forEach((function(e){void 0===y[e]&&delete y[e]})),fQ.cloneElement(e,y))):null};const F3=Object.assign(fQ.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-collapse":r,i=e.destroyInactivePanel,a=void 0!==i&&i,s=e.style,l=e.accordion,c=e.children,u=e.collapsible,p=e.openMotion,d=e.expandIcon,m=e.activeKey,f=e.defaultActiveKey,g=e.onChange,h=e.items,b=JQ(o,e.className),_=za(Rl([],{value:m,onChange:function(e){return null==g?void 0:g(e)},defaultValue:f,postState:pd}),2),v=_[0],y=_[1];return Pa(!c,"`children` will be removed in next major version. Please use `items` instead."),n=function(e,t,n){return Array.isArray(e)?yT(e,n):Ls(t).map((function(e,t){return wT(e,t,n)}))}(h,c,{prefixCls:o,accordion:l,openMotion:p,expandIcon:d,collapsible:u,destroyInactivePanel:a,onItemClick:function(e){return y((function(){return l?v[0]===e?[]:[e]:v.indexOf(e)>-1?v.filter((function(t){return t!==e})):[].concat(wa(v),[e])}))},activeKey:v}),fQ.createElement("div",{ref:t,className:b,style:s,role:l?"tablist":void 0},n)})),{Panel:_T}),L3=u_.forwardRef(((e,t)=>{const{getPrefixCls:n}=u_.useContext(EJ),{prefixCls:r,className:o,showArrow:i=!0}=e,a=n("collapse",r),s=JQ({[`${a}-no-arrow`]:!i},o);return u_.createElement(F3.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))})),M3=e=>{const{componentCls:t,collapseContentBg:n,padding:r,collapseContentPaddingHorizontal:o,collapseHeaderBg:i,collapseHeaderPadding:a,collapseHeaderPaddingSM:s,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:c,lineWidth:u,lineType:p,colorBorder:d,colorText:m,colorTextHeading:f,colorTextDisabled:g,fontSize:h,fontSizeLG:b,lineHeight:_,marginSM:v,paddingSM:y,paddingLG:w,paddingXS:C,motionDurationSlow:k,fontSizeIcon:x}=e,D=`${u}px ${p} ${d}`;return{[t]:Object.assign(Object.assign({},IJ(e)),{backgroundColor:i,border:D,borderBottom:0,borderRadius:`${c}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:D,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,paddingInlineStart:y,color:f,lineHeight:_,cursor:"pointer",transition:`all ${k}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:h*_,display:"flex",alignItems:"center",paddingInlineEnd:v,marginInlineStart:r-y},[`${t}-arrow`]:Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{fontSize:x,svg:{transition:`transform ${k}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:m,backgroundColor:n,borderTop:D,[`& > ${t}-content-box`]:{padding:`${r}px ${o}px`},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:s,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:y-C}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},"&-large":{[`> ${t}-item`]:{fontSize:b,[`> ${t}-header`]:{padding:l,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:b*_,marginInlineStart:w-r}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${c}px ${c}px`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},U3=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{[`> ${t}-item > ${t}-header ${t}-arrow svg`]:{transform:"rotate(180deg)"}}}},B3=e=>{const{componentCls:t,collapseHeaderBg:n,paddingXXS:r,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},H3=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},z3=jl("Collapse",(e=>{const t=Tl(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[M3(t),B3(t),H3(t),U3(t),E1(t)]})),W3=u_.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,collapse:o}=u_.useContext(EJ),{prefixCls:i,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:p,expandIconPosition:d="start",children:m,expandIcon:f}=e,g=LZ((e=>{var t;return null!==(t=null!=p?p:e)&&void 0!==t?t:"middle"})),h=n("collapse",i),b=n(),[_,v]=z3(h),y=u_.useMemo((()=>"left"===d?"start":"right"===d?"end":d),[d]),w=JQ(`${h}-icon-position-${y}`,{[`${h}-borderless`]:!c,[`${h}-rtl`]:"rtl"===r,[`${h}-ghost`]:!!u,[`${h}-${g}`]:"middle"!==g},null==o?void 0:o.className,a,s,v),C=Object.assign(Object.assign({},N0(b)),{motionAppear:!1,leavedClassName:`${h}-content-hidden`}),k=u_.useMemo((()=>m?Ls(m).map(((e,t)=>{var n,r;if(null===(n=e.props)||void 0===n?void 0:n.disabled){const n=null!==(r=e.key)&&void 0!==r?r:String(t),{disabled:o,collapsible:i}=e.props;return sc(e,Object.assign(Object.assign({},Ys(e.props,["disabled"])),{key:n,collapsible:null!=i?i:o?"disabled":void 0}))}return e})):null),[m]);return _(u_.createElement(F3,Object.assign({ref:t,openMotion:C},Ys(e,["rootClassName"]),{expandIcon:function(e){let t=arguments.length>0&&void 0!==e?e:{};const n=f?f(t):u_.createElement(r5,{rotate:t.isActive?90:void 0});return sc(n,(()=>({className:JQ(n.props.className,`${h}-arrow`)})))},prefixCls:h,className:w,style:Object.assign(Object.assign({},null==o?void 0:o.style),l)}),k))})),V3=Object.assign(W3,{Panel:L3}),G3=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},IJ(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},q3=jl("Divider",(e=>{const t=Tl(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[G3(t)]}),{sizePaddingEdgeHorizontal:0});CT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:t,direction:n,divider:r}=u_.useContext(EJ),{prefixCls:o,type:i="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:p,plain:d,style:m}=e,f=CT(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),g=t("divider",o),[h,b]=q3(g),_=!!u,v="left"===a&&null!=s,y="right"===a&&null!=s,w=JQ(g,null==r?void 0:r.className,b,`${g}-${i}`,{[`${g}-with-text`]:_,[`${g}-with-text${a.length>0?`-${a}`:a}`]:_,[`${g}-dashed`]:!!p,[`${g}-plain`]:!!d,[`${g}-rtl`]:"rtl"===n,[`${g}-no-default-orientation-margin-left`]:v,[`${g}-no-default-orientation-margin-right`]:y},l,c),C=u_.useMemo((()=>"number"==typeof s?s:/^\d+$/.test(s)?Number(s):s),[s]),k=Object.assign(Object.assign({},v&&{marginLeft:C}),y&&{marginRight:C});return h(u_.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},null==r?void 0:r.style),m)},f,{role:"separator"}),u&&"vertical"!==i&&u_.createElement("span",{className:`${g}-inner-text`,style:k},u)))},K3={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Y3=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:K3}))}));kT=function(){function e(t){var n,r,o,i;Oi(this,e),Di(this,"origin",""),Di(this,"negative",void 0),Di(this,"integer",void 0),Di(this,"decimal",void 0),Di(this,"decimalLen",void 0),Di(this,"empty",void 0),Di(this,"nan",void 0),md(t)?this.empty=!0:(this.origin=String(t),"-"===t||Number.isNaN(t)?this.nan=!0:(gd(n=t)&&(n=Number(n)),_d(n="string"==typeof n?n:bd(n))?(r=fd(n),this.negative=r.negative,o=r.trimStr.split("."),this.integer=BigInt(o[0]),i=o[1]||"0",this.decimal=BigInt(i),this.decimalLen=i.length):this.nan=!0))}return Ii(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var o=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),i=n(this.alignDecimal(o),t.alignDecimal(o)).toString(),a=r(o),s=fd(i),l=s.trimStr,c="".concat(s.negativeStr).concat(l.padStart(a+1,"0"));return new e("".concat(c.slice(0,-a),".").concat(c.slice(-a)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,(function(e,t){return e+t}),(function(e){return e}))}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,(function(e,t){return e*t}),(function(e){return 2*e}))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(e){return arguments.length>0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":fd("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr}}]),e}(),xT=function(){function e(t){Oi(this,e),Di(this,"origin",""),Di(this,"number",void 0),Di(this,"empty",void 0),md(t)?this.empty=!0:(this.origin=String(t),this.number=Number(t))}return Ii(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){var n,r,o;return this.isInvalidate()?new e(t):(n=Number(t),Number.isNaN(n)?this:(r=this.number+n)>Number.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):rNumber.MAX_SAFE_INTEGER?new e(Number.MAX_SAFE_INTEGER):n0&&void 0!==e&&!e?this.origin:this.isInvalidate()?"":bd(this.number)}}]),e}(),DT=function(e){var t,n,r,o,i,a,s,l,c,u,p,d,m,f,g=e.inputElement,h=e.prefixCls,b=e.prefix,_=e.suffix,v=e.addonBefore,y=e.addonAfter,w=e.className,C=e.style,k=e.disabled,x=e.readOnly,D=e.focused,S=e.triggerFocus,E=e.allowClear,O=e.value,P=e.handleReset,I=e.hidden,N=e.classes,A=e.classNames,R=e.dataAttrs,T=e.styles,$=e.components,j=(null==$?void 0:$.affixWrapper)||"span",F=(null==$?void 0:$.groupWrapper)||"span",L=(null==$?void 0:$.wrapper)||"span",M=(null==$?void 0:$.groupAddon)||"span",U=u_.useRef(null),B=u_.cloneElement(g,{value:O,hidden:I,className:JQ(null===(t=g.props)||void 0===t?void 0:t.className,!Cd(e)&&!wd(e)&&w)||null,style:ka(ka({},null===(n=g.props)||void 0===n?void 0:n.style),Cd(e)||wd(e)?{}:C)});return Cd(e)&&(o="".concat(h,"-affix-wrapper"),i=JQ(o,(Di(r={},"".concat(o,"-disabled"),k),Di(r,"".concat(o,"-focused"),D),Di(r,"".concat(o,"-readonly"),x),Di(r,"".concat(o,"-input-with-clear-btn"),_&&E&&O),r),!wd(e)&&w,null==N?void 0:N.affixWrapper,null==A?void 0:A.affixWrapper),a=(_||E)&&fQ.createElement("span",{className:JQ("".concat(h,"-suffix"),null==A?void 0:A.suffix),style:null==T?void 0:T.suffix},E?(d=!k&&!x&&O,m="".concat(h,"-clear-icon"),f="object"===ki(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖",fQ.createElement("span",{onClick:P,onMouseDown:function(e){return e.preventDefault()},className:JQ(m,(p={},Di(p,"".concat(m,"-hidden"),!d),Di(p,"".concat(m,"-has-suffix"),!!_),p)),role:"button",tabIndex:-1},f)):null,_),B=fQ.createElement(j,ma({className:i,style:ka(ka({},wd(e)?void 0:C),null==T?void 0:T.affixWrapper),hidden:!wd(e)&&I,onClick:function(e){var t;null!==(t=U.current)&&void 0!==t&&t.contains(e.target)&&(null==S||S())}},null==R?void 0:R.affixWrapper,{ref:U}),b&&fQ.createElement("span",{className:JQ("".concat(h,"-prefix"),null==A?void 0:A.prefix),style:null==T?void 0:T.prefix},b),u_.cloneElement(g,{value:O,hidden:null}),a)),wd(e)?(s="".concat(h,"-group"),l="".concat(s,"-addon"),c=JQ("".concat(h,"-wrapper"),s,null==N?void 0:N.wrapper),u=JQ("".concat(h,"-group-wrapper"),w,null==N?void 0:N.group),fQ.createElement(F,{className:u,style:C,hidden:I},fQ.createElement(L,{className:c},v&&fQ.createElement(M,{className:l},v),u_.cloneElement(B,{hidden:null}),y&&fQ.createElement(M,{className:l},y)))):B},ST=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],ET=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c=e.autoComplete,u=e.onChange,p=e.onFocus,d=e.onBlur,m=e.onPressEnter,f=e.onKeyDown,g=e.prefixCls,h=void 0===g?"rc-input":g,b=e.disabled,_=e.htmlSize,v=e.className,y=e.maxLength,w=e.suffix,C=e.showCount,k=e.type,x=void 0===k?"text":k,D=e.classes,S=e.classNames,E=e.styles,O=Si(e,ST),P=za(Rl(e.defaultValue,{value:e.value}),2),I=P[0],N=P[1],A=za(u_.useState(!1),2),R=A[0],T=A[1],$=u_.useRef(null),j=function(e){$.current&&xd($.current,e)};return u_.useImperativeHandle(t,(function(){return{focus:j,blur:function(){var e;null===(e=$.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=$.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=$.current)||void 0===e||e.select()},input:$.current}})),u_.useEffect((function(){T((function(e){return(!e||!b)&&e}))}),[b]),n=function(t){void 0===e.value&&N(t.target.value),$.current&&kd($.current,t,u)},r=function(e){m&&"Enter"===e.key&&m(e),null==f||f(e)},o=function(e){T(!0),null==p||p(e)},i=function(e){T(!1),null==d||d(e)},a=function(e){N(""),j(),$.current&&kd($.current,e,u)},s=function(){var t=Ys(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return fQ.createElement("input",ma({autoComplete:c},t,{onChange:n,onFocus:o,onBlur:i,onKeyDown:r,className:JQ(h,Di({},"".concat(h,"-disabled"),b),null==S?void 0:S.input),style:null==E?void 0:E.input,ref:$,size:_,type:x}))},l=function(){var e,t,n,r=Number(y)>0;return w||C?(t=wa(e=Dd(I)).length,n="object"===ki(C)?C.formatter({value:e,count:t,maxLength:y}):"".concat(t).concat(r?" / ".concat(y):""),fQ.createElement(fQ.Fragment,null,!!C&&fQ.createElement("span",{className:JQ("".concat(h,"-show-count-suffix"),Di({},"".concat(h,"-show-count-has-suffix"),!!w),null==S?void 0:S.count),style:ka({},null==E?void 0:E.count)},n),w)):null},fQ.createElement(DT,ma({},O,{prefixCls:h,className:v,inputElement:s(),handleReset:a,value:Dd(I),focused:R,triggerFocus:j,suffix:l(),disabled:b,classes:D,classNames:S,styles:E}))})),OT=function(){var e=za(u_.useState(!1),2),t=e[0],n=e[1];return GS((function(){n(n2())}),[]),t},PT=200,IT=600,NT=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],AT=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],RT=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},TT=function(e){var t=vd(e);return t.isInvalidate()?null:t},$T=u_.forwardRef((function(e,t){function n(e,t){Ce(ve(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}var r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N=e.prefixCls,A=void 0===N?"rc-input-number":N,R=e.className,T=e.style,$=e.min,j=e.max,F=e.step,L=void 0===F?1:F,M=e.defaultValue,U=e.value,B=e.disabled,H=e.readOnly,z=e.upHandler,W=e.downHandler,V=e.keyboard,G=e.controls,q=void 0===G||G,X=e.classNames,K=e.stringMode,Y=e.parser,Q=e.formatter,J=e.precision,Z=e.decimalSeparator,ee=e.onChange,te=e.onInput,ne=e.onPressEnter,re=e.onStep,oe=Si(e,NT),ie="".concat(A,"-input"),ae=u_.useRef(null),se=za(u_.useState(!1),2),le=se[0],ce=se[1],ue=u_.useRef(!1),pe=u_.useRef(!1),de=u_.useRef(!1),me=za(u_.useState((function(){return vd(null!=U?U:M)})),2),fe=me[0],ge=me[1],he=u_.useCallback((function(e,t){if(!t)return J>=0?J:Math.max(hd(e),hd(L))}),[J,L]),be=u_.useCallback((function(e){var t,n=String(e);return Y?Y(n):(t=n,Z&&(t=t.replace(Z,".")),t.replace(/[^\w.-]+/g,""))}),[Y,Z]),_e=u_.useRef(""),ve=u_.useCallback((function(e,t){var n,r;return Q?Q(e,{userTyping:t,input:String(_e.current)}):(n="number"==typeof e?bd(e):e,t||(r=he(n,t),_d(n)&&(Z||r>=0)&&(n=yd(n,Z||".",r))),n)}),[Q,he,Z]),ye=za(u_.useState((function(){var e=null!=M?M:U;return fe.isInvalidate()&&["string","number"].includes(ki(e))?Number.isNaN(e)?"":e:ve(fe.toString(),!1)})),2),we=ye[0],Ce=ye[1];return _e.current=we,o=u_.useMemo((function(){return TT(j)}),[j,J]),i=u_.useMemo((function(){return TT($)}),[$,J]),a=u_.useMemo((function(){return!(!o||!fe||fe.isInvalidate())&&o.lessEquals(fe)}),[o,fe]),s=u_.useMemo((function(){return!(!i||!fe||fe.isInvalidate())&&fe.lessEquals(i)}),[i,fe]),S=ae.current,E=le,O=u_.useRef(null),l=[function(){var e,t,n,r,o;try{t=S.selectionEnd,r=(n=S.value).substring(0,e=S.selectionStart),o=n.substring(t),O.current={start:e,end:t,value:n,beforeTxt:r,afterTxt:o}}catch(xY){}},function(){var e,t,n,r,o,i;if(S&&O.current&&E)try{n=(t=O.current).beforeTxt,r=t.start,o=(e=S.value).length,e.endsWith(t.afterTxt)?o=e.length-O.current.afterTxt.length:e.startsWith(n)?o=n.length:-1!==(i=e.indexOf(n[r-1],r-1))&&(o=i+1),S.setSelectionRange(o,o)}catch(xY){Pa(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(xY.message))}}],c=za(l,2),u=c[0],p=c[1],d=function(e){return o&&!e.lessEquals(o)?o:i&&!i.lessEquals(e)?i:null},m=function(e){return!d(e)},f=function(e,t){var r,o,i=e,a=m(i)||i.isEmpty();return i.isEmpty()||t||(i=d(i)||i,a=!0),H||B||!a?fe:(r=i.toString(),(o=he(r,t))>=0&&(i=vd(yd(r,".",o)),m(i)||(i=vd(yd(r,".",o,!0)))),i.equals(fe)||(void 0===U&&ge(i),null==ee||ee(i.isEmpty()?null:RT(K,i)),void 0===U&&n(i,t)),i)},P=u_.useRef(0),I=function(){lO.cancel(P.current)},u_.useEffect((function(){return I}),[]),g=function(e){I(),P.current=lO((function(){e()}))},h=function e(t){var n;u(),_e.current=t,Ce(t),pe.current||(n=vd(be(t))).isNaN()||f(n,!0),null==te||te(t),g((function(){var n=t;Y||(n=t.replace(/。/g,".")),n!==t&&e(n)}))},b=function(){pe.current=!0},_=function(){pe.current=!1,h(ae.current.value)},v=function(e){h(e.target.value)},y=function(e){var t,n,r,o;e&&a||!e&&s||(ue.current=!1,n=vd(de.current?Ed(L):L),e||(n=n.negate()),r=(fe||vd(0)).add(n.toString()),o=f(r,!1),null==re||re(RT(K,o),{offset:de.current?Ed(L):L,type:e?"up":"down"}),null===(t=ae.current)||void 0===t||t.focus())},w=function(e){var t=vd(be(we)),r=t;r=t.isNaN()?f(fe,e):f(t,e),void 0!==U?n(fe,!1):r.isNaN()||n(r,!1)},C=function(){ue.current=!0},k=function(e){var t=e.key,n=e.shiftKey;ue.current=!0,de.current=n,"Enter"===t&&(pe.current||(ue.current=!1),w(!1),null==ne||ne(e)),!1!==V&&!pe.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(y("Up"===t||"ArrowUp"===t),e.preventDefault())},x=function(){ue.current=!1,de.current=!1},D=function(){w(!1),ce(!1),ue.current=!1},qS((function(){fe.isInvalidate()||n(fe,!1)}),[J]),qS((function(){var e,t=vd(U);ge(t),e=vd(be(we)),t.equals(e)&&ue.current&&!Q||n(t,ue.current)}),[U]),qS((function(){Q&&p()}),[we]),u_.createElement("div",{className:JQ(A,null==X?void 0:X.input,R,(r={},Di(r,"".concat(A,"-focused"),le),Di(r,"".concat(A,"-disabled"),B),Di(r,"".concat(A,"-readonly"),H),Di(r,"".concat(A,"-not-a-number"),fe.isNaN()),Di(r,"".concat(A,"-out-of-range"),!fe.isInvalidate()&&!m(fe)),r)),style:T,onFocus:function(){ce(!0)},onBlur:D,onKeyDown:k,onKeyUp:x,onCompositionStart:b,onCompositionEnd:_,onBeforeInput:C},q&&u_.createElement(Sd,{prefixCls:A,upNode:z,downNode:W,upDisabled:a,downDisabled:s,onStep:y}),u_.createElement("div",{className:"".concat(ie,"-wrap")},u_.createElement("input",ma({autoComplete:"off",role:"spinbutton","aria-valuemin":$,"aria-valuemax":j,"aria-valuenow":fe.isInvalidate()?null:fe.toString(),step:L},oe,{ref:Us(ae,t),className:ie,value:we,onChange:v,disabled:B,readOnly:H}))))})),(jT=u_.forwardRef((function(e,t){var n=e.disabled,r=e.style,o=e.prefixCls,i=e.value,a=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,u=e.classes,p=e.className,d=e.classNames,m=Si(e,AT),f=u_.useRef(null);return u_.createElement(DT,{inputElement:u_.createElement($T,ma({prefixCls:o,disabled:n,classNames:d,ref:Us(f,t)},m)),className:p,triggerFocus:function(e){f.current&&xd(f.current,e)},prefixCls:o,value:i,disabled:n,style:r,prefix:a,suffix:s,addonAfter:c,addonBefore:l,classes:u,classNames:d,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})}))).displayName="InputNumber";const Q3=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:o}=e;const i="lg"===t?o:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},J3=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorBorder:o,borderRadius:i,fontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,inputPaddingHorizontalSM:u,colorTextDescription:p,motionDurationMid:d,colorPrimary:m,inputPaddingHorizontal:f,inputPaddingVertical:g,colorBgContainer:h,colorTextDisabled:b,borderRadiusSM:_,borderRadiusLG:v,controlWidth:y,handleVisible:w}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),R5(e)),A5(e,t)),{display:"inline-block",width:y,margin:0,padding:0,border:`${n}px ${r} ${o}`,borderRadius:i,"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,borderRadius:v,[`input${t}-input`]:{height:s-2*n}},"&-sm":{padding:0,borderRadius:_,[`input${t}-input`]:{height:l-2*n,padding:`0 ${u}px`}},"&:hover":Object.assign({},E5(e)),"&-focused":Object.assign({},O5(e)),"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},IJ(e)),T5(e)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:v,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:_}},[`${t}-wrapper-disabled > ${t}-group-addon`]:Object.assign({},P5(e))}}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{width:"100%",padding:`${g}px ${f}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${d} linear`,appearance:"textfield",fontSize:"inherit"}),S5(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[t]:Object.assign(Object.assign(Object.assign({[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:"100%",background:h,borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,opacity:!0===w?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${d} linear ${d}`,[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:p,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${n}px ${r} ${o}`,transition:`all ${d} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:"60%",[`\n ${t}-handler-up-inner,\n ${t}-handler-down-inner\n `]:{color:m}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},{display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),{color:p,transition:`all ${d} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:i},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${o}`,borderEndEndRadius:i}},Q3(e,"lg")),Q3(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`\n ${t}-handler-up-disabled,\n ${t}-handler-down-disabled\n `]:{cursor:"not-allowed"},[`\n ${t}-handler-up-disabled:hover &-handler-up-inner,\n ${t}-handler-down-disabled:hover &-handler-down-inner\n `]:{color:b}})},{[`${t}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Z3=e=>{const{componentCls:t,inputPaddingVertical:n,inputPaddingHorizontal:r,inputAffixPadding:o,controlWidth:i,borderRadiusLG:a,borderRadiusSM:s}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},R5(e)),A5(e,`${t}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a},"&-sm":{borderRadius:s},[`&:not(${t}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},E5(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},[`input${t}-input`]:{padding:`${n}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:o},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:r,marginInlineStart:o}}})}},e4=jl("InputNumber",(e=>{const t=Yp(e);return[J3(t),Z3(t),Oc(t)]}),(e=>({controlWidth:90,handleWidth:e.controlHeightSM-2*e.lineWidth,handleFontSize:e.fontSize/2,handleVisible:"auto"})));FT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{getPrefixCls:n,direction:r}=u_.useContext(EJ),o=u_.useRef(null);u_.useImperativeHandle(t,(()=>o.current));const{className:i,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:p,prefix:d,bordered:m=!0,readOnly:f,status:g,controls:h}=e,b=FT(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),_=n("input-number",c),[v,y]=e4(_),{compactSize:w,compactItemClassnames:C}=zZ(_,r);let k=u_.createElement(Y3,{className:`${_}-handler-up-inner`}),x=u_.createElement(O2,{className:`${_}-handler-down-inner`});const D="boolean"==typeof h?h:void 0;"object"==typeof h&&(k=void 0===h.upIcon?k:u_.createElement("span",{className:`${_}-handler-up-inner`},h.upIcon),x=void 0===h.downIcon?x:u_.createElement("span",{className:`${_}-handler-down-inner`},h.downIcon));const{hasFeedback:S,status:E,isFormItemInput:O,feedbackIcon:P}=u_.useContext(U0),I=i2(E,g),N=LZ((e=>{var t;return null!==(t=null!=s?s:w)&&void 0!==t?t:e})),A=u_.useContext(HJ),R=null!=l?l:A,T=JQ({[`${_}-lg`]:"large"===N,[`${_}-sm`]:"small"===N,[`${_}-rtl`]:"rtl"===r,[`${_}-borderless`]:!m,[`${_}-in-form-item`]:O},mp(_,I),C,y),$=`${_}-group`;return v(u_.createElement(jT,Object.assign({ref:o,disabled:R,className:JQ(i,a),upHandler:k,downHandler:x,prefixCls:_,readOnly:f,controls:D,prefix:d,suffix:S&&P,addonAfter:p&&u_.createElement(WZ,null,u_.createElement(B0,{override:!0,status:!0},p)),addonBefore:u&&u_.createElement(WZ,null,u_.createElement(B0,{override:!0,status:!0},u)),classNames:{input:T},classes:{affixWrapper:JQ(mp(`${_}-affix-wrapper`,I,S),{[`${_}-affix-wrapper-sm`]:"small"===N,[`${_}-affix-wrapper-lg`]:"large"===N,[`${_}-affix-wrapper-rtl`]:"rtl"===r,[`${_}-affix-wrapper-borderless`]:!m},y),wrapper:JQ({[`${$}-rtl`]:"rtl"===r,[`${_}-wrapper-disabled`]:R},y),group:JQ({[`${_}-group-wrapper-sm`]:"small"===N,[`${_}-group-wrapper-lg`]:"large"===N,[`${_}-group-wrapper-rtl`]:"rtl"===r},mp(`${_}-group-wrapper`,I,S),y)}},b)))})),n4=t4;n4._InternalPanelDoNotUseOrYouWillBeFired=e=>u_.createElement(eZ,{theme:{components:{InputNumber:{handleVisible:!0}}}},u_.createElement(t4,Object.assign({},e)));const r4=n4;LT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{var n;const{prefixCls:r,bordered:o=!0,status:i,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:p,addonAfter:d,addonBefore:m,className:f,style:g,styles:h,rootClassName:b,onChange:_,classNames:v}=e,y=LT(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:w,direction:C,input:k}=fQ.useContext(EJ),x=w("input",r),D=u_.useRef(null),[S,E]=B5(x),{compactSize:O,compactItemClassnames:P}=zZ(x,C),I=LZ((e=>{var t;return null!==(t=null!=a?a:O)&&void 0!==t?t:e})),N=fQ.useContext(HJ),A=null!=s?s:N,{status:R,hasFeedback:T,feedbackIcon:$}=u_.useContext(U0),j=i2(R,i),F=function(e){return!!(e.prefix||e.suffix||e.allowClear)}(e)||!!T,L=u_.useRef(F);u_.useEffect((()=>{L.current=F}),[F]);const M=Od(D,!0),U=(T||u)&&fQ.createElement(fQ.Fragment,null,u,T&&$);let B;return"object"==typeof p&&(null==p?void 0:p.clearIcon)?B=p:p&&(B={clearIcon:fQ.createElement(sZ,null)}),S(fQ.createElement(ET,Object.assign({ref:Us(t,D),prefixCls:x,autoComplete:null==k?void 0:k.autoComplete},y,{disabled:A,onBlur:e=>{M(),null==l||l(e)},onFocus:e=>{M(),null==c||c(e)},style:Object.assign(Object.assign({},null==k?void 0:k.style),g),styles:Object.assign(Object.assign({},null==k?void 0:k.styles),h),suffix:U,allowClear:B,className:JQ(f,b,P,null==k?void 0:k.className),onChange:e=>{M(),null==_||_(e)},addonAfter:d&&fQ.createElement(WZ,null,fQ.createElement(B0,{override:!0,status:!0},d)),addonBefore:m&&fQ.createElement(WZ,null,fQ.createElement(B0,{override:!0,status:!0},m)),classNames:Object.assign(Object.assign(Object.assign({},v),null==k?void 0:k.classNames),{input:JQ({[`${x}-sm`]:"small"===I,[`${x}-lg`]:"large"===I,[`${x}-rtl`]:"rtl"===C,[`${x}-borderless`]:!o},!F&&mp(x,j),null==v?void 0:v.input,null===(n=null==k?void 0:k.classNames)||void 0===n?void 0:n.input,E)}),classes:{affixWrapper:JQ({[`${x}-affix-wrapper-sm`]:"small"===I,[`${x}-affix-wrapper-lg`]:"large"===I,[`${x}-affix-wrapper-rtl`]:"rtl"===C,[`${x}-affix-wrapper-borderless`]:!o},mp(`${x}-affix-wrapper`,j,T),E),wrapper:JQ({[`${x}-group-rtl`]:"rtl"===C},E),group:JQ({[`${x}-group-wrapper-sm`]:"small"===I,[`${x}-group-wrapper-lg`]:"large"===I,[`${x}-group-wrapper-rtl`]:"rtl"===C,[`${x}-group-wrapper-disabled`]:A},mp(`${x}-group-wrapper`,j,T),E)}})))})),i4=o4,a4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},s4=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:a4}))})),l4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},c4=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:l4}))}));MT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);ru_.createElement(e?c4:s4,null),p4={click:"onClick",hover:"onMouseOver"},d4=u_.forwardRef(((e,t)=>{const{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[o,i]=u_.useState((()=>!!r&&n.visible)),a=u_.useRef(null);u_.useEffect((()=>{r&&i(n.visible)}),[r,n]);const s=Od(a),l=()=>{const{disabled:t}=e;t||(o&&s(),i((e=>{var t;const r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r})))},{className:c,prefixCls:u,inputPrefixCls:p,size:d}=e,m=MT(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:f}=u_.useContext(EJ),g=f("input",p),h=f("input-password",u),b=n&&(t=>{const{action:n="click",iconRender:r=u4}=e,i=p4[n]||"",a=r(o),s={[i]:l,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return u_.cloneElement(u_.isValidElement(a)?a:u_.createElement("span",null,a),s)})(h),_=JQ(h,c,{[`${h}-${d}`]:!!d}),v=Object.assign(Object.assign({},Ys(m,["suffix","iconRender","visibilityToggle"])),{type:o?"text":"password",className:_,prefixCls:g,suffix:b});return d&&(v.size=d),u_.createElement(i4,Object.assign({ref:Us(t,a)},v))})),m4=d4;UT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,inputPrefixCls:r,className:o,size:i,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:p,onChange:d,onCompositionStart:m,onCompositionEnd:f}=e,g=UT(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:b}=u_.useContext(EJ),_=u_.useRef(!1),v=h("input-search",n),y=h("input",r),{compactSize:w}=zZ(v,b),C=LZ((e=>{var t;return null!==(t=null!=i?i:w)&&void 0!==t?t:e})),k=u_.useRef(null),x=e=>{var t;document.activeElement===(null===(t=k.current)||void 0===t?void 0:t.input)&&e.preventDefault()},D=e=>{var t,n;p&&p(null===(n=null===(t=k.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},S="boolean"==typeof s?u_.createElement(I2,null):null,E=`${v}-button`;let O;const P=s||{},I=P.type&&!0===P.type.__ANT_BUTTON;O=I||"button"===P.type?sc(P,Object.assign({onMouseDown:x,onClick:e=>{var t,n;null===(n=null===(t=null==P?void 0:P.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),D(e)},key:"enterButton"},I?{className:E,size:C}:{})):u_.createElement(D0,{className:E,type:s?"primary":void 0,size:C,disabled:u,key:"enterButton",onMouseDown:x,onClick:D,loading:c,icon:S},s),l&&(O=[O,sc(l,{key:"addonAfter"})]);const N=JQ(v,{[`${v}-rtl`]:"rtl"===b,[`${v}-${C}`]:!!C,[`${v}-with-button`]:!!s},o);return u_.createElement(i4,Object.assign({ref:Us(k,t),onPressEnter:e=>{_.current||c||D(e)}},g,{size:C,onCompositionStart:e=>{_.current=!0,null==m||m(e)},onCompositionEnd:e=>{_.current=!1,null==f||f(e)},prefixCls:y,addonAfter:O,suffix:a,onChange:e=>{e&&e.target&&"click"===e.type&&p&&p(e.target.value,e),d&&d(e)},className:N,disabled:u}))})),g4=f4;BT=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],HT={},WT=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],VT=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E,O,P,I,N,A,R=e.prefixCls;return n=e.defaultValue,r=e.value,o=e.autoSize,i=e.onResize,a=e.className,s=e.style,l=e.disabled,c=e.onChange,u=Si(e,WT),d=(p=za(Rl(n,{value:r,postState:function(e){return null!=e?e:""}}),2))[0],m=p[1],f=function(e){m(e.target.value),null==c||c(e)},g=u_.useRef(),u_.useImperativeHandle(t,(function(){return{textArea:g.current}})),h=za(u_.useMemo((function(){return o&&"object"===ki(o)?[o.minRows,o.maxRows]:[]}),[o]),2),b=h[0],_=h[1],v=!!o,y=function(){try{if(document.activeElement===g.current){var e=g.current,t=e.scrollTop;g.current.setSelectionRange(e.selectionStart,e.selectionEnd),g.current.scrollTop=t}}catch(xY){}},w=za(u_.useState(2),2),C=w[0],k=w[1],D=(x=za(u_.useState(),2))[0],S=x[1],E=function(){k(0)},GS((function(){v&&E()}),[r,b,_,v]),GS((function(){if(0===C)k(1);else if(1===C){var e=function(e,t,n,r){var o,i,a,s,l,c,u,p,d,m,f=arguments.length>1&&void 0!==t&&t,g=arguments.length>2&&void 0!==n?n:null,h=arguments.length>3&&void 0!==r?r:null;return zT||((zT=document.createElement("textarea")).setAttribute("tab-index","-1"),zT.setAttribute("aria-hidden","true"),document.body.appendChild(zT)),e.getAttribute("wrap")?zT.setAttribute("wrap",e.getAttribute("wrap")):zT.removeAttribute("wrap"),o=function(e,t){var n,r,o,i,a,s=arguments.length>1&&void 0!==t&&t,l=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");return s&&HT[l]?HT[l]:(r=(n=window.getComputedStyle(e)).getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),o=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),i=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),a={sizingStyle:BT.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:o,borderSize:i,boxSizing:r},s&&l&&(HT[l]=a),a)}(e,f),i=o.paddingSize,a=o.borderSize,s=o.boxSizing,zT.setAttribute("style","".concat(o.sizingStyle,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),zT.value=e.value||e.placeholder||"",l=void 0,c=void 0,p=zT.scrollHeight,"border-box"===s?p+=a:"content-box"===s&&(p-=i),null===g&&null===h||(zT.value=" ",d=zT.scrollHeight-i,null!==g&&(l=d*g,"border-box"===s&&(l=l+i+a),p=Math.max(l,p)),null!==h&&(c=d*h,"border-box"===s&&(c=c+i+a),u=p>c?"":"hidden",p=Math.min(c,p))),m={height:p,overflowY:u,resize:"none"},l&&(m.minHeight=l),c&&(m.maxHeight=c),m}(g.current,!1,b,_);k(2),S(e)}else y()}),[C]),O=u_.useRef(),P=function(){lO.cancel(O.current)},I=function(e){2===C&&(null==i||i(e),o&&(P(),O.current=lO((function(){E()}))))},u_.useEffect((function(){return P}),[]),N=v?D:null,A=ka(ka({},s),N),0!==C&&1!==C||(A.overflowY="hidden",A.overflowX="hidden"),u_.createElement(rO,{onResize:I,disabled:!(o||i)},u_.createElement("textarea",ma({},u,{ref:g,style:A,className:JQ(R,a,Di({},"".concat(R,"-disabled"),l)),disabled:l,value:d,onChange:f})))})),GT=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"],qT=fQ.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b=e.defaultValue,_=e.value,v=e.onFocus,y=e.onBlur,w=e.onChange,C=e.allowClear,k=e.maxLength,x=e.onCompositionStart,D=e.onCompositionEnd,S=e.suffix,E=e.prefixCls,O=void 0===E?"rc-textarea":E,P=e.classes,I=e.showCount,N=e.className,A=e.style,R=e.disabled,T=e.hidden,$=e.classNames,j=e.styles,F=e.onResize,L=Si(e,GT),M=za(Rl(b,{value:_,defaultValue:b}),2),U=M[0],B=M[1],H=u_.useRef(null),z=za(fQ.useState(!1),2),W=z[0],V=z[1],G=za(fQ.useState(!1),2),q=G[0],X=G[1],K=fQ.useRef(),Y=fQ.useRef(0),Q=za(fQ.useState(null),2),J=Q[0],Z=Q[1],ee=function(){var e;null===(e=H.current)||void 0===e||e.textArea.focus()};return u_.useImperativeHandle(t,(function(){return{resizableTextArea:H.current,focus:ee,blur:function(){var e;null===(e=H.current)||void 0===e||e.textArea.blur()}}})),u_.useEffect((function(){V((function(e){return!R&&e}))}),[R]),r=Number(k)>0,o=function(e){X(!0),K.current=U,Y.current=e.currentTarget.selectionStart,null==x||x(e)},i=function(e){var t,n;X(!1),t=e.currentTarget.value,r&&(t=Id(Y.current>=k+1||Y.current===(null===(n=K.current)||void 0===n?void 0:n.length),K.current,t,k)),t!==U&&(B(t),kd(e.currentTarget,e,w,t)),null==D||D(e)},a=function(e){var t=e.target.value;!q&&r&&(t=Id(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,U,t,k)),B(t),kd(e.currentTarget,e,w,t)},s=function(e){var t=L.onPressEnter,n=L.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},l=function(e){V(!0),null==v||v(e)},c=function(e){V(!1),null==y||y(e)},u=function(e){var t;B(""),ee(),kd(null===(t=H.current)||void 0===t?void 0:t.textArea,e,w)},p=Dd(U),!q&&r&&null==_&&(p=Pd(p,k)),d=S,I&&(f=wa(p).length,m="object"===ki(I)?I.formatter({value:p,count:f,maxLength:k}):"".concat(f).concat(r?" / ".concat(k):""),d=fQ.createElement(fQ.Fragment,null,d,fQ.createElement("span",{className:JQ("".concat(O,"-data-count"),null==$?void 0:$.count),style:null==j?void 0:j.count},m))),g=function(e){var t;null==F||F(e),null!==(t=H.current)&&void 0!==t&&t.textArea.style.height&&Z(!0)},h=!L.autoSize&&!I&&!C,fQ.createElement(DT,{value:p,allowClear:C,handleReset:u,suffix:d,prefixCls:O,classes:{affixWrapper:JQ(null==P?void 0:P.affixWrapper,(n={},Di(n,"".concat(O,"-show-count"),I),Di(n,"".concat(O,"-textarea-allow-clear"),C),n))},disabled:R,focused:W,className:N,style:ka(ka({},A),J&&!h?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof m?m:void 0}},hidden:T,inputElement:fQ.createElement(VT,ma({},L,{onKeyDown:s,onChange:a,onFocus:l,onBlur:c,onCompositionStart:o,onCompositionEnd:i,className:null==$?void 0:$.textarea,style:ka(ka({},null==j?void 0:j.textarea),{},{resize:null==A?void 0:A.resize}),disabled:R,prefixCls:O,onResize:g,ref:H}))})})),XT=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,bordered:r=!0,size:o,disabled:i,status:a,allowClear:s,showCount:l,classNames:c}=e,u=XT(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:p,direction:d}=u_.useContext(EJ),m=LZ(o),f=u_.useContext(HJ),g=null!=i?i:f,{status:h,hasFeedback:b,feedbackIcon:_}=u_.useContext(U0),v=i2(h,a),y=u_.useRef(null);u_.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=y.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=y.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.blur()}}}));const w=p("input",n);let C;"object"==typeof s&&(null==s?void 0:s.clearIcon)?C=s:s&&(C={clearIcon:u_.createElement(sZ,null)});const[k,x]=B5(w);return k(u_.createElement(qT,Object.assign({},u,{disabled:g,allowClear:C,classes:{affixWrapper:JQ(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:"rtl"===d,[`${w}-affix-wrapper-borderless`]:!r,[`${w}-affix-wrapper-sm`]:"small"===m,[`${w}-affix-wrapper-lg`]:"large"===m,[`${w}-textarea-show-count`]:l},mp(`${w}-affix-wrapper`,v),x)},classNames:Object.assign(Object.assign({},c),{textarea:JQ({[`${w}-borderless`]:!r,[`${w}-sm`]:"small"===m,[`${w}-lg`]:"large"===m},mp(w,v),x,null==c?void 0:c.textarea)}),prefixCls:w,suffix:b&&u_.createElement("span",{className:`${w}-textarea-suffix`},_),showCount:l,ref:y})))})),b4=i4;b4.Group=e=>{const{getPrefixCls:t,direction:n}=u_.useContext(EJ),{prefixCls:r,className:o}=e,i=t("input-group",r),a=t("input"),[s,l]=B5(a),c=JQ(i,{[`${i}-lg`]:"large"===e.size,[`${i}-sm`]:"small"===e.size,[`${i}-compact`]:e.compact,[`${i}-rtl`]:"rtl"===n},l,o),u=u_.useContext(U0),p=u_.useMemo((()=>Object.assign(Object.assign({},u),{isFormItemInput:!1})),[u]);return s(u_.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},u_.createElement(U0.Provider,{value:p},e.children)))},b4.Search=g4,b4.TextArea=h4,b4.Password=m4;const _4=b4;KT=u_.createContext(null),YT=function(e){var t=e.className,n=e.style,r=e.children,o=e.containerRef,i={onMouseEnter:e.onMouseEnter,onMouseOver:e.onMouseOver,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp};return u_.createElement(u_.Fragment,null,u_.createElement("div",ma({className:JQ("".concat(e.prefixCls,"-content"),t),style:ka({},n),"aria-modal":"true",role:"dialog",ref:o},i),r))},QT={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},JT=u_.forwardRef(Ad),ZT=function(e){var t,n,r,o,i,a,s=e.open,l=void 0!==s&&s,c=e.prefixCls,u=void 0===c?"rc-drawer":c,p=e.placement,d=void 0===p?"right":p,m=e.autoFocus,f=void 0===m||m,g=e.keyboard,h=void 0===g||g,b=e.width,_=void 0===b?378:b,v=e.mask,y=void 0===v||v,w=e.maskClosable,C=void 0===w||w,k=e.getContainer,x=e.forceRender,D=e.afterOpenChange,S=e.destroyOnClose,E=e.onMouseEnter,O=e.onMouseOver,P=e.onMouseLeave,I=e.onClick,N=e.onKeyDown,A=e.onKeyUp,R=za(u_.useState(!1),2),T=R[0],$=R[1],j=za(u_.useState(!1),2),F=j[0],L=j[1];return GS((function(){L(!0)}),[]),t=!!F&&l,n=u_.useRef(),r=u_.useRef(),GS((function(){t&&(r.current=document.activeElement)}),[t]),o=function(e){var t,o;$(e),null==D||D(e),e||!r.current||(null===(t=n.current)||void 0===t?void 0:t.contains(r.current))||null===(o=r.current)||void 0===o||o.focus({preventScroll:!0})},x||T||t||!S?(i={onMouseEnter:E,onMouseOver:O,onMouseLeave:P,onClick:I,onKeyDown:N,onKeyUp:A},a=ka(ka({},e),{},{open:t,prefixCls:u,placement:d,autoFocus:f,keyboard:h,width:_,mask:y,maskClosable:C,inline:!1===k,afterOpenChange:o,ref:n},i),u_.createElement(SI,{open:t||x||T,autoDestroy:!1,getContainer:k,autoLock:y&&(t||T)},u_.createElement(JT,a))):null};const v4=e=>{const{prefixCls:t,title:n,footer:r,extra:o,closeIcon:i,closable:a,onClose:s,headerStyle:l,drawerStyle:c,bodyStyle:u,footerStyle:p,children:d}=e,m=u_.useCallback((e=>u_.createElement("button",{type:"button",onClick:s,"aria-label":"Close",className:`${t}-close`},e)),[s]),[f,g]=Mc(a,i,m,void 0,!0),h=u_.useMemo((()=>n||f?u_.createElement("div",{style:l,className:JQ(`${t}-header`,{[`${t}-header-close-only`]:f&&!n&&!o})},u_.createElement("div",{className:`${t}-header-title`},g,n&&u_.createElement("div",{className:`${t}-title`},n)),o&&u_.createElement("div",{className:`${t}-extra`},o)):null),[f,g,o,l,t,n]),b=u_.useMemo((()=>r?u_.createElement("div",{className:`${t}-footer`,style:p},r):null),[r,p,t]);return u_.createElement("div",{className:`${t}-wrapper-body`,style:c},h,u_.createElement("div",{className:`${t}-body`,style:u},d),b)},y4=e=>{const{componentCls:t,motionDurationSlow:n}=e,r={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${n}`}}};return{[t]:{[`${t}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${n}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${t}-panel-motion`]:{"&-left":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[r,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[r,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},w4=e=>{const{componentCls:t,zIndexPopup:n,colorBgMask:r,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:a,padding:s,paddingLG:l,fontSizeLG:c,lineHeightLG:u,lineWidth:p,lineType:d,colorSplit:m,marginSM:f,colorIcon:g,colorIconHover:h,colorText:b,fontWeightStrong:_,footerPaddingBlock:v,footerPaddingInline:y}=e,w=`${t}-content-wrapper`;return{[t]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:o,[`&${t}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${t}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${t}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${t}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${t}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[w]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${w}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${w}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${w}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${w}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${t}-content`]:{width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${t}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${t}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${s}px ${l}px`,fontSize:c,lineHeight:u,borderBottom:`${p}px ${d} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${t}-extra`]:{flex:"none"},[`${t}-close`]:{display:"inline-block",marginInlineEnd:f,color:g,fontWeight:_,fontSize:c,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a}`,textRendering:"auto","&:focus, &:hover":{color:h,textDecoration:"none"}},[`${t}-title`]:{flex:1,margin:0,color:b,fontWeight:e.fontWeightStrong,fontSize:c,lineHeight:u},[`${t}-body`]:{flex:1,minWidth:0,minHeight:0,padding:l,overflow:"auto"},[`${t}-footer`]:{flexShrink:0,padding:`${v}px ${y}px`,borderTop:`${p}px ${d} ${m}`},"&-rtl":{direction:"rtl"}}}},C4=jl("Drawer",(e=>{const t=Tl(e,{});return[w4(t),y4(t)]}),(e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})));e$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{rootClassName:t,width:n,height:r,size:o="default",mask:i=!0,push:a=k4,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:p,style:d,className:m,visible:f,afterVisibleChange:g}=e,h=e$(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:b,getPrefixCls:_,direction:v,drawer:y}=u_.useContext(EJ),w=_("drawer",u),[C,k]=C4(w),x=void 0===p&&b?()=>b(document.body):p,D=JQ({"no-mask":!i,[`${w}-rtl`]:"rtl"===v},t,k),S=u_.useMemo((()=>null!=n?n:"large"===o?736:378),[n,o]),E=u_.useMemo((()=>null!=r?r:"large"===o?736:378),[r,o]),O={motionName:A0(w,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return C(u_.createElement(WZ,null,u_.createElement(B0,{status:!0,override:!0},u_.createElement(ZT,Object.assign({prefixCls:w,onClose:c,maskMotion:O,motion:e=>({motionName:A0(w,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},h,{open:null!=s?s:f,mask:i,push:a,width:S,height:E,style:Object.assign(Object.assign({},null==y?void 0:y.style),d),className:JQ(null==y?void 0:y.className,m),rootClassName:D,getContainer:x,afterOpenChange:null!=l?l:g}),u_.createElement(v4,Object.assign({prefixCls:w},h,{onClose:c}))))))};x4._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,style:n,className:r,placement:o="right"}=e,i=e$(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=u_.useContext(EJ),s=a("drawer",t),[l,c]=C4(s),u=JQ(s,`${s}-pure`,`${s}-${o}`,c,r);return l(u_.createElement("div",{className:u,style:n},u_.createElement(v4,Object.assign({prefixCls:s},i))))};const D4=x4,S4=fQ.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),E4=S4.Provider,O4=e=>{let{className:t,direction:n,index:r,marginDirection:o,children:i,split:a,wrap:s,style:l}=e;const{horizontalSize:c,verticalSize:u,latestIndex:p,supportFlexGap:d}=u_.useContext(S4);let m={};return d||("vertical"===n?r{var n,r;const{getPrefixCls:o,space:i,direction:a}=u_.useContext(EJ),{size:s=(null==i?void 0:i.size)||"small",align:l,className:c,rootClassName:u,children:p,direction:d="horizontal",prefixCls:m,split:f,style:g,wrap:h=!1,classNames:b,styles:_}=e,v=t$(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),y=$3(),[w,C]=u_.useMemo((()=>(Array.isArray(s)?s:[s,s]).map((e=>function(e){return"string"==typeof e?P4[e]:e||0}(e)))),[s]),k=Ls(p,{keepEmpty:!0}),x=void 0===l&&"horizontal"===d?"center":l,D=o("space",m),[S,E]=BZ(D),O=JQ(D,null==i?void 0:i.className,E,`${D}-${d}`,{[`${D}-rtl`]:"rtl"===a,[`${D}-align-${x}`]:x},c,u),P=JQ(`${D}-item`,null!==(n=null==b?void 0:b.item)&&void 0!==n?n:null===(r=null==i?void 0:i.classNames)||void 0===r?void 0:r.item),I="rtl"===a?"marginLeft":"marginRight";let N=0;const A=k.map(((e,t)=>{var n,r;return null!=e&&(N=t),u_.createElement(O4,{className:P,key:e&&e.key||`${P}-${t}`,direction:d,index:t,marginDirection:I,split:f,wrap:h,style:null!==(n=null==_?void 0:_.item)&&void 0!==n?n:null===(r=null==i?void 0:i.styles)||void 0===r?void 0:r.item},e)})),R=u_.useMemo((()=>({horizontalSize:w,verticalSize:C,latestIndex:N,supportFlexGap:y})),[w,C,N,y]);if(0===k.length)return null;const T={};return h&&(T.flexWrap="wrap",y||(T.marginBottom=-C)),y&&(T.columnGap=w,T.rowGap=C),S(u_.createElement("div",Object.assign({ref:t,className:O,style:Object.assign(Object.assign(Object.assign({},T),null==i?void 0:i.style),g)},v),u_.createElement(E4,{value:R},A)))}));I4.Compact=e=>{const{getPrefixCls:t,direction:n}=u_.useContext(EJ),{size:r,direction:o,block:i,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=bI(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=LZ((e=>null!=r?r:e)),d=t("space-compact",a),[m,f]=BZ(d),g=JQ(d,f,{[`${d}-rtl`]:"rtl"===n,[`${d}-block`]:i,[`${d}-vertical`]:"vertical"===o},s,l),h=u_.useContext(HZ),b=Ls(c),_=u_.useMemo((()=>b.map(((e,t)=>u_.createElement(VZ,{key:e&&e.key||`${d}-item-${t}`,compactSize:p,compactDirection:o,isFirstItem:0===t&&(!h||(null==h?void 0:h.isFirstItem)),isLastItem:t===b.length-1&&(!h||(null==h?void 0:h.isLastItem))},e)))),[r,b,h]);return 0===b.length?null:m(u_.createElement("div",Object.assign({className:g},u),_))};const N4=I4,A4=e=>{const{componentCls:t}=e,n=`${t}-show-help-item`;return{[`${t}-show-help`]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut},\n opacity ${e.motionDurationSlow} ${e.motionEaseInOut},\n transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}},R4=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),T4=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},$4=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},IJ(e)),R4(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},T4(e,e.controlHeightSM)),"&-large":Object.assign({},T4(e,e.controlHeightLG))})}},j4=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:o}=e;return{[t]:Object.assign(Object.assign({},IJ(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden.${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${o}-col-'"]):not([class*="' ${o}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m1,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},F4=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label.${r}-col-24 + ${n}-control`]:{minWidth:"unset"}}}},L4=e=>{const{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label,\n > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},M4=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),U4=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:M4(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},B4=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label,\n .${r}-col-24${n}-label,\n .${r}-col-xl-24${n}-label`]:M4(e),[`@media (max-width: ${e.screenXSMax}px)`]:[U4(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:M4(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:M4(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:M4(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:M4(e)}}}},H4=jl("Form",((e,t)=>{let{rootPrefixCls:n}=t;const r=Tl(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:n});return[$4(r),j4(r),A4(r),F4(r),L4(r),B4(r),E1(r),m1]})),z4=[],W4=e=>{let{help:t,helpStatus:n,errors:r=z4,warnings:o=z4,className:i,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=u_.useContext(M0),c=`${l}-item-explain`,[,u]=H4(l),p=u_.useMemo((()=>N0(l)),[l]),d=Rd(r),m=Rd(o),f=u_.useMemo((()=>null!=t?[Td(t,"help",n)]:[].concat(wa(d.map(((e,t)=>Td(e,"error","error",t)))),wa(m.map(((e,t)=>Td(e,"warning","warning",t)))))),[t,n,d,m]),g={};return a&&(g.id=`${a}_help`),u_.createElement(GJ,{motionDeadline:p.motionDeadline,motionName:`${l}-show-help`,visible:!!f.length,onVisibleChanged:s},(e=>{const{className:t,style:n}=e;return u_.createElement("div",Object.assign({},g,{className:JQ(c,t,i,u),style:n,role:"alert"}),u_.createElement(qJ,Object.assign({keys:f},N0(l),{motionName:`${l}-show-help-item`,component:!1}),(e=>{const{key:t,error:n,errorStatus:r,className:o,style:i}=e;return u_.createElement("div",{key:t,className:JQ(o,{[`${c}-${r}`]:r}),style:i},n)})))}))},V4=["parentNode"],G4="form_item";n$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const n=u_.useContext(HJ),{getPrefixCls:r,direction:o,form:i}=u_.useContext(EJ),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:p,colon:d,labelAlign:m,labelWrap:f,labelCol:g,wrapperCol:h,hideRequiredMark:b,layout:_="horizontal",scrollToFirstError:v,requiredMark:y,onFinishFailed:w,name:C,style:k}=e,x=n$(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),D=LZ(c),S=u_.useContext(eJ),E=u_.useMemo((()=>void 0!==y?y:i&&void 0!==i.requiredMark?i.requiredMark:!b),[b,y,i]),O=null!=d?d:null==i?void 0:i.colon,P=r("form",a),[I,N]=H4(P),A=JQ(P,`${P}-${_}`,{[`${P}-hide-required-mark`]:!1===E,[`${P}-rtl`]:"rtl"===o,[`${P}-${D}`]:D},N,null==i?void 0:i.className,s,l),[R]=Ld(p),{__INTERNAL__:T}=R;T.name=C;const $=u_.useMemo((()=>({name:C,labelAlign:m,labelCol:g,labelWrap:f,wrapperCol:h,vertical:"vertical"===_,colon:O,requiredMark:E,itemRef:T.itemRef,form:R})),[C,m,g,h,_,O,E,R]);u_.useImperativeHandle(t,(()=>R));const j=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),R.scrollToField(t,n)}};return I(u_.createElement(BJ,{disabled:u},u_.createElement(WJ,{size:D},u_.createElement(L0,{validateMessages:S},u_.createElement(j0.Provider,{value:$},u_.createElement(EN,Object.assign({id:C},x,{name:C,onFinishFailed:e=>{if(null==w||w(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==v)return void j(v,t);i&&void 0!==i.scrollToFirstError&&j(i.scrollToFirstError,t)}},form:R,style:Object.assign(Object.assign({},null==i?void 0:i.style),k),className:A})))))))},X4=u_.forwardRef(q4),K4=()=>{const{status:e,errors:t=[],warnings:n=[]}=u_.useContext(U0);return{status:e,errors:t,warnings:n}};K4.Context=U0;const Y4=K4,Q4=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:o,errors:i,warnings:a,_internalItemRender:s,extra:l,help:c,fieldId:u,marginBottom:p,onErrorVisibleChanged:d}=e,m=`${t}-item`,f=u_.useContext(j0),g=r||f.wrapperCol||{},h=JQ(`${m}-control`,g.className),b=u_.useMemo((()=>Object.assign({},f)),[f]);delete b.labelCol,delete b.wrapperCol;const _=u_.createElement("div",{className:`${m}-control-input`},u_.createElement("div",{className:`${m}-control-input-content`},o)),v=u_.useMemo((()=>({prefixCls:t,status:n})),[t,n]),y=null!==p||i.length||a.length?u_.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},u_.createElement(M0.Provider,{value:v},u_.createElement(W4,{fieldId:u,errors:i,warnings:a,help:c,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:d})),!!p&&u_.createElement("div",{style:{width:0,height:p}})):null,w={};u&&(w.id=`${u}_extra`);const C=l?u_.createElement("div",Object.assign({},w,{className:`${m}-extra`}),l):null,k=s&&"pro_table_render"===s.mark&&s.render?s.render(e,{input:_,errorList:y,extra:C}):u_.createElement(u_.Fragment,null,_,y,C);return u_.createElement(j0.Provider,{value:b},u_.createElement(T3,Object.assign({},g,{className:h}),k))},J4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Z4=u_.forwardRef((function(e,t){return u_.createElement(oZ,ma({},e,{ref:t,icon:J4}))}));r$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{prefixCls:t,label:n,htmlFor:r,labelCol:o,labelAlign:i,colon:a,required:s,requiredMark:l,tooltip:c}=e;var u;const[p]=cJ("Form"),{vertical:d,labelAlign:m,labelCol:f,labelWrap:g,colon:h}=u_.useContext(j0);if(!n)return null;const b=o||f||{},_=`${t}-item-label`,v=JQ(_,"left"===(i||m)&&`${_}-left`,b.className,{[`${_}-wrap`]:!!g});let y=n;const w=!0===a||!1!==h&&!1!==a;w&&!d&&"string"==typeof n&&""!==n.trim()&&(y=n.replace(/[:|:]\s*$/,""));const C=function(e){return e?"object"!=typeof e||u_.isValidElement(e)?{title:e}:e:null}(c);if(C){const{icon:e=u_.createElement(Z4,null)}=C,n=r$(C,["icon"]),r=u_.createElement(t5,Object.assign({},n),u_.cloneElement(e,{className:`${t}-item-tooltip`,title:""}));y=u_.createElement(u_.Fragment,null,y,r)}"optional"!==l||s||(y=u_.createElement(u_.Fragment,null,y,u_.createElement("span",{className:`${t}-item-optional`,title:""},(null==p?void 0:p.optional)||(null===(u=oJ.Form)||void 0===u?void 0:u.optional))));const k=JQ({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:"optional"===l,[`${t}-item-no-colon`]:!w});return u_.createElement(T3,Object.assign({},b,{className:v}),u_.createElement("label",{htmlFor:r,className:k,title:"string"==typeof n?n:""},y))};o$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{let{children:t}=e;return t}),((e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every(((e,n)=>e===t.childProps[n])))),r8=function(e){function t(t,n,i){return r&&!g?t:u_.createElement(Md,Object.assign({key:"row"},e,{className:JQ(o,E),prefixCls:D,fieldId:n,isRequired:i,errors:$,warnings:j,meta:A,onSubItemMetaChange:T}),t)}const{name:n,noStyle:r,className:o,dependencies:i,prefixCls:a,shouldUpdate:s,rules:l,children:c,required:u,label:p,messageVariables:d,trigger:m="onChange",validateTrigger:f,hidden:g,help:h}=e,{getPrefixCls:b}=u_.useContext(EJ),{name:_}=u_.useContext(j0),v=function(e){if("function"==typeof e)return e;const t=Ls(e);return t.length<=1?t[0]:t}(c),y="function"==typeof v,w=u_.useContext(F0),{validateTrigger:C}=u_.useContext(TI),k=void 0!==f?f:C,x=function(e){return!(null==e)}(n),D=b("form",a),[S,E]=H4(D),O=u_.useContext($I),P=u_.useRef(),[I,N]=function(){const[e,t]=u_.useState({}),n=u_.useRef(null),r=u_.useRef([]),o=u_.useRef(!1);return u_.useEffect((()=>(o.current=!1,()=>{o.current=!0,lO.cancel(n.current),n.current=null})),[]),[e,function(e){o.current||(null===n.current&&(r.current=[],n.current=lO((()=>{n.current=null,t((e=>{let t=e;return r.current.forEach((e=>{t=e(t)})),t}))}))),r.current.push(e))}]}(),[A,R]=Nl((()=>({errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}))),T=(e,t)=>{N((n=>{const r=Object.assign({},n),o=[].concat(wa(e.name.slice(0,-1)),wa(t)).join("__SPLIT__");return e.destroy?delete r[o]:r[o]=e,r}))},[$,j]=u_.useMemo((()=>{const e=wa(A.errors),t=wa(A.warnings);return Object.values(I).forEach((n=>{e.push.apply(e,wa(n.errors||[])),t.push.apply(t,wa(n.warnings||[]))})),[e,t]}),[I,A.errors,A.warnings]),F=function(){const{itemRef:e}=u_.useContext(j0),t=u_.useRef({});return function(n,r){const o=r&&"object"==typeof r&&r.ref,i=n.join("_");return t.current.name===i&&t.current.originRef===o||(t.current.name=i,t.current.originRef=o,t.current.ref=Us(e(n),o)),t.current.ref}}();if(!x&&!y&&!i)return S(t(v));let L={};return"string"==typeof p?L.label=p:n&&(L.label=String(n)),d&&(L=Object.assign(Object.assign({},L),d)),S(u_.createElement(du,Object.assign({},e,{messageVariables:L,trigger:m,validateTrigger:k,onMetaChange:e=>{const t=null==O?void 0:O.getKey(e.name);if(R(e.destroy?{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}:e,!0),r&&!1!==h&&w){let n=e.name;if(e.destroy)n=P.current||n;else if(void 0!==t){const[e,r]=t;n=[e].concat(wa(r)),P.current=n}w(e,n)}}}),((r,o,a)=>{const c=$d(n).length&&o?o.name:[],p=jd(c,_),d=void 0!==u?u:!(!l||!l.some((e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){const t=e(a);return t&&t.required&&!t.warningOnly}return!1}))),f=Object.assign({},r);let g=null;if(Array.isArray(v)&&x)g=v;else if(y&&(!s&&!i||x));else if(!i||y||x)if(fZ(v)){const t=Object.assign(Object.assign({},v.props),f);if(t.id||(t.id=p),h||$.length>0||j.length>0||e.extra){const n=[];(h||$.length>0)&&n.push(`${p}_help`),e.extra&&n.push(`${p}_extra`),t["aria-describedby"]=n.join(" ")}$.length>0&&(t["aria-invalid"]="true"),d&&(t["aria-required"]="true"),Hs(v)&&(t.ref=F(c,v)),new Set([].concat(wa($d(m)),wa($d(k)))).forEach((e=>{t[e]=function(){var t,n,r,o,i,a,s,l;for(a=arguments.length,s=new Array(a),l=0;l{var{prefixCls:t,children:n}=e,r=i$(e,["prefixCls","children"]);const{getPrefixCls:o}=u_.useContext(EJ),i=o("form",t),a=u_.useMemo((()=>({prefixCls:i,status:"error"})),[i]);return u_.createElement(mu,Object.assign({},r),((e,t,r)=>u_.createElement(M0.Provider,{value:a},n(e.map((e=>Object.assign(Object.assign({},e),{fieldKey:e.key}))),t,{errors:r.errors,warnings:r.warnings}))))},o8.ErrorList=W4,o8.useForm=Ld,o8.useFormInstance=function(){const{form:e}=u_.useContext(j0);return e},o8.useWatch=bu,o8.Provider=L0,o8.create=()=>{};const i8=o8;let a8=null,s8=e=>e(),l8=[],c8={};const u8=u_.forwardRef(((e,t)=>{const[n,r]=u_.useState(Ud),[o,i]=uc(n),a=JJ(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(Ud)};return u_.useEffect(u,[]),u_.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),u_.createElement(eZ,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),p8={open:function(e){const t=cc((t=>{let n;const r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return l8.push(r),()=>{n?s8((()=>{n()})):r.skipped=!0}}));return Bd(),t},destroy:function(e){l8.push({type:"destroy",key:e}),Bd()},config:function(e){c8=Object.assign(Object.assign({},c8),e),s8((()=>{var e;null===(e=null==a8?void 0:a8.sync)||void 0===e||e.call(a8)}))},useMessage:pc,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,type:r,icon:o,content:i}=e,a=cI(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=u_.useContext(EJ),l=t||s("message"),[,c]=DZ(l);return u_.createElement(oI,Object.assign({},a,{prefixCls:l,className:JQ(n,c,`${l}-notice-pure-panel`),eventKey:"pure",duration:null,content:u_.createElement(EZ,{prefixCls:l,type:r,icon:o},i)}))}},d8=p8;["success","info","warning","error","loading"].forEach((e=>{d8[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{let r;const o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return l8.push(o),()=>{r?s8((()=>{r()})):o.skipped=!0}}));return Bd(),n}(e,n)}}));const m8=d8;a$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:a,children:s}=e,l=a$(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:c}=u_.useContext(EJ),u=c(),p=t||c("modal"),[,d]=R1(p),m=`${p}-confirm`;let f={};return f=i?{closable:null!=o&&o,title:"",footer:"",children:u_.createElement(yu,Object.assign({},e,{confirmPrefixCls:m,rootPrefixCls:u,content:s}))}:{closable:null==o||o,title:a,footer:void 0===e.footer?u_.createElement(H0,Object.assign({},e)):e.footer,children:s},u_.createElement(PI,Object.assign({prefixCls:p,className:JQ(d,`${p}-pure-panel`,i&&m,i&&`${m}-${i}`,n)},l,{closeIcon:_u(p,r),closable:o},f))})),g8=$1;g8.useModal=Eu,g8.info=function(e){return wu(ku(e))},g8.success=function(e){return wu(xu(e))},g8.error=function(e){return wu(Du(e))},g8.warning=Hd,g8.warn=Hd,g8.confirm=function(e){return wu(Su(e))},g8.destroyAll=function(){for(;F1.length;){const e=F1.pop();e&&e()}},g8.config=function(e){let{rootPrefixCls:t}=e;L1=t},g8._InternalPanelDoNotUseOrYouWillBeFired=f8;const h8=g8;let b8=null,_8=e=>e(),v8=[],y8={};const w8=u_.forwardRef(((e,t)=>{const[n,r]=u_.useState(zd),[o,i]=Pu(n),a=JJ(),s=a.getRootPrefixCls(),l=a.getIconPrefixCls(),c=a.getTheme(),u=()=>{r(zd)};return u_.useEffect(u,[]),u_.useImperativeHandle(t,(()=>{const e=Object.assign({},o);return Object.keys(e).forEach((t=>{e[t]=function(){return u(),o[t].apply(o,arguments)}})),{instance:e,sync:u}})),u_.createElement(eZ,{prefixCls:s,iconPrefixCls:l,theme:c},i)})),C8={open:Vd,destroy:function(e){v8.push({type:"destroy",key:e}),Wd()},config:function(e){y8=Object.assign(Object.assign({},y8),e),_8((()=>{var e;null===(e=null==b8?void 0:b8.sync)||void 0===e||e.call(b8)}))},useNotification:Iu,_InternalPanelDoNotUseOrYouWillBeFired:e=>{const{prefixCls:t,className:n,icon:r,type:o,message:i,description:a,btn:s,closable:l=!0,closeIcon:c}=e,u=NN(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:p}=u_.useContext(EJ),d=t||p("notification"),m=`${d}-notice`,[,f]=V1(d);return u_.createElement(oI,Object.assign({},u,{prefixCls:d,className:JQ(n,f,`${m}-pure-panel`),eventKey:"pure",duration:null,closable:l,closeIcon:Ou(d,c),content:u_.createElement(q1,{prefixCls:m,icon:r,type:o,message:i,description:a,btn:s})}))}},k8=C8;["success","info","warning","error"].forEach((e=>{k8[e]=t=>Vd(Object.assign(Object.assign({},t),{type:e}))}));const x8=k8;s$=function(e){return e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null},l$=function(e){return void 0!==e?"".concat(e,"px"):void 0},c$=["prefixCls","direction","options","disabled","defaultValue","value","onChange","className","motionName"],u$=function(e){var t=e.prefixCls,n=e.disabled,r=e.checked,o=e.label,i=e.title,a=e.value,s=e.onChange;return u_.createElement("label",{className:JQ(e.className,Di({},"".concat(t,"-item-disabled"),n))},u_.createElement("input",{className:"".concat(t,"-item-input"),type:"radio",disabled:n,checked:r,onChange:function(e){n||s(e,a)}}),u_.createElement("div",{className:"".concat(t,"-item-label"),title:i},o))},p$=u_.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=void 0===o?"rc-segmented":o,a=e.direction,s=e.options,l=e.disabled,c=e.defaultValue,u=e.value,p=e.onChange,d=e.className,m=void 0===d?"":d,f=e.motionName,g=void 0===f?"thumb-motion":f,h=Si(e,c$),b=u_.useRef(null),_=u_.useMemo((function(){return Us(b,t)}),[b,t]),v=u_.useMemo((function(){return function(e){return e.map((function(e){if("object"===ki(e)&&null!==e){var t=function(e){return void 0!==e.title?e.title:"object"!==ki(e.label)?null===(t=e.label)||void 0===t?void 0:t.toString():void 0;var t}(e);return ka(ka({},e),{},{title:t})}return{label:null==e?void 0:e.toString(),title:null==e?void 0:e.toString(),value:e}}))}(s)}),[s]),y=za(Rl(null===(n=v[0])||void 0===n?void 0:n.value,{value:u,defaultValue:c}),2),w=y[0],C=y[1],k=za(u_.useState(!1),2),x=k[0],D=k[1],S=function(e,t){l||(C(t),null==p||p(t))},E=Ys(h,["children"]);return u_.createElement("div",ma({},E,{className:JQ(i,(r={},Di(r,"".concat(i,"-rtl"),"rtl"===a),Di(r,"".concat(i,"-disabled"),l),r),m),ref:_}),u_.createElement("div",{className:"".concat(i,"-group")},u_.createElement(Gd,{prefixCls:i,value:w,containerRef:b,motionName:"".concat(i,"-").concat(g),direction:a,getValueIndex:function(e){return v.findIndex((function(t){return t.value===e}))},onMotionStart:function(){D(!0)},onMotionEnd:function(){D(!1)}}),v.map((function(e){return u_.createElement(u$,ma({},e,{key:e.value,prefixCls:i,className:JQ(e.className,"".concat(i,"-item"),Di({},"".concat(i,"-item-selected"),e.value===w&&!x)),checked:e.value===w,onChange:S,disabled:!!l||!!e.disabled}))}))))})),p$.displayName="Segmented",p$.defaultProps={options:[]};const D8=Object.assign({overflow:"hidden"},PJ),S8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{display:"inline-block",padding:e.segmentedPadding,color:e.itemColor,backgroundColor:e.segmentedBgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Object.assign(Object.assign({},Xd(e)),{color:e.itemHoverColor}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:e.controlHeight-2*e.segmentedPadding,lineHeight:e.controlHeight-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`},D8),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Xd(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-2*e.segmentedPadding,lineHeight:e.controlHeightLG-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-2*e.segmentedPadding,lineHeight:e.controlHeightSM-2*e.segmentedPadding+"px",padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),qd(`&-disabled ${t}-item`,e)),qd(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},E8=jl("Segmented",(e=>{const{lineWidth:t,lineWidthBold:n,colorBgLayout:r}=e,o=Tl(e,{segmentedPadding:n,segmentedBgColor:r,segmentedPaddingHorizontal:e.controlPaddingHorizontal-t,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-t});return[S8(o)]}),(e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:o,colorFill:i}=e;return{itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:o,itemActiveBg:i}}));d$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,block:i,options:a=[],size:s="middle",style:l}=e,c=d$(e,["prefixCls","className","rootClassName","block","options","size","style"]),{getPrefixCls:u,direction:p,segmented:d}=u_.useContext(EJ),m=u("segmented",n),[f,g]=E8(m),h=LZ(s),b=u_.useMemo((()=>a.map((e=>{if(function(e){return"object"==typeof e&&!!(null==e?void 0:e.icon)}(e)){const{icon:t,label:n}=e,r=d$(e,["icon","label"]);return Object.assign(Object.assign({},r),{label:u_.createElement(u_.Fragment,null,u_.createElement("span",{className:`${m}-item-icon`},t),n&&u_.createElement("span",null,n))})}return e}))),[a,m]),_=JQ(r,o,null==d?void 0:d.className,{[`${m}-block`]:i,[`${m}-sm`]:"small"===h,[`${m}-lg`]:"large"===h},g),v=Object.assign(Object.assign({},null==d?void 0:d.style),l);return f(u_.createElement(p$,Object.assign({},c,{className:_,style:v,options:b,ref:t,prefixCls:m,direction:p})))}));m$=u_.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),f$=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],g$=u_.forwardRef((function(e,t){var n,r,o=e.prefixCls,i=e.value,a=e.valueIndex,s=e.onStartMove,l=e.style,c=e.render,u=e.dragging,p=e.onOffsetChange,d=Si(e,f$),m=u_.useContext(m$),f=m.min,g=m.max,h=m.direction,b=m.disabled,_=m.keyboard,v=m.range,y=m.tabIndex,w=m.ariaLabelForHandle,C=m.ariaLabelledByForHandle,k=m.ariaValueTextFormatterForHandle,x="".concat(o,"-handle"),D=function(e){b||s(e,a)},S=Yd(h,i,f,g),E=u_.createElement("div",ma({ref:t,className:JQ(x,(n={},Di(n,"".concat(x,"-").concat(a+1),v),Di(n,"".concat(x,"-dragging"),u),n)),style:ka(ka({},S),l),onMouseDown:D,onTouchStart:D,onKeyDown:function(e){if(!b&&_){var t=null;switch(e.which||e.keyCode){case rI.LEFT:t="ltr"===h||"btt"===h?-1:1;break;case rI.RIGHT:t="ltr"===h||"btt"===h?1:-1;break;case rI.UP:t="ttb"!==h?1:-1;break;case rI.DOWN:t="ttb"!==h?-1:1;break;case rI.HOME:t="min";break;case rI.END:t="max";break;case rI.PAGE_UP:t=2;break;case rI.PAGE_DOWN:t=-2}null!==t&&(e.preventDefault(),p(t,a))}},tabIndex:b?null:Qd(y,a),role:"slider","aria-valuemin":f,"aria-valuemax":g,"aria-valuenow":i,"aria-disabled":b,"aria-label":Qd(w,a),"aria-labelledby":Qd(C,a),"aria-valuetext":null===(r=Qd(k,a))||void 0===r?void 0:r(i)},d));return c&&(E=c(E,{index:a,prefixCls:o,value:i,dragging:u})),E})),h$=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],b$=u_.forwardRef((function(e,t){var n=e.prefixCls,r=e.style,o=e.onStartMove,i=e.onOffsetChange,a=e.values,s=e.handleRender,l=e.draggingIndex,c=Si(e,h$),u=u_.useRef({});return u_.useImperativeHandle(t,(function(){return{focus:function(e){var t;null===(t=u.current[e])||void 0===t||t.focus()}}})),u_.createElement(u_.Fragment,null,a.map((function(e,t){return u_.createElement(g$,ma({ref:function(e){e?u.current[t]=e:delete u.current[t]},dragging:l===t,prefixCls:n,style:Qd(r,t),key:t,value:e,valueIndex:t,onStartMove:o,onOffsetChange:i,render:s},c))})))})),_$=u_.forwardRef((function(e,t){var n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D=e.prefixCls,S=void 0===D?"rc-slider":D,E=e.className,O=e.style,P=e.disabled,I=void 0!==P&&P,N=e.keyboard,A=void 0===N||N,R=e.autoFocus,T=e.onFocus,$=e.onBlur,j=e.min,F=void 0===j?0:j,L=e.max,M=void 0===L?100:L,U=e.step,B=void 0===U?1:U,H=e.value,z=e.defaultValue,W=e.range,V=e.count,G=e.onChange,q=e.onBeforeChange,X=e.onAfterChange,K=e.allowCross,Y=void 0===K||K,Q=e.pushable,J=void 0!==Q&&Q,Z=e.draggableTrack,ee=e.reverse,te=e.vertical,ne=e.included,re=void 0===ne||ne,oe=e.startPoint,ie=e.trackStyle,ae=e.handleStyle,se=e.railStyle,le=e.dotStyle,ce=e.activeDotStyle,ue=e.marks,pe=e.dots,de=e.handleRender,me=e.tabIndex,fe=void 0===me?0:me,ge=e.ariaLabelForHandle,he=e.ariaLabelledByForHandle,be=e.ariaValueTextFormatterForHandle,_e=u_.useRef(),ve=u_.useRef(),ye=u_.useMemo((function(){return te?ee?"ttb":"btt":ee?"rtl":"ltr"}),[ee,te]),we=u_.useMemo((function(){return isFinite(F)?F:0}),[F]),Ce=u_.useMemo((function(){return isFinite(M)?M:100}),[M]),ke=u_.useMemo((function(){return null!==B&&B<=0?1:B}),[B]),xe=u_.useMemo((function(){return!0===J?ke:J>=0&&J}),[J,ke]),De=u_.useMemo((function(){return Object.keys(ue||{}).map((function(e){var t=ue[e],n={value:Number(e)};return t&&"object"===ki(t)&&!u_.isValidElement(t)&&("label"in t||"style"in t)?(n.style=t.style,n.label=t.label):n.label=t,n})).filter((function(e){var t=e.label;return t||"number"==typeof t})).sort((function(e,t){return e.value-t.value}))}),[ue]),Se=function(e,t,n,r,o,i){var a=u_.useCallback((function(n){var r=isFinite(n);return r=Math.min(t,n),Math.max(e,r)}),[e,t]),s=u_.useCallback((function(r){var o,i,s,l;return null!==n?(o=e+Math.round((a(r)-e)/n)*n,i=function(e){return(String(e).split(".")[1]||"").length},s=Math.max(i(n),i(t),i(e)),l=Number(o.toFixed(s)),e<=l&&l<=t?l:null):null}),[n,e,t,a]),l=u_.useCallback((function(o){var i,l,c=a(o),u=r.map((function(e){return e.value}));return null!==n&&u.push(s(o)),u.push(e,t),i=u[0],l=t-e,u.forEach((function(e){var t=Math.abs(c-e);t<=l&&(i=e,l=t)})),i}),[e,t,r,n,a,s]),c=function o(i,a,l,c){var u,p,d,m,f,g,h,b,_=arguments.length>3&&void 0!==c?c:"unit";return"number"==typeof a?(d=(p=i[l])+a,m=[],r.forEach((function(e){m.push(e.value)})),m.push(e,t),m.push(s(p)),f=a>0?1:-1,m.push(s("unit"===_?p+f*n:d)),m=m.filter((function(e){return null!==e})).filter((function(e){return a<0?e<=p:e>=p})),"unit"===_&&(m=m.filter((function(e){return e!==p}))),g="unit"===_?p:d,u=m[0],h=Math.abs(u-g),m.forEach((function(e){var t=Math.abs(e-g);t1?((b=wa(i))[l]=u,o(b,a-f,l,_)):u):"min"===a?e:"max"===a?t:void 0},u=function(e,t,n,r){var o=e[n],i=c(e,t,n,arguments.length>3&&void 0!==r?r:"unit");return{value:i,changed:i!==o}},p=function(e){return null===i&&0===e||"number"==typeof i&&e3&&void 0!==r?r:"unit",x=e.map(l),D=x[n],S=c(x,t,n,k);if(x[n]=S,!1===o)a=i||0,n>0&&x[n-1]!==D&&(x[n]=Math.max(x[n],x[n-1]+a)),n0;f-=1)for(g=!0;p(x[f]-x[f-1])&&g;)h=u(x,-1,f-1),x[f-1]=h.value,g=h.changed;for(b=x.length-1;b>0;b-=1)for(_=!0;p(x[b]-x[b-1])&&_;)v=u(x,-1,b-1),x[b-1]=v.value,_=v.changed;for(y=0;y=0?V+1:2);o.length=0&&_e.current.focus(e)}c(null)}),[l=s[0]]),p=u_.useMemo((function(){return(!Z||null!==ke)&&Z}),[Z,ke]),d=function(e,t,n,o,i,a,s,l,c){var u,p,d,m,f,g=za(u_.useState(null),2),h=g[0],b=g[1],_=za(u_.useState(-1),2),v=_[0],y=_[1],w=za(u_.useState(n),2),C=w[0],k=w[1],x=za(u_.useState(n),2),D=x[0],S=x[1],E=u_.useRef(null),O=u_.useRef(null);return u_.useEffect((function(){-1===v&&k(n)}),[n,v]),u_.useEffect((function(){return function(){document.removeEventListener("mousemove",E.current),document.removeEventListener("mouseup",O.current),document.removeEventListener("touchmove",E.current),document.removeEventListener("touchend",O.current)}}),[]),u=function(e,t){C.some((function(t,n){return t!==e[n]}))&&(void 0!==t&&b(t),k(e),s(e))},(d=u_.useRef(p=function(e,t){var n,r,s,l,p,d,m,f;-1===e?(n=D[0],r=i-D[D.length-1],s=t*(i-o),s=Math.max(s,o-n),s=Math.min(s,r),l=a(n+s),s=l-n,p=D.map((function(e){return e+s})),u(p)):(d=(i-o)*t,(m=wa(C))[e]=D[e],f=c(m,d,e,"dist"),u(f.values,f.value))})).current=p,m=function(o,i){var a,s,l,c,u,p;o.stopPropagation(),a=n[i],y(i),b(a),S(n),s=Jd(o),l=s.pageX,c=s.pageY,u=function(n){var r,o,a,s,u,p,m;switch(n.preventDefault(),o=(r=Jd(n)).pageX-l,a=r.pageY-c,u=(s=e.current.getBoundingClientRect()).width,p=s.height,t){case"btt":m=-a/p;break;case"ttb":m=a/p;break;case"rtl":m=-o/u;break;default:m=o/u}d.current(i,m)},p=function e(t){t.preventDefault(),document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",u),document.removeEventListener("touchend",e),document.removeEventListener("touchmove",u),E.current=null,O.current=null,y(-1),null==X||X(r(Te.current))},document.addEventListener("mouseup",p),document.addEventListener("mousemove",u),document.addEventListener("touchend",p),document.addEventListener("touchmove",u),E.current=u,O.current=p},f=u_.useMemo((function(){var e=wa(n).sort((function(e,t){return e-t})),t=wa(C).sort((function(e,t){return e-t}));return e.every((function(e,n){return e===t[n]}))?C:n}),[n,C]),[v,h,f,m]}(ve,ye,Re,we,Ce,Oe,o,0,Pe),m=za(d,4),g=m[1],h=m[2],b=m[3],_=function(e,t){b(e,t),null==q||q(r(Te.current))},u_.useEffect((function(){if(!v){var e=Re.lastIndexOf(g);_e.current.focus(e)}}),[v=-1!==(f=m[0])]),y=u_.useMemo((function(){return wa(h).sort((function(e,t){return e-t}))}),[h]),w=za(u_.useMemo((function(){return W?[y[0],y[y.length-1]]:[we,y[0]]}),[y,W,we]),2),C=w[0],k=w[1],u_.useImperativeHandle(t,(function(){return{focus:function(){_e.current.focus(0)},blur:function(){var e=document.activeElement;ve.current.contains(e)&&(null==e||e.blur())}}})),u_.useEffect((function(){R&&_e.current.focus(0)}),[]),x=u_.useMemo((function(){return{min:we,max:Ce,direction:ye,disabled:I,keyboard:A,step:ke,included:re,includedStart:C,includedEnd:k,range:W,tabIndex:fe,ariaLabelForHandle:ge,ariaLabelledByForHandle:he,ariaValueTextFormatterForHandle:be}}),[we,Ce,ye,I,A,ke,re,C,k,W,fe,ge,he,be]),u_.createElement(m$.Provider,{value:x},u_.createElement("div",{ref:ve,className:JQ(S,E,(n={},Di(n,"".concat(S,"-disabled"),I),Di(n,"".concat(S,"-vertical"),te),Di(n,"".concat(S,"-horizontal"),!te),Di(n,"".concat(S,"-with-marks"),De.length),n)),style:O,onMouseDown:a},u_.createElement("div",{className:"".concat(S,"-rail"),style:se}),u_.createElement(em,{prefixCls:S,style:ie,values:y,startPoint:oe,onStartMove:p?_:null}),u_.createElement(om,{prefixCls:S,marks:De,dots:pe,style:le,activeStyle:ce}),u_.createElement(b$,{ref:_e,prefixCls:S,style:ae,values:h,draggingIndex:f,onStartMove:_,onOffsetChange:u,onFocus:T,onBlur:$,handleRender:de}),u_.createElement(nm,{prefixCls:S,marks:De,onClick:i})))}));const P8=u_.forwardRef(((e,t)=>{function n(){lO.cancel(i.current),i.current=null}const{open:r}=e,o=u_.useRef(null),i=u_.useRef(null);return u_.useEffect((()=>(r?i.current=lO((()=>{var e;null===(e=o.current)||void 0===e||e.forceAlign(),i.current=null})):n(),n)),[r,e.title]),u_.createElement(t5,Object.assign({ref:Us(o,t)},e))})),I8=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:o,marginFull:i,marginPart:a,colorFillContentHover:s}=e;return{[t]:Object.assign(Object.assign({},IJ(e)),{position:"relative",height:r,margin:`${a}px ${i}px`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${i}px ${a}px`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},[`${t}-track`]:{position:"absolute",backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS,transition:`background-color ${e.motionDurationMid}`},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:e.handleSize,height:e.handleSize,outline:"none",[`${t}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-e.handleLineWidth,insetBlockStart:-e.handleLineWidth,width:e.handleSize+2*e.handleLineWidth,height:e.handleSize+2*e.handleLineWidth,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:e.handleSize,height:e.handleSize,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${e.handleLineWidth}px ${e.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:`\n inset-inline-start ${e.motionDurationMid},\n inset-block-start ${e.motionDurationMid},\n width ${e.motionDurationMid},\n height ${e.motionDurationMid},\n box-shadow ${e.motionDurationMid}\n `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),insetBlockStart:-((e.handleSizeHover-e.handleSize)/2+e.handleLineWidthHover),width:e.handleSizeHover+2*e.handleLineWidthHover,height:e.handleSizeHover+2*e.handleLineWidthHover},"&::after":{boxShadow:`0 0 0 ${e.handleLineWidthHover}px ${e.handleActiveColor}`,width:e.handleSizeHover,height:e.handleSizeHover,insetInlineStart:(e.handleSize-e.handleSizeHover)/2,insetBlockStart:(e.handleSize-e.handleSizeHover)/2}}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:o,height:o,backgroundColor:e.colorBgElevated,border:`${e.handleLineWidth}px solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`\n ${t}-dot\n `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:e.handleSize,height:e.handleSize,boxShadow:`0 0 0 ${e.handleLineWidth}px ${new gO(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[`\n ${t}-mark-text,\n ${t}-dot\n `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},N8=(e,t)=>{const{componentCls:n,railSize:r,handleSize:o,dotSize:i}=e,a=t?"width":"height",s=t?"height":"width",l=t?"insetBlockStart":"insetInlineStart",c=t?"top":"insetInlineStart";return{[t?"paddingBlock":"paddingInline"]:r,[s]:3*r,[`${n}-rail`]:{[a]:"100%",[s]:r},[`${n}-track`]:{[s]:r},[`${n}-handle`]:{[l]:(3*r-o)/2},[`${n}-mark`]:{insetInlineStart:0,top:0,[c]:3*r+(t?0:e.marginFull),[a]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[c]:r,[a]:"100%",[s]:r},[`${n}-dot`]:{position:"absolute",[l]:(r-i)/2}}},A8=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},N8(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},R8=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},N8(e,!1)),{height:"100%"})}},T8=jl("Slider",(e=>{const t=Tl(e,{marginPart:(e.controlHeight-e.controlSize)/2,marginFull:e.controlSize/2,marginPartWithMark:e.controlHeightLG-e.controlSize});return[I8(t),A8(t),R8(t)]}),(e=>{const t=e.controlHeightLG/4;return{controlSize:t,railSize:4,handleSize:t,handleSizeHover:e.controlHeightSM/2,dotSize:8,handleLineWidth:e.lineWidth+1,handleLineWidthHover:e.lineWidth+3,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:e.colorPrimary,dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}}));v$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r"number"==typeof e?e.toString():"",j8=fQ.forwardRef(((e,t)=>{const{prefixCls:n,range:r,className:o,rootClassName:i,style:a,disabled:s,tooltipPrefixCls:l,tipFormatter:c,tooltipVisible:u,getTooltipPopupContainer:p,tooltipPlacement:d}=e,m=v$(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:f,slider:g,getPrefixCls:h,getPopupContainer:b}=fQ.useContext(EJ),_=fQ.useContext(HJ),v=null!=s?s:_,[y,w]=fQ.useState({}),C=(e,t)=>{w((n=>Object.assign(Object.assign({},n),{[e]:t})))},k=(e,t)=>e||(t?"rtl"===f?"left":"right":"top"),x=h("slider",n),[D,S]=T8(x),E=JQ(o,null==g?void 0:g.className,i,{[`${x}-rtl`]:"rtl"===f},S);"rtl"!==f||m.vertical||(m.reverse=!m.reverse);const[O,P]=fQ.useMemo((()=>r?"object"==typeof r?[!0,r.draggableTrack]:[!0,!1]:[!1]),[r]),I=Object.assign(Object.assign({},null==g?void 0:g.style),a);return D(fQ.createElement(_$,Object.assign({},m,{step:m.step,range:O,draggableTrack:P,className:E,style:I,disabled:v,ref:t,prefixCls:x,handleRender:(t,n)=>{var r;const{index:o,dragging:i}=n,{tooltip:a={},vertical:s}=e,m=Object.assign({},a),{open:f,placement:g,getPopupContainer:_,prefixCls:v,formatter:w}=m;let D;D=w||null===w?w:c||null===c?c:$8;const S=null!==(r=null!=f?f:u)&&void 0!==r?r:void 0===f&&!!D&&(y[o]||i),E=Object.assign(Object.assign({},t.props),{onMouseEnter:()=>C(o,!0),onMouseLeave:()=>C(o,!1)}),O=h("tooltip",null!=v?v:l);return fQ.createElement(P8,Object.assign({},m,{prefixCls:O,title:D?D(n.value):"",open:S,placement:k(null!=g?g:d,s),key:o,overlayClassName:`${x}-tooltip`,getPopupContainer:_||p||b}),fQ.cloneElement(t,E))}})))}));y$=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],w$=u_.forwardRef((function(e,t){function n(e,t){var n=_;return c||(v(n=e),null==f||f(n,t)),n}var r,o=e.prefixCls,i=void 0===o?"rc-switch":o,a=e.className,s=e.checked,l=e.defaultChecked,c=e.disabled,u=e.loadingIcon,p=e.checkedChildren,d=e.unCheckedChildren,m=e.onClick,f=e.onChange,g=e.onKeyDown,h=Si(e,y$),b=za(Rl(!1,{value:s,defaultValue:l}),2),_=b[0],v=b[1],y=JQ(i,a,(Di(r={},"".concat(i,"-checked"),_),Di(r,"".concat(i,"-disabled"),c),r));return u_.createElement("button",ma({},h,{type:"button",role:"switch","aria-checked":_,disabled:c,className:y,ref:t,onKeyDown:function(e){e.which===rI.LEFT?n(!1,e):e.which===rI.RIGHT&&n(!0,e),null==g||g(e)},onClick:function(e){var t=n(!_,e);null==m||m(t,e)}}),u,u_.createElement("span",{className:"".concat(i,"-inner")},u_.createElement("span",{className:"".concat(i,"-inner-checked")},p),u_.createElement("span",{className:"".concat(i,"-inner-unchecked")},d)))})),w$.displayName="Switch";const F8=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[`&${t}-small`]:{minWidth:e.switchMinWidthSM,height:e.switchHeightSM,lineHeight:`${e.switchHeightSM}px`,[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMaxSM,paddingInlineEnd:e.switchInnerMarginMinSM,[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeightSM,marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:e.switchPinSizeSM,height:e.switchPinSizeSM},[`${t}-loading-icon`]:{top:(e.switchPinSizeSM-e.switchLoadingIconSize)/2,fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:e.switchInnerMarginMinSM,paddingInlineEnd:e.switchInnerMarginMaxSM,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSizeSM+2*e.switchPadding}px + ${2*e.switchInnerMarginMaxSM}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSizeSM+2*e.switchPadding}px - ${2*e.switchInnerMarginMaxSM}px)`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${e.switchPinSizeSM+e.switchPadding}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:e.marginXXS/2,marginInlineEnd:-e.marginXXS/2}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:-e.marginXXS/2,marginInlineEnd:e.marginXXS/2}}}}}}},L8=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:(e.switchPinSize-e.fontSize)/2,color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},M8=e=>{const{componentCls:t,motion:n}=e,r=`${t}-handle`;return{[t]:{[r]:{position:"absolute",top:e.switchPadding,insetInlineStart:e.switchPadding,width:e.switchPinSize,height:e.switchPinSize,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:e.colorWhite,borderRadius:e.switchPinSize/2,boxShadow:e.switchHandleShadow,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${r}`]:{insetInlineStart:`calc(100% - ${e.switchPinSize+e.switchPadding}px)`},[`&:not(${t}-disabled):active`]:n?{[`${r}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${r}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}:{}}}},U8=e=>{const{componentCls:t}=e,n=`${t}-inner`;return{[t]:{[n]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:e.switchInnerMarginMax,paddingInlineEnd:e.switchInnerMarginMin,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${n}-checked, ${n}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${n}-checked`]:{marginInlineStart:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`},[`${n}-unchecked`]:{marginTop:-e.switchHeight,marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${n}`]:{paddingInlineStart:e.switchInnerMarginMin,paddingInlineEnd:e.switchInnerMarginMax,[`${n}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${n}-unchecked`]:{marginInlineStart:`calc(100% - ${e.switchPinSize+2*e.switchPadding}px + ${2*e.switchInnerMarginMax}px)`,marginInlineEnd:`calc(-100% + ${e.switchPinSize+2*e.switchPadding}px - ${2*e.switchInnerMarginMax}px)`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${n}`]:{[`${n}-unchecked`]:{marginInlineStart:2*e.switchPadding,marginInlineEnd:2*-e.switchPadding}},[`&${t}-checked ${n}`]:{[`${n}-checked`]:{marginInlineStart:2*-e.switchPadding,marginInlineEnd:2*e.switchPadding}}}}}},B8=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},IJ(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:e.switchMinWidth,height:e.switchHeight,lineHeight:`${e.switchHeight}px`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),TJ(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},H8=jl("Switch",(e=>{const t=e.fontSize*e.lineHeight,n=e.controlHeight/2,r=t-4,o=n-4,i=Tl(e,{switchMinWidth:2*r+8,switchHeight:t,switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchInnerMarginMin:r/2,switchInnerMarginMax:r+2+4,switchPadding:2,switchPinSize:r,switchBg:e.colorBgContainer,switchMinWidthSM:2*o+4,switchHeightSM:n,switchInnerMarginMinSM:o/2,switchInnerMarginMaxSM:o+2+4,switchPinSizeSM:o,switchHandleShadow:`0 2px 4px 0 ${new gO("#00230b").setAlpha(.2).toRgbString()}`,switchLoadingIconSize:.75*e.fontSizeIcon,switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[B8(i),U8(i),M8(i),L8(i),F8(i)]}));C$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,size:r,disabled:o,loading:i,className:a,rootClassName:s,style:l}=e,c=C$(e,["prefixCls","size","disabled","loading","className","rootClassName","style"]),{getPrefixCls:u,direction:p,switch:d}=u_.useContext(EJ),m=u_.useContext(HJ),f=(null!=o?o:m)||i,g=u("switch",n),h=u_.createElement("div",{className:`${g}-handle`},i&&u_.createElement(kZ,{className:`${g}-loading-icon`})),[b,_]=H8(g),v=LZ(r),y=JQ(null==d?void 0:d.className,{[`${g}-small`]:"small"===v,[`${g}-loading`]:i,[`${g}-rtl`]:"rtl"===p},a,s,_),w=Object.assign(Object.assign({},null==d?void 0:d.style),l);return b(u_.createElement(FZ,{component:"Switch"},u_.createElement(w$,Object.assign({},c,{prefixCls:g,className:y,style:w,disabled:f,ref:t,loadingIcon:h}))))}));z8.__ANT_SWITCH=!0;const W8=z8,V8=(e,t,n)=>{const r="string"!=typeof(o=n)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},G8=e=>Fl(e,((t,n)=>{let{textColor:r,lightBorderColor:o,lightColor:i,darkColor:a}=n;return{[`${e.componentCls}-${t}`]:{color:r,background:i,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})),q8=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:o}=e,i=r-n,a=t-n;return{[o]:Object.assign(Object.assign({},IJ(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:a,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},X8=jl("Tag",(e=>{const{lineWidth:t,fontSizeIcon:n}=e,r=e.fontSizeSM,o=Tl(e,{tagFontSize:r,tagLineHeight:e.lineHeightSM*r+"px",tagIconSize:n-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary});return[q8(o),G8(o),V8(o,"success","Success"),V8(o,"processing","Info"),V8(o,"error","Error"),V8(o,"warning","Warning")]}),(e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText})));k$=globalThis&&globalThis.__rest||function(e,t){var n,r,o={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r{const{prefixCls:n,className:r,rootClassName:o,style:i,children:a,icon:s,color:l,onClose:c,closeIcon:u,closable:p,bordered:d=!0}=e,m=x$(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:f,direction:g,tag:h}=u_.useContext(EJ),[b,_]=u_.useState(!0);u_.useEffect((()=>{"visible"in m&&_(m.visible)}),[m.visible]);const v=Cp(l)||function(e){return J2.includes(e)}(l),y=Object.assign(Object.assign({backgroundColor:l&&!v?l:void 0},null==h?void 0:h.style),i),w=f("tag",n),[C,k]=X8(w),x=JQ(w,null==h?void 0:h.className,{[`${w}-${l}`]:v,[`${w}-has-color`]:l&&!v,[`${w}-hidden`]:!b,[`${w}-rtl`]:"rtl"===g,[`${w}-borderless`]:!d},r,o,k),D=e=>{e.stopPropagation(),null==c||c(e),e.defaultPrevented||_(!1)},[,S]=Mc(p,u,(e=>null===e?u_.createElement(cZ,{className:`${w}-close-icon`,onClick:D}):u_.createElement("span",{className:`${w}-close-icon`,onClick:D},e)),null,!1),E="function"==typeof m.onClick||a&&"a"===a.type,O=s||null,P=O?u_.createElement(u_.Fragment,null,O,a&&u_.createElement("span",null,a)):a,I=u_.createElement("span",Object.assign({},m,{ref:t,className:x,style:y}),P,S);return C(E?u_.createElement(FZ,{component:"Tag"},I):I)},Y8=u_.forwardRef(K8);Y8.CheckableTag=e=>{const{prefixCls:t,className:n,checked:r,onChange:o,onClick:i}=e,a=k$(e,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:s}=u_.useContext(EJ),l=s("tag",t),[c,u]=X8(l),p=JQ(l,`${l}-checkable`,{[`${l}-checkable-checked`]:r},n,u);return c(u_.createElement("span",Object.assign({},a,{className:p,onClick:e=>{null==o||o(!r),null==i||i(e)}})))};const Q8=Y8;D$=function(){return X2.useToken().token},O$=u_.createContext({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:null!==(E$=(S$=function(e){return"undefined"!=typeof window?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(e,")")):{matches:!1}})("dark"))&&void 0!==E$&&E$.matches?"dark":"light"}),P$=function(){return u_.useContext(O$)},I$=function(){var e=D$(),t=P$(),n=t.appearance,r=t.isDarkMode;return u_.useMemo((function(){return NE(IE({token:e,css:HD,appearance:n,isDarkMode:r}))}),[e,n,r])},N$=function(){var e=D$(),t=I$();return u_.useMemo((function(){return sm(sm({},e),{},{stylish:t})}),[e,t])},A$=function(e){return cm(cm({},e),{},{mobile:e.xs,tablet:e.md,laptop:e.lg,desktop:e.xxl})},R$=function(){var e=function(e){let t=!(arguments.length>0&&void 0!==e)||e;const n=u_.useRef({}),r=function(){const[,e]=u_.useReducer((e=>e+1),0);return e}(),o=bp();return GS((()=>{const e=o.subscribe((e=>{n.current=e,t&&r()}));return()=>o.unsubscribe(e)}),[]),n.current}();return u_.useMemo((function(){return A$(e)}),[e])},T$=function(){var e=D$(),t={xs:"@media (max-width: ".concat(e.screenXSMax,"px)"),sm:"@media (max-width: ".concat(e.screenSMMax,"px)"),md:"@media (max-width: ".concat(e.screenMDMax,"px)"),lg:"@media (max-width: ".concat(e.screenLGMax,"px)"),xl:"@media (max-width: ".concat(e.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(e.screenXXLMin,"px)")};return u_.useMemo((function(){return A$(t)}),[e])},$$=function(e,t){return Object.entries(e).map((function(e){var n=za(e,2),r=n[0],o=n[1],i=o;return jD(o)||(i=HD(o)),t[r]?"".concat(t[r]," {").concat(i.styles,"}"):""})).join("")},j$=["stylish","appearance","isDarkMode","prefixCls"],F$=["prefixCls"],L$=function(e){var t=e.hashPriority,n=e.useTheme,r=e.EmotionContext;return function(e,o){var i=null==o?void 0:o.__BABEL_FILE_NAME__,a=!!i;return function(s){var l=n(),c=u_.useContext(r),u=BD(c.cache,{hashPriority:(null==o?void 0:o.hashPriority)||t,label:null==o?void 0:o.label}),p=u.cx,d=u.css,m=T$(),f=u_.useMemo((function(){var t,n,r,o,c,u,f;return e instanceof Function?(n=l.stylish,r=l.appearance,o=l.isDarkMode,c=l.prefixCls,u=Si(l,j$),f=function(e){return $$(e,m)},Object.assign(f,m),t=e({token:u,stylish:n,appearance:r,isDarkMode:o,prefixCls:c,cx:p,css:HD,responsive:f},s)):t=e,"object"===ki(t)&&(t=jD(t)?d(t):Object.fromEntries(Object.entries(t).map((function(e){var t=za(e,2),n=t[0],r=t[1],o=a?"".concat(i,"-").concat(n):void 0;return"object"===ki(r)?a?[n,d(r,"label:".concat(o))]:[n,d(r)]:[n,r]})))),t}),[s,l]);return u_.useMemo((function(){var e=l.prefixCls,t=Si(l,F$);return{styles:f,cx:p,theme:t,prefixCls:e}}),[f,l])}}},M$=function(e){if(e.ThemeProvider)return e.ThemeProvider;var t=e.ThemeContext;return function(e){return b_.jsx(t.Provider,{value:e.theme,children:e.children})}},U$=wS,B$=_S,H$=function(e){if(!e.ThemeContext)throw"ThemeContext is required. Please check your config.";B$=e.ThemeContext,U$=M$(e)};const J8=u_.memo((function(e){var t,n=e.children,r=e.theme,o=e.prefixCls,i=e.getStaticInstance,a=e.staticInstanceConfig,s=P$(),l=s.appearance,c=s.isDarkMode,u=za(m8.useMessage(null==a?void 0:a.message),2),p=u[0],d=u[1],m=za(x8.useNotification(null==a?void 0:a.notification),2),f=m[0],g=m[1],h=za(h8.useModal(),2),b=h[0],_=h[1];return u_.useEffect((function(){null==i||i({message:p,modal:b,notification:f})}),[]),t=u_.useMemo((function(){var e,t=c?X2.darkAlgorithm:X2.defaultAlgorithm,n=r;return"function"==typeof r&&(n=r(l)),n?(e=n.algorithm?n.algorithm instanceof Array?n.algorithm:[n.algorithm]:[],pm(pm({},n),{},{algorithm:n.algorithm?[t].concat(wa(e)):t})):{algorithm:t}}),[r,c]),b_.jsxs(eZ,{prefixCls:o,theme:t,children:[d,g,_,n]})}));z$=function(e){"function"==typeof u_.startTransition?u_.startTransition(e):e()},V$=function(e){var t=e.themeMode,n=e.setAppearance,r=e.setBrowserPrefers,o=function(){S$("dark").matches?n("dark"):n("light")},i=function(){S$("dark").matches?r("dark"):r("light")};return u_.useLayoutEffect((function(){if("auto"===t)return setTimeout(o,1),W$||(W$=S$("dark")),W$.addEventListener("change",o),function(){W$.removeEventListener("change",o)};z$((function(){n(t)}))}),[t]),u_.useLayoutEffect((function(){return W$||(W$=S$("dark")),W$.addEventListener("change",i),function(){W$.removeEventListener("change",i)}}),[]),null};const Z8=u_.memo((function(e){var t,n=e.children,r=e.appearance,o=e.defaultAppearance,i=e.onAppearanceChange,a=e.themeMode,s=e.defaultThemeMode,l=e.onThemeModeChange,c=(0,e.useTheme)(),u=c.appearance,p=za(mm("light",{value:a,defaultValue:null!=s?s:c.themeMode,onChange:function(e){return null==l?void 0:l(e)}}),2),d=p[0],m=p[1],f=za(mm("light",{value:r,defaultValue:null!=o?o:u,onChange:function(e){return null==i?void 0:i(e)}}),2),g=f[0],h=f[1],b=za(u_.useState(null!==(t=S$("dark"))&&void 0!==t&&t.matches?"dark":"light"),2),_=b[0],v=b[1],y=za(u_.useState(!1),2),w=y[0],C=y[1];return u_.useEffect((function(){z$((function(){C(!0)}))}),[]),b_.jsxs(O$.Provider,{value:{themeMode:d,setThemeMode:m,appearance:g,setAppearance:h,isDarkMode:"dark"===g,browserPrefers:_},children:[w&&b_.jsx(V$,{themeMode:d,setAppearance:h,setBrowserPrefers:v}),n]})}));G$=["stylish"];const e6=function(e){var t=e.children,n=e.customToken,r=e.defaultCustomToken,o=e.customStylish,i=e.prefixCls,a=void 0===i?"ant":i,s=e.StyledThemeProvider,l=P$(),c=l.appearance,u=l.isDarkMode,p=N$(),d=p.stylish,m=Si(p,G$),f=u_.useMemo((function(){return r?r instanceof Function?r({token:m,appearance:c,isDarkMode:u}):r:{}}),[r,m,c]),g=u_.useMemo((function(){return gm(gm({},f),n instanceof Function?n({token:m,appearance:c,isDarkMode:u}):n)}),[f,n,m,c]),h=u_.useMemo((function(){return o?o({token:gm(gm({},m),g),stylish:d,appearance:c,isDarkMode:u,css:HD}):{}}),[o,m,g,d,c]),b=u_.useMemo((function(){return gm(gm({},h),d)}),[h,d]),_=gm(gm(gm(gm({},m),g),{},{stylish:b},l),{},{prefixCls:a});return b_.jsx(s,{theme:_,children:t})};q$=function(e){var t=e.styledConfig?M$(e.styledConfig):void 0,n=e.StyleEngineContext;return u_.memo((function(r){var o=r.children,i=r.customToken,a=r.customStylish,s=r.theme,l=r.getStaticInstance,c=r.prefixCls,u=r.staticInstanceConfig,p=r.appearance,d=r.defaultAppearance,m=r.onAppearanceChange,f=r.themeMode,g=r.defaultThemeMode,h=r.onThemeModeChange,b=r.styled,_=u_.useContext(n),v=_.prefixCls,y=_.StyledThemeContext,w=_.CustomThemeContext,C=u_.useContext(w),k=b?M$(b):t||U$,x=c||v;return b_.jsx(n.Provider,{value:{prefixCls:x,StyledThemeContext:(null==b?void 0:b.ThemeContext)||y||B$,CustomThemeContext:w},children:b_.jsx(Z8,{themeMode:f,defaultThemeMode:g,onThemeModeChange:h,defaultAppearance:d,appearance:p,onAppearanceChange:m,useTheme:e.useTheme,children:b_.jsx(J8,{prefixCls:x,staticInstanceConfig:u,theme:s,getStaticInstance:l,children:b_.jsx(e6,{prefixCls:x,customToken:i,defaultCustomToken:C,customStylish:a,StyledThemeProvider:k,children:o})})})})}))},X$=function(e){return function(){var t=u_.useContext(e.StyleEngineContext),n=t.StyledThemeContext,r=t.CustomThemeContext,o=t.prefixCls,i=N$(),a=P$(),s=u_.useContext(r),l=u_.useContext(null!=n?n:B$)||{},c=u_.useMemo((function(){return bm(bm(bm(bm({},i),a),s),{},{prefixCls:o||"ant"})}),[i,a,o,s]);return l&&0!==Object.keys(l).length?l:c}},K$=new AD,"undefined"!=typeof global&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=K$),J$=(IY={key:"acss",speedy:!1},HY=vm(vm({},IY),{},{key:null!==(NY=IY.key)&&void 0!==NY?NY:"zcss",speedy:null!==(AY=IY.speedy)&&void 0!==AY&&AY}),zY=SD({key:HY.key,speedy:HY.speedy,container:HY.container}),WY=zD(zY),VY=PE(WY),zY.cache=K$.add(zY.cache),TY=null===(RY=HY.styled)||void 0===RY?void 0:RY.ThemeContext,jY=X$({StyleEngineContext:$Y=u_.createContext({CustomThemeContext:u_.createContext(HY.customToken?HY.customToken:{}),StyledThemeContext:TY,prefixCls:null==HY?void 0:HY.prefixCls})}),FY=L$({hashPriority:HY.hashPriority,useTheme:jY,EmotionContext:WY}),LY=kS(jY),MY=xS(FY),UY=q$({styledConfig:HY.styled,StyleEngineContext:$Y,useTheme:jY}),BY=BD(zY.cache,{hashPriority:HY.hashPriority}),Y$={createStyles:FY,createGlobalStyle:LY,createStylish:MY,css:HD,cx:BY.cx,keyframes:zY.keyframes,injectGlobal:zY.injectGlobal,styleManager:zY,useTheme:jY,StyleProvider:VY,ThemeProvider:UY}).createGlobalStyle,Z$=Y$.css,ej=Y$.cx,tj=Y$.keyframes,nj=Y$.ThemeProvider,rj=Y$.StyleProvider,oj=Y$.useTheme,sj=(Q$=Y$.createStyles)((function(e){var t=e.css,n=tj(ij||(ij=Ei(["\n 0% {\n rotate: 0deg;\n }\n 100% {\n rotate: 360deg;\n }\n "])));return{spin:t(aj||(aj=Ei(["\n animation: "," 1s linear infinite;\n "])),n)}})),lj=["icon","size","color","fill","className","spin"],cj=function(e){var t,n;switch(e){case"large":t=24,n=2;break;case"normal":t=20,n=2;break;case"small":t=14,n=1.5;break;default:e?(t=(null==e?void 0:e.fontSize)||24,n=(null==e?void 0:e.strokeWidth)||2):(t="1em",n=2)}return{fontSize:t,strokeWidth:n}};const t6=u_.memo((function(e){var t=e.icon,n=e.size,r=e.color,o=e.fill,i=e.className,a=e.spin,s=Si(e,lj),l=sj(),c=l.styles,u=l.cx,p=t,d=u_.useMemo((function(){return cj(n)}),[n]),m=d.fontSize,f=d.strokeWidth;return b_.jsx("span",wm(wm({className:u("anticon",a&&c.spin,i),role:"img"},s),{},{children:b_.jsx(p,{color:r,fill:null!=o?o:"transparent",focusable:!1,height:m,size:m,strokeWidth:f,width:m})}))}));pj=Q$((function(e,t){var n,r,o=e.token,i=e.isDarkMode,a=t.offset,s=(null!==(n=null==a?void 0:a.x)&&void 0!==n?n:0)+"px",l=(null!==(r=null==a?void 0:a.y)&&void 0!==r?r:0)+"px",c=t.outside?"0":".1",u=t.size+"px";return(0,e.css)(uj||(uj=Ei(["\n pointer-events: none;\n\n position: absolute;\n z-index: 1;\n inset: 0;\n\n opacity: ",";\n background: radial-gradient(\n "," circle at "," ",",\n ",",\n ","\n );\n border-radius: inherit;\n\n transition: all 0.2s;\n "])),c,u,s,l,i?o.colorText:"#fff",i?"transparent":o.colorTextQuaternary)})),dj=["className","size"],mj=function(){var e=za(u_.useState(),2),t=e[0],n=e[1],r=za(u_.useState(!0),2),o=r[0],i=r[1],a=u_.useRef();return u_.useEffect((function(){var e,t,r;if(a.current&&a.current.parentElement)return t=function(t){var r=e.getBoundingClientRect();n({x:t.clientX-r.x,y:t.clientY-r.y}),i(!1)},r=function(){i(!0)},(e=a.current.parentElement).addEventListener("mousemove",t),e.addEventListener("mouseleave",r),function(){e.removeEventListener("mousemove",t),e.removeEventListener("mouseleave",r)}}),[]),[t,o,a]};const n6=u_.memo((function(e){var t=e.className,n=e.size,r=void 0===n?64:n,o=Si(e,dj),i=za(mj(),3),a=i[2],s=pj({offset:i[0],outside:i[1],size:r});return b_.jsx("div",function(e){var t,n;for(t=1;ti?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0,r=Array(i);++o-1},kL=function(e,t){var n=this.__data__,r=vL(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},of.prototype.clear=function(){this.__data__=[],this.size=0},of.prototype.delete=yL,of.prototype.get=wL,of.prototype.has=CL,of.prototype.set=kL,DL=xL=of,SL=function(){this.__data__=new DL,this.size=0},EL=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},OL=function(e){return this.__data__.get(e)},PL=function(e){return this.__data__.has(e)},IL=sL,NL=GF,AL=function(e){if(!NL(e))return!1;var t=IL(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},mY=/[^.]+$/.exec((RL=KF["__core-js_shared__"])&&RL.keys&&RL.keys.IE_PROTO||""),TL=mY?"Symbol(src)_1."+mY:"",$L=Function.prototype.toString,FL=AL,LL=function(e){return!!TL&&TL in e},ML=GF,UL=jL=function(e){if(null!=e){try{return $L.call(e)}catch(xY){}try{return e+""}catch(xY){}}return""},BL=/[\\^$.*+?()[\]{}|]/g,HL=/^\[object .+?Constructor\]$/,zL=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(BL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),WL=function(e,t){return null==e?void 0:e[t]},VL=function(e){return!(!ML(e)||LL(e))&&(FL(e)?zL:HL).test(UL(e))},GL=WL,qL=function(e,t){var n=GL(e,t);return VL(n)?n:void 0},XL=qL(KF,"Map"),KL=qL(Object,"create"),QL=YL=KL,JL=YL,ZL=Object.prototype.hasOwnProperty,eM=YL,tM=Object.prototype.hasOwnProperty,nM=YL,rM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oM=function(e){var t,n=this.__data__;return JL?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:ZL.call(n,e)?n[e]:void 0},iM=function(e){var t=this.__data__;return eM?void 0!==t[e]:tM.call(t,e)},aM=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nM&&void 0===t?"__lodash_hash_undefined__":t,this},af.prototype.clear=function(){this.__data__=QL?QL(null):{},this.size=0},af.prototype.delete=rM,af.prototype.get=oM,af.prototype.has=iM,af.prototype.set=aM,sM=af,lM=xL,cM=XL,uM=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},dM=pM=function(e,t){var n=e.__data__;return uM(t)?n["string"==typeof t?"string":"hash"]:n.map},mM=pM,fM=pM,gM=pM,hM=function(e){var t=dM(this,e).delete(e);return this.size-=t?1:0,t},bM=function(e){return mM(this,e).get(e)},_M=function(e){return fM(this,e).has(e)},vM=function(e,t){var n=gM(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},sf.prototype.clear=function(){this.size=0,this.__data__={hash:new sM,map:new(cM||lM),string:new sM}},sf.prototype.delete=hM,sf.prototype.get=bM,sf.prototype.has=_M,sf.prototype.set=vM,wM=xL,CM=XL,kM=yM=sf,xM=xL,DM=EL,SM=OL,EM=PL,OM=function(e,t){var n,r=this.__data__;if(r instanceof wM){if(n=r.__data__,!CM||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new kM(n)}return r.set(e,t),this.size=r.size,this},lf.prototype.clear=SL,lf.prototype.delete=DM,lf.prototype.get=SM,lf.prototype.has=EM,lf.prototype.set=OM,PM=lf,IM=yM,NM=function(e){return this.__data__.has(e)},cf.prototype.add=cf.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},cf.prototype.has=NM,TM=AM=cf,$M=function(e,t){for(var n=-1,r=null==e?0:e.length;++ng))return!1;if(a=i.get(e),s=i.get(t),a&&s)return a==t&&s==e;for(l=-1,c=!0,u=2&n?new TM:void 0,i.set(e,t),i.set(t,e);++l-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},vU=lL,(yU={})["[object Float32Array]"]=yU["[object Float64Array]"]=yU["[object Int8Array]"]=yU["[object Int16Array]"]=yU["[object Int32Array]"]=yU["[object Uint8Array]"]=yU["[object Uint8ClampedArray]"]=yU["[object Uint16Array]"]=yU["[object Uint32Array]"]=!0,yU["[object Arguments]"]=yU["[object Array]"]=yU["[object ArrayBuffer]"]=yU["[object Boolean]"]=yU["[object DataView]"]=yU["[object Date]"]=yU["[object Error]"]=yU["[object Function]"]=yU["[object Map]"]=yU["[object Number]"]=yU["[object Object]"]=yU["[object RegExp]"]=yU["[object Set]"]=yU["[object String]"]=yU["[object WeakMap]"]=!1,wU=function(e){return vU(e)&&_U(e.length)&&!!yU[bU(e)]},CU=function(e){return function(t){return e(t)}},function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,o=r&&r.exports===n&&qF.process,i=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(xY){}}();e.exports=i}(kU={exports:{}},kU.exports),xU=wU,EU=(SU=(DU=kU.exports)&&DU.isTypedArray)?CU(SU):xU,PU=rU,IU=pU,NU=XM,AU=mU,RU=gU,TU=OU=EU,$U=Object.prototype.hasOwnProperty,jU=function(e,t){var n,r=NU(e),o=!r&&IU(e),i=!r&&!o&&AU(e),a=!r&&!o&&!i&&TU(e),s=r||o||i||a,l=s?PU(e.length,String):[],c=l.length;for(n in e)!t&&!$U.call(e,n)||s&&("length"==n||i&&("offset"==n||"parent"==n)||a&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||RU(n,c))||l.push(n);return l},FU=Object.prototype,LU=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||FU)},GY=Object.keys,qY=Object,MU=LU,UU=function(e){return GY(qY(e))},BU=Object.prototype.hasOwnProperty,HU=function(e){var t,n;if(!MU(e))return UU(e);for(n in t=[],Object(e))BU.call(e,n)&&"constructor"!=n&&t.push(n);return t},zU=AL,WU=hU,VU=jU,GU=HU,qU=function(e){return null!=e&&WU(e.length)&&!zU(e)},XU=function(e){return qU(e)?VU(e):GU(e)},KU=QM,YU=nU,QU=XU,JU=function(e){return KU(e,QU,YU)},ZU=JU,eB=Object.prototype.hasOwnProperty,tB=function(e,t,n,r,o,i){var a,s,l,c,u,p,d,m,f,g,h,b=1&n,_=ZU(e),v=_.length;if(v!=ZU(t).length&&!b)return!1;for(a=v;a--;)if(s=_[a],!(b?s in t:eB.call(t,s)))return!1;if(l=i.get(e),c=i.get(t),l&&c)return l==t&&c==e;for(u=!0,i.set(e,t),i.set(t,e),p=b;++a .ant-menu-item-only-child,\n .ant-menu-submenu-title {\n width: 100%;\n margin: 0 !important;\n border-top: none;\n border-radius: 0;\n\n &:active {\n color: ",";\n background-color: ",";\n }\n }\n\n .ant-menu-item-only-child:first-child {\n border-top: none;\n }\n\n .ant-menu-submenu-title[aria-expanded='true'] {\n a {\n font-weight: 600;\n color: "," !important;\n }\n }\n\n .ant-menu-item-group-title {\n padding-top: 8px;\n padding-bottom: 8px;\n\n font-size: 12px;\n font-weight: 500;\n line-height: 1;\n text-overflow: ellipsis;\n text-transform: uppercase;\n white-space: nowrap;\n\n background: ",";\n }\n\n .ant-menu-item {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n border-radius: ","px;\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n\n .ant-menu-item-active {\n width: calc(100% - 16px) !important;\n margin: 8px !important;\n background: ",";\n border-radius: ","px;\n }\n\n .ant-menu-item-selected {\n font-weight: 600;\n color: ",";\n background: ",";\n\n &:hover,\n &:active {\n color: "," !important;\n background: "," !important;\n }\n }\n "])),n.colorText,n.colorFill,n.colorText,n.colorFillSecondary,n.borderRadius,n.colorText,n.colorFillSecondary,n.colorFillSecondary,n.borderRadius,n.colorBgLayout,n.colorText,n.colorBgLayout,n.colorText)}})),rH=["items","openKeys","selectedKeys","opened","setOpened","className","headerHeight"];const y6=u_.memo((function(e){var t=e.items,n=e.openKeys,r=e.selectedKeys,o=e.opened,i=e.setOpened,a=e.className,s=e.headerHeight,l=void 0===s?64:s,c=Si(e,rH),u=nH(l),p=u.styles;return b_.jsxs(v6,vf(vf({className:(0,u.cx)(p.container,a),onClick:function(){i(!o)}},c),{},{children:[b_.jsx(o6,{icon:o?GQ:$Q,size:"site"}),b_.jsxs(D4,{bodyStyle:{padding:0},className:p.drawer,closeIcon:void 0,headerStyle:{display:"none"},open:o,placement:"left",rootClassName:p.drawerRoot,width:"100vw",children:[b_.jsx(D5,{className:p.menu,items:t,mode:"inline",openKeys:n,selectedKeys:r}),b_.jsx("div",{className:p.fillRect})]})]}))}));oH=["icon","children","size"],sH=Q$((function(e){var t=e.cx,n=e.css,r=e.token;return{small:n(iH||(iH=Ei(["\n padding: 2px 6px;\n line-height: 1;\n "]))),tag:t(n(aH||(aH=Ei(["\n color: "," !important;\n background: ",";\n border: ","px;\n\n &:hover {\n color: ",";\n background: ",";\n }\n "])),r.colorTextSecondary,r.colorFillSecondary,r.borderRadius,r.colorText,r.colorFill))}}));const w6=u_.memo((function(e){var t=e.icon,n=e.children,r=e.size,o=void 0===r?"default":r,i=Si(e,oH),a=sH(),s=a.styles;return b_.jsx(Q8,wf(wf({bordered:!1,className:(0,a.cx)(s.tag,"small"===o&&s.small)},i),{},{children:b_.jsxs(YB,{align:"center",gap:4,horizontal:!0,children:[t,n]})}))}));lH={exports:{}},cH={},uH=u_,pH="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},dH=uH.useState,mH=uH.useEffect,fH=uH.useLayoutEffect,gH=uH.useDebugValue,hH="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=dH({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return fH((function(){o.value=n,o.getSnapshot=t,Cf(o)&&i({inst:o})}),[e,n,t]),mH((function(){return Cf(o)&&i({inst:o}),e((function(){Cf(o)&&i({inst:o})}))}),[e]),gH(n),n},cH.useSyncExternalStore=void 0!==uH.useSyncExternalStore?uH.useSyncExternalStore:hH,lH.exports=cH,bH=lH.exports,_H={blue:{dark:["#000506","#002126","#00363f","#004e59","#006675","#008093","#159ab0","#47b3ca","#6acde4","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],darkA:["rgba(0, 167, 200, 0.03)","rgba(0, 220, 253, 0.15)","rgba(0, 216, 252, 0.25)","rgba(0, 223, 254, 0.35)","rgba(0, 222, 254, 0.46)","rgba(0, 221, 253, 0.58)","rgba(30, 223, 255, 0.69)","rgba(89, 224, 252, 0.8)","rgba(118, 228, 253, 0.9)","#8ae8ff","#b8f0ff","#def7ff","#ffffff"],light:["#ffffff","#fbfeff","#f4fcff","#eafaff","#dff7ff","#d3f5ff","#c4f2ff","#b4efff","#a1ecff","#8ae8ff","#159ab0","#004e59","#000506"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 205, 255, 0.02)","rgba(35, 195, 255, 0.05)","rgba(22, 199, 255, 0.09)","rgba(9, 193, 255, 0.13)","rgba(11, 199, 255, 0.18)","rgba(9, 201, 255, 0.24)","rgba(5, 202, 255, 0.3)","rgba(1, 204, 255, 0.37)","rgba(1, 205, 255, 0.46)","rgba(1, 145, 169, 0.92)","#004e59","#000506"]},bnw:{dark:["#000000","#111111","#333333","#555555","#666666","#888888","#aaaaaa","#cccccc","#dddddd","#eeeeee","#ffffff","#ffffff","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.08)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.22)","rgba(255, 255, 255, 0.36)","rgba(255, 255, 255, 0.48)","rgba(255, 255, 255, 0.6)","rgba(255, 255, 255, 0.72)","rgba(255, 255, 255, 0.84)","rgba(255, 255, 255, 0.88)","rgba(255, 255, 255, 0.92)","rgba(255, 255, 255, 0.96)","rgba(255, 255, 255, 0.98)"],light:["#ffffff","#f5f5f5","#eeeeee","#cccccc","#aaaaaa","#888888","#666666","#444444","#333333","#222222","#111111","#111111","#111111"],lightA:["rgba(0, 0, 0, 0.02)","rgba(0, 0, 0, 0.08)","rgba(0, 0, 0, 0.16)","rgba(0, 0, 0, 0.22)","rgba(0, 0, 0, 0.36)","rgba(0, 0, 0, 0.48)","rgba(0, 0, 0, 0.6)","rgba(0, 0, 0, 0.72)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.88)","rgba(0, 0, 0, 0.92)","rgba(0, 0, 0, 0.96)","rgba(0, 0, 0, 0.98)"]},cyan:{dark:["#000503","#00221c","#003930","#005245","#006c5b","#008772","#2fa28a","#55bca4","#75d7be","#95f3d9","#bdf7e4","#dffcf0","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 243, 200, 0.14)","rgba(0, 248, 209, 0.23)","rgba(0, 248, 209, 0.33)","rgba(0, 251, 212, 0.43)","rgba(0, 255, 215, 0.53)","rgba(73, 253, 216, 0.64)","rgba(115, 254, 222, 0.74)","rgba(138, 253, 224, 0.85)","rgba(155, 253, 226, 0.96)","rgba(195, 255, 235, 0.97)","rgba(225, 255, 242, 0.99)","#ffffff"],light:["#ffffff","#f9fffb","#effff8","#e3fff4","#d8fef0","#ccfcec","#c0fae8","#b3f8e3","#a5f6de","#95f3d9","#2fa28a","#005245","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(55, 255, 122, 0.03)","rgba(26, 255, 155, 0.07)","rgba(0, 255, 155, 0.11)","rgba(11, 249, 161, 0.16)","rgba(0, 240, 160, 0.2)","rgba(3, 235, 163, 0.25)","rgba(2, 232, 162, 0.3)","rgba(5, 230, 163, 0.36)","rgba(3, 226, 165, 0.42)","rgba(1, 142, 112, 0.82)","#005245","#000503"]},geekblue:{dark:["#000216","#001343","#00225c","#003176","#00418f","#0052a8","#0264c1","#1877d5","#288aea","#369eff","#88bffb","#c5dffd","#ffffff"],darkA:["rgba(0, 22, 244, 0.09)","rgba(0, 70, 248, 0.27)","rgba(0, 92, 249, 0.37)","rgba(0, 104, 251, 0.47)","rgba(0, 116, 255, 0.56)","rgba(0, 124, 255, 0.66)","rgba(3, 132, 254, 0.76)","rgba(29, 142, 254, 0.84)","rgba(43, 150, 254, 0.92)","#369eff","rgba(137, 193, 254, 0.99)","#c5dffd","#ffffff"],light:["#ffffff","#f8faff","#eaf3ff","#daeaff","#c7e0ff","#b1d5ff","#9ac9ff","#7fbcff","#60aeff","#369eff","#0264c1","#003176","#000216"],lightA:["rgba(255, 255, 255, 0.01)","rgba(22, 88, 255, 0.03)","rgba(22, 122, 255, 0.09)","rgba(8, 115, 255, 0.15)","rgba(0, 114, 255, 0.22)","rgba(3, 120, 255, 0.31)","rgba(3, 120, 255, 0.4)","rgba(4, 124, 255, 0.51)","rgba(3, 126, 255, 0.63)","rgba(1, 132, 255, 0.79)","#0264c1","#003176","#000216"]},gold:{dark:["#070300","#271a00","#3f2c00","#593f00","#745400","#906a00","#ac8100","#c99811","#e4b12f","#ffcb47","#ffdd90","#ffeecd","#ffffff"],darkA:["rgba(233, 100, 0, 0.03)","rgba(244, 163, 0, 0.16)","rgba(252, 176, 0, 0.25)","rgba(254, 180, 0, 0.35)","rgba(252, 183, 0, 0.46)","rgba(253, 186, 0, 0.57)","rgba(253, 190, 0, 0.68)","rgba(254, 192, 22, 0.79)","rgba(253, 197, 52, 0.9)","#ffcb47","#ffdd90","#ffeecd","#ffffff"],light:["#ffffff","#fffcff","#fff8f2","#fff4e2","#ffefd0","#ffe9bb","#ffe3a4","#ffdb8b","#ffd46d","#ffcb47","#ac8100","#593f00","#070300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 138, 38, 0.06)","rgba(255, 163, 13, 0.12)","rgba(255, 171, 8, 0.19)","rgba(255, 174, 3, 0.27)","rgba(255, 177, 2, 0.36)","rgba(255, 177, 3, 0.46)","rgba(255, 181, 3, 0.58)","rgba(255, 184, 3, 0.73)","#ac8100","#593f00","#070300"]},gray:{dark:["#000000","#111111","#222222","#2d2d2d","#333333","#444444","#555555","#666666","#6f6f6f","#777777","#aaaaaa","#dddddd","#ffffff"],darkA:["rgba(255, 255, 255, 0.02)","rgba(255, 255, 255, 0.06)","rgba(255, 255, 255, 0.10)","rgba(255, 255, 255, 0.16)","rgba(255, 255, 255, 0.24)","rgba(255, 255, 255, 0.28)","rgba(255, 255, 255, 0.32)","rgba(255, 255, 255, 0.38)","rgba(255, 255, 255, 0.44)","rgba(255, 255, 255, 0.5)","rgba(255, 255, 255, 0.66)","rgba(255, 255, 255, 0.84)","#ffffff"],light:["#ffffff","#f8f8f8","#eeeeee","#e3e3e3","#dddddd","#cccccc","#bbbbbb","#aaaaaa","#999999","#888888","#666666","#333333","#080808"],lightA:["rgba(0, 0, 0, 0.015)","rgba(0, 0, 0, 0.03)","rgba(0, 0, 0, 0.06)","rgba(0, 0, 0, 0.12)","rgba(0, 0, 0, 0.18)","rgba(0, 0, 0, 0.24)","rgba(0, 0, 0, 0.32)","rgba(0, 0, 0, 0.38)","rgba(0, 0, 0, 0.44)","rgba(0, 0, 0, 0.5)","rgba(0, 0, 0, 0.68)","rgba(0, 0, 0, 0.84)","rgba(0, 0, 0, 0.98)"]},green:{dark:["#000503","#001d12","#002d1d","#003f28","#005232","#00653c","#007944","#1b8d4d","#3ba05a","#55b467","#96cd92","#cde6c3","#ffffff"],darkA:["rgba(0, 250, 150, 0.02)","rgba(0, 242, 150, 0.12)","rgba(0, 250, 161, 0.18)","rgba(0, 252, 160, 0.25)","rgba(0, 248, 152, 0.33)","rgba(0, 252, 150, 0.4)","rgba(0, 252, 142, 0.48)","rgba(48, 252, 137, 0.56)","rgba(94, 254, 143, 0.63)","rgba(120, 254, 145, 0.71)","rgba(185, 253, 180, 0.81)","rgba(225, 253, 214, 0.91)","#ffffff"],light:["#ffffff","#f4fdeb","#e7f8dd","#d8f2ce","#c7eabd","#b4e1ac","#a0d79b","#89cc8a","#71c179","#55b467","#007944","#003f28","#000503"],lightA:["rgba(255, 255, 255, 0.01)","rgba(117, 230, 5, 0.08)","rgba(84, 205, 12, 0.14)","rgba(60, 190, 10, 0.2)","rgba(40, 174, 1, 0.26)","rgba(28, 164, 3, 0.33)","rgba(18, 155, 5, 0.4)","rgba(4, 146, 6, 0.47)","rgba(1, 144, 16, 0.56)","rgba(1, 143, 28, 0.67)","#007944","#003f28","#000503"]},lime:{dark:["#020400","#142100","#253700","#374f00","#4b6800","#608200","#769d00","#8fb81b","#a9d42f","#c4f042","#daf685","#eefbbe","#ffffff"],darkA:["rgba(100, 200, 0, 0.02)","rgba(154, 254, 0, 0.13)","rgba(168, 250, 0, 0.22)","rgba(177, 255, 0, 0.31)","rgba(183, 254, 0, 0.41)","rgba(188, 255, 0, 0.51)","rgba(190, 253, 0, 0.62)","rgba(196, 252, 37, 0.73)","rgba(204, 255, 57, 0.83)","rgba(209, 255, 70, 0.94)","rgba(225, 254, 137, 0.97)","rgba(240, 254, 192, 0.99)","#ffffff"],light:["#ffffff","#feffeb","#f9ffd8","#f2ffc1","#ebfdaf","#e4fc9b","#ddf987","#d5f773","#cdf35c","#c4f042","#769d00","#374f00","#020400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(242, 255, 5, 0.08)","rgba(218, 255, 11, 0.16)","rgba(203, 255, 7, 0.25)","rgba(193, 249, 5, 0.32)","rgba(187, 247, 5, 0.4)","rgba(183, 242, 0, 0.47)","rgba(179, 240, 0, 0.55)","rgba(177, 236, 0, 0.64)","rgba(175, 235, 0, 0.74)","#769d00","#374f00","#020400"]},magenta:{dark:["#100002","#350011","#4b001e","#63002d","#79093f","#8e1752","#a32466","#b8317b","#ce3e91","#e34ba9","#f38bcb","#fec5e8","#ffffff"],darkA:["rgba(229, 0, 29, 0.07)","rgba(252, 0, 81, 0.21)","rgba(250, 0, 100, 0.3)","rgba(254, 0, 115, 0.39)","rgba(252, 19, 131, 0.48)","rgba(254, 41, 146, 0.56)","rgba(255, 56, 159, 0.64)","rgba(252, 67, 168, 0.73)","rgba(254, 77, 179, 0.81)","rgba(255, 84, 190, 0.89)","rgba(253, 145, 211, 0.96)","#fec5e8","#ffffff"],light:["#ffffff","#fff7f9","#ffeaf4","#ffdaee","#ffc7e7","#ffb2df","#ff99d6","#f980ca","#ef67ba","#e34ba9","#a32466","#63002d","#100002"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 105, 0.04)","rgba(255, 22, 133, 0.09)","rgba(255, 8, 142, 0.15)","rgba(255, 0, 146, 0.22)","rgba(255, 7, 152, 0.31)","rgba(255, 0, 153, 0.4)","rgba(243, 1, 149, 0.5)","rgba(228, 2, 140, 0.6)","rgba(216, 1, 134, 0.71)","rgba(148, 0, 77, 0.86)","#63002d","#100002"]},orange:{dark:["#080300","#271400","#3d2000","#552d00","#6f3a00","#8a4700","#a75400","#c66100","#e37013","#ff802b","#ffae87","#ffd7c8","#ffffff"],darkA:["rgba(200, 75, 0, 0.04)","rgba(244, 125, 0, 0.16)","rgba(254, 133, 0, 0.24)","rgba(250, 132, 0, 0.34)","rgba(252, 132, 0, 0.44)","rgba(251, 129, 0, 0.55)","rgba(253, 127, 0, 0.66)","rgba(254, 124, 0, 0.78)","rgba(255, 126, 21, 0.89)","#ff802b","#ffae87","#ffd7c8","#ffffff"],light:["#ffffff","#fff9f8","#fff0ec","#ffe6dd","#ffd9ca","#ffcbb5","#ffbb9c","#ffaa7f","#ff975c","#ff802b","#a75400","#552d00","#080300"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 22, 0.03)","rgba(255, 67, 17, 0.08)","rgba(255, 76, 12, 0.14)","rgba(255, 74, 3, 0.21)","rgba(255, 76, 0, 0.29)","rgba(255, 81, 1, 0.39)","rgba(255, 88, 4, 0.51)","rgba(255, 93, 0, 0.64)","rgba(255, 102, 0, 0.83)","#a75400","#552d00","#080300"]},purple:{dark:["#0d000b","#2e002a","#42003e","#560053","#670e66","#781e78","#892b8a","#9a399e","#ab46b2","#bd54c6","#d590da","#edc7ee","#ffffff"],darkA:["rgba(217, 0, 183, 0.06)","rgba(242, 0, 221, 0.19)","rgba(254, 0, 238, 0.26)","rgba(253, 0, 244, 0.34)","rgba(251, 34, 249, 0.41)","rgba(255, 64, 255, 0.47)","rgba(249, 78, 251, 0.55)","rgba(248, 92, 255, 0.62)","rgba(244, 100, 254, 0.7)","rgba(242, 108, 254, 0.78)","rgba(248, 167, 253, 0.86)","rgba(252, 212, 253, 0.94)","#ffffff"],light:["#ffffff","#fff6fb","#ffe7fd","#fdd6fe","#f6c4f8","#eeb1f1","#e49ce8","#d886de","#cb6ed2","#bd54c6","#892b8a","#560053","#0d000b"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 30, 155, 0.04)","rgba(255, 15, 235, 0.1)","rgba(243, 14, 249, 0.17)","rgba(218, 9, 226, 0.24)","rgba(200, 3, 210, 0.31)","rgba(186, 1, 196, 0.39)","rgba(174, 3, 186, 0.48)","rgba(164, 1, 176, 0.57)","rgba(156, 0, 170, 0.67)","rgba(113, 0, 114, 0.83)","#560053","#0d000b"]},red:{dark:["#0f0006","#34001d","#4b002b","#640039","#7a0c46","#911b53","#a72860","#bf356e","#d7427b","#f04f88","#ff8eab","#ffc9d3","#ffffff"],darkA:["rgba(250, 0, 100, 0.06)","rgba(248, 0, 138, 0.21)","rgba(250, 0, 143, 0.3)","rgba(250, 0, 142, 0.4)","rgba(254, 25, 146, 0.48)","rgba(254, 47, 146, 0.57)","rgba(253, 61, 145, 0.66)","rgba(255, 71, 147, 0.75)","rgba(253, 78, 145, 0.85)","rgba(255, 84, 145, 0.94)","#ff8eab","#ffc9d3","#ffffff"],light:["#ffffff","#fff7f7","#ffeced","#ffdde2","#ffccd5","#ffb8c7","#ffa2b8","#ff88a8","#fe6998","#f04f88","#a72860","#640039","#0f0006"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 55, 0.04)","rgba(255, 17, 30, 0.08)","rgba(255, 12, 48, 0.14)","rgba(255, 0, 45, 0.2)","rgba(255, 1, 55, 0.28)","rgba(255, 4, 63, 0.37)","rgba(255, 2, 70, 0.47)","rgba(253, 1, 80, 0.59)","rgba(233, 0, 83, 0.69)","rgba(151, 2, 68, 0.85)","#640039","#0f0006"]},volcano:{dark:["#0c0100","#2f0a00","#451200","#5d1900","#762000","#8e2a07","#a53716","#bc4424","#d45132","#ec5e41","#ff9480","#ffcbc3","#ffffff"],darkA:["rgba(240, 20, 0, 0.05)","rgba(247, 53, 0, 0.19)","rgba(246, 64, 0, 0.28)","rgba(251, 68, 0, 0.37)","rgba(251, 68, 0, 0.47)","rgba(254, 75, 12, 0.56)","rgba(254, 85, 34, 0.65)","rgba(254, 92, 49, 0.74)","rgba(255, 98, 60, 0.83)","rgba(254, 101, 70, 0.93)","#ff9480","#ffcbc3","#ffffff"],light:["#ffffff","#fff7f6","#ffece9","#ffded9","#ffcec5","#ffbbaf","#ffa695","#ff8e78","#fb745a","#ec5e41","#a53716","#5d1900","#0c0100"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 55, 30, 0.04)","rgba(255, 44, 11, 0.09)","rgba(255, 35, 2, 0.15)","rgba(255, 42, 3, 0.23)","rgba(255, 43, 5, 0.32)","rgba(255, 43, 3, 0.42)","rgba(255, 42, 0, 0.53)","rgba(249, 41, 1, 0.65)","rgba(230, 40, 2, 0.75)","rgba(157, 38, 2, 0.92)","#5d1900","#0c0100"]},yellow:{dark:["#050400","#251d00","#3e3300","#584a00","#736300","#8e7d00","#ab9800","#c7b426","#e3d142","#ffef5c","#fff594","#fffad3","#ffffff"],darkA:["rgba(250, 200, 0, 0.02)","rgba(247, 193, 0, 0.15)","rgba(248, 204, 0, 0.25)","rgba(251, 211, 0, 0.35)","rgba(250, 215, 0, 0.46)","rgba(254, 223, 0, 0.56)","rgba(255, 227, 0, 0.67)","rgba(255, 231, 49, 0.78)","rgba(255, 235, 74, 0.89)","#ffef5c","#fff594","#fffad3","#ffffff"],light:["#ffffff","#fffeff","#fffcff","#fffbf1","#fffada","#fff9c2","#fff7aa","#fff592","#fff279","#ffef5c","#ab9800","#584a00","#050400"],lightA:["rgba(255, 255, 255, 0.01)","rgba(255, 155, 255, 0.01)","rgba(255, 105, 255, 0.02)","rgba(255, 188, 22, 0.06)","rgba(255, 222, 8, 0.15)","rgba(255, 230, 1, 0.24)","rgba(255, 231, 5, 0.34)","rgba(255, 232, 2, 0.43)","rgba(255, 230, 2, 0.53)","rgba(255, 230, 0, 0.64)","#ab9800","#584a00","#050400"]}},vH=globalThis&&globalThis.__extends||(yY=function(e,t){return(yY=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}yY(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),yH=globalThis&&globalThis.__assign||function(){return yH=Object.assign||function(e){var t,n,r,o;for(n=1,r=arguments.length;n div {\n cursor: pointer;\n\n position: absolute;\n\n color: ",";\n\n background: ",";\n border-color: ",";\n border-style: solid;\n border-width: 1px;\n border-radius: 4px;\n\n transition: all 0.2s ",";\n\n &:hover {\n color: ",";\n background: ",";\n }\n\n &:active {\n color: ",";\n background: ",";\n }\n }\n "])),n.motionEaseOut,n.colorTextTertiary,n.colorFillTertiary,n.colorBorderSecondary,n.motionEaseOut,n.colorTextSecondary,n.colorFillSecondary,n.colorText,n.colorFill),i=Z$(zH||(zH=Ei(["\n position: absolute;\n z-index: 200;\n "])));return{bottomFloat:ej(i,Z$(WH||(WH=Ei(["\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n "])))),bottomHandle:ej("".concat(lz,"-bottom-handle"),Z$(VH||(VH=Ei(["\n ",";\n\n &::before {\n bottom: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r)),container:ej(lz,Z$(GH||(GH=Ei(["\n flex-shrink: 0;\n border: 0 solid ",";\n\n &:hover {\n .","-toggle {\n opacity: 1;\n }\n }\n "])),n.colorBorderSecondary,lz)),fixed:Z$(qH||(qH=Ei(["\n position: relative;\n "]))),fullscreen:Z$(XH||(XH=Ei(["\n position: absolute;\n inset: ","px 0 0 0;\n\n width: 100%;\n height: calc(100% - ","px);\n\n background: ",";\n "])),t,t,n.colorBgLayout),handlerIcon:Z$(KH||(KH=Ei(["\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s ",";\n "])),n.motionEaseOut),leftFloat:ej(i,Z$(YH||(YH=Ei(["\n top: ","px;\n bottom: 0;\n left: 0;\n height: calc(100% - ","px);\n "])),t,t)),leftHandle:ej(Z$(QH||(QH=Ei(["\n ",";\n\n &::before {\n left: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(lz,"-left-handle")),panel:ej("".concat(lz,"-fixed"),Z$(JH||(JH=Ei(["\n overflow: hidden;\n transition: all 0.2s ",";\n "])),n.motionEaseOut)),rightFloat:ej(i,Z$(ZH||(ZH=Ei(["\n top: ","px;\n right: 0;\n bottom: 0;\n height: calc(100% - ","px);\n "])),t,t)),rightHandle:ej(Z$(ez||(ez=Ei(["\n ",";\n &::before {\n right: 50%;\n width: 2px;\n height: 100%;\n }\n "])),r),"".concat(lz,"-right-handle")),toggleBottom:ej("".concat(lz,"-toggle"),"".concat(lz,"-toggle-bottom"),o,Z$(tz||(tz=Ei(["\n bottom: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: 16px;\n margin-left: -20px;\n\n border-radius: 0 0 4px 4px;\n }\n "])),16,sz,40)),toggleLeft:ej("".concat(lz,"-toggle"),"".concat(lz,"-toggle-left"),o,Z$(nz||(nz=Ei(["\n left: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 4px 0 0 4px;\n }\n "])),16,sz,sz,40)),toggleRight:ej("".concat(lz,"-toggle"),"".concat(lz,"-toggle-right"),o,Z$(rz||(rz=Ei(["\n right: -","px;\n width: ","px;\n height: 100%;\n\n > div {\n top: 50%;\n\n width: ","px;\n height: ","px;\n margin-top: -20px;\n\n border-radius: 0 4px 4px 0;\n }\n "])),16,sz,sz,40)),toggleTop:ej("".concat(lz,"-toggle"),"".concat(lz,"-toggle-top"),o,Z$(oz||(oz=Ei(["\n top: -","px;\n width: 100%;\n height: ","px;\n\n > div {\n left: 50%;\n\n width: ","px;\n height: ","px;\n margin-left: -20px;\n\n border-radius: 4px 4px 0 0;\n }\n "])),16,sz,40,sz)),topFloat:ej(i,Z$(iz||(iz=Ei(["\n top: ","px;\n right: 0;\n left: 0;\n width: 100%;\n "])),t)),topHandle:ej("".concat(lz,"-top-handle"),Z$(az||(az=Ei(["\n ",";\n\n &::before {\n top: 50%;\n width: 100%;\n height: 2px;\n }\n "])),r))}})),uz=function(e){switch(e){case"bottom":return"top";case"top":return"bottom";case"right":return"left";case"left":return"right"}};const C6=u_.memo((function(e){var t,n,r,o,i,a,s,l,c,u,p,d,m,f,g,h,b,_,v,y,w,C,k,x,D,S,E=e.headerHeight,O=void 0===E?0:E,P=e.fullscreen,I=e.maxHeight,N=e.pin,A=void 0===N||N,R=e.mode,T=void 0===R?"fixed":R,$=e.children,j=e.placement,F=void 0===j?"right":j,L=e.resize,M=e.style,U=e.size,B=e.defaultSize,H=e.minWidth,z=e.minHeight,W=e.maxWidth,V=e.onSizeChange,G=e.onSizeDragging,q=e.expandable,X=void 0===q||q,K=e.expand,Y=e.defaultExpand,Q=void 0===Y||Y,J=e.onExpandChange,Z=e.className,ee=e.showHandlerWhenUnexpand,te=e.destroyOnClose,ne=e.hanlderStyle,re=e.classNames,oe=void 0===re?{}:re,ie=u_.useRef(),ae=(b=ie,v=(_={}).onEnter,y=_.onLeave,w=_.onChange,C=Zm(function(e){var t,n,r,o;return void 0===e&&(e=!1),t=Zm(function(e){var t,n;return void 0===e&&(e=!1),t=Zm(u_.useState(e),2),n=t[1],[t[0],u_.useMemo((function(){var t=!e;return{toggle:function(){return n((function(n){return n===e?t:e}))},set:function(e){return n(e)},setLeft:function(){return n(e)},setRight:function(){return n(t)}}}),[])]}(!!e),2),r=(n=t[1]).toggle,o=n.set,[t[0],u_.useMemo((function(){return{toggle:r,set:function(e){return o(!!e)},setTrue:function(){return o(!0)},setFalse:function(){return o(!1)}}}),[])]}(!1),2),k=C[0],D=(x=C[1]).setTrue,S=x.setFalse,uf("mouseenter",(function(){null==v||v(),D(),null==w||w(!0)}),{target:b}),uf("mouseleave",(function(){null==y||y(),S(),null==w||w(!1)}),{target:b}),k),se="top"===F||"bottom"===F,le=cz(O),ce=le.styles,ue=le.cx,pe=za(mm(Q,{onChange:J,value:K}),2),de=pe[0],me=pe[1];return u_.useEffect((function(){A||(ae&&!de?me(!0):!ae&&de&&me(!1))}),[A,ae,de]),n=(t=za(u_.useState(!0),2))[0],r=t[1],i=(o=za(u_.useState(!1),2))[0],a=o[1],l=u_.useMemo((function(){return s?Di({},uz(F),ce["".concat(uz(F),"Handle")]):{}}),[s=!1!==L&&de,F]),c=xf(Di({bottom:!1,bottomLeft:!1,bottomRight:!1,left:!1,right:!1,top:!1,topLeft:!1,topRight:!1},uz(F),!0),L),u=u_.useMemo((function(){return xf(se?{height:180,width:"100%"}:{height:"100%",width:280},B)}),[se]),p=de?{defaultSize:u,maxHeight:"number"==typeof I?Math.max(I,0):I,maxWidth:"number"==typeof W?Math.max(W,0):W,minHeight:"number"==typeof z?Math.max(z,0):z,minWidth:"number"==typeof H?Math.max(H,0):H,size:U}:se?{minHeight:0,size:{height:0}}:{minWidth:0,size:{width:0}},m=(d=u_.useMemo((function(){switch(F){case"top":return{Arrow:DQ,className:"Bottom"};case"bottom":return{Arrow:OQ,className:"Top"};case"right":return{Arrow:SQ,className:"Left"};case"left":return{Arrow:EQ,className:"Right"}}}),[ce,F])).Arrow,g=b_.jsx(v6,{className:ue(ce["toggle".concat(f=d.className)],oe.handle),style:{opacity:de?A?void 0:0:ee?1:0},children:b_.jsx(v6,{onClick:function(){me(!de)},style:ne,children:b_.jsx("div",{className:ce.handlerIcon,style:{transform:"rotate(".concat(de?180:0,"deg)")},children:b_.jsx(m,{size:16,strokeWidth:1.5})})})}),h=b_.jsx(UH,xf(xf({},p),{},{className:ue(ce.panel,oe.content),enable:s?c:void 0,handleClasses:l,onResize:function(e,t,n,r){null==G||G(r,{height:n.style.height,width:n.style.width})},onResizeStart:function(){a(!0),r(!1)},onResizeStop:function(e,t,n,o){a(!1),r(!0),null==V||V(o,{height:n.style.height,width:n.style.width})},style:xf({transition:i?"unset":void 0},M),children:$})),P?b_.jsx("div",{className:ue(ce.fullscreen,Z),children:$}):b_.jsxs("aside",{className:ue(ce.container,ce["fixed"===T?"fixed":"".concat(F,"Float")],Z),ref:ie,style:de?Di({},"border".concat(f,"Width"),1):{},children:[X&&n&&g,te?de&&h:h]})}));gz=Q$((function(e){var t=e.css,n=e.token;return{body:t(pz||(pz=Ei(["\n overflow-x: hidden;\n overflow-y: auto;\n flex: 1;\n padding: 16px;\n "]))),container:t(dz||(dz=Ei(["\n position: relative;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n "]))),footer:t(mz||(mz=Ei(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: flex-start;\n\n padding: 8px 16px;\n\n border-top: 1px solid ",";\n "])),n.colorBorderSecondary),header:t(fz||(fz=Ei(["\n display: flex;\n flex: 0;\n gap: 8px;\n align-items: center;\n justify-content: space-between;\n\n padding: 8px 16px;\n\n font-weight: 500;\n\n border-bottom: 1px solid ",";\n "])),n.colorBorderSecondary)}})),hz=["className","children"];const k6=u_.memo((function(e){var t=e.className,n=e.children,r=Si(e,hz),o=gz();return b_.jsx("div",Sf(Sf({className:(0,o.cx)(o.styles.body,t)},r),{},{children:n}))}));bz=["className","children"];const x6=u_.memo((function(e){var t=e.className,n=e.children,r=Si(e,bz),o=gz();return b_.jsx("div",Of(Of({className:(0,o.cx)(o.styles.container,t)},r),{},{children:n}))}));_z=["className","children"];const D6=u_.memo((function(e){var t=e.className,n=e.children,r=Si(e,_z),o=gz();return b_.jsx("div",If(If({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));vz=["pin","setPin","className","setExpand","title","position"];const S6=u_.memo((function(e){var t=e.pin,n=e.setPin,r=e.className,o=e.setExpand,i=e.title,a=e.position,s=void 0===a?"left":a,l=Si(e,vz),c=gz(),u=c.cx,p=c.styles,d=b_.jsx(o6,{icon:MQ,onClick:function(){return o(!1)},size:{blockSize:24,fontSize:14}}),m=b_.jsx(o6,{active:t,icon:t?HQ:BQ,onClick:function(){return n(!t)},size:{blockSize:24,fontSize:14}});return b_.jsxs("div",Af(Af({className:u(p.header,r)},l),{},{children:["left"===s?d:m,i,"left"===s?m:d]}))}));yz=function e(t,n){var r,o,i,a;if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;)if(!e(t[a=i[o]],n[a]))return!1;return!0}return t!=t&&n!=n};const E6=t(yz);wz=function(e){var t=document.createElement("link");return t.rel="stylesheet",t.href=e,t};const O6=u_.memo((function(e){var t=e.url;return u_.useEffect((function(){var e=wz(t);document.head.append(e)}),[]),!1}));Cz=function(e){var t=e.prefixCls,n=e.icon,r=e.title,o=e.items,i=void 0===o?[]:o,a=e.style,s=e.className;return fQ.createElement("div",{className:JQ("".concat(t,"-column"),s),style:a},(r||n)&&fQ.createElement("h2",null,n&&fQ.createElement("span",{className:"".concat(t,"-column-icon")},n),r),i.map((function(e,n){var r=e.LinkComponent||"a";return fQ.createElement("div",{className:JQ("".concat(t,"-item"),e.className),style:e.style,key:n},fQ.createElement(r,{href:e.url,to:"string"!=typeof r?e.url:void 0,target:e.openExternal?"_blank":void 0,rel:e.openExternal?"noopener noreferrer":void 0},e.icon&&fQ.createElement("span",{className:"".concat(t,"-item-icon")},e.icon),e.title),e.description&&fQ.createElement(fQ.Fragment,null,fQ.createElement("span",{className:"".concat(t,"-item-separator")},"-"),fQ.createElement("span",{className:"".concat(t,"-item-description")},e.description)))})))},kz=["prefixCls","className","style","bottom","columns","maxColumnsPerRow","backgroundColor","columnLayout","theme"],xz=function(e){var t=e.prefixCls,n=void 0===t?"rc-footer":t,r=e.className,o=e.style,i=e.bottom,a=e.columns,s=e.maxColumnsPerRow,l=e.backgroundColor,c=e.columnLayout,u=e.theme,p=void 0===u?"dark":u,d=Si(e,kz),m=JQ("".concat(n),r,Di({},"".concat(n,"-").concat(p),!!p)),f="number"==typeof s&&s>0;return fQ.createElement("footer",ka(ka({},d),{},{className:m,style:ka(ka({},o),{},{backgroundColor:l})}),fQ.createElement("section",{className:"".concat(n,"-container")},a&&a.length>0&&fQ.createElement("section",{className:"".concat(n,"-columns"),style:{justifyContent:c,flexWrap:f?"wrap":void 0}},a.map((function(e,t){var r=e.title,o=e.icon,i=e.className,a=e.items,l=void 0===a?[]:a,c=ka({},e.style);return f&&(c.flex="0 0 ".concat(100/(s+1)+.1,"%")),fQ.createElement(Cz,{key:t,prefixCls:n,title:r,icon:o,items:l,style:c,className:i})})))),i&&fQ.createElement("section",{className:"".concat(n,"-bottom")},fQ.createElement("div",{className:"".concat(n,"-bottom-container")},i)))},Ez=Q$((function(e,t){var n=e.css,r=e.responsive,o=e.token,i=t.isEmpty,a=t.contentMaxWidth,s="rc-footer";return{container:n(Dz||(Dz=Ei(["\n grid-area: footer;\n align-self: stretch;\n\n color: ",";\n text-align: center;\n\n border-top: 1px solid ",";\n\n "," {\n flex-direction: column;\n border: none;\n }\n "])),o.colorTextDescription,o.colorSplit,r.mobile),footer:n(Sz||(Sz=Ei(["\n font-size: 14px;\n line-height: 1.5;\n color: ",";\n background-color: ",";\n\n &."," {\n a {\n color: ",";\n text-decoration: none;\n transition: all 0.3s;\n\n &:hover {\n color: ",";\n }\n }\n }\n\n ."," {\n &-container {\n width: 100%;\n max-width: ","px;\n margin: auto;\n padding: ",";\n }\n\n &-columns {\n display: flex;\n justify-content: space-around;\n }\n\n &-column {\n text-align: left;\n\n h2 {\n position: relative;\n\n margin: 0 auto;\n\n font-size: 16px;\n font-weight: 500;\n color: ",";\n }\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 22px;\n margin-inline-end: 0.5em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n }\n\n &-item {\n margin: 12px 0;\n\n &-icon {\n position: relative;\n top: -1px;\n\n display: inline-block;\n\n width: 16px;\n margin-inline-end: 0.4em;\n\n text-align: center;\n vertical-align: middle;\n\n > span,\n > svg,\n img {\n display: block;\n width: 100%;\n }\n }\n\n &-separator {\n margin: 0 0.3em;\n }\n }\n\n &-bottom {\n color: ",";\n\n &-container {\n width: 100%;\n max-width: ","px;\n margin: 0 auto;\n padding: 16px 0;\n\n line-height: 32px;\n text-align: center;\n }\n }\n\n &-light {\n color: rgba(0, 0, 0, 85%);\n background-color: transparent;\n\n h2,\n a {\n color: rgba(0, 0, 0, 85%);\n }\n }\n\n &-light &-bottom-container {\n border-top-color: #e8e8e8;\n }\n\n &-light &-item-separator,\n &-light &-item-description {\n color: rgba(0, 0, 0, 45%);\n }\n }\n\n "," {\n ."," {\n &-container {\n padding: 40px 0;\n }\n\n &-columns {\n display: block;\n }\n\n &-column {\n display: block;\n margin-bottom: 40px;\n text-align: center;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n }\n }\n "])),o.colorTextSecondary,o.colorBgLayout,s,o.colorTextTertiary,o.colorLinkHover,s,a,i?"0":"60px 0 20px",o.colorText,o.colorTextDescription,a,r.mobile,s)}}));const P6=u_.memo((function(e){var t=e.columns,n=e.bottom,r=e.theme,o=e.contentMaxWidth,i=Ez({contentMaxWidth:void 0===o?960:o,isEmpty:!t||0===(null==t?void 0:t.length)}).styles;return b_.jsx("section",{className:i.container,children:b_.jsx(xz,{bottom:n,className:i.footer,columns:t,theme:r})})}));jz=Q$((function(e,t){var n,r=e.css,o=e.cx,i=e.token,a=e.isDarkMode,s=e.responsive;return{footer:r(Oz||(Oz=Ei(["\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n "]))),formTitle:r(Pz||(Pz=Ei(["\n position: relative;\n\n display: flex;\n flex-direction: column;\n gap: 6px;\n\n text-align: left;\n\n > div {\n font-weight: 500;\n line-height: 1;\n }\n\n > small {\n display: block;\n\n line-height: 1;\n color: ",";\n word-wrap: break-word;\n white-space: pre-wrap;\n }\n\n .ant-tag {\n font-family: ",";\n }\n "])),i.colorTextDescription,i.fontFamilyCode),group:o(a&&r(Iz||(Iz=Ei(["\n .ant-collapse-content {\n background: transparent;\n }\n\n .ant-collapse-header {\n background: ",";\n }\n "])),i.colorFillTertiary),r(Nz||(Nz=Ei(["\n .ant-collapse-header {\n align-items: center !important;\n border-radius: 0 !important;\n }\n\n .ant-collapse-content-box {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n\n .ant-form-item-label {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n "])))),icon:r(Az||(Az=Ei(["\n transition: all 100ms ",";\n "])),i.motionEaseOut),item:r(Rz||(Rz=Ei(["\n padding: 8px 0;\n\n .ant-row {\n justify-content: space-between;\n\n > div {\n flex: unset !important;\n flex-grow: unset !important;\n }\n }\n\n .ant-form-item-required::before {\n align-self: flex-start;\n }\n\n ","\n\n "," {\n padding: 16px 0;\n\n .ant-row {\n flex-direction: column;\n gap: 4px;\n }\n\n .ant-form-item-control {\n flex: 1;\n width: 100%;\n }\n }\n "])),t&&r(Tz||(Tz=Ei(["\n .ant-form-item-control {\n width: ",";\n }\n "])),(n=t,"number"==typeof n||Em(n)&&"[object Number]"==Sm(n)?"".concat(t,"px"):t)),s.mobile),title:r($z||($z=Ei(["\n display: flex;\n gap: 8px;\n align-items: center;\n\n font-size: 16px;\n font-weight: 600;\n\n .anticon {\n color: ",";\n }\n "])),i.colorPrimary)}})),Fz=["className","children"];const I6=u_.memo((function(e){var t=e.className,n=e.children,r=Si(e,Fz),o=jz();return b_.jsx("div",Tf(Tf({className:(0,o.cx)(o.styles.footer,t)},r),{},{children:n}))}));Lz=["className","icon","title","children","extra"];const N6=u_.memo((function(e){var t=e.className,n=e.icon,r=e.title,o=e.children,i=e.extra,a=Si(e,Lz),s=jz(),l=s.styles;return b_.jsx(V3,function(e){var t,n;for(t=1;t label {\n height: unset;\n }\n\n .ant-row {\n position: relative;\n flex-wrap: nowrap;\n }\n\n .ant-form-item-label {\n position: relative;\n flex: 1;\n max-width: 100%;\n }\n\n .ant-form-item-control {\n position: relative;\n flex: 0;\n min-width: unset !important;\n }\n\n .ant-collapse-item {\n overflow: hidden !important;\n border-radius: ","px !important;\n }\n "])),n.borderRadius)}})),Vz=["className","itemMinWidth","footer","form","items","children"],(Gz=u_.forwardRef((function(e,t){var n=e.className,r=e.itemMinWidth,o=e.footer,i=e.form,a=e.items,s=e.children,l=Si(e,Vz),c=Wz();return b_.jsxs(i8,Bf(Bf({className:(0,c.cx)(c.styles.form,n),colon:!1,form:i,layout:"horizontal",ref:t},l),{},{children:[null==a?void 0:a.map((function(e,t){return b_.jsx(N6,{extra:null==e?void 0:e.extra,icon:null==e?void 0:e.icon,title:e.title,children:e.children.filter((function(e){return!e.hidden})).map((function(e,t){return b_.jsx(T6,Bf({divider:0!==t,minWidth:r},e),t)}))},t)})),s,o&&b_.jsx(I6,{children:o})]}))}))).Item=T6,Gz.Group=N6;const $6=Gz;qz={};const j6=b_,F6=u_;Kz=function({id:e,host:t,repo:n,repoId:r,category:o,categoryId:i,mapping:a,term:s,strict:l,reactionsEnabled:c,emitMetadata:u,inputPosition:p,theme:d,lang:m,loading:f}){const[g,h]=F6.useState(!1);return F6.useEffect((()=>{g||(Promise.resolve().then((()=>(Xz||(Xz=1,function(t){function n(e,t,r=e,o){var i,a,s,l;if(t===Y)return t;let c=void 0!==o?null===(i=r._$Co)||void 0===i?void 0:i[o]:r._$Cl;const u=M(t)?void 0:t._$litDirective$;return(null==c?void 0:c.constructor)!==u&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===u?c=void 0:(c=new u(e),c._$AT(e,r,o)),void 0!==o?(null!==(s=(l=r)._$Co)&&void 0!==s?s:l._$Co=[])[o]=c:r._$Cl=c),void 0!==c&&(t=n(e,c._$AS(e,t.values),c,o)),t}function r(e){return(t,n)=>void 0!==n?((e,t,n)=>{t.constructor.createProperty(n,e)})(e,t,n):pe(e,t)}function i(e){void 0!==this._$AN?(fe(this),this._$AM=e,ge(this)):this._$AM=e}function a(e,t=!1,n=0){const r=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(t)if(Array.isArray(r))for(let i=n;ie:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const n of e.cssRules)t+=n.cssText;return(e=>new v("string"==typeof e?e:e+"",void 0,b))(t)})(e):e,w=window,C=w.trustedTypes,k=C?C.emptyScript:"",x=w.reactiveElementPolyfillSupport,D={toAttribute(e,t){switch(t){case Boolean:e=e?k:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=null!==e;break;case Number:n=null===e?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},S=(e,t)=>t!==e&&(t==t||e==e),E={attribute:!0,type:String,converter:D,reflect:!1,hasChanged:S},O="finalized";let P=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,n)=>{const r=this._$Ep(n,t);void 0!==r&&(this._$Ev.set(r,n),e.push(r))})),e}static createProperty(e,t=E){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const n="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){return{get(){return this[t]},set(r){const o=this[e];this[t]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||E}static finalize(){if(this.hasOwnProperty(O))return!1;this[O]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const n of t)this.createProperty(n,e[n])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const e of n)t.unshift(y(e))}else void 0!==e&&t.push(y(e));return t}static _$Ep(e,t){const n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,n;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(n=e.hostConnected)||void 0===n||n.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{h?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const n=document.createElement("style"),r=f.litNonce;void 0!==r&&n.setAttribute("nonce",r),n.textContent=t.cssText,e.appendChild(n)}))})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t,n=E){var r;const o=this.constructor._$Ep(e,n);if(void 0!==o&&!0===n.reflect){const i=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:D).toAttribute(t,n.type);this._$El=e,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$El=null}}_$AK(e,t){var n;const r=this.constructor,o=r._$Ev.get(e);if(void 0!==o&&this._$El!==o){const e=r.getPropertyOptions(o),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(n=e.converter)||void 0===n?void 0:n.fromAttribute)?e.converter:D;this._$El=o,this[o]=i.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,n){let r=!0;void 0!==e&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||S)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===n.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(g){Promise.reject(g)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$Ek()}catch(o){throw t=!1,this._$Ek(),o}t&&this._$AE(n)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};P[O]=!0,P.elementProperties=new Map,P.elementStyles=[],P.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:P}),(null!==(s=w.reactiveElementVersions)&&void 0!==s?s:w.reactiveElementVersions=[]).push("1.6.2");const I=window,N=I.trustedTypes,A=N?N.createPolicy("lit-html",{createHTML:e=>e}):void 0,R="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,$="?"+T,j=`<${$}>`,F=document,L=()=>F.createComment(""),M=e=>null===e||"object"!=typeof e&&"function"!=typeof e,U=Array.isArray,B="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,W=/>/g,V=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,q=/"/g,X=/^(?:script|style|textarea|title)$/i,K=(e,...t)=>({_$litType$:1,strings:e,values:t}),Y=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),J=new WeakMap,Z=F.createTreeWalker(F,129,null,!1);class ee{constructor({strings:e,_$litType$:t},n){let r;this.parts=[];let o=0,i=0;const a=e.length-1,s=this.parts,[l,c]=((e,t)=>{const n=e.length-1,r=[];let o,i=2===t?"":"",a=H;for(let l=0;l"===s[0]?(a=o??H,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,n=s[1],a=void 0===s[3]?V:'"'===s[3]?q:G):a===q||a===G?a=V:a===z||a===W?a=H:(a=V,o=void 0);const p=a===V&&e[l+1].startsWith("/>")?" ":"";i+=a===H?t+j:c>=0?(r.push(n),t.slice(0,c)+R+t.slice(c)+T+p):t+T+(-2===c?(r.push(void 0),l):p)}const s=i+(e[n]||"")+(2===t?"":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==A?A.createHTML(s):s,r]})(e,t);if(this.el=ee.createElement(l,n),Z.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=Z.nextNode())&&s.length0){r.textContent=N?N.emptyScript:"";for(let n=0;nU(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Q&&M(this._$AH)?this._$AA.nextSibling.data=e:this.$(F.createTextNode(e)),this._$AH=e}g(e){var t;const{values:n,_$litType$:r}=e,o="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=ee.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===o)this._$AH.v(n);else{const e=new class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:n},parts:r}=this._$AD,o=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:F).importNode(n,!0);Z.currentNode=o;let i=Z.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let t;2===l.type?t=new te(i,i.nextSibling,this,e):1===l.type?t=new l.ctor(i,l.name,l.strings,this,e):6===l.type&&(t=new se(i,this,e)),this._$AV.push(t),l=r[++s]}a!==(null==l?void 0:l.index)&&(i=Z.nextNode(),a++)}return Z.currentNode=F,o}v(e){let t=0;for(const n of this._$AV)void 0!==n&&(void 0!==n.strings?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}}(o,this),t=e.u(this.options);e.v(n),this.$(t),this._$AH=e}}_$AC(e){let t=J.get(e.strings);return void 0===t&&J.set(e.strings,t=new ee(e)),t}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let n,r=0;for(const o of e)r===t.length?t.push(n=new te(this.k(L()),this.k(L()),this,this.options)):n=t[r],n._$AI(o),r++;r2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,o){const i=this.strings;let a=!1;if(void 0===i)e=n(this,e,t,0),a=!M(e)||e!==this._$AH&&e!==Y,a&&(this._$AH=e);else{const o=e;let s,l;for(e=i[0],s=0;s{var r,o;const i=null!==(r=null==n?void 0:n.renderBefore)&&void 0!==r?r:t;let a=i._$litPart$;if(void 0===a){const e=null!==(o=null==n?void 0:n.renderBefore)&&void 0!==o?o:null;i._$litPart$=a=new te(t.insertBefore(L(),e),e,void 0,n??{})}return a._$AI(e),a})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return Y}};ce.finalized=!0,ce._$litElement$=!0,null===(c=globalThis.litElementHydrateSupport)||void 0===c||c.call(globalThis,{LitElement:ce});const ue=globalThis.litElementPolyfillSupport;null==ue||ue({LitElement:ce}),(null!==(u=globalThis.litElementVersions)&&void 0!==u?u:globalThis.litElementVersions=[]).push("3.3.2");const pe=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}};window;let de=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};const me=(e,t)=>{var n,r;const o=e._$AN;if(void 0===o)return!1;for(const i of o)null===(r=(n=i)._$AO)||void 0===r||r.call(n,t,!1),me(i,t);return!0},fe=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===(null==n?void 0:n.size))},ge=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),he(t)}},he=e=>{var t,n,r,o;2==e.type&&(null!==(t=(r=e)._$AP)&&void 0!==t||(r._$AP=a),null!==(n=(o=e)._$AQ)&&void 0!==n||(o._$AQ=i))};class be extends de{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),ge(this),this.isConnected=e._$AU}_$AO(e,t=!0){var n,r;e!==this.isConnected&&(this.isConnected=e,e?null===(n=this.reconnected)||void 0===n||n.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),t&&(me(this,e),fe(this))}setValue(e){if((()=>void 0===this._$Ct.strings)())this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}class _e{}const ve=new WeakMap,ye=(e=>(...t)=>({_$litDirective$:e,values:t}))(class extends be{render(e){return Q}update(e,[t]){var n;const r=t!==this.G;return r&&void 0!==this.G&&this.ot(void 0),(r||this.rt!==this.lt)&&(this.G=t,this.ct=null===(n=e.options)||void 0===n?void 0:n.host,this.ot(this.lt=e.element)),Q}ot(e){var t;if("function"==typeof this.G){const n=null!==(t=this.ct)&&void 0!==t?t:globalThis;let r=ve.get(n);void 0===r&&(r=new WeakMap,ve.set(n,r)),void 0!==r.get(this.G)&&this.G.call(this.ct,void 0),r.set(this.G,e),void 0!==e&&this.G.call(this.ct,e)}else this.G.value=e}get rt(){var e,t,n;return"function"==typeof this.G?null===(t=ve.get(null!==(e=this.ct)&&void 0!==e?e:globalThis))||void 0===t?void 0:t.get(this.G):null===(n=this.G)||void 0===n?void 0:n.value}disconnected(){this.rt===this.lt&&this.ot(void 0)}reconnected(){this.ot(this.lt)}});p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,m=(e,t,n,r)=>{for(var o,i=r>1?void 0:r?d(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&p(t,n,i),i},t.GiscusWidget=class extends ce{constructor(){super(),this.GISCUS_SESSION_KEY="giscus-session",this.GISCUS_DEFAULT_HOST="https://giscus.app",this.ERROR_SUGGESTION="Please consider reporting this error at https://github.com/giscus/giscus/issues/new.",this.__session="",this._iframeRef=new _e,this.messageEventHandler=this.handleMessageEvent.bind(this),this.hasLoaded=!1,this.host=this.GISCUS_DEFAULT_HOST,this.strict="0",this.reactionsEnabled="1",this.emitMetadata="0",this.inputPosition="bottom",this.theme="light",this.lang="en",this.loading="eager",this.setupSession(),window.addEventListener("message",this.messageEventHandler)}get iframeRef(){var e;return null==(e=this._iframeRef)?void 0:e.value}get _host(){try{return new URL(this.host),this.host}catch{return this.GISCUS_DEFAULT_HOST}}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("message",this.messageEventHandler)}_formatError(e){return`[giscus] An error occurred. Error message: "${e}".`}setupSession(){const t=location.href,n=new URL(t),r=localStorage.getItem(this.GISCUS_SESSION_KEY),o=n.searchParams.get("giscus")||"";if(this.__session="",o)return localStorage.setItem(this.GISCUS_SESSION_KEY,JSON.stringify(o)),this.__session=o,n.searchParams.delete("giscus"),n.hash="",void history.replaceState(void 0,document.title,n.toString());if(r)try{this.__session=JSON.parse(r)}catch(e){localStorage.removeItem(this.GISCUS_SESSION_KEY)}}signOut(){localStorage.removeItem(this.GISCUS_SESSION_KEY),this.__session="",this.update(new Map)}handleMessageEvent(e){if(e.origin!==this._host)return;const{data:t}=e;if("object"!=typeof t||!t.giscus)return;if(this.iframeRef&&t.giscus.resizeHeight&&(this.iframeRef.style.height=`${t.giscus.resizeHeight}px`),t.giscus.signOut)return void this.signOut();if(!t.giscus.error)return;const n=t.giscus.error;(n.includes("Bad credentials")||n.includes("Invalid state value")||n.includes("State has expired"))&&null!==localStorage.getItem(this.GISCUS_SESSION_KEY)?this.signOut():n.includes("Discussion not found")}sendMessage(e){!this.iframeRef||!this.iframeRef.contentWindow||!this.hasLoaded||this.iframeRef.contentWindow.postMessage({giscus:e},this._host)}updateConfig(){const e={setConfig:{repo:this.repo,repoId:this.repoId,category:this.category,categoryId:this.categoryId,term:this.getTerm(),number:+this.getNumber(),strict:"1"===this.strict,reactionsEnabled:"1"===this.reactionsEnabled,emitMetadata:"1"===this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,lang:this.lang}};this.sendMessage(e)}firstUpdated(){var e;null==(e=this.iframeRef)||e.addEventListener("load",(()=>{var e;null==(e=this.iframeRef)||e.classList.remove("loading"),this.hasLoaded=!0,this.updateConfig()}))}requestUpdate(e,t,n){this.hasUpdated&&"host"!==e?this.updateConfig():super.requestUpdate(e,t,n)}getMetaContent(e,t=!1){const n=document.querySelector((t?`meta[property='og:${e}'],`:"")+`meta[name='${e}']`);return n?n.content:""}_getCleanedUrl(){const e=new URL(location.href);return e.searchParams.delete("giscus"),e.hash="",e}getTerm(){switch(this.mapping){case"url":return`${this._getCleanedUrl()}`;case"title":return document.title;case"og:title":return this.getMetaContent("title",!0);case"specific":return this.term||"";case"number":return"";default:return location.pathname.length<2?"index":location.pathname.substring(1).replace(/\.\w+$/,"")}}getNumber(){return"number"===this.mapping&&this.term||""}getIframeSrc(){const e=this._getCleanedUrl().toString(),t=`${e}${this.id?"#"+this.id:""}`,n=this.getMetaContent("description",!0),r=this.getMetaContent("giscus:backlink")||e,o={origin:t,session:this.__session,repo:this.repo,repoId:this.repoId||"",category:this.category||"",categoryId:this.categoryId||"",term:this.getTerm(),number:this.getNumber(),strict:this.strict,reactionsEnabled:this.reactionsEnabled,emitMetadata:this.emitMetadata,inputPosition:this.inputPosition,theme:this.theme,description:n,backLink:r};return`${this._host}${this.lang?`/${this.lang}`:""}/widget?${new URLSearchParams(o)}`}render(){return K`