function _mergeNamespaces(o,i){for(var a=0;as[_]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}function getDefaultExportFromCjs(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var l$2=Symbol.for("react.element"),n$2=Symbol.for("react.portal"),p$3=Symbol.for("react.fragment"),q$2=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t$1=Symbol.for("react.provider"),u$1=Symbol.for("react.context"),v$2=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z$1=Symbol.iterator;function A$1(o){return o===null||typeof o!="object"?null:(o=z$1&&o[z$1]||o["@@iterator"],typeof o=="function"?o:null)}var B$1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$1=Object.assign,D$1={};function E$1(o,i,a){this.props=o,this.context=i,this.refs=D$1,this.updater=a||B$1}E$1.prototype.isReactComponent={};E$1.prototype.setState=function(o,i){if(typeof o!="object"&&typeof o!="function"&&o!=null)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,o,i,"setState")};E$1.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function F(){}F.prototype=E$1.prototype;function G$1(o,i,a){this.props=o,this.context=i,this.refs=D$1,this.updater=a||B$1}var H$1=G$1.prototype=new F;H$1.constructor=G$1;C$1(H$1,E$1.prototype);H$1.isPureReactComponent=!0;var I$1=Array.isArray,J=Object.prototype.hasOwnProperty,K$1={current:null},L$1={key:!0,ref:!0,__self:!0,__source:!0};function M$1(o,i,a){var s,_={},j=null,_e=null;if(i!=null)for(s in i.ref!==void 0&&(_e=i.ref),i.key!==void 0&&(j=""+i.key),i)J.call(i,s)&&!L$1.hasOwnProperty(s)&&(_[s]=i[s]);var et=arguments.length-2;if(et===1)_.children=a;else if(1>>1,Tt=ct[Et];if(0<_(Tt,yt))ct[Et]=yt,ct[_t]=Tt,_t=Et;else break e}}function a(ct){return ct.length===0?null:ct[0]}function s(ct){if(ct.length===0)return null;var yt=ct[0],_t=ct.pop();if(_t!==yt){ct[0]=_t;e:for(var Et=0,Tt=ct.length,At=Tt>>>1;Et_(Dt,_t))It_(Bt,Dt)?(ct[Et]=Bt,ct[It]=_t,Et=It):(ct[Et]=Dt,ct[Ot]=_t,Et=Ot);else if(It_(Bt,_t))ct[Et]=Bt,ct[It]=_t,Et=It;else break e}}return yt}function _(ct,yt){var _t=ct.sortIndex-yt.sortIndex;return _t!==0?_t:ct.id-yt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var j=performance;o.unstable_now=function(){return j.now()}}else{var _e=Date,et=_e.now();o.unstable_now=function(){return _e.now()-et}}var tt=[],rt=[],nt=1,at=null,it=3,ut=!1,pt=!1,ft=!1,xt=typeof setTimeout=="function"?setTimeout:null,lt=typeof clearTimeout=="function"?clearTimeout:null,ot=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function st(ct){for(var yt=a(rt);yt!==null;){if(yt.callback===null)s(rt);else if(yt.startTime<=ct)s(rt),yt.sortIndex=yt.expirationTime,i(tt,yt);else break;yt=a(rt)}}function dt(ct){if(ft=!1,st(ct),!pt)if(a(tt)!==null)pt=!0,St(gt);else{var yt=a(rt);yt!==null&&vt(dt,yt.startTime-ct)}}function gt(ct,yt){pt=!1,ft&&(ft=!1,lt(Ct),Ct=-1),ut=!0;var _t=it;try{for(st(yt),at=a(tt);at!==null&&(!(at.expirationTime>yt)||ct&&!bt());){var Et=at.callback;if(typeof Et=="function"){at.callback=null,it=at.priorityLevel;var Tt=Et(at.expirationTime<=yt);yt=o.unstable_now(),typeof Tt=="function"?at.callback=Tt:at===a(tt)&&s(tt),st(yt)}else s(tt);at=a(tt)}if(at!==null)var At=!0;else{var Ot=a(rt);Ot!==null&&vt(dt,Ot.startTime-yt),At=!1}return At}finally{at=null,it=_t,ut=!1}}var ht=!1,mt=null,Ct=-1,kt=5,$t=-1;function bt(){return!(o.unstable_now()-$tct||125Et?(ct.sortIndex=_t,i(rt,ct),a(tt)===null&&ct===a(rt)&&(ft?(lt(Ct),Ct=-1):ft=!0,vt(dt,_t-Et))):(ct.sortIndex=Tt,i(tt,ct),pt||ut||(pt=!0,St(gt))),ct},o.unstable_shouldYield=bt,o.unstable_wrapCallback=function(ct){var yt=it;return function(){var _t=it;it=yt;try{return ct.apply(this,arguments)}finally{it=_t}}}})(scheduler_production_min);scheduler.exports=scheduler_production_min;var schedulerExports=scheduler.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var aa=reactExports,ca=schedulerExports;function p$1(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,a=1;a"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka=/^[: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]*$/,la={},ma={};function oa(o){return ja.call(ma,o)?!0:ja.call(la,o)?!1:ka.test(o)?ma[o]=!0:(la[o]=!0,!1)}function pa(o,i,a,s){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return s?!1:a!==null?!a.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function qa(o,i,a,s){if(i===null||typeof i>"u"||pa(o,i,a,s))return!0;if(s)return!1;if(a!==null)switch(a.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function v$1(o,i,a,s,_,j,_e){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=s,this.attributeNamespace=_,this.mustUseProperty=a,this.propertyName=o,this.type=i,this.sanitizeURL=j,this.removeEmptyString=_e}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){z[o]=new v$1(o,0,!1,o,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];z[i]=new v$1(i,1,!1,o[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(o){z[o]=new v$1(o,2,!1,o.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){z[o]=new v$1(o,2,!1,o,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(o){z[o]=new v$1(o,3,!1,o.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(o){z[o]=new v$1(o,3,!0,o,null,!1,!1)});["capture","download"].forEach(function(o){z[o]=new v$1(o,4,!1,o,null,!1,!1)});["cols","rows","size","span"].forEach(function(o){z[o]=new v$1(o,6,!1,o,null,!1,!1)});["rowSpan","start"].forEach(function(o){z[o]=new v$1(o,5,!1,o.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(o){return o[1].toUpperCase()}"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(o){var i=o.replace(ra,sa);z[i]=new v$1(i,1,!1,o,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(ra,sa);z[i]=new v$1(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(ra,sa);z[i]=new v$1(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(o){z[o]=new v$1(o,1,!1,o.toLowerCase(),null,!1,!1)});z.xlinkHref=new v$1("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(o){z[o]=new v$1(o,1,!1,o.toLowerCase(),null,!0,!0)});function ta(o,i,a,s){var _=z.hasOwnProperty(i)?z[i]:null;(_!==null?_.type!==0:s||!(2et||_[_e]!==j[et]){var tt=` `+_[_e].replace(" at new "," at ");return o.displayName&&tt.includes("")&&(tt=tt.replace("",o.displayName)),tt}while(1<=_e&&0<=et);break}}}finally{Na=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?Ma(o):""}function Pa(o){switch(o.tag){case 5:return Ma(o.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return o=Oa(o.type,!1),o;case 11:return o=Oa(o.type.render,!1),o;case 1:return o=Oa(o.type,!0),o;default:return""}}function Qa(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Ca:return(o.displayName||"Context")+".Consumer";case Ba:return(o._context.displayName||"Context")+".Provider";case Da:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case Ga:return i=o.displayName||null,i!==null?i:Qa(o.type)||"Memo";case Ha:i=o._payload,o=o._init;try{return Qa(o(i))}catch{}}return null}function Ra(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(i);case 8:return i===za?"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(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Sa(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Ta(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ua(o){var i=Ta(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),s=""+o[i];if(!o.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var _=a.get,j=a.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return _.call(this)},set:function(_e){s=""+_e,j.call(this,_e)}}),Object.defineProperty(o,i,{enumerable:a.enumerable}),{getValue:function(){return s},setValue:function(_e){s=""+_e},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Va(o){o._valueTracker||(o._valueTracker=Ua(o))}function Wa(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var a=i.getValue(),s="";return o&&(s=Ta(o)?o.checked?"true":"false":o.value),o=s,o!==a?(i.setValue(o),!0):!1}function Xa(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Ya(o,i){var a=i.checked;return A({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function Za(o,i){var a=i.defaultValue==null?"":i.defaultValue,s=i.checked!=null?i.checked:i.defaultChecked;a=Sa(i.value!=null?i.value:a),o._wrapperState={initialChecked:s,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function ab(o,i){i=i.checked,i!=null&&ta(o,"checked",i,!1)}function bb(o,i){ab(o,i);var a=Sa(i.value),s=i.type;if(a!=null)s==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(s==="submit"||s==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?cb(o,i.type,a):i.hasOwnProperty("defaultValue")&&cb(o,i.type,Sa(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function db(o,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var s=i.type;if(!(s!=="submit"&&s!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,a||i===o.value||(o.value=i),o.defaultValue=i}a=o.name,a!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,a!==""&&(o.name=a)}function cb(o,i,a){(i!=="number"||Xa(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var eb=Array.isArray;function fb(o,i,a,s){if(o=o.options,i){i={};for(var _=0;_"+i.valueOf().toString()+"",i=mb.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function ob(o,i){if(i){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=i;return}}o.textContent=i}var pb={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},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function(o){qb.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),pb[i]=pb[o]})});function rb(o,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||pb.hasOwnProperty(o)&&pb[o]?(""+i).trim():i+"px"}function sb(o,i){o=o.style;for(var a in i)if(i.hasOwnProperty(a)){var s=a.indexOf("--")===0,_=rb(a,i[a],s);a==="float"&&(a="cssFloat"),s?o.setProperty(a,_):o[a]=_}}var tb=A({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});function ub(o,i){if(i){if(tb[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(p$1(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(p$1(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(p$1(61))}if(i.style!=null&&typeof i.style!="object")throw Error(p$1(62))}}function vb(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wb=null;function xb(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var yb=null,zb=null,Ab=null;function Bb(o){if(o=Cb(o)){if(typeof yb!="function")throw Error(p$1(280));var i=o.stateNode;i&&(i=Db(i),yb(o.stateNode,o.type,i))}}function Eb(o){zb?Ab?Ab.push(o):Ab=[o]:zb=o}function Fb(){if(zb){var o=zb,i=Ab;if(Ab=zb=null,Bb(o),i)for(o=0;o>>=0,o===0?32:31-(pc(o)/qc|0)|0}var rc=64,sc=4194304;function tc(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;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:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function uc(o,i){var a=o.pendingLanes;if(a===0)return 0;var s=0,_=o.suspendedLanes,j=o.pingedLanes,_e=a&268435455;if(_e!==0){var et=_e&~_;et!==0?s=tc(et):(j&=_e,j!==0&&(s=tc(j)))}else _e=a&~_,_e!==0?s=tc(_e):j!==0&&(s=tc(j));if(s===0)return 0;if(i!==0&&i!==s&&!(i&_)&&(_=s&-s,j=i&-i,_>=j||_===16&&(j&4194240)!==0))return i;if(s&4&&(s|=a&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=s;0a;a++)i.push(o);return i}function Ac(o,i,a){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-oc(i),o[i]=a}function Bc(o,i){var a=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var s=o.eventTimes;for(o=o.expirationTimes;0=be),ee=" ",fe=!1;function ge(o,i){switch(o){case"keyup":return $d.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ie=!1;function je(o,i){switch(o){case"compositionend":return he(i);case"keypress":return i.which!==32?null:(fe=!0,ee);case"textInput":return o=i.data,o===ee&&fe?null:o;default:return null}}function ke(o,i){if(ie)return o==="compositionend"||!ae&&ge(o,i)?(o=nd(),md=ld=kd=null,ie=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:a,offset:i-o};o=s}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Je(a)}}function Le(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?Le(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function Me(){for(var o=window,i=Xa();i instanceof o.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)o=i.contentWindow;else break;i=Xa(o.document)}return i}function Ne(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function Oe(o){var i=Me(),a=o.focusedElem,s=o.selectionRange;if(i!==a&&a&&a.ownerDocument&&Le(a.ownerDocument.documentElement,a)){if(s!==null&&Ne(a)){if(i=s.start,o=s.end,o===void 0&&(o=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(o,a.value.length);else if(o=(i=a.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var _=a.textContent.length,j=Math.min(s.start,_);s=s.end===void 0?j:Math.min(s.end,_),!o.extend&&j>s&&(_=s,s=j,j=_),_=Ke(a,j);var _e=Ke(a,s);_&&_e&&(o.rangeCount!==1||o.anchorNode!==_.node||o.anchorOffset!==_.offset||o.focusNode!==_e.node||o.focusOffset!==_e.offset)&&(i=i.createRange(),i.setStart(_.node,_.offset),o.removeAllRanges(),j>s?(o.addRange(i),o.extend(_e.node,_e.offset)):(i.setEnd(_e.node,_e.offset),o.addRange(i)))}}for(i=[],o=a;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(o,i,a){var s=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Te||Qe==null||Qe!==Xa(s)||(s=Qe,"selectionStart"in s&&Ne(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Se&&Ie(Se,s)||(Se=s,s=oe(Re,"onSelect"),0Tf||(o.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(o,i){Tf++,Sf[Tf]=o.current,o.current=i}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(o,i){var a=o.type.contextTypes;if(!a)return Vf;var s=o.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===i)return s.__reactInternalMemoizedMaskedChildContext;var _={},j;for(j in a)_[j]=i[j];return s&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=_),_}function Zf(o){return o=o.childContextTypes,o!=null}function $f(){E(Wf),E(H)}function ag(o,i,a){if(H.current!==Vf)throw Error(p$1(168));G(H,i),G(Wf,a)}function bg(o,i,a){var s=o.stateNode;if(i=i.childContextTypes,typeof s.getChildContext!="function")return a;s=s.getChildContext();for(var _ in s)if(!(_ in i))throw Error(p$1(108,Ra(o)||"Unknown",_));return A({},a,s)}function cg(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Vf,Xf=H.current,G(H,o),G(Wf,Wf.current),!0}function dg(o,i,a){var s=o.stateNode;if(!s)throw Error(p$1(169));a?(o=bg(o,i,Xf),s.__reactInternalMemoizedMergedChildContext=o,E(Wf),E(H),G(H,o)):E(Wf),G(Wf,a)}var eg=null,fg=!1,gg=!1;function hg(o){eg===null?eg=[o]:eg.push(o)}function ig(o){fg=!0,hg(o)}function jg(){if(!gg&&eg!==null){gg=!0;var o=0,i=C;try{var a=eg;for(C=1;o>=_e,_-=_e,rg=1<<32-oc(i)+_|a<<_|s,sg=j+o}else rg=1<Ct?(kt=mt,mt=null):kt=mt.sibling;var $t=it(lt,mt,st[Ct],dt);if($t===null){mt===null&&(mt=kt);break}o&&mt&&$t.alternate===null&&i(lt,mt),ot=j($t,ot,Ct),ht===null?gt=$t:ht.sibling=$t,ht=$t,mt=kt}if(Ct===st.length)return a(lt,mt),I&&tg(lt,Ct),gt;if(mt===null){for(;CtCt?(kt=mt,mt=null):kt=mt.sibling;var bt=it(lt,mt,$t.value,dt);if(bt===null){mt===null&&(mt=kt);break}o&&mt&&bt.alternate===null&&i(lt,mt),ot=j(bt,ot,Ct),ht===null?gt=bt:ht.sibling=bt,ht=bt,mt=kt}if($t.done)return a(lt,mt),I&&tg(lt,Ct),gt;if(mt===null){for(;!$t.done;Ct++,$t=st.next())$t=at(lt,$t.value,dt),$t!==null&&(ot=j($t,ot,Ct),ht===null?gt=$t:ht.sibling=$t,ht=$t);return I&&tg(lt,Ct),gt}for(mt=s(lt,mt);!$t.done;Ct++,$t=st.next())$t=ut(mt,lt,Ct,$t.value,dt),$t!==null&&(o&&$t.alternate!==null&&mt.delete($t.key===null?Ct:$t.key),ot=j($t,ot,Ct),ht===null?gt=$t:ht.sibling=$t,ht=$t);return o&&mt.forEach(function(jt){return i(lt,jt)}),I&&tg(lt,Ct),gt}function xt(lt,ot,st,dt){if(typeof st=="object"&&st!==null&&st.type===ya&&st.key===null&&(st=st.props.children),typeof st=="object"&&st!==null){switch(st.$$typeof){case va:e:{for(var gt=st.key,ht=ot;ht!==null;){if(ht.key===gt){if(gt=st.type,gt===ya){if(ht.tag===7){a(lt,ht.sibling),ot=_(ht,st.props.children),ot.return=lt,lt=ot;break e}}else if(ht.elementType===gt||typeof gt=="object"&>!==null&>.$$typeof===Ha&&uh(gt)===ht.type){a(lt,ht.sibling),ot=_(ht,st.props),ot.ref=sh(lt,ht,st),ot.return=lt,lt=ot;break e}a(lt,ht);break}else i(lt,ht);ht=ht.sibling}st.type===ya?(ot=Ah(st.props.children,lt.mode,dt,st.key),ot.return=lt,lt=ot):(dt=yh(st.type,st.key,st.props,null,lt.mode,dt),dt.ref=sh(lt,ot,st),dt.return=lt,lt=dt)}return _e(lt);case wa:e:{for(ht=st.key;ot!==null;){if(ot.key===ht)if(ot.tag===4&&ot.stateNode.containerInfo===st.containerInfo&&ot.stateNode.implementation===st.implementation){a(lt,ot.sibling),ot=_(ot,st.children||[]),ot.return=lt,lt=ot;break e}else{a(lt,ot);break}else i(lt,ot);ot=ot.sibling}ot=zh(st,lt.mode,dt),ot.return=lt,lt=ot}return _e(lt);case Ha:return ht=st._init,xt(lt,ot,ht(st._payload),dt)}if(eb(st))return pt(lt,ot,st,dt);if(Ka(st))return ft(lt,ot,st,dt);th(lt,st)}return typeof st=="string"&&st!==""||typeof st=="number"?(st=""+st,ot!==null&&ot.tag===6?(a(lt,ot.sibling),ot=_(ot,st),ot.return=lt,lt=ot):(a(lt,ot),ot=xh(st,lt.mode,dt),ot.return=lt,lt=ot),_e(lt)):a(lt,ot)}return xt}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(o){if(o===Dh)throw Error(p$1(174));return o}function Ih(o,i){switch(G(Gh,i),G(Fh,o),G(Eh,Dh),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:lb(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=lb(i,o)}E(Eh),G(Eh,i)}function Jh(){E(Eh),E(Fh),E(Gh)}function Kh(o){Hh(Gh.current);var i=Hh(Eh.current),a=lb(i,o.type);i!==a&&(G(Fh,o),G(Eh,a))}function Lh(o){Fh.current===o&&(E(Eh),E(Fh))}var M=Uf(0);function Mh(o){for(var i=o;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Nh=[];function Oh(){for(var o=0;oa?a:4,o(!0);var s=Qh.transition;Qh.transition={};try{o(!1),i()}finally{C=a,Qh.transition=s}}function Fi(){return di().memoizedState}function Gi(o,i,a){var s=lh(o);if(a={lane:s,action:a,hasEagerState:!1,eagerState:null,next:null},Hi(o))Ii(i,a);else if(a=Yg(o,i,a,s),a!==null){var _=L();mh(a,o,s,_),Ji(a,i,s)}}function ri(o,i,a){var s=lh(o),_={lane:s,action:a,hasEagerState:!1,eagerState:null,next:null};if(Hi(o))Ii(i,_);else{var j=o.alternate;if(o.lanes===0&&(j===null||j.lanes===0)&&(j=i.lastRenderedReducer,j!==null))try{var _e=i.lastRenderedState,et=j(_e,a);if(_.hasEagerState=!0,_.eagerState=et,He(et,_e)){var tt=i.interleaved;tt===null?(_.next=_,Xg(i)):(_.next=tt.next,tt.next=_),i.interleaved=_;return}}catch{}finally{}a=Yg(o,i,_,s),a!==null&&(_=L(),mh(a,o,s,_),Ji(a,i,s))}}function Hi(o){var i=o.alternate;return o===N||i!==null&&i===N}function Ii(o,i){Th=Sh=!0;var a=o.pending;a===null?i.next=i:(i.next=a.next,a.next=i),o.pending=i}function Ji(o,i,a){if(a&4194240){var s=i.lanes;s&=o.pendingLanes,a|=s,i.lanes=a,Cc(o,a)}}var ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(o,i){return ci().memoizedState=[o,i===void 0?null:i],o},useContext:Vg,useEffect:vi,useImperativeHandle:function(o,i,a){return a=a!=null?a.concat([o]):null,ti(4194308,4,yi.bind(null,i,o),a)},useLayoutEffect:function(o,i){return ti(4194308,4,o,i)},useInsertionEffect:function(o,i){return ti(4,2,o,i)},useMemo:function(o,i){var a=ci();return i=i===void 0?null:i,o=o(),a.memoizedState=[o,i],o},useReducer:function(o,i,a){var s=ci();return i=a!==void 0?a(i):i,s.memoizedState=s.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},s.queue=o,o=o.dispatch=Gi.bind(null,N,o),[s.memoizedState,o]},useRef:function(o){var i=ci();return o={current:o},i.memoizedState=o},useState:qi,useDebugValue:Ai,useDeferredValue:function(o){return ci().memoizedState=o},useTransition:function(){var o=qi(!1),i=o[0];return o=Ei.bind(null,o[1]),ci().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,a){var s=N,_=ci();if(I){if(a===void 0)throw Error(p$1(407));a=a()}else{if(a=i(),R===null)throw Error(p$1(349));Rh&30||ni(s,i,a)}_.memoizedState=a;var j={value:a,getSnapshot:i};return _.queue=j,vi(ki.bind(null,s,j,o),[o]),s.flags|=2048,li(9,mi.bind(null,s,j,a,i),void 0,null),a},useId:function(){var o=ci(),i=R.identifierPrefix;if(I){var a=sg,s=rg;a=(s&~(1<<32-oc(s)-1)).toString(32)+a,i=":"+i+"R"+a,a=Uh++,0<\/script>",o=o.removeChild(o.firstChild)):typeof s.is=="string"?o=_e.createElement(a,{is:s.is}):(o=_e.createElement(a),a==="select"&&(_e=o,s.multiple?_e.multiple=!0:s.size&&(_e.size=s.size))):o=_e.createElementNS(o,a),o[Of]=i,o[Pf]=s,Aj(o,i,!1,!1),i.stateNode=o;e:{switch(_e=vb(a,s),a){case"dialog":D("cancel",o),D("close",o),_=s;break;case"iframe":case"object":case"embed":D("load",o),_=s;break;case"video":case"audio":for(_=0;_Hj&&(i.flags|=128,s=!0,Ej(j,!1),i.lanes=4194304)}else{if(!s)if(o=Mh(_e),o!==null){if(i.flags|=128,s=!0,a=o.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),Ej(j,!0),j.tail===null&&j.tailMode==="hidden"&&!_e.alternate&&!I)return S(i),null}else 2*B()-j.renderingStartTime>Hj&&a!==1073741824&&(i.flags|=128,s=!0,Ej(j,!1),i.lanes=4194304);j.isBackwards?(_e.sibling=i.child,i.child=_e):(a=j.last,a!==null?a.sibling=_e:i.child=_e,j.last=_e)}return j.tail!==null?(i=j.tail,j.rendering=i,j.tail=i.sibling,j.renderingStartTime=B(),i.sibling=null,a=M.current,G(M,s?a&1|2:a&1),i):(S(i),null);case 22:case 23:return Ij(),s=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==s&&(i.flags|=8192),s&&i.mode&1?gj&1073741824&&(S(i),i.subtreeFlags&6&&(i.flags|=8192)):S(i),null;case 24:return null;case 25:return null}throw Error(p$1(156,i.tag))}function Jj(o,i){switch(wg(i),i.tag){case 1:return Zf(i.type)&&$f(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return Jh(),E(Wf),E(H),Oh(),o=i.flags,o&65536&&!(o&128)?(i.flags=o&-65537|128,i):null;case 5:return Lh(i),null;case 13:if(E(M),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(p$1(340));Ig()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(i.type._context),null;case 22:case 23:return Ij(),null;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Mj(o,i){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(s){W(o,i,s)}else a.current=null}function Nj(o,i,a){try{a()}catch(s){W(o,i,s)}}var Oj=!1;function Pj(o,i){if(Cf=dd,o=Me(),Ne(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var s=a.getSelection&&a.getSelection();if(s&&s.rangeCount!==0){a=s.anchorNode;var _=s.anchorOffset,j=s.focusNode;s=s.focusOffset;try{a.nodeType,j.nodeType}catch{a=null;break e}var _e=0,et=-1,tt=-1,rt=0,nt=0,at=o,it=null;t:for(;;){for(var ut;at!==a||_!==0&&at.nodeType!==3||(et=_e+_),at!==j||s!==0&&at.nodeType!==3||(tt=_e+s),at.nodeType===3&&(_e+=at.nodeValue.length),(ut=at.firstChild)!==null;)it=at,at=ut;for(;;){if(at===o)break t;if(it===a&&++rt===_&&(et=_e),it===j&&++nt===s&&(tt=_e),(ut=at.nextSibling)!==null)break;at=it,it=at.parentNode}at=ut}a=et===-1||tt===-1?null:{start:et,end:tt}}else a=null}a=a||{start:0,end:0}}else a=null;for(Df={focusedElem:o,selectionRange:a},dd=!1,V=i;V!==null;)if(i=V,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,V=o;else for(;V!==null;){i=V;try{var pt=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(pt!==null){var ft=pt.memoizedProps,xt=pt.memoizedState,lt=i.stateNode,ot=lt.getSnapshotBeforeUpdate(i.elementType===i.type?ft:Lg(i.type,ft),xt);lt.__reactInternalSnapshotBeforeUpdate=ot}break;case 3:var st=i.stateNode.containerInfo;st.nodeType===1?st.textContent="":st.nodeType===9&&st.documentElement&&st.removeChild(st.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$1(163))}}catch(dt){W(i,i.return,dt)}if(o=i.sibling,o!==null){o.return=i.return,V=o;break}V=i.return}return pt=Oj,Oj=!1,pt}function Qj(o,i,a){var s=i.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var _=s=s.next;do{if((_.tag&o)===o){var j=_.destroy;_.destroy=void 0,j!==void 0&&Nj(i,a,j)}_=_.next}while(_!==s)}}function Rj(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&o)===o){var s=a.create;a.destroy=s()}a=a.next}while(a!==i)}}function Sj(o){var i=o.ref;if(i!==null){var a=o.stateNode;switch(o.tag){case 5:o=a;break;default:o=a}typeof i=="function"?i(o):i.current=o}}function Tj(o){var i=o.alternate;i!==null&&(o.alternate=null,Tj(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Of],delete i[Pf],delete i[of],delete i[Qf],delete i[Rf])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Uj(o){return o.tag===5||o.tag===3||o.tag===4}function Vj(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Uj(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Wj(o,i,a){var s=o.tag;if(s===5||s===6)o=o.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(o,i):a.insertBefore(o,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(o,a)):(i=a,i.appendChild(o)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=Bf));else if(s!==4&&(o=o.child,o!==null))for(Wj(o,i,a),o=o.sibling;o!==null;)Wj(o,i,a),o=o.sibling}function Xj(o,i,a){var s=o.tag;if(s===5||s===6)o=o.stateNode,i?a.insertBefore(o,i):a.appendChild(o);else if(s!==4&&(o=o.child,o!==null))for(Xj(o,i,a),o=o.sibling;o!==null;)Xj(o,i,a),o=o.sibling}var X=null,Yj=!1;function Zj(o,i,a){for(a=a.child;a!==null;)ak(o,i,a),a=a.sibling}function ak(o,i,a){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,a)}catch{}switch(a.tag){case 5:U||Mj(a,i);case 6:var s=X,_=Yj;X=null,Zj(o,i,a),X=s,Yj=_,X!==null&&(Yj?(o=X,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):X.removeChild(a.stateNode));break;case 18:X!==null&&(Yj?(o=X,a=a.stateNode,o.nodeType===8?Kf(o.parentNode,a):o.nodeType===1&&Kf(o,a),bd(o)):Kf(X,a.stateNode));break;case 4:s=X,_=Yj,X=a.stateNode.containerInfo,Yj=!0,Zj(o,i,a),X=s,Yj=_;break;case 0:case 11:case 14:case 15:if(!U&&(s=a.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){_=s=s.next;do{var j=_,_e=j.destroy;j=j.tag,_e!==void 0&&(j&2||j&4)&&Nj(a,i,_e),_=_.next}while(_!==s)}Zj(o,i,a);break;case 1:if(!U&&(Mj(a,i),s=a.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=a.memoizedProps,s.state=a.memoizedState,s.componentWillUnmount()}catch(et){W(a,i,et)}Zj(o,i,a);break;case 21:Zj(o,i,a);break;case 22:a.mode&1?(U=(s=U)||a.memoizedState!==null,Zj(o,i,a),U=s):Zj(o,i,a);break;default:Zj(o,i,a)}}function bk(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new Lj),i.forEach(function(s){var _=ck.bind(null,o,s);a.has(s)||(a.add(s),s.then(_,_))})}}function dk(o,i){var a=i.deletions;if(a!==null)for(var s=0;s_&&(_=_e),s&=~j}if(s=_,s=B()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*mk(s/1960))-s,10o?16:o,xk===null)var s=!1;else{if(o=xk,xk=null,yk=0,K&6)throw Error(p$1(331));var _=K;for(K|=4,V=o.current;V!==null;){var j=V,_e=j.child;if(V.flags&16){var et=j.deletions;if(et!==null){for(var tt=0;ttB()-gk?Lk(o,0):sk|=a),Ek(o,i)}function Zk(o,i){i===0&&(o.mode&1?(i=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):i=1);var a=L();o=Zg(o,i),o!==null&&(Ac(o,i,a),Ek(o,a))}function vj(o){var i=o.memoizedState,a=0;i!==null&&(a=i.retryLane),Zk(o,a)}function ck(o,i){var a=0;switch(o.tag){case 13:var s=o.stateNode,_=o.memoizedState;_!==null&&(a=_.retryLane);break;case 19:s=o.stateNode;break;default:throw Error(p$1(314))}s!==null&&s.delete(i),Zk(o,a)}var Wk;Wk=function(o,i,a){if(o!==null)if(o.memoizedProps!==i.pendingProps||Wf.current)Ug=!0;else{if(!(o.lanes&a)&&!(i.flags&128))return Ug=!1,zj(o,i,a);Ug=!!(o.flags&131072)}else Ug=!1,I&&i.flags&1048576&&ug(i,ng,i.index);switch(i.lanes=0,i.tag){case 2:var s=i.type;jj(o,i),o=i.pendingProps;var _=Yf(i,H.current);Tg(i,a),_=Xh(null,i,s,o,_,a);var j=bi();return i.flags|=1,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Zf(s)?(j=!0,cg(i)):j=!1,i.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,ah(i),_.updater=nh,i.stateNode=_,_._reactInternals=i,rh(i,s,o,a),i=kj(null,i,s,!0,j,a)):(i.tag=0,I&&j&&vg(i),Yi(null,i,_,a),i=i.child),i;case 16:s=i.elementType;e:{switch(jj(o,i),o=i.pendingProps,_=s._init,s=_(s._payload),i.type=s,_=i.tag=$k(s),o=Lg(s,o),_){case 0:i=dj(null,i,s,o,a);break e;case 1:i=ij(null,i,s,o,a);break e;case 11:i=Zi(null,i,s,o,a);break e;case 14:i=aj(null,i,s,Lg(s.type,o),a);break e}throw Error(p$1(306,s,""))}return i;case 0:return s=i.type,_=i.pendingProps,_=i.elementType===s?_:Lg(s,_),dj(o,i,s,_,a);case 1:return s=i.type,_=i.pendingProps,_=i.elementType===s?_:Lg(s,_),ij(o,i,s,_,a);case 3:e:{if(lj(i),o===null)throw Error(p$1(387));s=i.pendingProps,j=i.memoizedState,_=j.element,bh(o,i),gh(i,s,null,a);var _e=i.memoizedState;if(s=_e.element,j.isDehydrated)if(j={element:s,isDehydrated:!1,cache:_e.cache,pendingSuspenseBoundaries:_e.pendingSuspenseBoundaries,transitions:_e.transitions},i.updateQueue.baseState=j,i.memoizedState=j,i.flags&256){_=Ki(Error(p$1(423)),i),i=mj(o,i,s,a,_);break e}else if(s!==_){_=Ki(Error(p$1(424)),i),i=mj(o,i,s,a,_);break e}else for(yg=Lf(i.stateNode.containerInfo.firstChild),xg=i,I=!0,zg=null,a=Ch(i,null,s,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ig(),s===_){i=$i(o,i,a);break e}Yi(o,i,s,a)}i=i.child}return i;case 5:return Kh(i),o===null&&Eg(i),s=i.type,_=i.pendingProps,j=o!==null?o.memoizedProps:null,_e=_.children,Ef(s,_)?_e=null:j!==null&&Ef(s,j)&&(i.flags|=32),hj(o,i),Yi(o,i,_e,a),i.child;case 6:return o===null&&Eg(i),null;case 13:return pj(o,i,a);case 4:return Ih(i,i.stateNode.containerInfo),s=i.pendingProps,o===null?i.child=Bh(i,null,s,a):Yi(o,i,s,a),i.child;case 11:return s=i.type,_=i.pendingProps,_=i.elementType===s?_:Lg(s,_),Zi(o,i,s,_,a);case 7:return Yi(o,i,i.pendingProps,a),i.child;case 8:return Yi(o,i,i.pendingProps.children,a),i.child;case 12:return Yi(o,i,i.pendingProps.children,a),i.child;case 10:e:{if(s=i.type._context,_=i.pendingProps,j=i.memoizedProps,_e=_.value,G(Mg,s._currentValue),s._currentValue=_e,j!==null)if(He(j.value,_e)){if(j.children===_.children&&!Wf.current){i=$i(o,i,a);break e}}else for(j=i.child,j!==null&&(j.return=i);j!==null;){var et=j.dependencies;if(et!==null){_e=j.child;for(var tt=et.firstContext;tt!==null;){if(tt.context===s){if(j.tag===1){tt=ch(-1,a&-a),tt.tag=2;var rt=j.updateQueue;if(rt!==null){rt=rt.shared;var nt=rt.pending;nt===null?tt.next=tt:(tt.next=nt.next,nt.next=tt),rt.pending=tt}}j.lanes|=a,tt=j.alternate,tt!==null&&(tt.lanes|=a),Sg(j.return,a,i),et.lanes|=a;break}tt=tt.next}}else if(j.tag===10)_e=j.type===i.type?null:j.child;else if(j.tag===18){if(_e=j.return,_e===null)throw Error(p$1(341));_e.lanes|=a,et=_e.alternate,et!==null&&(et.lanes|=a),Sg(_e,a,i),_e=j.sibling}else _e=j.child;if(_e!==null)_e.return=j;else for(_e=j;_e!==null;){if(_e===i){_e=null;break}if(j=_e.sibling,j!==null){j.return=_e.return,_e=j;break}_e=_e.return}j=_e}Yi(o,i,_.children,a),i=i.child}return i;case 9:return _=i.type,s=i.pendingProps.children,Tg(i,a),_=Vg(_),s=s(_),i.flags|=1,Yi(o,i,s,a),i.child;case 14:return s=i.type,_=Lg(s,i.pendingProps),_=Lg(s.type,_),aj(o,i,s,_,a);case 15:return cj(o,i,i.type,i.pendingProps,a);case 17:return s=i.type,_=i.pendingProps,_=i.elementType===s?_:Lg(s,_),jj(o,i),i.tag=1,Zf(s)?(o=!0,cg(i)):o=!1,Tg(i,a),ph(i,s,_),rh(i,s,_,a),kj(null,i,s,!0,o,a);case 19:return yj(o,i,a);case 22:return ej(o,i,a)}throw Error(p$1(156,i.tag))};function Gk(o,i){return ac(o,i)}function al(o,i,a,s){this.tag=o,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(o,i,a,s){return new al(o,i,a,s)}function bj(o){return o=o.prototype,!(!o||!o.isReactComponent)}function $k(o){if(typeof o=="function")return bj(o)?1:0;if(o!=null){if(o=o.$$typeof,o===Da)return 11;if(o===Ga)return 14}return 2}function wh(o,i){var a=o.alternate;return a===null?(a=Bg(o.tag,i,o.key,o.mode),a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.alternate=o,o.alternate=a):(a.pendingProps=i,a.type=o.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=o.flags&14680064,a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a}function yh(o,i,a,s,_,j){var _e=2;if(s=o,typeof o=="function")bj(o)&&(_e=1);else if(typeof o=="string")_e=5;else e:switch(o){case ya:return Ah(a.children,_,j,i);case za:_e=8,_|=8;break;case Aa:return o=Bg(12,a,i,_|2),o.elementType=Aa,o.lanes=j,o;case Ea:return o=Bg(13,a,i,_),o.elementType=Ea,o.lanes=j,o;case Fa:return o=Bg(19,a,i,_),o.elementType=Fa,o.lanes=j,o;case Ia:return qj(a,_,j,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Ba:_e=10;break e;case Ca:_e=9;break e;case Da:_e=11;break e;case Ga:_e=14;break e;case Ha:_e=16,s=null;break e}throw Error(p$1(130,o==null?o:typeof o,""))}return i=Bg(_e,a,i,_),i.elementType=o,i.type=s,i.lanes=j,i}function Ah(o,i,a,s){return o=Bg(7,o,s,i),o.lanes=a,o}function qj(o,i,a,s){return o=Bg(22,o,s,i),o.elementType=Ia,o.lanes=a,o.stateNode={isHidden:!1},o}function xh(o,i,a){return o=Bg(6,o,null,i),o.lanes=a,o}function zh(o,i,a){return i=Bg(4,o.children!==null?o.children:[],o.key,i),i.lanes=a,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function bl(o,i,a,s,_){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=s,this.onRecoverableError=_,this.mutableSourceEagerHydrationData=null}function cl(o,i,a,s,_,j,_e,et,tt){return o=new bl(o,i,a,et,tt),i===1?(i=1,j===!0&&(i|=8)):i=0,j=Bg(3,null,null,i),o.current=j,j.stateNode=o,j.memoizedState={element:s,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},ah(j),o}function dl(o,i,a){var s=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(o){console.error(o)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports),ReactDOM$1=_mergeNamespaces({__proto__:null,default:ReactDOM},[reactDomExports]);var m$1=reactDomExports;client.createRoot=m$1.createRoot,client.hydrateRoot=m$1.hydrateRoot;var objectExtend=extend;function extend(){var o=[].slice.call(arguments),i=!1;typeof o[0]=="boolean"&&(i=o.shift());var a=o[0];if(isUnextendable(a))throw new Error("extendee must be an object");for(var s=o.slice(1),_=s.length,j=0;j<_;j++){var _e=s[j];for(var et in _e)if(Object.prototype.hasOwnProperty.call(_e,et)){var tt=_e[et];if(i&&isCloneable(tt)){var rt=Array.isArray(tt)?[]:{};a[et]=extend(!0,Object.prototype.hasOwnProperty.call(a,et)&&!isUnextendable(a[et])?a[et]:rt,tt)}else a[et]=tt}}return a}function isCloneable(o){return Array.isArray(o)||{}.toString.call(o)=="[object Object]"}function isUnextendable(o){return!o||typeof o!="object"&&typeof o!="function"}const isNode=typeof window>"u"&&typeof __webpack_require__>"u";let nodeHTTP,nodeHTTPS=null;const config={prefix:"",url:"",method:"GET",credentials:"include",headers:{"Content-Type":"application/json",Accept:"application/json"},success:o=>{},fail:o=>{}},_service=async args=>{isNode&&(nodeHTTP==null||nodeHTTPS==null)&&(nodeHTTP=await eval("import('http')"),nodeHTTPS=await eval("import('https')"));const settings={};if(objectExtend(!0,settings,config),objectExtend(!0,settings,args),!settings.url.toLowerCase().startsWith("http://")&&!settings.url.toLowerCase().startsWith("https://")&&settings.prefix&&settings.prefix!=""&&!settings.url.toLowerCase().startsWith(settings.prefix.toLowerCase())){settings.prefix.endsWith("/")&&settings.url.startsWith("/")?settings.url=settings.url.substring(1):!settings.prefix.endsWith("/")&&!settings.url.startsWith("/")&&(settings.url="/"+settings.url);let o=settings.prefix;if(o.indexOf("/")==0){let i=!1,a="",s="";window.location.host.indexOf(":")&&(a=window.location.host.substring(0,window.location.host.indexOf(":")),s=window.location.host.substring(window.location.host.indexOf(":")+1)),s==="3000"&&(i=!0,s="9000"),s.length>2&&s.substring(s.length-2,s.length)=="30"&&(i=!0,s=s.substring(0,s.length-2)+"90"),i&&(o=window.location.protocol+"//"+a+":"+s+o)}settings.url=o+settings.url}if(settings.data)if(settings.method.toUpperCase()=="GET")typeof settings.data=="object"?settings.url=_service.urlWithEncodedParameters(settings.url,settings.data):settings.url+=`?${settings.data}`;else if(!isNode&&(settings.data instanceof FormData||settings.multipart||typeof settings.data=="object"&&Object.keys(settings.data).some(o=>settings.data[o]instanceof File)))delete settings.headers["Content-Type"],settings.data instanceof FormData?settings.body=settings.data:settings.data==="object"?(settings.body=new FormData,Object.keys(settings.data).forEach(o=>{settings.data[o]instanceof File?settings.body.append(o,settings.data[o]):typeof settings.data[o]=="object"?settings.body.append(o,JSON.stringify(settings.data[o])):settings.body.append(o,settings.data[o])})):settings.body=settings.data;else if(isNode&&(settings.multipart||typeof settings.data=="object"&&Object.keys(settings.data).some(o=>Buffer.isBuffer(settings.data[o])))){const o="---"+_service.randomString(34);settings.headers["Content-Type"]=`multipart/form-data; boundary=${o}`,settings.body=Buffer.from("");const i=a=>{Buffer.isBuffer(a)?settings.body=Buffer.concat([settings.body,a]):settings.body=Buffer.concat([settings.body,Buffer.from(a)])};Object.keys(settings.data).forEach(a=>{if(Buffer.isBuffer(settings.data[a])){const s=settings.data[a],_=s.fileName,j=s.contentType||"application/octet-stream";i(`--${o}\r `),i(`Content-Disposition: form-data; name="${a}"; filename="${_}";\r `),i(`Content-Type: ${j}\r `),i(`Content-Transfer-Encoding: binary\r \r `),i(s)}else{let s=settings.data[a];typeof s=="object"&&(s=JSON.stringify(s)),i(`--${o}\r `),i(`Content-Disposition: form-data; name="${a}"; \r \r `),i(`${s}\r `)}}),i(`\r --${o}--\r `)}else settings.headers["Content-Type"]=="application/json"?(typeof settings.data=="object"?settings.body=JSON.stringify(settings.data):settings.body=settings.data,isNode&&(settings.headers["Content-Length"]=Buffer.byteLength(settings.body))):(typeof settings.data=="object"?settings.body=_service.urlWithEncodedParameters(settings.url,settings.data):settings.body=settings.data,isNode&&(settings.headers["Content-Length"]=Buffer.byteLength(postData)));if(isNode){let o=null;if(settings.url.toLowerCase().startsWith("http://"))o=nodeHTTP;else if(settings.url.toLowerCase().startsWith("https://"))o=nodeHTTPS;else throw new Error("URL with an invalid protocol. Only is supported HTTP or HTTPS.");const i=s=>{settings.encoding&&s.setEncoding(settings.encoding);const _=s.headers["content-type"],j={ok:s.statusCode>=200&&s.statusCode<300,status:s.statusCode,isJSON:_&&_.toLowerCase().indexOf("application/json")==0,contentType:_,response:s};if(s.statusCode==204)return settings.success({...j});{let _e="",et=[];s.on("data",tt=>{settings.blob&&j.ok?et=et.concat([...tt]):_e+=tt}),s.on("end",()=>{if(j.ok){if(settings.blob)return settings.success({...j,blob:et});if(j.isJSON)try{return settings.success({...j,json:JSON.parse(_e)})}catch{}return settings.success({...j,text:_e})}if(j.isJSON)try{return settings.fail({...j,error:new Error(`Service failed responding status ${j.status}.`),json:JSON.parse(_e)})}catch{}return settings.fail({...j,error:new Error(`Service failed responding status ${j.status}.`),text:_e})})}};let a=null;settings.method.toUpperCase()==="GET"?a=o.get(settings.url,settings,i):a=o.request(settings.url,settings,i),a.on("error",s=>{settings.fail({error:s})}),settings.timeout&&settings.timeout>0&&a.setTimeout(settings.timeout,()=>{a.abort()}),settings.method.toUpperCase()!=="GET"&&(a.write(settings.body),a.end())}else fetch(settings.url,settings).then(o=>{const i=o.headers.get("Content-Type"),a={ok:o.ok,status:o.status,isJSON:i&&i.toLowerCase().indexOf("application/json")==0,contentType:i,response:o};return a.ok?o.status==204?settings.success({...a}):settings.blob?o.blob().then(s=>settings.success({...a,blob:s})):a.isJSON?o.json().then(s=>settings.success({...a,json:s})):o.text().then(s=>settings.success({...a,text:s})):a.isJSON?o.json().then(s=>settings.fail({...a,error:new Error(`Service failed responding status ${a.status}.`),json:s})):o.text().then(s=>settings.fail({...a,error:new Error(`Service failed responding status ${a.status}.`),text:s}))}).catch(o=>settings.fail({error:o}))};_service.urlWithEncodedParameters=(o,i)=>{const a=_service.encodedParameters(i);return a!=""?`${o}?${a}`:o};_service.encodedParameters=o=>Object.keys(o).reduce((a,s)=>{const _=encodeURIComponent(o[s]);return a.push(`${s}=${_}`),a},[]).join("&");_service.randomString=o=>{let i="";const a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let s=0;s{o&&objectExtend(!0,config,o);const i={};return objectExtend(!0,i,config),i};var classnames={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(o){(function(){var i={}.hasOwnProperty;function a(){for(var j="",_e=0;_eo.length)&&(i=o.length);for(var a=0,s=new Array(i);a1&&arguments[1]!==void 0?arguments[1]:1;rafUUID+=1;var s=rafUUID;function _(j){if(j===0)cleanup(s),i();else{var _e=raf(function(){_(j-1)});rafIds.set(s,_e)}}return _(a),s};wrapperRaf.cancel=function(o){var i=rafIds.get(o);return cleanup(o),caf(i)};function _arrayWithHoles(o){if(Array.isArray(o))return o}function _iterableToArrayLimit(o,i){var a=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(a!=null){var s,_,j,_e,et=[],tt=!0,rt=!1;try{if(j=(a=a.call(o)).next,i===0){if(Object(a)!==a)return;tt=!1}else for(;!(tt=(s=j.call(a)).done)&&(et.push(s.value),et.length!==i);tt=!0);}catch(nt){rt=!0,_=nt}finally{try{if(!tt&&a.return!=null&&(_e=a.return(),Object(_e)!==_e))return}finally{if(rt)throw _}}return et}}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray(o,i){return _arrayWithHoles(o)||_iterableToArrayLimit(o,i)||_unsupportedIterableToArray(o,i)||_nonIterableRest()}function murmur2(o){for(var i=0,a,s=0,_=o.length;_>=4;++s,_-=4)a=o.charCodeAt(s)&255|(o.charCodeAt(++s)&255)<<8|(o.charCodeAt(++s)&255)<<16|(o.charCodeAt(++s)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,i=(a&65535)*1540483477+((a>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(_){case 3:i^=(o.charCodeAt(s+2)&255)<<16;case 2:i^=(o.charCodeAt(s+1)&255)<<8;case 1:i^=o.charCodeAt(s)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}function canUseDom(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function contains(o,i){if(!o)return!1;if(o.contains)return o.contains(i);for(var a=i;a;){if(a===o)return!0;a=a.parentNode}return!1}var APPEND_ORDER="data-rc-order",APPEND_PRIORITY="data-rc-priority",MARK_KEY="rc-util-key",containerCache=new Map;function getMark(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=o.mark;return i?i.startsWith("data-")?i:"data-".concat(i):MARK_KEY}function getContainer(o){if(o.attachTo)return o.attachTo;var i=document.querySelector("head");return i||document.body}function getOrder(o){return o==="queue"?"prependQueue":o?"prepend":"append"}function findStyles(o){return Array.from((containerCache.get(o)||o).children).filter(function(i){return i.tagName==="STYLE"})}function injectCSS(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!canUseDom())return null;var a=i.csp,s=i.prepend,_=i.priority,j=_===void 0?0:_,_e=getOrder(s),et=_e==="prependQueue",tt=document.createElement("style");tt.setAttribute(APPEND_ORDER,_e),et&&j&&tt.setAttribute(APPEND_PRIORITY,"".concat(j)),a!=null&&a.nonce&&(tt.nonce=a==null?void 0:a.nonce),tt.innerHTML=o;var rt=getContainer(i),nt=rt.firstChild;if(s){if(et){var at=(i.styles||findStyles(rt)).filter(function(it){if(!["prepend","prependQueue"].includes(it.getAttribute(APPEND_ORDER)))return!1;var ut=Number(it.getAttribute(APPEND_PRIORITY)||0);return j>=ut});if(at.length)return rt.insertBefore(tt,at[at.length-1].nextSibling),tt}rt.insertBefore(tt,nt)}else rt.appendChild(tt);return tt}function findExistNode(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=getContainer(i);return(i.styles||findStyles(a)).find(function(s){return s.getAttribute(getMark(i))===o})}function removeCSS(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=findExistNode(o,i);if(a){var s=getContainer(i);s.removeChild(a)}}function syncRealContainer(o,i){var a=containerCache.get(o);if(!a||!contains(document,a)){var s=injectCSS("",i),_=s.parentNode;containerCache.set(o,_),o.removeChild(s)}}function updateCSS(o,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=getContainer(a),_=findStyles(s),j=_objectSpread2(_objectSpread2({},a),{},{styles:_});syncRealContainer(s,j);var _e=findExistNode(i,j);if(_e){var et,tt;if((et=j.csp)!==null&&et!==void 0&&et.nonce&&_e.nonce!==((tt=j.csp)===null||tt===void 0?void 0:tt.nonce)){var rt;_e.nonce=(rt=j.csp)===null||rt===void 0?void 0:rt.nonce}return _e.innerHTML!==o&&(_e.innerHTML=o),_e}var nt=injectCSS(o,j);return nt.setAttribute(getMark(j),i),nt}function _objectWithoutPropertiesLoose(o,i){if(o==null)return{};var a={},s=Object.keys(o),_,j;for(j=0;j=0)&&(a[_]=o[_]);return a}function _objectWithoutProperties(o,i){if(o==null)return{};var a=_objectWithoutPropertiesLoose(o,i),s,_;if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(o);for(_=0;_=0)&&Object.prototype.propertyIsEnumerable.call(o,s)&&(a[s]=o[s])}return a}function isEqual(o,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,s=new Set;function _(j,_e){var et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,tt=s.has(j);if(warningOnce(!tt,"Warning: There may be circular references"),tt)return!1;if(j===_e)return!0;if(a&&et>1)return!1;s.add(j);var rt=et+1;if(Array.isArray(j)){if(!Array.isArray(_e)||j.length!==_e.length)return!1;for(var nt=0;nt1&&arguments[1]!==void 0?arguments[1]:!1,_e={map:this.cache};return a.forEach(function(et){if(!_e)_e=void 0;else{var tt;_e=(tt=_e)===null||tt===void 0||(tt=tt.map)===null||tt===void 0?void 0:tt.get(et)}}),(s=_e)!==null&&s!==void 0&&s.value&&j&&(_e.value[1]=this.cacheCallTimes++),(_=_e)===null||_===void 0?void 0:_.value}},{key:"get",value:function(a){var s;return(s=this.internalGet(a,!0))===null||s===void 0?void 0:s[0]}},{key:"has",value:function(a){return!!this.internalGet(a)}},{key:"set",value:function(a,s){var _=this;if(!this.has(a)){if(this.size()+1>o.MAX_CACHE_SIZE+o.MAX_CACHE_OFFSET){var j=this.keys.reduce(function(rt,nt){var at=_slicedToArray(rt,2),it=at[1];return _.internalGet(nt)[1]0,void 0),uuid+=1}return _createClass(o,[{key:"getDerivativeToken",value:function(a){return this.derivatives.reduce(function(s,_){return _(a,s)},void 0)}}]),o}(),cacheThemes=new ThemeCache;function createTheme(o){var i=Array.isArray(o)?o:[o];return cacheThemes.has(i)||cacheThemes.set(i,new Theme(i)),cacheThemes.get(i)}var resultCache=new WeakMap,RESULT_VALUE={};function memoResult(o,i){for(var a=resultCache,s=0;s3&&arguments[3]!==void 0?arguments[3]:{},j=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(j)return o;var _e=_objectSpread2(_objectSpread2({},_),{},(s={},_defineProperty(s,ATTR_TOKEN,i),_defineProperty(s,ATTR_MARK,a),s)),et=Object.keys(_e).map(function(tt){var rt=_e[tt];return rt?"".concat(tt,'="').concat(rt,'"'):null}).filter(function(tt){return tt}).join(" ");return"")}var token2CSSVar=function o(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(a?"".concat(a,"-"):"").concat(i).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},serializeCSSVar=function o(i,a,s){return Object.keys(i).length?".".concat(a).concat(s!=null&&s.scope?".".concat(s.scope):"","{").concat(Object.entries(i).map(function(_){var j=_slicedToArray(_,2),_e=j[0],et=j[1];return"".concat(_e,":").concat(et,";")}).join(""),"}"):""},transformToken=function o(i,a,s){var _={},j={};return Object.entries(i).forEach(function(_e){var et,tt,rt=_slicedToArray(_e,2),nt=rt[0],at=rt[1];if(s!=null&&(et=s.preserve)!==null&&et!==void 0&&et[nt])j[nt]=at;else if((typeof at=="string"||typeof at=="number")&&!(s!=null&&(tt=s.ignore)!==null&&tt!==void 0&&tt[nt])){var it,ut=token2CSSVar(nt,s==null?void 0:s.prefix);_[ut]=typeof at=="number"&&!(s!=null&&(it=s.unitless)!==null&&it!==void 0&&it[nt])?"".concat(at,"px"):String(at),j[nt]="var(".concat(ut,")")}}),[j,serializeCSSVar(_,a,{scope:s==null?void 0:s.scope})]},useInternalLayoutEffect=canUseDom()?reactExports.useLayoutEffect:reactExports.useEffect,useLayoutEffect=function o(i,a){var s=reactExports.useRef(!0);useInternalLayoutEffect(function(){return i(s.current)},a),useInternalLayoutEffect(function(){return s.current=!1,function(){s.current=!0}},[])},fullClone$3=_objectSpread2({},React$1),useInsertionEffect$1=fullClone$3.useInsertionEffect,useInsertionEffectPolyfill=function o(i,a,s){reactExports.useMemo(i,s),useLayoutEffect(function(){return a(!0)},s)},useCompatibleInsertionEffect=useInsertionEffect$1?function(o,i,a){return useInsertionEffect$1(function(){return o(),i()},a)}:useInsertionEffectPolyfill,fullClone$2=_objectSpread2({},React$1),useInsertionEffect=fullClone$2.useInsertionEffect,useCleanupRegister=function o(i){var a=[],s=!1;function _(j){s||a.push(j)}return reactExports.useEffect(function(){return s=!1,function(){s=!0,a.length&&a.forEach(function(j){return j()})}},i),_},useRun=function o(){return function(i){i()}},useEffectCleanupRegister=typeof useInsertionEffect<"u"?useCleanupRegister:useRun;function useGlobalCache(o,i,a,s,_){var j=reactExports.useContext(StyleContext),_e=j.cache,et=[o].concat(_toConsumableArray(i)),tt=pathKey(et),rt=useEffectCleanupRegister([tt]),nt=function(pt){_e.opUpdate(tt,function(ft){var xt=ft||[void 0,void 0],lt=_slicedToArray(xt,2),ot=lt[0],st=ot===void 0?0:ot,dt=lt[1],gt=dt,ht=gt||a(),mt=[st,ht];return pt?pt(mt):mt})};reactExports.useMemo(function(){nt()},[tt]);var at=_e.opGet(tt),it=at[1];return useCompatibleInsertionEffect(function(){_==null||_(it)},function(ut){return nt(function(pt){var ft=_slicedToArray(pt,2),xt=ft[0],lt=ft[1];return ut&&xt===0&&(_==null||_(it)),[xt+1,lt]}),function(){_e.opUpdate(tt,function(pt){var ft=pt||[],xt=_slicedToArray(ft,2),lt=xt[0],ot=lt===void 0?0:lt,st=xt[1],dt=ot-1;return dt===0?(rt(function(){(ut||!_e.opGet(tt))&&(s==null||s(st,!1))}),null):[ot-1,st]})}},[tt]),it}var EMPTY_OVERRIDE={},hashPrefix="css",tokenKeys=new Map;function recordCleanToken(o){tokenKeys.set(o,(tokenKeys.get(o)||0)+1)}function removeStyleTags(o,i){if(typeof document<"u"){var a=document.querySelectorAll("style[".concat(ATTR_TOKEN,'="').concat(o,'"]'));a.forEach(function(s){if(s[CSS_IN_JS_INSTANCE]===i){var _;(_=s.parentNode)===null||_===void 0||_.removeChild(s)}})}}var TOKEN_THRESHOLD=0;function cleanTokenStyle(o,i){tokenKeys.set(o,(tokenKeys.get(o)||0)-1);var a=Array.from(tokenKeys.keys()),s=a.filter(function(_){var j=tokenKeys.get(_)||0;return j<=0});a.length-s.length>TOKEN_THRESHOLD&&s.forEach(function(_){removeStyleTags(_,i),tokenKeys.delete(_)})}var getComputedToken$1=function o(i,a,s,_){var j=s.getDerivativeToken(i),_e=_objectSpread2(_objectSpread2({},j),a);return _&&(_e=_(_e)),_e},TOKEN_PREFIX="token";function useCacheToken(o,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=reactExports.useContext(StyleContext),_=s.cache.instanceId,j=s.container,_e=a.salt,et=_e===void 0?"":_e,tt=a.override,rt=tt===void 0?EMPTY_OVERRIDE:tt,nt=a.formatToken,at=a.getComputedToken,it=a.cssVar,ut=memoResult(function(){return Object.assign.apply(Object,[{}].concat(_toConsumableArray(i)))},i),pt=flattenToken(ut),ft=flattenToken(rt),xt=it?flattenToken(it):"",lt=useGlobalCache(TOKEN_PREFIX,[et,o.id,pt,ft,xt],function(){var ot,st=at?at(ut,rt,o):getComputedToken$1(ut,rt,o,nt),dt=_objectSpread2({},st),gt="";if(it){var ht=transformToken(st,it.key,{prefix:it.prefix,ignore:it.ignore,unitless:it.unitless,preserve:it.preserve}),mt=_slicedToArray(ht,2);st=mt[0],gt=mt[1]}var Ct=token2key(st,et);st._tokenKey=Ct,dt._tokenKey=token2key(dt,et);var kt=(ot=it==null?void 0:it.key)!==null&&ot!==void 0?ot:Ct;st._themeKey=kt,recordCleanToken(kt);var $t="".concat(hashPrefix,"-").concat(murmur2(Ct));return st._hashId=$t,[st,$t,dt,gt,(it==null?void 0:it.key)||""]},function(ot){cleanTokenStyle(ot[0]._themeKey,_)},function(ot){var st=_slicedToArray(ot,4),dt=st[0],gt=st[3];if(it&>){var ht=updateCSS(gt,murmur2("css-variables-".concat(dt._themeKey)),{mark:ATTR_MARK,prepend:"queue",attachTo:j,priority:-999});ht[CSS_IN_JS_INSTANCE]=_,ht.setAttribute(ATTR_TOKEN,dt._themeKey)}});return lt}var extract$2=function o(i,a,s){var _=_slicedToArray(i,5),j=_[2],_e=_[3],et=_[4],tt=s||{},rt=tt.plain;if(!_e)return null;var nt=j._tokenKey,at=-999,it={"data-rc-order":"prependQueue","data-rc-priority":"".concat(at)},ut=toStyleStr(_e,et,nt,it,rt);return[at,nt,ut]},unitlessKeys={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode;function trim(o){return o.trim()}function replace(o,i,a){return o.replace(i,a)}function indexof(o,i,a){return o.indexOf(i,a)}function charat(o,i){return o.charCodeAt(i)|0}function substr(o,i,a){return o.slice(i,a)}function strlen(o){return o.length}function sizeof(o){return o.length}function append(o,i){return i.push(o),o}var line=1,column=1,length=0,position=0,character=0,characters="";function node(o,i,a,s,_,j,_e,et){return{value:o,root:i,parent:a,type:s,props:_,children:j,line,column,length:_e,return:"",siblings:et}}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token(character)>3?"":" "}function escaping(o,i){for(;--i&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(o,caret()+(i<6&&peek()==32&&next()==32))}function delimiter(o){for(;next();)switch(character){case o:return position;case 34:case 39:o!==34&&o!==39&&delimiter(character);break;case 40:o===41&&delimiter(o);break;case 92:next();break}return position}function commenter(o,i){for(;next()&&o+character!==57;)if(o+character===84&&peek()===47)break;return"/*"+slice(i,position-1)+"*"+from(o===47?o:next())}function identifier(o){for(;!token(peek());)next();return slice(o,position)}function compile(o){return dealloc(parse("",null,null,null,[""],o=alloc(o),0,[0],o))}function parse(o,i,a,s,_,j,_e,et,tt){for(var rt=0,nt=0,at=_e,it=0,ut=0,pt=0,ft=1,xt=1,lt=1,ot=0,st="",dt=_,gt=j,ht=s,mt=st;xt;)switch(pt=ot,ot=next()){case 40:if(pt!=108&&charat(mt,at-1)==58){indexof(mt+=replace(delimit(ot),"&","&\f"),"&\f",abs(rt?et[rt-1]:0))!=-1&&(lt=-1);break}case 34:case 39:case 91:mt+=delimit(ot);break;case 9:case 10:case 13:case 32:mt+=whitespace(pt);break;case 92:mt+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),i,a,tt),tt);break;default:mt+="/"}break;case 123*ft:et[rt++]=strlen(mt)*lt;case 125*ft:case 59:case 0:switch(ot){case 0:case 125:xt=0;case 59+nt:lt==-1&&(mt=replace(mt,/\f/g,"")),ut>0&&strlen(mt)-at&&append(ut>32?declaration(mt+";",s,a,at-1,tt):declaration(replace(mt," ","")+";",s,a,at-2,tt),tt);break;case 59:mt+=";";default:if(append(ht=ruleset(mt,i,a,rt,nt,_,et,st,dt=[],gt=[],at,j),j),ot===123)if(nt===0)parse(mt,i,ht,ht,dt,j,at,et,gt);else switch(it===99&&charat(mt,3)===110?100:it){case 100:case 108:case 109:case 115:parse(o,ht,ht,s&&append(ruleset(o,ht,ht,0,0,_,et,st,_,dt=[],at,gt),gt),_,gt,at,et,s?dt:gt);break;default:parse(mt,ht,ht,ht,[""],gt,0,et,gt)}}rt=nt=ut=0,ft=lt=1,st=mt="",at=_e;break;case 58:at=1+strlen(mt),ut=pt;default:if(ft<1){if(ot==123)--ft;else if(ot==125&&ft++==0&&prev()==125)continue}switch(mt+=from(ot),ot*ft){case 38:lt=nt>0?1:(mt+="\f",-1);break;case 44:et[rt++]=(strlen(mt)-1)*lt,lt=1;break;case 64:peek()===45&&(mt+=delimit(next())),it=peek(),nt=at=strlen(st=mt+=identifier(caret())),ot++;break;case 45:pt===45&&strlen(mt)==2&&(ft=0)}}return j}function ruleset(o,i,a,s,_,j,_e,et,tt,rt,nt,at){for(var it=_-1,ut=_===0?j:[""],pt=sizeof(ut),ft=0,xt=0,lt=0;ft0?ut[ot]+" "+st:replace(st,/&\f/g,ut[ot])))&&(tt[lt++]=dt);return node(o,i,a,_===0?RULESET:et,tt,rt,nt,at)}function comment(o,i,a,s){return node(o,i,a,COMMENT,from(char()),substr(o,2,-2),0,s)}function declaration(o,i,a,s,_){return node(o,i,a,DECLARATION,substr(o,0,s),substr(o,s+1,-1),s,_)}function serialize(o,i){for(var a="",s=0;s1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},_=s.root,j=s.injectHash,_e=s.parentSelectors,et=a.hashId,tt=a.layer;a.path;var rt=a.hashPriority,nt=a.transformers,at=nt===void 0?[]:nt;a.linters;var it="",ut={};function pt(lt){var ot=lt.getName(et);if(!ut[ot]){var st=o(lt.style,a,{root:!1,parentSelectors:_e}),dt=_slicedToArray(st,1),gt=dt[0];ut[ot]="@keyframes ".concat(lt.getName(et)).concat(gt)}}function ft(lt){var ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return lt.forEach(function(st){Array.isArray(st)?ft(st,ot):st&&ot.push(st)}),ot}var xt=ft(Array.isArray(i)?i:[i]);return xt.forEach(function(lt){var ot=typeof lt=="string"&&!_?{}:lt;if(typeof ot=="string")it+="".concat(ot,` `);else if(ot._keyframe)pt(ot);else{var st=at.reduce(function(dt,gt){var ht;return(gt==null||(ht=gt.visit)===null||ht===void 0?void 0:ht.call(gt,dt))||dt},ot);Object.keys(st).forEach(function(dt){var gt=st[dt];if(_typeof(gt)==="object"&>&&(dt!=="animationName"||!gt._keyframe)&&!isCompoundCSSProperty(gt)){var ht=!1,mt=dt.trim(),Ct=!1;(_||j)&&et?mt.startsWith("@")?ht=!0:mt=injectSelectorHash(dt,et,rt):_&&!et&&(mt==="&"||mt==="")&&(mt="",Ct=!0);var kt=o(gt,a,{root:Ct,injectHash:ht,parentSelectors:[].concat(_toConsumableArray(_e),[mt])}),$t=_slicedToArray(kt,2),bt=$t[0],jt=$t[1];ut=_objectSpread2(_objectSpread2({},ut),jt),it+="".concat(mt).concat(bt)}else{let Pt=function(St,vt){var ct=St.replace(/[A-Z]/g,function(_t){return"-".concat(_t.toLowerCase())}),yt=vt;!unitlessKeys[St]&&typeof yt=="number"&&yt!==0&&(yt="".concat(yt,"px")),St==="animationName"&&vt!==null&&vt!==void 0&&vt._keyframe&&(pt(vt),yt=vt.getName(et)),it+="".concat(ct,":").concat(yt,";")};var wt,Rt=(wt=gt==null?void 0:gt.value)!==null&&wt!==void 0?wt:gt;_typeof(gt)==="object"&>!==null&>!==void 0&>[MULTI_VALUE]&&Array.isArray(Rt)?Rt.forEach(function(St){Pt(dt,St)}):Pt(dt,Rt)}})}}),_?tt&&(it="@layer ".concat(tt.name," {").concat(it,"}"),tt.dependencies&&(ut["@layer ".concat(tt.name)]=tt.dependencies.map(function(lt){return"@layer ".concat(lt,", ").concat(tt.name,";")}).join(` `))):it="{".concat(it,"}"),[it,ut]};function uniqueHash(o,i){return murmur2("".concat(o.join("%")).concat(i))}function Empty(){return null}var STYLE_PREFIX="style";function useStyleRegister(o,i){var a=o.token,s=o.path,_=o.hashId,j=o.layer,_e=o.nonce,et=o.clientOnly,tt=o.order,rt=tt===void 0?0:tt,nt=reactExports.useContext(StyleContext),at=nt.autoClear;nt.mock;var it=nt.defaultCache,ut=nt.hashPriority,pt=nt.container,ft=nt.ssrInline,xt=nt.transformers,lt=nt.linters,ot=nt.cache,st=nt.layer,dt=a._tokenKey,gt=[dt];st&>.push("layer"),gt.push.apply(gt,_toConsumableArray(s));var ht=isClientSide,mt=useGlobalCache(STYLE_PREFIX,gt,function(){var jt=gt.join("|");if(existPath(jt)){var wt=getStyleAndHash(jt),Rt=_slicedToArray(wt,2),Pt=Rt[0],St=Rt[1];if(Pt)return[Pt,dt,St,{},et,rt]}var vt=i(),ct=parseStyle(vt,{hashId:_,hashPriority:ut,layer:st?j:void 0,path:s.join("-"),transformers:xt,linters:lt}),yt=_slicedToArray(ct,2),_t=yt[0],Et=yt[1],Tt=normalizeStyle(_t),At=uniqueHash(gt,Tt);return[Tt,dt,At,Et,et,rt]},function(jt,wt){var Rt=_slicedToArray(jt,3),Pt=Rt[2];(wt||at)&&isClientSide&&removeCSS(Pt,{mark:ATTR_MARK})},function(jt){var wt=_slicedToArray(jt,4),Rt=wt[0];wt[1];var Pt=wt[2],St=wt[3];if(ht&&Rt!==CSS_FILE_STYLE){var vt={mark:ATTR_MARK,prepend:st?!1:"queue",attachTo:pt,priority:rt},ct=typeof _e=="function"?_e():_e;ct&&(vt.csp={nonce:ct});var yt=[],_t=[];Object.keys(St).forEach(function(Tt){Tt.startsWith("@layer")?yt.push(Tt):_t.push(Tt)}),yt.forEach(function(Tt){updateCSS(normalizeStyle(St[Tt]),"_layer-".concat(Tt),_objectSpread2(_objectSpread2({},vt),{},{prepend:!0}))});var Et=updateCSS(Rt,Pt,vt);Et[CSS_IN_JS_INSTANCE]=ot.instanceId,Et.setAttribute(ATTR_TOKEN,dt),_t.forEach(function(Tt){updateCSS(normalizeStyle(St[Tt]),"_effect-".concat(Tt),vt)})}}),Ct=_slicedToArray(mt,3),kt=Ct[0],$t=Ct[1],bt=Ct[2];return function(jt){var wt;if(!ft||ht||!it)wt=reactExports.createElement(Empty,null);else{var Rt;wt=reactExports.createElement("style",_extends({},(Rt={},_defineProperty(Rt,ATTR_TOKEN,$t),_defineProperty(Rt,ATTR_MARK,bt),Rt),{dangerouslySetInnerHTML:{__html:kt}}))}return reactExports.createElement(reactExports.Fragment,null,wt,jt)}}var extract$1=function o(i,a,s){var _=_slicedToArray(i,6),j=_[0],_e=_[1],et=_[2],tt=_[3],rt=_[4],nt=_[5],at=s||{},it=at.plain;if(rt)return null;var ut=j,pt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(nt)};return ut=toStyleStr(j,_e,et,pt,it),tt&&Object.keys(tt).forEach(function(ft){if(!a[ft]){a[ft]=!0;var xt=normalizeStyle(tt[ft]),lt=toStyleStr(xt,_e,"_effect-".concat(ft),pt,it);ft.startsWith("@layer")?ut=lt+ut:ut+=lt}}),[nt,et,ut]},CSS_VAR_PREFIX="cssVar",useCSSVarRegister=function o(i,a){var s=i.key,_=i.prefix,j=i.unitless,_e=i.ignore,et=i.token,tt=i.scope,rt=tt===void 0?"":tt,nt=reactExports.useContext(StyleContext),at=nt.cache.instanceId,it=nt.container,ut=et._tokenKey,pt=[].concat(_toConsumableArray(i.path),[s,rt,ut]),ft=useGlobalCache(CSS_VAR_PREFIX,pt,function(){var xt=a(),lt=transformToken(xt,s,{prefix:_,unitless:j,ignore:_e,scope:rt}),ot=_slicedToArray(lt,2),st=ot[0],dt=ot[1],gt=uniqueHash(pt,dt);return[st,dt,gt,s]},function(xt){var lt=_slicedToArray(xt,3),ot=lt[2];isClientSide&&removeCSS(ot,{mark:ATTR_MARK})},function(xt){var lt=_slicedToArray(xt,3),ot=lt[1],st=lt[2];if(ot){var dt=updateCSS(ot,st,{mark:ATTR_MARK,prepend:"queue",attachTo:it,priority:-999});dt[CSS_IN_JS_INSTANCE]=at,dt.setAttribute(ATTR_TOKEN,s)}});return ft},extract=function o(i,a,s){var _=_slicedToArray(i,4),j=_[1],_e=_[2],et=_[3],tt=s||{},rt=tt.plain;if(!j)return null;var nt=-999,at={"data-rc-order":"prependQueue","data-rc-priority":"".concat(nt)},it=toStyleStr(j,et,_e,at,rt);return[nt,_e,it]},_ExtractStyleFns;_ExtractStyleFns={},_defineProperty(_ExtractStyleFns,STYLE_PREFIX,extract$1),_defineProperty(_ExtractStyleFns,TOKEN_PREFIX,extract$2),_defineProperty(_ExtractStyleFns,CSS_VAR_PREFIX,extract);function noSplit(o){return o.notSplit=!0,o}noSplit(["borderTop","borderBottom"]),noSplit(["borderTop"]),noSplit(["borderBottom"]),noSplit(["borderLeft","borderRight"]),noSplit(["borderLeft"]),noSplit(["borderRight"]);var IconContext=reactExports.createContext({});function _toArray(o){return _arrayWithHoles(o)||_iterableToArray(o)||_unsupportedIterableToArray(o)||_nonIterableRest()}function get(o,i){for(var a=o,s=0;s3&&arguments[3]!==void 0?arguments[3]:!1;return i.length&&s&&a===void 0&&!get(o,i.slice(0,-1))?o:internalSet(o,i,a,s)}function isObject(o){return _typeof(o)==="object"&&o!==null&&Object.getPrototypeOf(o)===Object.prototype}function createEmpty(o){return Array.isArray(o)?[]:{}}var keys=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function merge$1(){for(var o=arguments.length,i=new Array(o),a=0;alocaleList.reduce((o,i)=>Object.assign(Object.assign({},o),i),localeValues$5.Modal);function changeConfirmLocale(o){if(o){const i=Object.assign({},o);return localeList.push(i),generateLocale(),()=>{localeList=localeList.filter(a=>a!==i),generateLocale()}}Object.assign({},localeValues$5.Modal)}const LocaleContext=reactExports.createContext(void 0),LocaleContext$1=LocaleContext,ANT_MARK="internalMark",LocaleProvider=o=>{const{locale:i={},children:a,_ANT_MARK__:s}=o;reactExports.useEffect(()=>changeConfirmLocale(i&&i.Modal),[i]);const _=reactExports.useMemo(()=>Object.assign(Object.assign({},i),{exist:!0}),[i]);return reactExports.createElement(LocaleContext$1.Provider,{value:_},a)},LocaleProvider$1=LocaleProvider;function bound01(o,i){isOnePointZero(o)&&(o="100%");var a=isPercentage(o);return o=i===360?o:Math.min(i,Math.max(0,parseFloat(o))),a&&(o=parseInt(String(o*i),10)/100),Math.abs(o-i)<1e-6?1:(i===360?o=(o<0?o%i+i:o%i)/parseFloat(String(i)):o=o%i/parseFloat(String(i)),o)}function clamp01(o){return Math.min(1,Math.max(0,o))}function isOnePointZero(o){return typeof o=="string"&&o.indexOf(".")!==-1&&parseFloat(o)===1}function isPercentage(o){return typeof o=="string"&&o.indexOf("%")!==-1}function boundAlpha(o){return o=parseFloat(o),(isNaN(o)||o<0||o>1)&&(o=1),o}function convertToPercentage(o){return o<=1?"".concat(Number(o)*100,"%"):o}function pad2(o){return o.length===1?"0"+o:String(o)}function rgbToRgb(o,i,a){return{r:bound01(o,255)*255,g:bound01(i,255)*255,b:bound01(a,255)*255}}function rgbToHsl(o,i,a){o=bound01(o,255),i=bound01(i,255),a=bound01(a,255);var s=Math.max(o,i,a),_=Math.min(o,i,a),j=0,_e=0,et=(s+_)/2;if(s===_)_e=0,j=0;else{var tt=s-_;switch(_e=et>.5?tt/(2-s-_):tt/(s+_),s){case o:j=(i-a)/tt+(i1&&(a-=1),a<1/6?o+(i-o)*(6*a):a<1/2?i:a<2/3?o+(i-o)*(2/3-a)*6:o}function hslToRgb(o,i,a){var s,_,j;if(o=bound01(o,360),i=bound01(i,100),a=bound01(a,100),i===0)_=a,j=a,s=a;else{var _e=a<.5?a*(1+i):a+i-a*i,et=2*a-_e;s=hue2rgb(et,_e,o+1/3),_=hue2rgb(et,_e,o),j=hue2rgb(et,_e,o-1/3)}return{r:s*255,g:_*255,b:j*255}}function rgbToHsv(o,i,a){o=bound01(o,255),i=bound01(i,255),a=bound01(a,255);var s=Math.max(o,i,a),_=Math.min(o,i,a),j=0,_e=s,et=s-_,tt=s===0?0:et/s;if(s===_)j=0;else{switch(s){case o:j=(i-a)/et+(i>16,g:(o&65280)>>8,b:o&255}}var names={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"};function inputToRGB(o){var i={r:0,g:0,b:0},a=1,s=null,_=null,j=null,_e=!1,et=!1;return typeof o=="string"&&(o=stringInputToObject(o)),typeof o=="object"&&(isValidCSSUnit(o.r)&&isValidCSSUnit(o.g)&&isValidCSSUnit(o.b)?(i=rgbToRgb(o.r,o.g,o.b),_e=!0,et=String(o.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(o.h)&&isValidCSSUnit(o.s)&&isValidCSSUnit(o.v)?(s=convertToPercentage(o.s),_=convertToPercentage(o.v),i=hsvToRgb(o.h,s,_),_e=!0,et="hsv"):isValidCSSUnit(o.h)&&isValidCSSUnit(o.s)&&isValidCSSUnit(o.l)&&(s=convertToPercentage(o.s),j=convertToPercentage(o.l),i=hslToRgb(o.h,s,j),_e=!0,et="hsl"),Object.prototype.hasOwnProperty.call(o,"a")&&(a=o.a)),a=boundAlpha(a),{ok:_e,format:o.format||et,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function stringInputToObject(o){if(o=o.trim().toLowerCase(),o.length===0)return!1;var i=!1;if(names[o])o=names[o],i=!0;else if(o==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var a=matchers.rgb.exec(o);return a?{r:a[1],g:a[2],b:a[3]}:(a=matchers.rgba.exec(o),a?{r:a[1],g:a[2],b:a[3],a:a[4]}:(a=matchers.hsl.exec(o),a?{h:a[1],s:a[2],l:a[3]}:(a=matchers.hsla.exec(o),a?{h:a[1],s:a[2],l:a[3],a:a[4]}:(a=matchers.hsv.exec(o),a?{h:a[1],s:a[2],v:a[3]}:(a=matchers.hsva.exec(o),a?{h:a[1],s:a[2],v:a[3],a:a[4]}:(a=matchers.hex8.exec(o),a?{r:parseIntFromHex(a[1]),g:parseIntFromHex(a[2]),b:parseIntFromHex(a[3]),a:convertHexToDecimal(a[4]),format:i?"name":"hex8"}:(a=matchers.hex6.exec(o),a?{r:parseIntFromHex(a[1]),g:parseIntFromHex(a[2]),b:parseIntFromHex(a[3]),format:i?"name":"hex"}:(a=matchers.hex4.exec(o),a?{r:parseIntFromHex(a[1]+a[1]),g:parseIntFromHex(a[2]+a[2]),b:parseIntFromHex(a[3]+a[3]),a:convertHexToDecimal(a[4]+a[4]),format:i?"name":"hex8"}:(a=matchers.hex3.exec(o),a?{r:parseIntFromHex(a[1]+a[1]),g:parseIntFromHex(a[2]+a[2]),b:parseIntFromHex(a[3]+a[3]),format:i?"name":"hex"}:!1)))))))))}function isValidCSSUnit(o){return!!matchers.CSS_UNIT.exec(String(o))}var TinyColor=function(){function o(i,a){i===void 0&&(i=""),a===void 0&&(a={});var s;if(i instanceof o)return i;typeof i=="number"&&(i=numberInputToObject(i)),this.originalInput=i;var _=inputToRGB(i);this.originalInput=i,this.r=_.r,this.g=_.g,this.b=_.b,this.a=_.a,this.roundA=Math.round(100*this.a)/100,this.format=(s=a.format)!==null&&s!==void 0?s:_.format,this.gradientType=a.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=_.ok}return o.prototype.isDark=function(){return this.getBrightness()<128},o.prototype.isLight=function(){return!this.isDark()},o.prototype.getBrightness=function(){var i=this.toRgb();return(i.r*299+i.g*587+i.b*114)/1e3},o.prototype.getLuminance=function(){var i=this.toRgb(),a,s,_,j=i.r/255,_e=i.g/255,et=i.b/255;return j<=.03928?a=j/12.92:a=Math.pow((j+.055)/1.055,2.4),_e<=.03928?s=_e/12.92:s=Math.pow((_e+.055)/1.055,2.4),et<=.03928?_=et/12.92:_=Math.pow((et+.055)/1.055,2.4),.2126*a+.7152*s+.0722*_},o.prototype.getAlpha=function(){return this.a},o.prototype.setAlpha=function(i){return this.a=boundAlpha(i),this.roundA=Math.round(100*this.a)/100,this},o.prototype.isMonochrome=function(){var i=this.toHsl().s;return i===0},o.prototype.toHsv=function(){var i=rgbToHsv(this.r,this.g,this.b);return{h:i.h*360,s:i.s,v:i.v,a:this.a}},o.prototype.toHsvString=function(){var i=rgbToHsv(this.r,this.g,this.b),a=Math.round(i.h*360),s=Math.round(i.s*100),_=Math.round(i.v*100);return this.a===1?"hsv(".concat(a,", ").concat(s,"%, ").concat(_,"%)"):"hsva(".concat(a,", ").concat(s,"%, ").concat(_,"%, ").concat(this.roundA,")")},o.prototype.toHsl=function(){var i=rgbToHsl(this.r,this.g,this.b);return{h:i.h*360,s:i.s,l:i.l,a:this.a}},o.prototype.toHslString=function(){var i=rgbToHsl(this.r,this.g,this.b),a=Math.round(i.h*360),s=Math.round(i.s*100),_=Math.round(i.l*100);return this.a===1?"hsl(".concat(a,", ").concat(s,"%, ").concat(_,"%)"):"hsla(".concat(a,", ").concat(s,"%, ").concat(_,"%, ").concat(this.roundA,")")},o.prototype.toHex=function(i){return i===void 0&&(i=!1),rgbToHex(this.r,this.g,this.b,i)},o.prototype.toHexString=function(i){return i===void 0&&(i=!1),"#"+this.toHex(i)},o.prototype.toHex8=function(i){return i===void 0&&(i=!1),rgbaToHex(this.r,this.g,this.b,this.a,i)},o.prototype.toHex8String=function(i){return i===void 0&&(i=!1),"#"+this.toHex8(i)},o.prototype.toHexShortString=function(i){return i===void 0&&(i=!1),this.a===1?this.toHexString(i):this.toHex8String(i)},o.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},o.prototype.toRgbString=function(){var i=Math.round(this.r),a=Math.round(this.g),s=Math.round(this.b);return this.a===1?"rgb(".concat(i,", ").concat(a,", ").concat(s,")"):"rgba(".concat(i,", ").concat(a,", ").concat(s,", ").concat(this.roundA,")")},o.prototype.toPercentageRgb=function(){var i=function(a){return"".concat(Math.round(bound01(a,255)*100),"%")};return{r:i(this.r),g:i(this.g),b:i(this.b),a:this.a}},o.prototype.toPercentageRgbString=function(){var i=function(a){return Math.round(bound01(a,255)*100)};return this.a===1?"rgb(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%)"):"rgba(".concat(i(this.r),"%, ").concat(i(this.g),"%, ").concat(i(this.b),"%, ").concat(this.roundA,")")},o.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var i="#"+rgbToHex(this.r,this.g,this.b,!1),a=0,s=Object.entries(names);a=0,j=!a&&_&&(i.startsWith("hex")||i==="name");return j?i==="name"&&this.a===0?this.toName():this.toRgbString():(i==="rgb"&&(s=this.toRgbString()),i==="prgb"&&(s=this.toPercentageRgbString()),(i==="hex"||i==="hex6")&&(s=this.toHexString()),i==="hex3"&&(s=this.toHexString(!0)),i==="hex4"&&(s=this.toHex8String(!0)),i==="hex8"&&(s=this.toHex8String()),i==="name"&&(s=this.toName()),i==="hsl"&&(s=this.toHslString()),i==="hsv"&&(s=this.toHsvString()),s||this.toHexString())},o.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},o.prototype.clone=function(){return new o(this.toString())},o.prototype.lighten=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.l+=i/100,a.l=clamp01(a.l),new o(a)},o.prototype.brighten=function(i){i===void 0&&(i=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(i/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(i/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(i/100)))),new o(a)},o.prototype.darken=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.l-=i/100,a.l=clamp01(a.l),new o(a)},o.prototype.tint=function(i){return i===void 0&&(i=10),this.mix("white",i)},o.prototype.shade=function(i){return i===void 0&&(i=10),this.mix("black",i)},o.prototype.desaturate=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.s-=i/100,a.s=clamp01(a.s),new o(a)},o.prototype.saturate=function(i){i===void 0&&(i=10);var a=this.toHsl();return a.s+=i/100,a.s=clamp01(a.s),new o(a)},o.prototype.greyscale=function(){return this.desaturate(100)},o.prototype.spin=function(i){var a=this.toHsl(),s=(a.h+i)%360;return a.h=s<0?360+s:s,new o(a)},o.prototype.mix=function(i,a){a===void 0&&(a=50);var s=this.toRgb(),_=new o(i).toRgb(),j=a/100,_e={r:(_.r-s.r)*j+s.r,g:(_.g-s.g)*j+s.g,b:(_.b-s.b)*j+s.b,a:(_.a-s.a)*j+s.a};return new o(_e)},o.prototype.analogous=function(i,a){i===void 0&&(i=6),a===void 0&&(a=30);var s=this.toHsl(),_=360/a,j=[this];for(s.h=(s.h-(_*i>>1)+720)%360;--i;)s.h=(s.h+_)%360,j.push(new o(s));return j},o.prototype.complement=function(){var i=this.toHsl();return i.h=(i.h+180)%360,new o(i)},o.prototype.monochromatic=function(i){i===void 0&&(i=6);for(var a=this.toHsv(),s=a.h,_=a.s,j=a.v,_e=[],et=1/i;i--;)_e.push(new o({h:s,s:_,v:j})),j=(j+et)%1;return _e},o.prototype.splitcomplement=function(){var i=this.toHsl(),a=i.h;return[this,new o({h:(a+72)%360,s:i.s,l:i.l}),new o({h:(a+216)%360,s:i.s,l:i.l})]},o.prototype.onBackground=function(i){var a=this.toRgb(),s=new o(i).toRgb(),_=a.a+s.a*(1-a.a);return new o({r:(a.r*a.a+s.r*s.a*(1-a.a))/_,g:(a.g*a.a+s.g*s.a*(1-a.a))/_,b:(a.b*a.a+s.b*s.a*(1-a.a))/_,a:_})},o.prototype.triad=function(){return this.polyad(3)},o.prototype.tetrad=function(){return this.polyad(4)},o.prototype.polyad=function(i){for(var a=this.toHsl(),s=a.h,_=[this],j=360/i,_e=1;_e=60&&Math.round(o.h)<=240?s=a?Math.round(o.h)-hueStep*i:Math.round(o.h)+hueStep*i:s=a?Math.round(o.h)+hueStep*i:Math.round(o.h)-hueStep*i,s<0?s+=360:s>=360&&(s-=360),s}function getSaturation(o,i,a){if(o.h===0&&o.s===0)return o.s;var s;return a?s=o.s-saturationStep*i:i===darkColorCount?s=o.s+saturationStep:s=o.s+saturationStep2*i,s>1&&(s=1),a&&i===lightColorCount&&s>.1&&(s=.1),s<.06&&(s=.06),Number(s.toFixed(2))}function getValue(o,i,a){var s;return a?s=o.v+brightnessStep1*i:s=o.v-brightnessStep2*i,s>1&&(s=1),Number(s.toFixed(2))}function generate$1(o){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=[],s=inputToRGB(o),_=lightColorCount;_>0;_-=1){var j=toHsv(s),_e=toHex(inputToRGB({h:getHue(j,_,!0),s:getSaturation(j,_,!0),v:getValue(j,_,!0)}));a.push(_e)}a.push(toHex(s));for(var et=1;et<=darkColorCount;et+=1){var tt=toHsv(s),rt=toHex(inputToRGB({h:getHue(tt,et),s:getSaturation(tt,et),v:getValue(tt,et)}));a.push(rt)}return i.theme==="dark"?darkColorMap.map(function(nt){var at=nt.index,it=nt.opacity,ut=toHex(mix(inputToRGB(i.backgroundColor||"#141414"),inputToRGB(a[at]),it*100));return ut}):a}var presetPrimaryColors={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach(function(o){presetPalettes[o]=generate$1(presetPrimaryColors[o]),presetPalettes[o].primary=presetPalettes[o][5],presetDarkPalettes[o]=generate$1(presetPrimaryColors[o],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[o].primary=presetDarkPalettes[o][5]});var blue=presetPalettes.blue;const defaultPresetColors={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"},seedToken=Object.assign(Object.assign({},defaultPresetColors),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', '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});function genColorMapToken(o,i){let{generateColorPalettes:a,generateNeutralColorPalettes:s}=i;const{colorSuccess:_,colorWarning:j,colorError:_e,colorInfo:et,colorPrimary:tt,colorBgBase:rt,colorTextBase:nt}=o,at=a(tt),it=a(_),ut=a(j),pt=a(_e),ft=a(et),xt=s(rt,nt),lt=o.colorLink||o.colorInfo,ot=a(lt);return Object.assign(Object.assign({},xt),{colorPrimaryBg:at[1],colorPrimaryBgHover:at[2],colorPrimaryBorder:at[3],colorPrimaryBorderHover:at[4],colorPrimaryHover:at[5],colorPrimary:at[6],colorPrimaryActive:at[7],colorPrimaryTextHover:at[8],colorPrimaryText:at[9],colorPrimaryTextActive:at[10],colorSuccessBg:it[1],colorSuccessBgHover:it[2],colorSuccessBorder:it[3],colorSuccessBorderHover:it[4],colorSuccessHover:it[4],colorSuccess:it[6],colorSuccessActive:it[7],colorSuccessTextHover:it[8],colorSuccessText:it[9],colorSuccessTextActive:it[10],colorErrorBg:pt[1],colorErrorBgHover:pt[2],colorErrorBorder:pt[3],colorErrorBorderHover:pt[4],colorErrorHover:pt[5],colorError:pt[6],colorErrorActive:pt[7],colorErrorTextHover:pt[8],colorErrorText:pt[9],colorErrorTextActive:pt[10],colorWarningBg:ut[1],colorWarningBgHover:ut[2],colorWarningBorder:ut[3],colorWarningBorderHover:ut[4],colorWarningHover:ut[4],colorWarning:ut[6],colorWarningActive:ut[7],colorWarningTextHover:ut[8],colorWarningText:ut[9],colorWarningTextActive:ut[10],colorInfoBg:ft[1],colorInfoBgHover:ft[2],colorInfoBorder:ft[3],colorInfoBorderHover:ft[4],colorInfoHover:ft[4],colorInfo:ft[6],colorInfoActive:ft[7],colorInfoTextHover:ft[8],colorInfoText:ft[9],colorInfoTextActive:ft[10],colorLinkHover:ot[4],colorLink:ot[6],colorLinkActive:ot[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const genRadius=o=>{let i=o,a=o,s=o,_=o;return o<6&&o>=5?i=o+1:o<16&&o>=6?i=o+2:o>=16&&(i=16),o<7&&o>=5?a=4:o<8&&o>=7?a=5:o<14&&o>=8?a=6:o<16&&o>=14?a=7:o>=16&&(a=8),o<6&&o>=2?s=1:o>=6&&(s=2),o>4&&o<8?_=4:o>=8&&(_=6),{borderRadius:o,borderRadiusXS:s,borderRadiusSM:a,borderRadiusLG:i,borderRadiusOuter:_}};function genCommonMapToken(o){const{motionUnit:i,motionBase:a,borderRadius:s,lineWidth:_}=o;return Object.assign({motionDurationFast:`${(a+i).toFixed(1)}s`,motionDurationMid:`${(a+i*2).toFixed(1)}s`,motionDurationSlow:`${(a+i*3).toFixed(1)}s`,lineWidthBold:_+1},genRadius(s))}const genControlHeight=o=>{const{controlHeight:i}=o;return{controlHeightSM:i*.75,controlHeightXS:i*.5,controlHeightLG:i*1.25}};function getLineHeight(o){return(o+8)/o}function getFontSizes(o){const i=new Array(10).fill(null).map((a,s)=>{const _=s-1,j=o*Math.pow(2.71828,_/5),_e=s>1?Math.floor(j):Math.ceil(j);return Math.floor(_e/2)*2});return i[1]=o,i.map(a=>({size:a,lineHeight:getLineHeight(a)}))}const genFontMapToken=o=>{const i=getFontSizes(o),a=i.map(nt=>nt.size),s=i.map(nt=>nt.lineHeight),_=a[1],j=a[0],_e=a[2],et=s[1],tt=s[0],rt=s[2];return{fontSizeSM:j,fontSize:_,fontSizeLG:_e,fontSizeXL:a[3],fontSizeHeading1:a[6],fontSizeHeading2:a[5],fontSizeHeading3:a[4],fontSizeHeading4:a[3],fontSizeHeading5:a[2],lineHeight:et,lineHeightLG:rt,lineHeightSM:tt,fontHeight:Math.round(et*_),fontHeightLG:Math.round(rt*_e),fontHeightSM:Math.round(tt*j),lineHeightHeading1:s[6],lineHeightHeading2:s[5],lineHeightHeading3:s[4],lineHeightHeading4:s[3],lineHeightHeading5:s[2]}};function genSizeMapToken$1(o){const{sizeUnit:i,sizeStep:a}=o;return{sizeXXL:i*(a+8),sizeXL:i*(a+4),sizeLG:i*(a+2),sizeMD:i*(a+1),sizeMS:i*a,size:i*a,sizeSM:i*(a-1),sizeXS:i*(a-2),sizeXXS:i*(a-3)}}const getAlphaColor$2=(o,i)=>new TinyColor(o).setAlpha(i).toRgbString(),getSolidColor$1=(o,i)=>new TinyColor(o).darken(i).toHexString(),generateColorPalettes$1=o=>{const i=generate$1(o);return{1:i[0],2:i[1],3:i[2],4:i[3],5:i[4],6:i[5],7:i[6],8:i[4],9:i[5],10:i[6]}},generateNeutralColorPalettes$1=(o,i)=>{const a=o||"#fff",s=i||"#000";return{colorBgBase:a,colorTextBase:s,colorText:getAlphaColor$2(s,.88),colorTextSecondary:getAlphaColor$2(s,.65),colorTextTertiary:getAlphaColor$2(s,.45),colorTextQuaternary:getAlphaColor$2(s,.25),colorFill:getAlphaColor$2(s,.15),colorFillSecondary:getAlphaColor$2(s,.06),colorFillTertiary:getAlphaColor$2(s,.04),colorFillQuaternary:getAlphaColor$2(s,.02),colorBgLayout:getSolidColor$1(a,4),colorBgContainer:getSolidColor$1(a,0),colorBgElevated:getSolidColor$1(a,0),colorBgSpotlight:getAlphaColor$2(s,.85),colorBgBlur:"transparent",colorBorder:getSolidColor$1(a,15),colorBorderSecondary:getSolidColor$1(a,6)}};function derivative$2(o){const i=Object.keys(defaultPresetColors).map(a=>{const s=generate$1(o[a]);return new Array(10).fill(1).reduce((_,j,_e)=>(_[`${a}-${_e+1}`]=s[_e],_[`${a}${_e+1}`]=s[_e],_),{})}).reduce((a,s)=>(a=Object.assign(Object.assign({},a),s),a),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},o),i),genColorMapToken(o,{generateColorPalettes:generateColorPalettes$1,generateNeutralColorPalettes:generateNeutralColorPalettes$1})),genFontMapToken(o.fontSize)),genSizeMapToken$1(o)),genControlHeight(o)),genCommonMapToken(o))}const defaultTheme=createTheme(derivative$2),defaultConfig={token:seedToken,override:{override:seedToken},hashed:!0},DesignTokenContext=React.createContext(defaultConfig),defaultIconPrefixCls="anticon",defaultGetPrefixCls=(o,i)=>i||(o?`ant-${o}`:"ant"),ConfigContext=reactExports.createContext({getPrefixCls:defaultGetPrefixCls,iconPrefixCls:defaultIconPrefixCls}),dynamicStyleMark=`-ant-${Date.now()}-${Math.random()}`;function getStyle(o,i){const a={},s=(_e,et)=>{let tt=_e.clone();return tt=(et==null?void 0:et(tt))||tt,tt.toRgbString()},_=(_e,et)=>{const tt=new TinyColor(_e),rt=generate$1(tt.toRgbString());a[`${et}-color`]=s(tt),a[`${et}-color-disabled`]=rt[1],a[`${et}-color-hover`]=rt[4],a[`${et}-color-active`]=rt[6],a[`${et}-color-outline`]=tt.clone().setAlpha(.2).toRgbString(),a[`${et}-color-deprecated-bg`]=rt[0],a[`${et}-color-deprecated-border`]=rt[2]};if(i.primaryColor){_(i.primaryColor,"primary");const _e=new TinyColor(i.primaryColor),et=generate$1(_e.toRgbString());et.forEach((rt,nt)=>{a[`primary-${nt+1}`]=rt}),a["primary-color-deprecated-l-35"]=s(_e,rt=>rt.lighten(35)),a["primary-color-deprecated-l-20"]=s(_e,rt=>rt.lighten(20)),a["primary-color-deprecated-t-20"]=s(_e,rt=>rt.tint(20)),a["primary-color-deprecated-t-50"]=s(_e,rt=>rt.tint(50)),a["primary-color-deprecated-f-12"]=s(_e,rt=>rt.setAlpha(rt.getAlpha()*.12));const tt=new TinyColor(et[0]);a["primary-color-active-deprecated-f-30"]=s(tt,rt=>rt.setAlpha(rt.getAlpha()*.3)),a["primary-color-active-deprecated-d-02"]=s(tt,rt=>rt.darken(2))}return i.successColor&&_(i.successColor,"success"),i.warningColor&&_(i.warningColor,"warning"),i.errorColor&&_(i.errorColor,"error"),i.infoColor&&_(i.infoColor,"info"),` :root { ${Object.keys(a).map(_e=>`--${o}-${_e}: ${a[_e]};`).join(` `)} } `.trim()}function registerTheme(o,i){const a=getStyle(o,i);canUseDom()&&updateCSS(a,`${dynamicStyleMark}-dynamic-theme`)}const DisabledContext=reactExports.createContext(!1),DisabledContextProvider=o=>{let{children:i,disabled:a}=o;const s=reactExports.useContext(DisabledContext);return reactExports.createElement(DisabledContext.Provider,{value:a??s},i)},DisabledContext$1=DisabledContext,SizeContext=reactExports.createContext(void 0),SizeContextProvider=o=>{let{children:i,size:a}=o;const s=reactExports.useContext(SizeContext);return reactExports.createElement(SizeContext.Provider,{value:a||s},i)},SizeContext$1=SizeContext;function useConfig(){const o=reactExports.useContext(DisabledContext$1),i=reactExports.useContext(SizeContext$1);return{componentDisabled:o,componentSize:i}}const version$1="5.16.1";function isStableColor(o){return o>=0&&o<=255}function getAlphaColor$1(o,i){const{r:a,g:s,b:_,a:j}=new TinyColor(o).toRgb();if(j<1)return o;const{r:_e,g:et,b:tt}=new TinyColor(i).toRgb();for(let rt=.01;rt<=1;rt+=.01){const nt=Math.round((a-_e*(1-rt))/rt),at=Math.round((s-et*(1-rt))/rt),it=Math.round((_-tt*(1-rt))/rt);if(isStableColor(nt)&&isStableColor(at)&&isStableColor(it))return new TinyColor({r:nt,g:at,b:it,a:Math.round(rt*100)/100}).toRgbString()}return new TinyColor({r:a,g:s,b:_,a:1}).toRgbString()}var __rest$4=function(o,i){var a={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(a[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,s=Object.getOwnPropertySymbols(o);_{delete s[it]});const _=Object.assign(Object.assign({},a),s),j=480,_e=576,et=768,tt=992,rt=1200,nt=1600;if(_.motion===!1){const it="0s";_.motionDurationFast=it,_.motionDurationMid=it,_.motionDurationSlow=it}return Object.assign(Object.assign(Object.assign({},_),{colorFillContent:_.colorFillSecondary,colorFillContentHover:_.colorFill,colorFillAlter:_.colorFillQuaternary,colorBgContainerDisabled:_.colorFillTertiary,colorBorderBg:_.colorBgContainer,colorSplit:getAlphaColor$1(_.colorBorderSecondary,_.colorBgContainer),colorTextPlaceholder:_.colorTextQuaternary,colorTextDisabled:_.colorTextQuaternary,colorTextHeading:_.colorText,colorTextLabel:_.colorTextSecondary,colorTextDescription:_.colorTextTertiary,colorTextLightSolid:_.colorWhite,colorHighlight:_.colorError,colorBgTextHover:_.colorFillSecondary,colorBgTextActive:_.colorFill,colorIcon:_.colorTextTertiary,colorIconHover:_.colorText,colorErrorOutline:getAlphaColor$1(_.colorErrorBg,_.colorBgContainer),colorWarningOutline:getAlphaColor$1(_.colorWarningBg,_.colorBgContainer),fontSizeIcon:_.fontSizeSM,lineWidthFocus:_.lineWidth*4,lineWidth:_.lineWidth,controlOutlineWidth:_.lineWidth*2,controlInteractiveSize:_.controlHeight/2,controlItemBgHover:_.colorFillTertiary,controlItemBgActive:_.colorPrimaryBg,controlItemBgActiveHover:_.colorPrimaryBgHover,controlItemBgActiveDisabled:_.colorFill,controlTmpOutline:_.colorFillQuaternary,controlOutline:getAlphaColor$1(_.colorPrimaryBg,_.colorBgContainer),lineType:_.lineType,borderRadius:_.borderRadius,borderRadiusXS:_.borderRadiusXS,borderRadiusSM:_.borderRadiusSM,borderRadiusLG:_.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:_.sizeXXS,paddingXS:_.sizeXS,paddingSM:_.sizeSM,padding:_.size,paddingMD:_.sizeMD,paddingLG:_.sizeLG,paddingXL:_.sizeXL,paddingContentHorizontalLG:_.sizeLG,paddingContentVerticalLG:_.sizeMS,paddingContentHorizontal:_.sizeMS,paddingContentVertical:_.sizeSM,paddingContentHorizontalSM:_.size,paddingContentVerticalSM:_.sizeXS,marginXXS:_.sizeXXS,marginXS:_.sizeXS,marginSM:_.sizeSM,margin:_.size,marginMD:_.sizeMD,marginLG:_.sizeLG,marginXL:_.sizeXL,marginXXL:_.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowSecondary:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowTertiary:` 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) `,screenXS:j,screenXSMin:j,screenXSMax:_e-1,screenSM:_e,screenSMMin:_e,screenSMMax:et-1,screenMD:et,screenMDMin:et,screenMDMax:tt-1,screenLG:tt,screenLGMin:tt,screenLGMax:rt-1,screenXL:rt,screenXLMin:rt,screenXLMax:nt-1,screenXXL:nt,screenXXLMin:nt,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()} `,boxShadowDrawerRight:` -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12), -9px 0 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerLeft:` 6px 0 16px 0 rgba(0, 0, 0, 0.08), 3px 0 6px -4px rgba(0, 0, 0, 0.12), 9px 0 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerUp:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) `,boxShadowDrawerDown:` 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) `,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)"}),s)}var __rest$3=function(o,i){var a={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(a[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,s=Object.getOwnPropertySymbols(o);_{const s=a.getDerivativeToken(o),{override:_}=i,j=__rest$3(i,["override"]);let _e=Object.assign(Object.assign({},s),{override:_});return _e=formatToken(_e),j&&Object.entries(j).forEach(et=>{let[tt,rt]=et;const{theme:nt}=rt,at=__rest$3(rt,["theme"]);let it=at;nt&&(it=getComputedToken(Object.assign(Object.assign({},_e),at),{override:at},nt)),_e[tt]=it}),_e};function useToken$1(){const{token:o,hashed:i,theme:a,override:s,cssVar:_}=React.useContext(DesignTokenContext),j=`${version$1}-${i||""}`,_e=a||defaultTheme,[et,tt,rt]=useCacheToken(_e,[seedToken,o],{salt:j,override:s,getComputedToken,formatToken,cssVar:_&&{prefix:_.prefix,key:_.key,unitless,ignore,preserve}});return[_e,rt,i?tt:"",et,_]}function useEvent(o){var i=reactExports.useRef();i.current=o;var a=reactExports.useCallback(function(){for(var s,_=arguments.length,j=new Array(_),_e=0;_e<_;_e++)j[_e]=arguments[_e];return(s=i.current)===null||s===void 0?void 0:s.call.apply(s,[i].concat(j))},[]);return a}function useSafeState(o){var i=reactExports.useRef(!1),a=reactExports.useState(o),s=_slicedToArray(a,2),_=s[0],j=s[1];reactExports.useEffect(function(){return i.current=!1,function(){i.current=!0}},[]);function _e(et,tt){tt&&i.current||j(et)}return[_,_e]}const resetIcon=()=>({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"}}),genLinkStyle=o=>({a:{color:o.colorLink,textDecoration:o.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${o.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:o.colorLinkHover},"&:active":{color:o.colorLinkActive},"&:active,\n &:hover":{textDecoration:o.linkHoverDecoration,outline:0},"&:focus":{textDecoration:o.linkFocusDecoration,outline:0},"&[disabled]":{color:o.colorTextDisabled,cursor:"not-allowed"}}}),genCommonStyle=(o,i,a)=>{const{fontFamily:s,fontSize:_}=o,j=`[class^="${i}"], [class*=" ${i}"]`;return{[a?`.${a}`:j]:{fontFamily:s,fontSize:_,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[j]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},genFocusOutline=o=>({outline:`${unit$1(o.lineWidthFocus)} solid ${o.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),genFocusStyle=o=>({"&:focus-visible":Object.assign({},genFocusOutline(o))});function _callSuper(o,i,a){return i=_getPrototypeOf(i),_possibleConstructorReturn(o,_isNativeReflectConstruct()?Reflect.construct(i,a||[],_getPrototypeOf(o).constructor):i.apply(o,a))}let AbstractCalculator=_createClass(function o(){_classCallCheck(this,o)});const AbstractCalculator$1=AbstractCalculator;let NumCalculator=function(o){function i(a){var s;return _classCallCheck(this,i),s=_callSuper(this,i),s.result=0,a instanceof i?s.result=a.result:typeof a=="number"&&(s.result=a),s}return _inherits(i,o),_createClass(i,[{key:"add",value:function(s){return s instanceof i?this.result+=s.result:typeof s=="number"&&(this.result+=s),this}},{key:"sub",value:function(s){return s instanceof i?this.result-=s.result:typeof s=="number"&&(this.result-=s),this}},{key:"mul",value:function(s){return s instanceof i?this.result*=s.result:typeof s=="number"&&(this.result*=s),this}},{key:"div",value:function(s){return s instanceof i?this.result/=s.result:typeof s=="number"&&(this.result/=s),this}},{key:"equal",value:function(){return this.result}}])}(AbstractCalculator$1);const CALC_UNIT="CALC_UNIT";function unit(o){return typeof o=="number"?`${o}${CALC_UNIT}`:o}let CSSCalculator=function(o){function i(a){var s;return _classCallCheck(this,i),s=_callSuper(this,i),s.result="",a instanceof i?s.result=`(${a.result})`:typeof a=="number"?s.result=unit(a):typeof a=="string"&&(s.result=a),s}return _inherits(i,o),_createClass(i,[{key:"add",value:function(s){return s instanceof i?this.result=`${this.result} + ${s.getResult()}`:(typeof s=="number"||typeof s=="string")&&(this.result=`${this.result} + ${unit(s)}`),this.lowPriority=!0,this}},{key:"sub",value:function(s){return s instanceof i?this.result=`${this.result} - ${s.getResult()}`:(typeof s=="number"||typeof s=="string")&&(this.result=`${this.result} - ${unit(s)}`),this.lowPriority=!0,this}},{key:"mul",value:function(s){return this.lowPriority&&(this.result=`(${this.result})`),s instanceof i?this.result=`${this.result} * ${s.getResult(!0)}`:(typeof s=="number"||typeof s=="string")&&(this.result=`${this.result} * ${s}`),this.lowPriority=!1,this}},{key:"div",value:function(s){return this.lowPriority&&(this.result=`(${this.result})`),s instanceof i?this.result=`${this.result} / ${s.getResult(!0)}`:(typeof s=="number"||typeof s=="string")&&(this.result=`${this.result} / ${s}`),this.lowPriority=!1,this}},{key:"getResult",value:function(s){return this.lowPriority||s?`(${this.result})`:this.result}},{key:"equal",value:function(s){const{unit:_=!0}=s||{},j=new RegExp(`${CALC_UNIT}`,"g");return this.result=this.result.replace(j,_?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}])}(AbstractCalculator$1);const genCalc=o=>{const i=o==="css"?CSSCalculator:NumCalculator;return a=>new i(a)};function genMaxMin(o){return o==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var i=arguments.length,a=new Array(i),s=0;sunit$1(_)).join(",")})`},min:function(){for(var i=arguments.length,a=new Array(i),s=0;sunit$1(_)).join(",")})`}}}const enableStatistic=typeof CSSINJS_STATISTIC<"u";let recording=!0;function merge(){for(var o=arguments.length,i=new Array(o),a=0;a{Object.keys(_).forEach(_e=>{Object.defineProperty(s,_e,{configurable:!0,enumerable:!0,get:()=>_[_e]})})}),recording=!0,s}const statistic={};function noop(){}const statisticToken=o=>{let i,a=o,s=noop;return enableStatistic&&typeof Proxy<"u"&&(i=new Set,a=new Proxy(o,{get(_,j){return recording&&i.add(j),_[j]}}),s=(_,j)=>{var _e;statistic[_]={global:Array.from(i),component:Object.assign(Object.assign({},(_e=statistic[_])===null||_e===void 0?void 0:_e.component),j)}}),{token:a,keys:i,flush:s}},useResetIconStyle=(o,i)=>{const[a,s]=useToken$1();return useStyleRegister({theme:a,token:s,hashId:"",path:["ant-design-icons",o],nonce:()=>i==null?void 0:i.nonce},()=>[{[`.${o}`]:Object.assign(Object.assign({},resetIcon()),{[`.${o} .${o}-icon`]:{display:"block"}})}])},getDefaultComponentToken=(o,i,a)=>{var s;return typeof a=="function"?a(merge(i,(s=i[o])!==null&&s!==void 0?s:{})):a??{}},getComponentToken=(o,i,a,s)=>{const _=Object.assign({},i[o]);if(s!=null&&s.deprecatedTokens){const{deprecatedTokens:_e}=s;_e.forEach(et=>{let[tt,rt]=et;var nt;(_!=null&&_[tt]||_!=null&&_[rt])&&((nt=_[rt])!==null&&nt!==void 0||(_[rt]=_==null?void 0:_[tt]))})}const j=Object.assign(Object.assign({},a),_);return Object.keys(j).forEach(_e=>{j[_e]===i[_e]&&delete j[_e]}),j},getCompVarPrefix=(o,i)=>`${[i,o.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function genComponentStyleHook(o,i,a){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const _=Array.isArray(o)?o:[o,o],[j]=_,_e=_.join("-");return function(et){let tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et;const[rt,nt,at,it,ut]=useToken$1(),{getPrefixCls:pt,iconPrefixCls:ft,csp:xt}=reactExports.useContext(ConfigContext),lt=pt(),ot=ut?"css":"js",st=genCalc(ot),{max:dt,min:gt}=genMaxMin(ot),ht={theme:rt,token:it,hashId:at,nonce:()=>xt==null?void 0:xt.nonce,clientOnly:s.clientOnly,order:s.order||-999};return useStyleRegister(Object.assign(Object.assign({},ht),{clientOnly:!1,path:["Shared",lt]}),()=>[{"&":genLinkStyle(it)}]),useResetIconStyle(ft,xt),[useStyleRegister(Object.assign(Object.assign({},ht),{path:[_e,et,ft]}),()=>{if(s.injectStyle===!1)return[];const{token:Ct,flush:kt}=statisticToken(it),$t=getDefaultComponentToken(j,nt,a),bt=`.${et}`,jt=getComponentToken(j,nt,$t,{deprecatedTokens:s.deprecatedTokens});ut&&Object.keys($t).forEach(Pt=>{$t[Pt]=`var(${token2CSSVar(Pt,getCompVarPrefix(j,ut.prefix))})`});const wt=merge(Ct,{componentCls:bt,prefixCls:et,iconCls:`.${ft}`,antCls:`.${lt}`,calc:st,max:dt,min:gt},ut?$t:jt),Rt=i(wt,{hashId:at,prefixCls:et,rootPrefixCls:lt,iconPrefixCls:ft});return kt(j,jt),[s.resetStyle===!1?null:genCommonStyle(wt,et,tt),Rt]}),at]}}const genSubStyleComponent=(o,i,a,s)=>{const _=genComponentStyleHook(o,i,a,Object.assign({resetStyle:!1,order:-998},s));return _e=>{let{prefixCls:et,rootCls:tt=et}=_e;return _(et,tt),null}},genCSSVarRegister=(o,i,a)=>{function s(rt){return`${o}${rt.slice(0,1).toUpperCase()}${rt.slice(1)}`}const{unitless:_={},injectStyle:j=!0}=a??{},_e={[s("zIndexPopup")]:!0};Object.keys(_).forEach(rt=>{_e[s(rt)]=_[rt]});const et=rt=>{let{rootCls:nt,cssVar:at}=rt;const[,it]=useToken$1();return useCSSVarRegister({path:[o],prefix:at.prefix,key:at==null?void 0:at.key,unitless:Object.assign(Object.assign({},unitless),_e),ignore,token:it,scope:nt},()=>{const ut=getDefaultComponentToken(o,it,i),pt=getComponentToken(o,it,ut,{deprecatedTokens:a==null?void 0:a.deprecatedTokens});return Object.keys(ut).forEach(ft=>{pt[s(ft)]=pt[ft],delete pt[ft]}),pt}),null};return rt=>{const[,,,,nt]=useToken$1();return[at=>j&&nt?React.createElement(React.Fragment,null,React.createElement(et,{rootCls:rt,cssVar:nt,component:o}),at):at,nt==null?void 0:nt.key]}},genStyleHooks=(o,i,a,s)=>{const _=genComponentStyleHook(o,i,a,s),j=genCSSVarRegister(Array.isArray(o)?o[0]:o,a,s);return function(_e){let et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_e;const[,tt]=_(_e,et),[rt,nt]=j(et);return[rt,tt,nt]}},fullClone$1=Object.assign({},React$1),{useId}=fullClone$1,useEmptyId=()=>"",useThemeKey=typeof useId>"u"?useEmptyId:useId;function useTheme(o,i,a){var s;const _=o||{},j=_.inherit===!1||!i?Object.assign(Object.assign({},defaultConfig),{hashed:(s=i==null?void 0:i.hashed)!==null&&s!==void 0?s:defaultConfig.hashed,cssVar:i==null?void 0:i.cssVar}):i,_e=useThemeKey();return useMemo(()=>{var et,tt;if(!o)return i;const rt=Object.assign({},j.components);Object.keys(o.components||{}).forEach(it=>{rt[it]=Object.assign(Object.assign({},rt[it]),o.components[it])});const nt=`css-var-${_e.replace(/:/g,"")}`,at=((et=_.cssVar)!==null&&et!==void 0?et:j.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:a==null?void 0:a.prefixCls},typeof j.cssVar=="object"?j.cssVar:{}),typeof _.cssVar=="object"?_.cssVar:{}),{key:typeof _.cssVar=="object"&&((tt=_.cssVar)===null||tt===void 0?void 0:tt.key)||nt});return Object.assign(Object.assign(Object.assign({},j),_),{token:Object.assign(Object.assign({},j.token),_.token),components:rt,cssVar:at})},[_,j],(et,tt)=>et.some((rt,nt)=>{const at=tt[nt];return!isEqual(rt,at,!0)}))}var _excluded$3=["children"],Context=reactExports.createContext({});function MotionProvider(o){var i=o.children,a=_objectWithoutProperties(o,_excluded$3);return reactExports.createElement(Context.Provider,{value:a},i)}var DomWrapper=function(o){_inherits(a,o);var i=_createSuper(a);function a(){return _classCallCheck(this,a),i.apply(this,arguments)}return _createClass(a,[{key:"render",value:function(){return this.props.children}}]),a}(reactExports.Component),STATUS_NONE="none",STATUS_APPEAR="appear",STATUS_ENTER="enter",STATUS_LEAVE="leave",STEP_NONE="none",STEP_PREPARE="prepare",STEP_START="start",STEP_ACTIVE="active",STEP_ACTIVATED="end",STEP_PREPARED="prepared";function makePrefixMap(o,i){var a={};return a[o.toLowerCase()]=i.toLowerCase(),a["Webkit".concat(o)]="webkit".concat(i),a["Moz".concat(o)]="moz".concat(i),a["ms".concat(o)]="MS".concat(i),a["O".concat(o)]="o".concat(i.toLowerCase()),a}function getVendorPrefixes(o,i){var a={animationend:makePrefixMap("Animation","AnimationEnd"),transitionend:makePrefixMap("Transition","TransitionEnd")};return o&&("AnimationEvent"in i||delete a.animationend.animation,"TransitionEvent"in i||delete a.transitionend.transition),a}var vendorPrefixes=getVendorPrefixes(canUseDom(),typeof window<"u"?window:{}),style={};if(canUseDom()){var _document$createEleme=document.createElement("div");style=_document$createEleme.style}var prefixedEventNames={};function getVendorPrefixedEventName(o){if(prefixedEventNames[o])return prefixedEventNames[o];var i=vendorPrefixes[o];if(i)for(var a=Object.keys(i),s=a.length,_=0;_1&&arguments[1]!==void 0?arguments[1]:2;i();var j=wrapperRaf(function(){_<=1?s({isCanceled:function(){return j!==o.current}}):a(s,_-1)});o.current=j}return reactExports.useEffect(function(){return function(){i()}},[]),[a,i]};var FULL_STEP_QUEUE=[STEP_PREPARE,STEP_START,STEP_ACTIVE,STEP_ACTIVATED],SIMPLE_STEP_QUEUE=[STEP_PREPARE,STEP_PREPARED],SkipStep=!1,DoStep=!0;function isActive(o){return o===STEP_ACTIVE||o===STEP_ACTIVATED}const useStepQueue=function(o,i,a){var s=useSafeState(STEP_NONE),_=_slicedToArray(s,2),j=_[0],_e=_[1],et=useNextFrame(),tt=_slicedToArray(et,2),rt=tt[0],nt=tt[1];function at(){_e(STEP_PREPARE,!0)}var it=i?SIMPLE_STEP_QUEUE:FULL_STEP_QUEUE;return useIsomorphicLayoutEffect(function(){if(j!==STEP_NONE&&j!==STEP_ACTIVATED){var ut=it.indexOf(j),pt=it[ut+1],ft=a(j);ft===SkipStep?_e(pt,!0):pt&&rt(function(xt){function lt(){xt.isCanceled()||_e(pt,!0)}ft===!0?lt():Promise.resolve(ft).then(lt)})}},[o,j]),reactExports.useEffect(function(){return function(){nt()}},[]),[at,j]};function useStatus(o,i,a,s){var _=s.motionEnter,j=_===void 0?!0:_,_e=s.motionAppear,et=_e===void 0?!0:_e,tt=s.motionLeave,rt=tt===void 0?!0:tt,nt=s.motionDeadline,at=s.motionLeaveImmediately,it=s.onAppearPrepare,ut=s.onEnterPrepare,pt=s.onLeavePrepare,ft=s.onAppearStart,xt=s.onEnterStart,lt=s.onLeaveStart,ot=s.onAppearActive,st=s.onEnterActive,dt=s.onLeaveActive,gt=s.onAppearEnd,ht=s.onEnterEnd,mt=s.onLeaveEnd,Ct=s.onVisibleChanged,kt=useSafeState(),$t=_slicedToArray(kt,2),bt=$t[0],jt=$t[1],wt=useSafeState(STATUS_NONE),Rt=_slicedToArray(wt,2),Pt=Rt[0],St=Rt[1],vt=useSafeState(null),ct=_slicedToArray(vt,2),yt=ct[0],_t=ct[1],Et=reactExports.useRef(!1),Tt=reactExports.useRef(null);function At(){return a()}var Ot=reactExports.useRef(!1);function Dt(){St(STATUS_NONE,!0),_t(null,!0)}function It(zt){var Lt=At();if(!(zt&&!zt.deadline&&zt.target!==Lt)){var Nt=Ot.current,Mt;Pt===STATUS_APPEAR&&Nt?Mt=gt==null?void 0:gt(Lt,zt):Pt===STATUS_ENTER&&Nt?Mt=ht==null?void 0:ht(Lt,zt):Pt===STATUS_LEAVE&&Nt&&(Mt=mt==null?void 0:mt(Lt,zt)),Pt!==STATUS_NONE&&Nt&&Mt!==!1&&Dt()}}var Bt=useDomMotionEvents(It),ir=_slicedToArray(Bt,1),Jt=ir[0],er=function(Lt){var Nt,Mt,Ft;switch(Lt){case STATUS_APPEAR:return Nt={},_defineProperty(Nt,STEP_PREPARE,it),_defineProperty(Nt,STEP_START,ft),_defineProperty(Nt,STEP_ACTIVE,ot),Nt;case STATUS_ENTER:return Mt={},_defineProperty(Mt,STEP_PREPARE,ut),_defineProperty(Mt,STEP_START,xt),_defineProperty(Mt,STEP_ACTIVE,st),Mt;case STATUS_LEAVE:return Ft={},_defineProperty(Ft,STEP_PREPARE,pt),_defineProperty(Ft,STEP_START,lt),_defineProperty(Ft,STEP_ACTIVE,dt),Ft;default:return{}}},Gt=reactExports.useMemo(function(){return er(Pt)},[Pt]),tr=useStepQueue(Pt,!o,function(zt){if(zt===STEP_PREPARE){var Lt=Gt[STEP_PREPARE];return Lt?Lt(At()):SkipStep}if(Wt in Gt){var Nt;_t(((Nt=Gt[Wt])===null||Nt===void 0?void 0:Nt.call(Gt,At(),null))||null)}return Wt===STEP_ACTIVE&&(Jt(At()),nt>0&&(clearTimeout(Tt.current),Tt.current=setTimeout(function(){It({deadline:!0})},nt))),Wt===STEP_PREPARED&&Dt(),DoStep}),rr=_slicedToArray(tr,2),qt=rr[0],Wt=rr[1],nr=isActive(Wt);Ot.current=nr,useIsomorphicLayoutEffect(function(){jt(i);var zt=Et.current;Et.current=!0;var Lt;!zt&&i&&et&&(Lt=STATUS_APPEAR),zt&&i&&j&&(Lt=STATUS_ENTER),(zt&&!i&&rt||!zt&&at&&!i&&rt)&&(Lt=STATUS_LEAVE);var Nt=er(Lt);Lt&&(o||Nt[STEP_PREPARE])?(St(Lt),qt()):St(STATUS_NONE)},[i]),reactExports.useEffect(function(){(Pt===STATUS_APPEAR&&!et||Pt===STATUS_ENTER&&!j||Pt===STATUS_LEAVE&&!rt)&&St(STATUS_NONE)},[et,j,rt]),reactExports.useEffect(function(){return function(){Et.current=!1,clearTimeout(Tt.current)}},[]);var Xt=reactExports.useRef(!1);reactExports.useEffect(function(){bt&&(Xt.current=!0),bt!==void 0&&Pt===STATUS_NONE&&((Xt.current||bt)&&(Ct==null||Ct(bt)),Xt.current=!0)},[bt,Pt]);var Zt=yt;return Gt[STEP_PREPARE]&&Wt===STEP_START&&(Zt=_objectSpread2({transition:"none"},Zt)),[Pt,Wt,Zt,bt??i]}function genCSSMotion(o){var i=o;_typeof(o)==="object"&&(i=o.transitionSupport);function a(_,j){return!!(_.motionName&&i&&j!==!1)}var s=reactExports.forwardRef(function(_,j){var _e=_.visible,et=_e===void 0?!0:_e,tt=_.removeOnLeave,rt=tt===void 0?!0:tt,nt=_.forceRender,at=_.children,it=_.motionName,ut=_.leavedClassName,pt=_.eventProps,ft=reactExports.useContext(Context),xt=ft.motion,lt=a(_,xt),ot=reactExports.useRef(),st=reactExports.useRef();function dt(){try{return ot.current instanceof HTMLElement?ot.current:findDOMNode(st.current)}catch{return null}}var gt=useStatus(lt,et,dt,_),ht=_slicedToArray(gt,4),mt=ht[0],Ct=ht[1],kt=ht[2],$t=ht[3],bt=reactExports.useRef($t);$t&&(bt.current=!0);var jt=reactExports.useCallback(function(_t){ot.current=_t,fillRef(j,_t)},[j]),wt,Rt=_objectSpread2(_objectSpread2({},pt),{},{visible:et});if(!at)wt=null;else if(mt===STATUS_NONE)$t?wt=at(_objectSpread2({},Rt),jt):!rt&&bt.current&&ut?wt=at(_objectSpread2(_objectSpread2({},Rt),{},{className:ut}),jt):nt||!rt&&!ut?wt=at(_objectSpread2(_objectSpread2({},Rt),{},{style:{display:"none"}}),jt):wt=null;else{var Pt,St;Ct===STEP_PREPARE?St="prepare":isActive(Ct)?St="active":Ct===STEP_START&&(St="start");var vt=getTransitionName(it,"".concat(mt,"-").concat(St));wt=at(_objectSpread2(_objectSpread2({},Rt),{},{className:classNames(getTransitionName(it,mt),(Pt={},_defineProperty(Pt,vt,vt&&St),_defineProperty(Pt,it,typeof it=="string"),Pt)),style:kt}),jt)}if(reactExports.isValidElement(wt)&&supportRef(wt)){var ct=wt,yt=ct.ref;yt||(wt=reactExports.cloneElement(wt,{ref:jt}))}return reactExports.createElement(DomWrapper,{ref:st},wt)});return s.displayName="CSSMotion",s}const CSSMotion=genCSSMotion(supportTransition);var STATUS_ADD="add",STATUS_KEEP="keep",STATUS_REMOVE="remove",STATUS_REMOVED="removed";function wrapKeyToObject(o){var i;return o&&_typeof(o)==="object"&&"key"in o?i=o:i={key:o},_objectSpread2(_objectSpread2({},i),{},{key:String(i.key)})}function parseKeys(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return o.map(wrapKeyToObject)}function diffKeys(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=[],s=0,_=i.length,j=parseKeys(o),_e=parseKeys(i);j.forEach(function(rt){for(var nt=!1,at=s;at<_;at+=1){var it=_e[at];if(it.key===rt.key){s1});return tt.forEach(function(rt){a=a.filter(function(nt){var at=nt.key,it=nt.status;return at!==rt||it!==STATUS_REMOVE}),a.forEach(function(nt){nt.key===rt&&(nt.status=STATUS_KEEP)})}),a}var _excluded$2=["component","children","onVisibleChanged","onAllRemoved"],_excluded2=["status"],MOTION_PROP_NAMES=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function genCSSMotionList(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:CSSMotion,a=function(s){_inherits(j,s);var _=_createSuper(j);function j(){var _e;_classCallCheck(this,j);for(var et=arguments.length,tt=new Array(et),rt=0;rtnull;var __rest$2=function(o,i){var a={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(a[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,s=Object.getOwnPropertySymbols(o);_i.endsWith("Color"))}const setGlobalConfig=o=>{const{prefixCls:i,iconPrefixCls:a,theme:s,holderRender:_}=o;i!==void 0&&(globalPrefixCls=i),s&&isLegacyTheme(s)&®isterTheme(getGlobalPrefixCls(),s)},ProviderChildren=o=>{const{children:i,csp:a,autoInsertSpaceInButton:s,alert:_,anchor:j,form:_e,locale:et,componentSize:tt,direction:rt,space:nt,virtual:at,dropdownMatchSelectWidth:it,popupMatchSelectWidth:ut,popupOverflow:pt,legacyLocale:ft,parentContext:xt,iconPrefixCls:lt,theme:ot,componentDisabled:st,segmented:dt,statistic:gt,spin:ht,calendar:mt,carousel:Ct,cascader:kt,collapse:$t,typography:bt,checkbox:jt,descriptions:wt,divider:Rt,drawer:Pt,skeleton:St,steps:vt,image:ct,layout:yt,list:_t,mentions:Et,modal:Tt,progress:At,result:Ot,slider:Dt,breadcrumb:It,menu:Bt,pagination:ir,input:Jt,textArea:er,empty:Gt,badge:tr,radio:rr,rate:qt,switch:Wt,transfer:nr,avatar:Xt,message:Zt,tag:zt,table:Lt,card:Nt,tabs:Mt,timeline:Ft,timePicker:ar,upload:yr,notification:Sr,tree:_r,colorPicker:xr,datePicker:Cr,rangePicker:Er,flex:$r,wave:Tr,dropdown:br,warning:kr,tour:wr,floatButtonGroup:Pr}=o,mr=reactExports.useCallback((Ht,Vt)=>{const{prefixCls:Yt}=o;if(Vt)return Vt;const Kt=Yt||xt.getPrefixCls("");return Ht?`${Kt}-${Ht}`:Kt},[xt.getPrefixCls,o.prefixCls]),lr=lt||xt.iconPrefixCls||defaultIconPrefixCls,sr=a||xt.csp;useResetIconStyle(lr,sr);const dr=useTheme(ot,xt.theme,{prefixCls:mr("")}),fr={csp:sr,autoInsertSpaceInButton:s,alert:_,anchor:j,locale:et||ft,direction:rt,space:nt,virtual:at,popupMatchSelectWidth:ut??it,popupOverflow:pt,getPrefixCls:mr,iconPrefixCls:lr,theme:dr,segmented:dt,statistic:gt,spin:ht,calendar:mt,carousel:Ct,cascader:kt,collapse:$t,typography:bt,checkbox:jt,descriptions:wt,divider:Rt,drawer:Pt,skeleton:St,steps:vt,image:ct,input:Jt,textArea:er,layout:yt,list:_t,mentions:Et,modal:Tt,progress:At,result:Ot,slider:Dt,breadcrumb:It,menu:Bt,pagination:ir,empty:Gt,badge:tr,radio:rr,rate:qt,switch:Wt,transfer:nr,avatar:Xt,message:Zt,tag:zt,table:Lt,card:Nt,tabs:Mt,timeline:Ft,timePicker:ar,upload:yr,notification:Sr,tree:_r,colorPicker:xr,datePicker:Cr,rangePicker:Er,flex:$r,wave:Tr,dropdown:br,warning:kr,tour:wr,floatButtonGroup:Pr},ur=Object.assign({},xt);Object.keys(fr).forEach(Ht=>{fr[Ht]!==void 0&&(ur[Ht]=fr[Ht])}),PASSED_PROPS.forEach(Ht=>{const Vt=o[Ht];Vt&&(ur[Ht]=Vt)});const or=useMemo(()=>ur,ur,(Ht,Vt)=>{const Yt=Object.keys(Ht),Kt=Object.keys(Vt);return Yt.length!==Kt.length||Yt.some(cr=>Ht[cr]!==Vt[cr])}),Rr=reactExports.useMemo(()=>({prefixCls:lr,csp:sr}),[lr,sr]);let Ut=reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(PropWarning,{dropdownMatchSelectWidth:it}),i);const gr=reactExports.useMemo(()=>{var Ht,Vt,Yt,Kt;return merge$1(((Ht=localeValues$5.Form)===null||Ht===void 0?void 0:Ht.defaultValidateMessages)||{},((Yt=(Vt=or.locale)===null||Vt===void 0?void 0:Vt.Form)===null||Yt===void 0?void 0:Yt.defaultValidateMessages)||{},((Kt=or.form)===null||Kt===void 0?void 0:Kt.validateMessages)||{},(_e==null?void 0:_e.validateMessages)||{})},[or,_e==null?void 0:_e.validateMessages]);Object.keys(gr).length>0&&(Ut=reactExports.createElement(ValidateMessagesContext.Provider,{value:gr},Ut)),et&&(Ut=reactExports.createElement(LocaleProvider$1,{locale:et,_ANT_MARK__:ANT_MARK},Ut)),(lr||sr)&&(Ut=reactExports.createElement(IconContext.Provider,{value:Rr},Ut)),tt&&(Ut=reactExports.createElement(SizeContextProvider,{size:tt},Ut)),Ut=reactExports.createElement(MotionWrapper,null,Ut);const jr=reactExports.useMemo(()=>{const Ht=dr||{},{algorithm:Vt,token:Yt,components:Kt,cssVar:cr}=Ht,Or=__rest$2(Ht,["algorithm","token","components","cssVar"]),hr=Vt&&(!Array.isArray(Vt)||Vt.length>0)?createTheme(Vt):defaultTheme,pr={};Object.entries(Kt||{}).forEach(Ar=>{let[Mr,Ir]=Ar;const Qt=Object.assign({},Ir);"algorithm"in Qt&&(Qt.algorithm===!0?Qt.theme=hr:(Array.isArray(Qt.algorithm)||typeof Qt.algorithm=="function")&&(Qt.theme=createTheme(Qt.algorithm)),delete Qt.algorithm),pr[Mr]=Qt});const vr=Object.assign(Object.assign({},seedToken),Yt);return Object.assign(Object.assign({},Or),{theme:hr,token:vr,components:pr,override:Object.assign({override:vr},pr),cssVar:cr})},[dr]);return ot&&(Ut=reactExports.createElement(DesignTokenContext.Provider,{value:jr},Ut)),or.warning&&(Ut=reactExports.createElement(WarningContext.Provider,{value:or.warning},Ut)),st!==void 0&&(Ut=reactExports.createElement(DisabledContextProvider,{disabled:st},Ut)),reactExports.createElement(ConfigContext.Provider,{value:or},Ut)},ConfigProvider=o=>{const i=reactExports.useContext(ConfigContext),a=reactExports.useContext(LocaleContext$1);return reactExports.createElement(ProviderChildren,Object.assign({parentContext:i,legacyLocale:a},o))};ConfigProvider.ConfigContext=ConfigContext;ConfigProvider.SizeContext=SizeContext$1;ConfigProvider.config=setGlobalConfig;ConfigProvider.useConfig=useConfig;Object.defineProperty(ConfigProvider,"SizeContext",{get:()=>SizeContext$1});const ConfigProvider$1=ConfigProvider;function getRoot(o){var i;return o==null||(i=o.getRootNode)===null||i===void 0?void 0:i.call(o)}function inShadow(o){return getRoot(o)instanceof ShadowRoot}function getShadowRoot(o){return inShadow(o)?getRoot(o):null}function camelCase(o){return o.replace(/-(.)/g,function(i,a){return a.toUpperCase()})}function warning(o,i){warningOnce(o,"[@ant-design/icons] ".concat(i))}function isIconDefinition(o){return _typeof(o)==="object"&&typeof o.name=="string"&&typeof o.theme=="string"&&(_typeof(o.icon)==="object"||typeof o.icon=="function")}function normalizeAttrs(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(o).reduce(function(i,a){var s=o[a];switch(a){case"class":i.className=s,delete i.class;break;default:delete i[a],i[camelCase(a)]=s}return i},{})}function generate(o,i,a){return a?React.createElement(o.tag,_objectSpread2(_objectSpread2({key:i},normalizeAttrs(o.attrs)),a),(o.children||[]).map(function(s,_){return generate(s,"".concat(i,"-").concat(o.tag,"-").concat(_))})):React.createElement(o.tag,_objectSpread2({key:i},normalizeAttrs(o.attrs)),(o.children||[]).map(function(s,_){return generate(s,"".concat(i,"-").concat(o.tag,"-").concat(_))}))}function getSecondaryColor(o){return generate$1(o)[0]}function normalizeTwoToneColors(o){return o?Array.isArray(o)?o:[o]:[]}var iconStyles=` .anticon { display: inline-flex; alignItems: center; color: inherit; font-style: normal; line-height: 0; text-align: center; text-transform: none; vertical-align: -0.125em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .anticon > * { line-height: 1; } .anticon svg { display: inline-block; } .anticon::before { display: none; } .anticon .anticon-icon { display: block; } .anticon[tabindex] { cursor: pointer; } .anticon-spin::before, .anticon-spin { display: inline-block; -webkit-animation: loadingCircle 1s infinite linear; animation: loadingCircle 1s infinite linear; } @-webkit-keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } `,useInsertStyles=function o(i){var a=reactExports.useContext(IconContext),s=a.csp,_=a.prefixCls,j=iconStyles;_&&(j=j.replace(/anticon/g,_)),reactExports.useEffect(function(){var _e=i.current,et=getShadowRoot(_e);updateCSS(j,"@ant-design-icons",{prepend:!0,csp:s,attachTo:et})},[])},_excluded$1=["icon","className","onClick","style","primaryColor","secondaryColor"],twoToneColorPalette={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function setTwoToneColors(o){var i=o.primaryColor,a=o.secondaryColor;twoToneColorPalette.primaryColor=i,twoToneColorPalette.secondaryColor=a||getSecondaryColor(i),twoToneColorPalette.calculated=!!a}function getTwoToneColors(){return _objectSpread2({},twoToneColorPalette)}var IconBase=function o(i){var a=i.icon,s=i.className,_=i.onClick,j=i.style,_e=i.primaryColor,et=i.secondaryColor,tt=_objectWithoutProperties(i,_excluded$1),rt=reactExports.useRef(),nt=twoToneColorPalette;if(_e&&(nt={primaryColor:_e,secondaryColor:et||getSecondaryColor(_e)}),useInsertStyles(rt),warning(isIconDefinition(a),"icon should be icon definiton, but got ".concat(a)),!isIconDefinition(a))return null;var at=a;return at&&typeof at.icon=="function"&&(at=_objectSpread2(_objectSpread2({},at),{},{icon:at.icon(nt.primaryColor,nt.secondaryColor)})),generate(at.icon,"svg-".concat(at.name),_objectSpread2(_objectSpread2({className:s,onClick:_,style:j,"data-icon":at.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},tt),{},{ref:rt}))};IconBase.displayName="IconReact";IconBase.getTwoToneColors=getTwoToneColors;IconBase.setTwoToneColors=setTwoToneColors;const ReactIcon=IconBase;function setTwoToneColor(o){var i=normalizeTwoToneColors(o),a=_slicedToArray(i,2),s=a[0],_=a[1];return ReactIcon.setTwoToneColors({primaryColor:s,secondaryColor:_})}function getTwoToneColor(){var o=ReactIcon.getTwoToneColors();return o.calculated?[o.primaryColor,o.secondaryColor]:o.primaryColor}var _excluded=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];setTwoToneColor(blue.primary);var Icon=reactExports.forwardRef(function(o,i){var a=o.className,s=o.icon,_=o.spin,j=o.rotate,_e=o.tabIndex,et=o.onClick,tt=o.twoToneColor,rt=_objectWithoutProperties(o,_excluded),nt=reactExports.useContext(IconContext),at=nt.prefixCls,it=at===void 0?"anticon":at,ut=nt.rootClassName,pt=classNames(ut,it,_defineProperty(_defineProperty({},"".concat(it,"-").concat(s.name),!!s.name),"".concat(it,"-spin"),!!_||s.name==="loading"),a),ft=_e;ft===void 0&&et&&(ft=-1);var xt=j?{msTransform:"rotate(".concat(j,"deg)"),transform:"rotate(".concat(j,"deg)")}:void 0,lt=normalizeTwoToneColors(tt),ot=_slicedToArray(lt,2),st=ot[0],dt=ot[1];return reactExports.createElement("span",_extends({role:"img","aria-label":s.name},rt,{ref:i,tabIndex:ft,onClick:et,className:pt}),reactExports.createElement(ReactIcon,{icon:s,primaryColor:st,secondaryColor:dt,style:xt}))});Icon.displayName="AntdIcon";Icon.getTwoToneColor=getTwoToneColor;Icon.setTwoToneColor=setTwoToneColor;const AntdIcon=Icon;function isFragment(o){return o&&React.isValidElement(o)&&o.type===React.Fragment}const replaceElement=(o,i,a)=>React.isValidElement(o)?React.cloneElement(o,typeof a=="function"?a(o.props||{}):a):i;function cloneElement(o,i){return replaceElement(o,o,i)}var LoadingOutlined$2={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"};const LoadingOutlinedSvg=LoadingOutlined$2;var LoadingOutlined=function o(i,a){return reactExports.createElement(AntdIcon,_extends({},i,{ref:a,icon:LoadingOutlinedSvg}))},RefIcon=reactExports.forwardRef(LoadingOutlined);const LoadingOutlined$1=RefIcon;function _regeneratorRuntime(){_regeneratorRuntime=function(){return i};var o,i={},a=Object.prototype,s=a.hasOwnProperty,_=Object.defineProperty||function(St,vt,ct){St[vt]=ct.value},j=typeof Symbol=="function"?Symbol:{},_e=j.iterator||"@@iterator",et=j.asyncIterator||"@@asyncIterator",tt=j.toStringTag||"@@toStringTag";function rt(St,vt,ct){return Object.defineProperty(St,vt,{value:ct,enumerable:!0,configurable:!0,writable:!0}),St[vt]}try{rt({},"")}catch{rt=function(ct,yt,_t){return ct[yt]=_t}}function nt(St,vt,ct,yt){var _t=vt&&vt.prototype instanceof lt?vt:lt,Et=Object.create(_t.prototype),Tt=new Rt(yt||[]);return _(Et,"_invoke",{value:$t(St,ct,Tt)}),Et}function at(St,vt,ct){try{return{type:"normal",arg:St.call(vt,ct)}}catch(yt){return{type:"throw",arg:yt}}}i.wrap=nt;var it="suspendedStart",ut="suspendedYield",pt="executing",ft="completed",xt={};function lt(){}function ot(){}function st(){}var dt={};rt(dt,_e,function(){return this});var gt=Object.getPrototypeOf,ht=gt&>(gt(Pt([])));ht&&ht!==a&&s.call(ht,_e)&&(dt=ht);var mt=st.prototype=lt.prototype=Object.create(dt);function Ct(St){["next","throw","return"].forEach(function(vt){rt(St,vt,function(ct){return this._invoke(vt,ct)})})}function kt(St,vt){function ct(_t,Et,Tt,At){var Ot=at(St[_t],St,Et);if(Ot.type!=="throw"){var Dt=Ot.arg,It=Dt.value;return It&&_typeof(It)=="object"&&s.call(It,"__await")?vt.resolve(It.__await).then(function(Bt){ct("next",Bt,Tt,At)},function(Bt){ct("throw",Bt,Tt,At)}):vt.resolve(It).then(function(Bt){Dt.value=Bt,Tt(Dt)},function(Bt){return ct("throw",Bt,Tt,At)})}At(Ot.arg)}var yt;_(this,"_invoke",{value:function(Et,Tt){function At(){return new vt(function(Ot,Dt){ct(Et,Tt,Ot,Dt)})}return yt=yt?yt.then(At,At):At()}})}function $t(St,vt,ct){var yt=it;return function(_t,Et){if(yt===pt)throw Error("Generator is already running");if(yt===ft){if(_t==="throw")throw Et;return{value:o,done:!0}}for(ct.method=_t,ct.arg=Et;;){var Tt=ct.delegate;if(Tt){var At=bt(Tt,ct);if(At){if(At===xt)continue;return At}}if(ct.method==="next")ct.sent=ct._sent=ct.arg;else if(ct.method==="throw"){if(yt===it)throw yt=ft,ct.arg;ct.dispatchException(ct.arg)}else ct.method==="return"&&ct.abrupt("return",ct.arg);yt=pt;var Ot=at(St,vt,ct);if(Ot.type==="normal"){if(yt=ct.done?ft:ut,Ot.arg===xt)continue;return{value:Ot.arg,done:ct.done}}Ot.type==="throw"&&(yt=ft,ct.method="throw",ct.arg=Ot.arg)}}}function bt(St,vt){var ct=vt.method,yt=St.iterator[ct];if(yt===o)return vt.delegate=null,ct==="throw"&&St.iterator.return&&(vt.method="return",vt.arg=o,bt(St,vt),vt.method==="throw")||ct!=="return"&&(vt.method="throw",vt.arg=new TypeError("The iterator does not provide a '"+ct+"' method")),xt;var _t=at(yt,St.iterator,vt.arg);if(_t.type==="throw")return vt.method="throw",vt.arg=_t.arg,vt.delegate=null,xt;var Et=_t.arg;return Et?Et.done?(vt[St.resultName]=Et.value,vt.next=St.nextLoc,vt.method!=="return"&&(vt.method="next",vt.arg=o),vt.delegate=null,xt):Et:(vt.method="throw",vt.arg=new TypeError("iterator result is not an object"),vt.delegate=null,xt)}function jt(St){var vt={tryLoc:St[0]};1 in St&&(vt.catchLoc=St[1]),2 in St&&(vt.finallyLoc=St[2],vt.afterLoc=St[3]),this.tryEntries.push(vt)}function wt(St){var vt=St.completion||{};vt.type="normal",delete vt.arg,St.completion=vt}function Rt(St){this.tryEntries=[{tryLoc:"root"}],St.forEach(jt,this),this.reset(!0)}function Pt(St){if(St||St===""){var vt=St[_e];if(vt)return vt.call(St);if(typeof St.next=="function")return St;if(!isNaN(St.length)){var ct=-1,yt=function _t(){for(;++ct=0;--_t){var Et=this.tryEntries[_t],Tt=Et.completion;if(Et.tryLoc==="root")return yt("end");if(Et.tryLoc<=this.prev){var At=s.call(Et,"catchLoc"),Ot=s.call(Et,"finallyLoc");if(At&&Ot){if(this.prev=0;--yt){var _t=this.tryEntries[yt];if(_t.tryLoc<=this.prev&&s.call(_t,"finallyLoc")&&this.prev<_t.finallyLoc){var Et=_t;break}}Et&&(vt==="break"||vt==="continue")&&Et.tryLoc<=ct&&ct<=Et.finallyLoc&&(Et=null);var Tt=Et?Et.completion:{};return Tt.type=vt,Tt.arg=ct,Et?(this.method="next",this.next=Et.finallyLoc,xt):this.complete(Tt)},complete:function(vt,ct){if(vt.type==="throw")throw vt.arg;return vt.type==="break"||vt.type==="continue"?this.next=vt.arg:vt.type==="return"?(this.rval=this.arg=vt.arg,this.method="return",this.next="end"):vt.type==="normal"&&ct&&(this.next=ct),xt},finish:function(vt){for(var ct=this.tryEntries.length-1;ct>=0;--ct){var yt=this.tryEntries[ct];if(yt.finallyLoc===vt)return this.complete(yt.completion,yt.afterLoc),wt(yt),xt}},catch:function(vt){for(var ct=this.tryEntries.length-1;ct>=0;--ct){var yt=this.tryEntries[ct];if(yt.tryLoc===vt){var _t=yt.completion;if(_t.type==="throw"){var Et=_t.arg;wt(yt)}return Et}}throw Error("illegal catch attempt")},delegateYield:function(vt,ct,yt){return this.delegate={iterator:Pt(vt),resultName:ct,nextLoc:yt},this.method==="next"&&(this.arg=o),xt}},i}function asyncGeneratorStep(o,i,a,s,_,j,_e){try{var et=o[j](_e),tt=et.value}catch(rt){a(rt);return}et.done?i(tt):Promise.resolve(tt).then(s,_)}function _asyncToGenerator(o){return function(){var i=this,a=arguments;return new Promise(function(s,_){var j=o.apply(i,a);function _e(tt){asyncGeneratorStep(j,s,_,_e,et,"next",tt)}function et(tt){asyncGeneratorStep(j,s,_,_e,et,"throw",tt)}_e(void 0)})}}var fullClone=_objectSpread2({},ReactDOM$1),version=fullClone.version,reactRender=fullClone.render,unmountComponentAtNode=fullClone.unmountComponentAtNode,createRoot;try{var mainVersion=Number((version||"").split(".")[0]);mainVersion>=18&&(createRoot=fullClone.createRoot)}catch(o){}function toggleWarning(o){var i=fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;i&&_typeof(i)==="object"&&(i.usingClientEntryPoint=o)}var MARK="__rc_react_root__";function modernRender(o,i){toggleWarning(!0);var a=i[MARK]||createRoot(i);toggleWarning(!1),a.render(o),i[MARK]=a}function legacyRender(o,i){reactRender(o,i)}function render(o,i){if(createRoot){modernRender(o,i);return}legacyRender(o,i)}function modernUnmount(o){return _modernUnmount.apply(this,arguments)}function _modernUnmount(){return _modernUnmount=_asyncToGenerator(_regeneratorRuntime().mark(function o(i){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",Promise.resolve().then(function(){var _;(_=i[MARK])===null||_===void 0||_.unmount(),delete i[MARK]}));case 1:case"end":return s.stop()}},o)})),_modernUnmount.apply(this,arguments)}function legacyUnmount(o){unmountComponentAtNode(o)}function unmount(o){return _unmount.apply(this,arguments)}function _unmount(){return _unmount=_asyncToGenerator(_regeneratorRuntime().mark(function o(i){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(createRoot===void 0){s.next=2;break}return s.abrupt("return",modernUnmount(i));case 2:legacyUnmount(i);case 3:case"end":return s.stop()}},o)})),_unmount.apply(this,arguments)}const isVisible=function(o){if(!o)return!1;if(o instanceof Element){if(o.offsetParent)return!0;if(o.getBBox){var i=o.getBBox(),a=i.width,s=i.height;if(a||s)return!0}if(o.getBoundingClientRect){var _=o.getBoundingClientRect(),j=_.width,_e=_.height;if(j||_e)return!0}}return!1},genWaveStyle=o=>{const{componentCls:i,colorPrimary:a}=o;return{[i]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${a})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${o.motionEaseOutCirc}`,`opacity 2s ${o.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${o.motionEaseInOut}`,`opacity 0.35s ${o.motionEaseInOut}`].join(",")}}}}},useStyle$1=genComponentStyleHook("Wave",o=>[genWaveStyle(o)]),TARGET_CLS="ant-wave-target";function isNotGrey(o){const i=(o||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return i&&i[1]&&i[2]&&i[3]?!(i[1]===i[2]&&i[2]===i[3]):!0}function isValidWaveColor(o){return o&&o!=="#fff"&&o!=="#ffffff"&&o!=="rgb(255, 255, 255)"&&o!=="rgba(255, 255, 255, 1)"&&isNotGrey(o)&&!/rgba\((?:\d*, ){3}0\)/.test(o)&&o!=="transparent"}function getTargetWaveColor(o){const{borderTopColor:i,borderColor:a,backgroundColor:s}=getComputedStyle(o);return isValidWaveColor(i)?i:isValidWaveColor(a)?a:isValidWaveColor(s)?s:null}function validateNum(o){return Number.isNaN(o)?0:o}const WaveEffect=o=>{const{className:i,target:a,component:s}=o,_=reactExports.useRef(null),[j,_e]=reactExports.useState(null),[et,tt]=reactExports.useState([]),[rt,nt]=reactExports.useState(0),[at,it]=reactExports.useState(0),[ut,pt]=reactExports.useState(0),[ft,xt]=reactExports.useState(0),[lt,ot]=reactExports.useState(!1),st={left:rt,top:at,width:ut,height:ft,borderRadius:et.map(ht=>`${ht}px`).join(" ")};j&&(st["--wave-color"]=j);function dt(){const ht=getComputedStyle(a);_e(getTargetWaveColor(a));const mt=ht.position==="static",{borderLeftWidth:Ct,borderTopWidth:kt}=ht;nt(mt?a.offsetLeft:validateNum(-parseFloat(Ct))),it(mt?a.offsetTop:validateNum(-parseFloat(kt))),pt(a.offsetWidth),xt(a.offsetHeight);const{borderTopLeftRadius:$t,borderTopRightRadius:bt,borderBottomLeftRadius:jt,borderBottomRightRadius:wt}=ht;tt([$t,bt,wt,jt].map(Rt=>validateNum(parseFloat(Rt))))}if(reactExports.useEffect(()=>{if(a){const ht=wrapperRaf(()=>{dt(),ot(!0)});let mt;return typeof ResizeObserver<"u"&&(mt=new ResizeObserver(dt),mt.observe(a)),()=>{wrapperRaf.cancel(ht),mt==null||mt.disconnect()}}},[]),!lt)return null;const gt=(s==="Checkbox"||s==="Radio")&&(a==null?void 0:a.classList.contains(TARGET_CLS));return reactExports.createElement(CSSMotion,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(ht,mt)=>{var Ct;if(mt.deadline||mt.propertyName==="opacity"){const kt=(Ct=_.current)===null||Ct===void 0?void 0:Ct.parentElement;unmount(kt).then(()=>{kt==null||kt.remove()})}return!1}},ht=>{let{className:mt}=ht;return reactExports.createElement("div",{ref:_,className:classNames(i,{"wave-quick":gt},mt),style:st})})},showWaveEffect=(o,i)=>{var a;const{component:s}=i;if(s==="Checkbox"&&!(!((a=o.querySelector("input"))===null||a===void 0)&&a.checked))return;const _=document.createElement("div");_.style.position="absolute",_.style.left="0px",_.style.top="0px",o==null||o.insertBefore(_,o==null?void 0:o.firstChild),render(reactExports.createElement(WaveEffect,Object.assign({},i,{target:o})),_)},showWaveEffect$1=showWaveEffect,useWave=(o,i,a)=>{const{wave:s}=reactExports.useContext(ConfigContext),[,_,j]=useToken$1(),_e=useEvent(rt=>{const nt=o.current;if(s!=null&&s.disabled||!nt)return;const at=nt.querySelector(`.${TARGET_CLS}`)||nt,{showEffect:it}=s||{};(it||showWaveEffect$1)(at,{className:i,token:_,component:a,event:rt,hashId:j})}),et=reactExports.useRef();return rt=>{wrapperRaf.cancel(et.current),et.current=wrapperRaf(()=>{_e(rt)})}},useWave$1=useWave,Wave=o=>{const{children:i,disabled:a,component:s}=o,{getPrefixCls:_}=reactExports.useContext(ConfigContext),j=reactExports.useRef(null),_e=_("wave"),[,et]=useStyle$1(_e),tt=useWave$1(j,classNames(_e,et),s);if(React.useEffect(()=>{const nt=j.current;if(!nt||nt.nodeType!==1||a)return;const at=it=>{!isVisible(it.target)||!nt.getAttribute||nt.getAttribute("disabled")||nt.disabled||nt.className.includes("disabled")||nt.className.includes("-leave")||tt(it)};return nt.addEventListener("click",at,!0),()=>{nt.removeEventListener("click",at,!0)}},[a]),!React.isValidElement(i))return i??null;const rt=supportRef(i)?composeRef(i.ref,j):j;return cloneElement(i,{ref:rt})},Wave$1=Wave,useSize=o=>{const i=React.useContext(SizeContext$1);return React.useMemo(()=>o?typeof o=="string"?o??i:o instanceof Function?o(i):i:i,[o,i])},SpaceCompactItemContext=reactExports.createContext(null),useCompactItemContext=(o,i)=>{const a=reactExports.useContext(SpaceCompactItemContext),s=reactExports.useMemo(()=>{if(!a)return"";const{compactDirection:_,isFirstItem:j,isLastItem:_e}=a,et=_==="vertical"?"-vertical-":"-";return classNames(`${o}-compact${et}item`,{[`${o}-compact${et}first-item`]:j,[`${o}-compact${et}last-item`]:_e,[`${o}-compact${et}item-rtl`]:i==="rtl"})},[o,i,a]);return{compactSize:a==null?void 0:a.compactSize,compactDirection:a==null?void 0:a.compactDirection,compactItemClassnames:s}};var __rest$1=function(o,i){var a={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(a[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,s=Object.getOwnPropertySymbols(o);_{const{getPrefixCls:i,direction:a}=reactExports.useContext(ConfigContext),{prefixCls:s,size:_,className:j}=o,_e=__rest$1(o,["prefixCls","size","className"]),et=i("btn-group",s),[,,tt]=useToken$1();let rt="";switch(_){case"large":rt="lg";break;case"small":rt="sm";break}const nt=classNames(et,{[`${et}-${rt}`]:rt,[`${et}-rtl`]:a==="rtl"},j,tt);return reactExports.createElement(GroupSizeContext.Provider,{value:_},reactExports.createElement("div",Object.assign({},_e,{className:nt})))},Group=ButtonGroup,rxTwoCNChar=/^[\u4e00-\u9fa5]{2}$/,isTwoCNChar=rxTwoCNChar.test.bind(rxTwoCNChar);function isString(o){return typeof o=="string"}function isUnBorderedButtonType(o){return o==="text"||o==="link"}function splitCNCharsBySpace(o,i){if(o==null)return;const a=i?" ":"";return typeof o!="string"&&typeof o!="number"&&isString(o.type)&&isTwoCNChar(o.props.children)?cloneElement(o,{children:o.props.children.split("").join(a)}):isString(o)?isTwoCNChar(o)?React.createElement("span",null,o.split("").join(a)):React.createElement("span",null,o):isFragment(o)?React.createElement("span",null,o):o}function spaceChildren(o,i){let a=!1;const s=[];return React.Children.forEach(o,_=>{const j=typeof _,_e=j==="string"||j==="number";if(a&&_e){const et=s.length-1,tt=s[et];s[et]=`${tt}${_}`}else s.push(_);a=_e}),React.Children.map(s,_=>splitCNCharsBySpace(_,i))}const IconWrapper=reactExports.forwardRef((o,i)=>{const{className:a,style:s,children:_,prefixCls:j}=o,_e=classNames(`${j}-icon`,a);return React.createElement("span",{ref:i,className:_e,style:s},_)}),IconWrapper$1=IconWrapper,InnerLoadingIcon=reactExports.forwardRef((o,i)=>{let{prefixCls:a,className:s,style:_,iconClassName:j}=o;const _e=classNames(`${a}-loading-icon`,s);return React.createElement(IconWrapper$1,{prefixCls:a,className:_e,style:_,ref:i},React.createElement(LoadingOutlined$1,{className:j}))}),getCollapsedWidth=()=>({width:0,opacity:0,transform:"scale(0)"}),getRealWidth=o=>({width:o.scrollWidth,opacity:1,transform:"scale(1)"}),LoadingIcon=o=>{const{prefixCls:i,loading:a,existIcon:s,className:_,style:j}=o,_e=!!a;return s?React.createElement(InnerLoadingIcon,{prefixCls:i,className:_,style:j}):React.createElement(CSSMotion,{visible:_e,motionName:`${i}-loading-icon-motion`,motionLeave:_e,removeOnLeave:!0,onAppearStart:getCollapsedWidth,onAppearActive:getRealWidth,onEnterStart:getCollapsedWidth,onEnterActive:getRealWidth,onLeaveStart:getRealWidth,onLeaveActive:getCollapsedWidth},(et,tt)=>{let{className:rt,style:nt}=et;return React.createElement(InnerLoadingIcon,{prefixCls:i,className:_,style:Object.assign(Object.assign({},j),nt),ref:tt,iconClassName:rt})})},LoadingIcon$1=LoadingIcon,genButtonBorderStyle=(o,i)=>({[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{"&:not(:disabled)":{borderInlineEndColor:i}}},"&:not(:first-child)":{[`&, & > ${o}`]:{"&:not(:disabled)":{borderInlineStartColor:i}}}}}),genGroupStyle=o=>{const{componentCls:i,fontSize:a,lineWidth:s,groupBorderColor:_,colorErrorHover:j}=o;return{[`${i}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${i}`]:{"&:not(:last-child)":{[`&, & > ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:o.calc(s).mul(-1).equal(),[`&, & > ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[i]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${i}-icon-only`]:{fontSize:a}},genButtonBorderStyle(`${i}-primary`,_),genButtonBorderStyle(`${i}-danger`,j)]}},prepareToken=o=>{const{paddingInline:i,onlyIconSize:a,paddingBlock:s}=o;return merge(o,{buttonPaddingHorizontal:i,buttonPaddingVertical:s,buttonIconOnlyFontSize:a})},prepareComponentToken=o=>{var i,a,s,_,j,_e;const et=(i=o.contentFontSize)!==null&&i!==void 0?i:o.fontSize,tt=(a=o.contentFontSizeSM)!==null&&a!==void 0?a:o.fontSize,rt=(s=o.contentFontSizeLG)!==null&&s!==void 0?s:o.fontSizeLG,nt=(_=o.contentLineHeight)!==null&&_!==void 0?_:getLineHeight(et),at=(j=o.contentLineHeightSM)!==null&&j!==void 0?j:getLineHeight(tt),it=(_e=o.contentLineHeightLG)!==null&&_e!==void 0?_e:getLineHeight(rt);return{fontWeight:400,defaultShadow:`0 ${o.controlOutlineWidth}px 0 ${o.controlTmpOutline}`,primaryShadow:`0 ${o.controlOutlineWidth}px 0 ${o.controlOutline}`,dangerShadow:`0 ${o.controlOutlineWidth}px 0 ${o.colorErrorOutline}`,primaryColor:o.colorTextLightSolid,dangerColor:o.colorTextLightSolid,borderColorDisabled:o.colorBorder,defaultGhostColor:o.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:o.colorBgContainer,paddingInline:o.paddingContentHorizontal-o.lineWidth,paddingInlineLG:o.paddingContentHorizontal-o.lineWidth,paddingInlineSM:8-o.lineWidth,onlyIconSize:o.fontSizeLG,onlyIconSizeSM:o.fontSizeLG-2,onlyIconSizeLG:o.fontSizeLG+2,groupBorderColor:o.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:o.colorBgTextHover,defaultColor:o.colorText,defaultBg:o.colorBgContainer,defaultBorderColor:o.colorBorder,defaultBorderColorDisabled:o.colorBorder,defaultHoverBg:o.colorBgContainer,defaultHoverColor:o.colorPrimaryHover,defaultHoverBorderColor:o.colorPrimaryHover,defaultActiveBg:o.colorBgContainer,defaultActiveColor:o.colorPrimaryActive,defaultActiveBorderColor:o.colorPrimaryActive,contentFontSize:et,contentFontSizeSM:tt,contentFontSizeLG:rt,contentLineHeight:nt,contentLineHeightSM:at,contentLineHeightLG:it,paddingBlock:Math.max((o.controlHeight-et*nt)/2-o.lineWidth,0),paddingBlockSM:Math.max((o.controlHeightSM-tt*at)/2-o.lineWidth,0),paddingBlockLG:Math.max((o.controlHeightLG-rt*it)/2-o.lineWidth,0)}},genSharedButtonStyle=o=>{const{componentCls:i,iconCls:a,fontWeight:s}=o;return{[i]:{outline:"none",position:"relative",display:"inline-block",fontWeight:s,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit$1(o.lineWidth)} ${o.lineType} transparent`,cursor:"pointer",transition:`all ${o.motionDurationMid} ${o.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:o.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${i}-icon`]:{lineHeight:0},[`> ${a} + span, > span + ${a}`]:{marginInlineStart:o.marginXS},[`&:not(${i}-icon-only) > ${i}-icon`]:{[`&${i}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:o.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},genFocusStyle(o)),[`&${i}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${i}-two-chinese-chars > *:not(${a})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${i}-compact-item`]:{flex:"none"}}}},genHoverActiveButtonStyle=(o,i,a)=>({[`&:not(:disabled):not(${o}-disabled)`]:{"&:hover":i,"&:active":a}}),genCircleButtonStyle=o=>({minWidth:o.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),genRoundButtonStyle=o=>({borderRadius:o.controlHeight,paddingInlineStart:o.calc(o.controlHeight).div(2).equal(),paddingInlineEnd:o.calc(o.controlHeight).div(2).equal()}),genDisabledStyle=o=>({cursor:"not-allowed",borderColor:o.borderColorDisabled,color:o.colorTextDisabled,background:o.colorBgContainerDisabled,boxShadow:"none"}),genGhostButtonStyle=(o,i,a,s,_,j,_e,et)=>({[`&${o}-background-ghost`]:Object.assign(Object.assign({color:a||void 0,background:i,borderColor:s||void 0,boxShadow:"none"},genHoverActiveButtonStyle(o,Object.assign({background:i},_e),Object.assign({background:i},et))),{"&:disabled":{cursor:"not-allowed",color:_||void 0,borderColor:j||void 0}})}),genSolidDisabledButtonStyle=o=>({[`&:disabled, &${o.componentCls}-disabled`]:Object.assign({},genDisabledStyle(o))}),genSolidButtonStyle=o=>Object.assign({},genSolidDisabledButtonStyle(o)),genPureDisabledButtonStyle=o=>({[`&:disabled, &${o.componentCls}-disabled`]:{cursor:"not-allowed",color:o.colorTextDisabled}}),genDefaultButtonStyle=o=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(o)),{background:o.defaultBg,borderColor:o.defaultBorderColor,color:o.defaultColor,boxShadow:o.defaultShadow}),genHoverActiveButtonStyle(o.componentCls,{color:o.defaultHoverColor,borderColor:o.defaultHoverBorderColor,background:o.defaultHoverBg},{color:o.defaultActiveColor,borderColor:o.defaultActiveBorderColor,background:o.defaultActiveBg})),genGhostButtonStyle(o.componentCls,o.ghostBg,o.defaultGhostColor,o.defaultGhostBorderColor,o.colorTextDisabled,o.colorBorder)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:o.colorError,borderColor:o.colorError},genHoverActiveButtonStyle(o.componentCls,{color:o.colorErrorHover,borderColor:o.colorErrorBorderHover},{color:o.colorErrorActive,borderColor:o.colorErrorActive})),genGhostButtonStyle(o.componentCls,o.ghostBg,o.colorError,o.colorError,o.colorTextDisabled,o.colorBorder)),genSolidDisabledButtonStyle(o))}),genPrimaryButtonStyle=o=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(o)),{color:o.primaryColor,background:o.colorPrimary,boxShadow:o.primaryShadow}),genHoverActiveButtonStyle(o.componentCls,{color:o.colorTextLightSolid,background:o.colorPrimaryHover},{color:o.colorTextLightSolid,background:o.colorPrimaryActive})),genGhostButtonStyle(o.componentCls,o.ghostBg,o.colorPrimary,o.colorPrimary,o.colorTextDisabled,o.colorBorder,{color:o.colorPrimaryHover,borderColor:o.colorPrimaryHover},{color:o.colorPrimaryActive,borderColor:o.colorPrimaryActive})),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:o.colorError,boxShadow:o.dangerShadow,color:o.dangerColor},genHoverActiveButtonStyle(o.componentCls,{background:o.colorErrorHover},{background:o.colorErrorActive})),genGhostButtonStyle(o.componentCls,o.ghostBg,o.colorError,o.colorError,o.colorTextDisabled,o.colorBorder,{color:o.colorErrorHover,borderColor:o.colorErrorHover},{color:o.colorErrorActive,borderColor:o.colorErrorActive})),genSolidDisabledButtonStyle(o))}),genDashedButtonStyle=o=>Object.assign(Object.assign({},genDefaultButtonStyle(o)),{borderStyle:"dashed"}),genLinkButtonStyle=o=>Object.assign(Object.assign(Object.assign({color:o.colorLink},genHoverActiveButtonStyle(o.componentCls,{color:o.colorLinkHover,background:o.linkHoverBg},{color:o.colorLinkActive})),genPureDisabledButtonStyle(o)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign({color:o.colorError},genHoverActiveButtonStyle(o.componentCls,{color:o.colorErrorHover},{color:o.colorErrorActive})),genPureDisabledButtonStyle(o))}),genTextButtonStyle=o=>Object.assign(Object.assign(Object.assign({},genHoverActiveButtonStyle(o.componentCls,{color:o.colorText,background:o.textHoverBg},{color:o.colorText,background:o.colorBgTextActive})),genPureDisabledButtonStyle(o)),{[`&${o.componentCls}-dangerous`]:Object.assign(Object.assign({color:o.colorError},genPureDisabledButtonStyle(o)),genHoverActiveButtonStyle(o.componentCls,{color:o.colorErrorHover,background:o.colorErrorBg},{color:o.colorErrorHover,background:o.colorErrorBg}))}),genTypeButtonStyle=o=>{const{componentCls:i}=o;return{[`${i}-default`]:genDefaultButtonStyle(o),[`${i}-primary`]:genPrimaryButtonStyle(o),[`${i}-dashed`]:genDashedButtonStyle(o),[`${i}-link`]:genLinkButtonStyle(o),[`${i}-text`]:genTextButtonStyle(o),[`${i}-ghost`]:genGhostButtonStyle(o.componentCls,o.ghostBg,o.colorBgContainer,o.colorBgContainer,o.colorTextDisabled,o.colorBorder)}},genButtonStyle=function(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:a,controlHeight:s,fontSize:_,lineHeight:j,borderRadius:_e,buttonPaddingHorizontal:et,iconCls:tt,buttonPaddingVertical:rt}=o,nt=`${a}-icon-only`;return[{[`${i}`]:{fontSize:_,lineHeight:j,height:s,padding:`${unit$1(rt)} ${unit$1(et)}`,borderRadius:_e,[`&${nt}`]:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:s,paddingInlineStart:0,paddingInlineEnd:0,[`&${a}-round`]:{width:"auto"},[tt]:{fontSize:o.buttonIconOnlyFontSize}},[`&${a}-loading`]:{opacity:o.opacityLoading,cursor:"default"},[`${a}-loading-icon`]:{transition:`width ${o.motionDurationSlow} ${o.motionEaseInOut}, opacity ${o.motionDurationSlow} ${o.motionEaseInOut}`}}},{[`${a}${a}-circle${i}`]:genCircleButtonStyle(o)},{[`${a}${a}-round${i}`]:genRoundButtonStyle(o)}]},genSizeBaseButtonStyle=o=>{const i=merge(o,{fontSize:o.contentFontSize,lineHeight:o.contentLineHeight});return genButtonStyle(i,o.componentCls)},genSizeSmallButtonStyle=o=>{const i=merge(o,{controlHeight:o.controlHeightSM,fontSize:o.contentFontSizeSM,lineHeight:o.contentLineHeightSM,padding:o.paddingXS,buttonPaddingHorizontal:o.paddingInlineSM,buttonPaddingVertical:o.paddingBlockSM,borderRadius:o.borderRadiusSM,buttonIconOnlyFontSize:o.onlyIconSizeSM});return genButtonStyle(i,`${o.componentCls}-sm`)},genSizeLargeButtonStyle=o=>{const i=merge(o,{controlHeight:o.controlHeightLG,fontSize:o.contentFontSizeLG,lineHeight:o.contentLineHeightLG,buttonPaddingHorizontal:o.paddingInlineLG,buttonPaddingVertical:o.paddingBlockLG,borderRadius:o.borderRadiusLG,buttonIconOnlyFontSize:o.onlyIconSizeLG});return genButtonStyle(i,`${o.componentCls}-lg`)},genBlockButtonStyle=o=>{const{componentCls:i}=o;return{[i]:{[`&${i}-block`]:{width:"100%"}}}},useStyle=genStyleHooks("Button",o=>{const i=prepareToken(o);return[genSharedButtonStyle(i),genSizeBaseButtonStyle(i),genSizeSmallButtonStyle(i),genSizeLargeButtonStyle(i),genBlockButtonStyle(i),genTypeButtonStyle(i),genGroupStyle(i)]},prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function compactItemBorder(o,i,a){const{focusElCls:s,focus:_,borderElCls:j}=a,_e=j?"> *":"",et=["hover",_?"focus":null,"active"].filter(Boolean).map(tt=>`&:${tt} ${_e}`).join(",");return{[`&-item:not(${i}-last-item)`]:{marginInlineEnd:o.calc(o.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[et]:{zIndex:2}},s?{[`&${s}`]:{zIndex:2}}:{}),{[`&[disabled] ${_e}`]:{zIndex:0}})}}function compactItemBorderRadius(o,i,a){const{borderElCls:s}=a,_=s?`> ${s}`:"";return{[`&-item:not(${i}-first-item):not(${i}-last-item) ${_}`]:{borderRadius:0},[`&-item:not(${i}-last-item)${i}-first-item`]:{[`& ${_}, &${o}-sm ${_}, &${o}-lg ${_}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${i}-first-item)${i}-last-item`]:{[`& ${_}, &${o}-sm ${_}, &${o}-lg ${_}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function genCompactItemStyle(o){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:a}=o,s=`${a}-compact`;return{[s]:Object.assign(Object.assign({},compactItemBorder(o,s,i)),compactItemBorderRadius(a,s,i))}}function compactItemVerticalBorder(o,i){return{[`&-item:not(${i}-last-item)`]:{marginBottom:o.calc(o.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function compactItemBorderVerticalRadius(o,i){return{[`&-item:not(${i}-first-item):not(${i}-last-item)`]:{borderRadius:0},[`&-item${i}-first-item:not(${i}-last-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${i}-last-item:not(${i}-first-item)`]:{[`&, &${o}-sm, &${o}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function genCompactItemVerticalStyle(o){const i=`${o.componentCls}-compact-vertical`;return{[i]:Object.assign(Object.assign({},compactItemVerticalBorder(o,i)),compactItemBorderVerticalRadius(o.componentCls,i))}}const genButtonCompactStyle=o=>{const{componentCls:i,calc:a}=o;return{[i]:{[`&-compact-item${i}-primary`]:{[`&:not([disabled]) + ${i}-compact-item${i}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:a(o.lineWidth).mul(-1).equal(),insetInlineStart:a(o.lineWidth).mul(-1).equal(),display:"inline-block",width:o.lineWidth,height:`calc(100% + ${unit$1(o.lineWidth)} * 2)`,backgroundColor:o.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${i}-primary`]:{[`&:not([disabled]) + ${i}-compact-vertical-item${i}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:a(o.lineWidth).mul(-1).equal(),insetInlineStart:a(o.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${unit$1(o.lineWidth)} * 2)`,height:o.lineWidth,backgroundColor:o.colorPrimaryHover,content:'""'}}}}}}},CompactCmp=genSubStyleComponent(["Button","compact"],o=>{const i=prepareToken(o);return[genCompactItemStyle(i),genCompactItemVerticalStyle(i),genButtonCompactStyle(i)]},prepareComponentToken);var __rest=function(o,i){var a={};for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.indexOf(s)<0&&(a[s]=o[s]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,s=Object.getOwnPropertySymbols(o);_{var a,s;const{loading:_=!1,prefixCls:j,type:_e,danger:et,shape:tt="default",size:rt,styles:nt,disabled:at,className:it,rootClassName:ut,children:pt,icon:ft,ghost:xt=!1,block:lt=!1,htmlType:ot="button",classNames:st,style:dt={}}=o,gt=__rest(o,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),ht=_e||"default",{getPrefixCls:mt,autoInsertSpaceInButton:Ct,direction:kt,button:$t}=reactExports.useContext(ConfigContext),bt=mt("btn",j),[jt,wt,Rt]=useStyle(bt),Pt=reactExports.useContext(DisabledContext$1),St=at??Pt,vt=reactExports.useContext(GroupSizeContext),ct=reactExports.useMemo(()=>getLoadingConfig(_),[_]),[yt,_t]=reactExports.useState(ct.loading),[Et,Tt]=reactExports.useState(!1),Ot=composeRef(i,reactExports.createRef()),Dt=reactExports.Children.count(pt)===1&&!ft&&!isUnBorderedButtonType(ht);reactExports.useEffect(()=>{let Mt=null;ct.delay>0?Mt=setTimeout(()=>{Mt=null,_t(!0)},ct.delay):_t(ct.loading);function Ft(){Mt&&(clearTimeout(Mt),Mt=null)}return Ft},[ct]),reactExports.useEffect(()=>{if(!Ot||!Ot.current||Ct===!1)return;const Mt=Ot.current.textContent;Dt&&isTwoCNChar(Mt)?Et||Tt(!0):Et&&Tt(!1)},[Ot]);const It=Mt=>{const{onClick:Ft}=o;if(yt||St){Mt.preventDefault();return}Ft==null||Ft(Mt)},Bt=Ct!==!1,{compactSize:ir,compactItemClassnames:Jt}=useCompactItemContext(bt,kt),er={large:"lg",small:"sm",middle:void 0},Gt=useSize(Mt=>{var Ft,ar;return(ar=(Ft=rt??ir)!==null&&Ft!==void 0?Ft:vt)!==null&&ar!==void 0?ar:Mt}),tr=Gt&&er[Gt]||"",rr=yt?"loading":ft,qt=omit(gt,["navigate"]),Wt=classNames(bt,wt,Rt,{[`${bt}-${tt}`]:tt!=="default"&&tt,[`${bt}-${ht}`]:ht,[`${bt}-${tr}`]:tr,[`${bt}-icon-only`]:!pt&&pt!==0&&!!rr,[`${bt}-background-ghost`]:xt&&!isUnBorderedButtonType(ht),[`${bt}-loading`]:yt,[`${bt}-two-chinese-chars`]:Et&&Bt&&!yt,[`${bt}-block`]:lt,[`${bt}-dangerous`]:!!et,[`${bt}-rtl`]:kt==="rtl"},Jt,it,ut,$t==null?void 0:$t.className),nr=Object.assign(Object.assign({},$t==null?void 0:$t.style),dt),Xt=classNames(st==null?void 0:st.icon,(a=$t==null?void 0:$t.classNames)===null||a===void 0?void 0:a.icon),Zt=Object.assign(Object.assign({},(nt==null?void 0:nt.icon)||{}),((s=$t==null?void 0:$t.styles)===null||s===void 0?void 0:s.icon)||{}),zt=ft&&!yt?React.createElement(IconWrapper$1,{prefixCls:bt,className:Xt,style:Zt},ft):React.createElement(LoadingIcon$1,{existIcon:!!ft,prefixCls:bt,loading:!!yt}),Lt=pt||pt===0?spaceChildren(pt,Dt&&Bt):null;if(qt.href!==void 0)return jt(React.createElement("a",Object.assign({},qt,{className:classNames(Wt,{[`${bt}-disabled`]:St}),href:St?void 0:qt.href,style:nr,onClick:It,ref:Ot,tabIndex:St?-1:0}),zt,Lt));let Nt=React.createElement("button",Object.assign({},gt,{type:ot,className:Wt,style:nr,onClick:It,disabled:St,ref:Ot}),zt,Lt,!!Jt&&React.createElement(CompactCmp,{key:"compact",prefixCls:bt}));return isUnBorderedButtonType(ht)||(Nt=React.createElement(Wave$1,{component:"Button",disabled:!!yt},Nt)),jt(Nt)},Button=reactExports.forwardRef(InternalButton);Button.Group=Group;Button.__ANT_BUTTON=!0;const Button$1=Button,getDesignToken=o=>{const i=o!=null&&o.algorithm?createTheme(o.algorithm):createTheme(derivative$2),a=Object.assign(Object.assign({},seedToken),o==null?void 0:o.token);return getComputedToken$1(a,{override:o==null?void 0:o.token},i,formatToken)},getDesignToken$1=getDesignToken;function genSizeMapToken(o){const{sizeUnit:i,sizeStep:a}=o,s=a-2;return{sizeXXL:i*(s+10),sizeXL:i*(s+6),sizeLG:i*(s+2),sizeMD:i*(s+2),sizeMS:i*(s+1),size:i*s,sizeSM:i*s,sizeXS:i*(s-1),sizeXXS:i*(s-1)}}const derivative$1=(o,i)=>{const a=i??derivative$2(o),s=a.fontSizeSM,_=a.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a),genSizeMapToken(i??o)),genFontMapToken(s)),{controlHeight:_}),genControlHeight(Object.assign(Object.assign({},a),{controlHeight:_})))},compactAlgorithm=derivative$1,getAlphaColor=(o,i)=>new TinyColor(o).setAlpha(i).toRgbString(),getSolidColor=(o,i)=>new TinyColor(o).lighten(i).toHexString(),generateColorPalettes=o=>{const i=generate$1(o,{theme:"dark"});return{1:i[0],2:i[1],3:i[2],4:i[3],5:i[6],6:i[5],7:i[4],8:i[6],9:i[5],10:i[4]}},generateNeutralColorPalettes=(o,i)=>{const a=o||"#000",s=i||"#fff";return{colorBgBase:a,colorTextBase:s,colorText:getAlphaColor(s,.85),colorTextSecondary:getAlphaColor(s,.65),colorTextTertiary:getAlphaColor(s,.45),colorTextQuaternary:getAlphaColor(s,.25),colorFill:getAlphaColor(s,.18),colorFillSecondary:getAlphaColor(s,.12),colorFillTertiary:getAlphaColor(s,.08),colorFillQuaternary:getAlphaColor(s,.04),colorBgElevated:getSolidColor(a,12),colorBgContainer:getSolidColor(a,8),colorBgLayout:getSolidColor(a,0),colorBgSpotlight:getSolidColor(a,26),colorBgBlur:getAlphaColor(s,.04),colorBorder:getSolidColor(a,26),colorBorderSecondary:getSolidColor(a,19)}},derivative=(o,i)=>{const a=Object.keys(defaultPresetColors).map(_=>{const j=generate$1(o[_],{theme:"dark"});return new Array(10).fill(1).reduce((_e,et,tt)=>(_e[`${_}-${tt+1}`]=j[tt],_e[`${_}${tt+1}`]=j[tt],_e),{})}).reduce((_,j)=>(_=Object.assign(Object.assign({},_),j),_),{}),s=i??derivative$2(o);return Object.assign(Object.assign(Object.assign({},s),a),genColorMapToken(o,{generateColorPalettes,generateNeutralColorPalettes}))},darkAlgorithm=derivative;function useToken(){const[o,i,a]=useToken$1();return{theme:o,token:i,hashId:a}}const theme={defaultConfig,defaultSeed:defaultConfig.token,useToken,defaultAlgorithm:derivative$2,darkAlgorithm,compactAlgorithm,getDesignToken:getDesignToken$1};function MyButton({text:o,onClick:i}){return jsxRuntimeExports.jsx("div",{children:jsxRuntimeExports.jsx(Button$1,{type:"primary",onClick:i,children:o})})}function DashboardContainer(){const[o,i]=reactExports.useState(0),a=reactExports.useRef();reactExports.useEffect(()=>{$(a.current).fadeOut(250).fadeIn(250)},[o]);const s=()=>{i(o+1)};return jsxRuntimeExports.jsx("div",{className:"my-dashboard",children:jsxRuntimeExports.jsx("div",{ref:a,className:"my-dashboard__button",children:jsxRuntimeExports.jsx(MyButton,{text:`ReactJS ⚡ Ant.Design 👉 Click me! ${o}`,onClick:s})})})}var en_GB$5={},interopRequireDefault={exports:{}};(function(o){function i(a){return a&&a.__esModule?a:{default:a}}o.exports=i,o.exports.__esModule=!0,o.exports.default=o.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports,en_GB$4={};Object.defineProperty(en_GB$4,"__esModule",{value:!0});en_GB$4.default=void 0;var locale$j={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"};en_GB$4.default=locale$j;var en_GB$3={},en_GB$2={},en_GB$1={};Object.defineProperty(en_GB$1,"__esModule",{value:!0});en_GB$1.default=void 0;var locale$i={locale:"en_GB",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"Select time",dateSelect:"Select date",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/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"};en_GB$1.default=locale$i;var en_GB={};Object.defineProperty(en_GB,"__esModule",{value:!0});en_GB.default=void 0;const locale$h={placeholder:"Select time"};en_GB.default=locale$h;var _interopRequireDefault$e=interopRequireDefaultExports.default;Object.defineProperty(en_GB$2,"__esModule",{value:!0});en_GB$2.default=void 0;var _en_GB$2=_interopRequireDefault$e(en_GB$1),_en_GB2$1=_interopRequireDefault$e(en_GB);const locale$g={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"]},_en_GB$2.default),timePickerLocale:Object.assign({},_en_GB2$1.default)};en_GB$2.default=locale$g;var _interopRequireDefault$d=interopRequireDefaultExports.default;Object.defineProperty(en_GB$3,"__esModule",{value:!0});en_GB$3.default=void 0;var _en_GB$1=_interopRequireDefault$d(en_GB$2);en_GB$3.default=_en_GB$1.default;var _interopRequireDefault$c=interopRequireDefaultExports.default;Object.defineProperty(en_GB$5,"__esModule",{value:!0});var default_1$4=en_GB$5.default=void 0,_en_GB=_interopRequireDefault$c(en_GB$4),_en_GB2=_interopRequireDefault$c(en_GB$3),_en_GB3=_interopRequireDefault$c(en_GB$2),_en_GB4=_interopRequireDefault$c(en_GB);const typeTemplate$4="${label} is not a valid ${type}",localeValues$4={locale:"en-gb",Pagination:_en_GB.default,DatePicker:_en_GB3.default,TimePicker:_en_GB4.default,Calendar:_en_GB2.default,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"},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"},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:typeTemplate$4,method:typeTemplate$4,array:typeTemplate$4,object:typeTemplate$4,number:typeTemplate$4,date:typeTemplate$4,boolean:typeTemplate$4,integer:typeTemplate$4,float:typeTemplate$4,regexp:typeTemplate$4,email:typeTemplate$4,url:typeTemplate$4,hex:typeTemplate$4},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"}};default_1$4=en_GB$5.default=localeValues$4;var en_US$5={},en_US$4={};Object.defineProperty(en_US$4,"__esModule",{value:!0});en_US$4.default=void 0;var locale$f={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"};en_US$4.default=locale$f;var en_US$3={},en_US$2={},en_US$1={};Object.defineProperty(en_US$1,"__esModule",{value:!0});en_US$1.default=void 0;var locale$e={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"};en_US$1.default=locale$e;var en_US={};Object.defineProperty(en_US,"__esModule",{value:!0});en_US.default=void 0;const locale$d={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};en_US.default=locale$d;var _interopRequireDefault$b=interopRequireDefaultExports.default;Object.defineProperty(en_US$2,"__esModule",{value:!0});en_US$2.default=void 0;var _en_US$2=_interopRequireDefault$b(en_US$1),_en_US2$1=_interopRequireDefault$b(en_US);const locale$c={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"]},_en_US$2.default),timePickerLocale:Object.assign({},_en_US2$1.default)};en_US$2.default=locale$c;var _interopRequireDefault$a=interopRequireDefaultExports.default;Object.defineProperty(en_US$3,"__esModule",{value:!0});en_US$3.default=void 0;var _en_US$1=_interopRequireDefault$a(en_US$2);en_US$3.default=_en_US$1.default;var _interopRequireDefault$9=interopRequireDefaultExports.default;Object.defineProperty(en_US$5,"__esModule",{value:!0});var default_1$3=en_US$5.default=void 0,_en_US=_interopRequireDefault$9(en_US$4),_en_US2=_interopRequireDefault$9(en_US$3),_en_US3=_interopRequireDefault$9(en_US$2),_en_US4=_interopRequireDefault$9(en_US);const typeTemplate$3="${label} is not a valid ${type}",localeValues$3={locale:"en",Pagination:_en_US.default,DatePicker:_en_US3.default,TimePicker:_en_US4.default,Calendar:_en_US2.default,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",collapse:"Collapse"},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:typeTemplate$3,method:typeTemplate$3,array:typeTemplate$3,object:typeTemplate$3,number:typeTemplate$3,date:typeTemplate$3,boolean:typeTemplate$3,integer:typeTemplate$3,float:typeTemplate$3,regexp:typeTemplate$3,email:typeTemplate$3,url:typeTemplate$3,hex:typeTemplate$3},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",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}};default_1$3=en_US$5.default=localeValues$3;var es_ES$5={},es_ES$4={};Object.defineProperty(es_ES$4,"__esModule",{value:!0});es_ES$4.default=void 0;var locale$b={items_per_page:"/ página",jump_to:"Ir a",jump_to_confirm:"confirmar",page:"Página",prev_page:"Página anterior",next_page:"Página siguiente",prev_5:"5 páginas previas",next_5:"5 páginas siguientes",prev_3:"3 páginas previas",next_3:"3 páginas siguientes",page_size:"tamaño de página"};es_ES$4.default=locale$b;var es_ES$3={},es_ES$2={},es_ES$1={};Object.defineProperty(es_ES$1,"__esModule",{value:!0});es_ES$1.default=void 0;var locale$a={locale:"es_ES",today:"Hoy",now:"Ahora",backToToday:"Volver a hoy",ok:"Aceptar",clear:"Limpiar",month:"Mes",year:"Año",timeSelect:"Seleccionar hora",dateSelect:"Seleccionar fecha",monthSelect:"Elegir un mes",yearSelect:"Elegir un año",decadeSelect:"Elegir una década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mes anterior (PageUp)",nextMonth:"Mes siguiente (PageDown)",previousYear:"Año anterior (Control + left)",nextYear:"Año siguiente (Control + right)",previousDecade:"Década anterior",nextDecade:"Década siguiente",previousCentury:"Siglo anterior",nextCentury:"Siglo siguiente"};es_ES$1.default=locale$a;var es_ES={};Object.defineProperty(es_ES,"__esModule",{value:!0});es_ES.default=void 0;const locale$9={placeholder:"Seleccionar hora"};es_ES.default=locale$9;var _interopRequireDefault$8=interopRequireDefaultExports.default;Object.defineProperty(es_ES$2,"__esModule",{value:!0});es_ES$2.default=void 0;var _es_ES$2=_interopRequireDefault$8(es_ES$1),_es_ES2$1=_interopRequireDefault$8(es_ES);const locale$8={lang:Object.assign({placeholder:"Seleccionar fecha",rangePlaceholder:["Fecha inicial","Fecha final"]},_es_ES$2.default),timePickerLocale:Object.assign({},_es_ES2$1.default)};es_ES$2.default=locale$8;var _interopRequireDefault$7=interopRequireDefaultExports.default;Object.defineProperty(es_ES$3,"__esModule",{value:!0});es_ES$3.default=void 0;var _es_ES$1=_interopRequireDefault$7(es_ES$2);es_ES$3.default=_es_ES$1.default;var _interopRequireDefault$6=interopRequireDefaultExports.default;Object.defineProperty(es_ES$5,"__esModule",{value:!0});var default_1$2=es_ES$5.default=void 0,_es_ES=_interopRequireDefault$6(es_ES$4),_es_ES2=_interopRequireDefault$6(es_ES$3),_es_ES3=_interopRequireDefault$6(es_ES$2),_es_ES4=_interopRequireDefault$6(es_ES);const typeTemplate$2="${label} no es un ${type} válido",localeValues$2={locale:"es",Pagination:_es_ES.default,DatePicker:_es_ES3.default,TimePicker:_es_ES4.default,Calendar:_es_ES2.default,global:{placeholder:"Seleccione"},Table:{filterTitle:"Filtrar menú",filterConfirm:"Aceptar",filterReset:"Reiniciar",filterEmptyText:"Sin filtros",filterCheckall:"Seleccionar todo",filterSearchPlaceholder:"Buscar en filtros",emptyText:"Sin datos",selectAll:"Seleccionar todo",selectInvert:"Invertir selección",selectNone:"Vacíe todo",selectionAll:"Seleccionar todos los datos",sortTitle:"Ordenar",expand:"Expandir fila",collapse:"Colapsar fila",triggerDesc:"Click para ordenar en orden descendente",triggerAsc:"Click para ordenar en orden ascendente",cancelSort:"Click para cancelar ordenamiento"},Modal:{okText:"Aceptar",cancelText:"Cancelar",justOkText:"Aceptar"},Popconfirm:{okText:"Aceptar",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Buscar aquí",itemUnit:"elemento",itemsUnit:"elementos",remove:"Eliminar",selectCurrent:"Seleccionar página actual",removeCurrent:"Remover página actual",selectAll:"Seleccionar todos los datos",removeAll:"Eliminar todos los datos",selectInvert:"Invertir página actual"},Upload:{uploading:"Subiendo...",removeFile:"Eliminar archivo",uploadError:"Error al subir el archivo",previewFile:"Vista previa",downloadFile:"Descargar archivo"},Empty:{description:"No hay datos"},Icon:{icon:"ícono"},Text:{edit:"Editar",copy:"Copiar",copied:"Copiado",expand:"Expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Error de validación del campo ${label}",required:"Por favor ingresar ${label}",enum:"${label} debe ser uno de [${enum}]",whitespace:"${label} no puede ser un carácter en blanco",date:{format:"El formato de fecha de ${label} es inválido",parse:"${label} no se puede convertir a una fecha",invalid:"${label} es una fecha inválida"},types:{string:typeTemplate$2,method:typeTemplate$2,array:typeTemplate$2,object:typeTemplate$2,number:typeTemplate$2,date:typeTemplate$2,boolean:typeTemplate$2,integer:typeTemplate$2,float:typeTemplate$2,regexp:typeTemplate$2,email:typeTemplate$2,url:typeTemplate$2,hex:typeTemplate$2},string:{len:"${label} debe tener ${len} caracteres",min:"${label} debe tener al menos ${min} caracteres",max:"${label} debe tener hasta ${max} caracteres",range:"${label} debe tener entre ${min}-${max} caracteres"},number:{len:"${label} debe ser igual a ${len}",min:"${label} valor mínimo es ${min}",max:"${label} valor máximo es ${max}",range:"${label} debe estar entre ${min}-${max}"},array:{len:"Debe ser ${len} ${label}",min:"Al menos ${min} ${label}",max:"A lo mucho ${max} ${label}",range:"El monto de ${label} debe estar entre ${min}-${max}"},pattern:{mismatch:"${label} no coincide con el patrón ${pattern}"}}},Image:{preview:"Previsualización"}};default_1$2=es_ES$5.default=localeValues$2;var pt_BR$5={},pt_BR$4={};Object.defineProperty(pt_BR$4,"__esModule",{value:!0});pt_BR$4.default=void 0;var locale$7={items_per_page:"/ página",jump_to:"Vá até",jump_to_confirm:"confirme",page:"Página",prev_page:"Página anterior",next_page:"Próxima página",prev_5:"5 páginas anteriores",next_5:"5 próximas páginas",prev_3:"3 páginas anteriores",next_3:"3 próximas páginas",page_size:"tamanho da página"};pt_BR$4.default=locale$7;var pt_BR$3={},pt_BR$2={},pt_BR$1={};Object.defineProperty(pt_BR$1,"__esModule",{value:!0});pt_BR$1.default=void 0;var locale$6={locale:"pt_BR",today:"Hoje",now:"Agora",backToToday:"Voltar para hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Escolher mês",yearSelect:"Escolher ano",decadeSelect:"Escolher década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Próximo mês (PageDown)",previousYear:"Ano anterior (Control + esquerda)",nextYear:"Próximo ano (Control + direita)",previousDecade:"Década anterior",nextDecade:"Próxima década",previousCentury:"Século anterior",nextCentury:"Próximo século",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]};pt_BR$1.default=locale$6;var pt_BR={};Object.defineProperty(pt_BR,"__esModule",{value:!0});pt_BR.default=void 0;const locale$5={placeholder:"Hora"};pt_BR.default=locale$5;var _interopRequireDefault$5=interopRequireDefaultExports.default;Object.defineProperty(pt_BR$2,"__esModule",{value:!0});pt_BR$2.default=void 0;var _pt_BR$2=_interopRequireDefault$5(pt_BR$1),_pt_BR2$1=_interopRequireDefault$5(pt_BR);const locale$4={lang:Object.assign({placeholder:"Selecionar data",rangePlaceholder:["Data inicial","Data final"]},_pt_BR$2.default),timePickerLocale:Object.assign({},_pt_BR2$1.default)};pt_BR$2.default=locale$4;var _interopRequireDefault$4=interopRequireDefaultExports.default;Object.defineProperty(pt_BR$3,"__esModule",{value:!0});pt_BR$3.default=void 0;var _pt_BR$1=_interopRequireDefault$4(pt_BR$2);pt_BR$3.default=_pt_BR$1.default;var _interopRequireDefault$3=interopRequireDefaultExports.default;Object.defineProperty(pt_BR$5,"__esModule",{value:!0});var default_1$1=pt_BR$5.default=void 0,_pt_BR=_interopRequireDefault$3(pt_BR$4),_pt_BR2=_interopRequireDefault$3(pt_BR$3),_pt_BR3=_interopRequireDefault$3(pt_BR$2),_pt_BR4=_interopRequireDefault$3(pt_BR);const typeTemplate$1="${label} não é um ${type} válido",localeValues$1={locale:"pt-br",Pagination:_pt_BR.default,DatePicker:_pt_BR3.default,TimePicker:_pt_BR4.default,Calendar:_pt_BR2.default,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Menu de Filtro",filterConfirm:"OK",filterReset:"Resetar",filterEmptyText:"Sem filtros",filterCheckall:"Selecionar todos os itens",filterSearchPlaceholder:"Pesquisar nos filtros",emptyText:"Sem conteúdo",selectAll:"Selecionar página atual",selectInvert:"Inverter seleção",selectNone:"Apagar todo o conteúdo",selectionAll:"Selecionar todo o conteúdo",sortTitle:"Ordenar título",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organização"},Tour:{Next:"Próximo",Previous:"Anterior",Finish:"Finalizar"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar",itemUnit:"item",itemsUnit:"items",remove:"Remover",selectCurrent:"Selecionar página atual",removeCurrent:"Remover página atual",selectAll:"Selecionar todos",removeAll:"Remover todos",selectInvert:"Inverter seleção atual"},Upload:{uploading:"Enviando...",removeFile:"Remover arquivo",uploadError:"Erro no envio",previewFile:"Visualizar arquivo",downloadFile:"Baixar arquivo"},Empty:{description:"Não há dados"},Icon:{icon:"ícone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na validação de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} não pode ser um carácter vazio",date:{format:" O formato de data ${label} é inválido",parse:"${label} não pode ser convertido para uma data",invalid:"${label} é uma data inválida"},types:{string:typeTemplate$1,method:typeTemplate$1,array:typeTemplate$1,object:typeTemplate$1,number:typeTemplate$1,date:typeTemplate$1,boolean:typeTemplate$1,integer:typeTemplate$1,float:typeTemplate$1,regexp:typeTemplate$1,email:typeTemplate$1,url:typeTemplate$1,hex:typeTemplate$1},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no máximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual à ${len}",min:"O valor mínimo de ${label} é ${min}",max:"O valor máximo de ${label} é ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No mínimo ${min} ${label}",max:"No máximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} não se encaixa no padrão ${pattern}"}}},Image:{preview:"Pré-visualização"}};default_1$1=pt_BR$5.default=localeValues$1;var pt_PT$5={},pt_PT$4={};Object.defineProperty(pt_PT$4,"__esModule",{value:!0});pt_PT$4.default=void 0;var locale$3={items_per_page:"/ página",jump_to:"Saltar",jump_to_confirm:"confirmar",page:"Página",prev_page:"Página Anterior",next_page:"Página Seguinte",prev_5:"Recuar 5 Páginas",next_5:"Avançar 5 Páginas",prev_3:"Recuar 3 Páginas",next_3:"Avançar 3 Páginas",page_size:"mărimea paginii"};pt_PT$4.default=locale$3;var pt_PT$3={},pt_PT$2={},pt_PT$1={};Object.defineProperty(pt_PT$1,"__esModule",{value:!0});pt_PT$1.default=void 0;var locale$2={locale:"pt_PT",today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Selecionar hora",dateSelect:"Selecionar data",monthSelect:"Selecionar mês",yearSelect:"Selecionar ano",decadeSelect:"Selecionar década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Mês anterior (PageUp)",nextMonth:"Mês seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"Década anterior",nextDecade:"Década seguinte",previousCentury:"Século anterior",nextCentury:"Século seguinte",shortWeekDays:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],shortMonths:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"]};pt_PT$1.default=locale$2;var pt_PT={};Object.defineProperty(pt_PT,"__esModule",{value:!0});pt_PT.default=void 0;const locale$1={placeholder:"Hora"};pt_PT.default=locale$1;var _interopRequireDefault$2=interopRequireDefaultExports.default;Object.defineProperty(pt_PT$2,"__esModule",{value:!0});pt_PT$2.default=void 0;var _pt_PT$2=_interopRequireDefault$2(pt_PT$1),_pt_PT2$1=_interopRequireDefault$2(pt_PT);const locale={lang:Object.assign(Object.assign({},_pt_PT$2.default),{placeholder:"Data",rangePlaceholder:["Data inicial","Data final"],today:"Hoje",now:"Agora",backToToday:"Hoje",ok:"OK",clear:"Limpar",month:"Mês",year:"Ano",timeSelect:"Hora",dateSelect:"Selecionar data",monthSelect:"Selecionar mês",yearSelect:"Selecionar ano",decadeSelect:"Selecionar década",yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"D/M/YYYY HH:mm:ss",monthFormat:"MMMM",monthBeforeYear:!1,previousMonth:"Mês anterior (PageUp)",nextMonth:"Mês seguinte (PageDown)",previousYear:"Ano anterior (Control + left)",nextYear:"Ano seguinte (Control + right)",previousDecade:"Última década",nextDecade:"Próxima década",previousCentury:"Último século",nextCentury:"Próximo século"}),timePickerLocale:Object.assign(Object.assign({},_pt_PT2$1.default),{placeholder:"Hora"})};pt_PT$2.default=locale;var _interopRequireDefault$1=interopRequireDefaultExports.default;Object.defineProperty(pt_PT$3,"__esModule",{value:!0});pt_PT$3.default=void 0;var _pt_PT$1=_interopRequireDefault$1(pt_PT$2);pt_PT$3.default=_pt_PT$1.default;var _interopRequireDefault=interopRequireDefaultExports.default;Object.defineProperty(pt_PT$5,"__esModule",{value:!0});var default_1=pt_PT$5.default=void 0,_pt_PT=_interopRequireDefault(pt_PT$4),_pt_PT2=_interopRequireDefault(pt_PT$3),_pt_PT3=_interopRequireDefault(pt_PT$2),_pt_PT4=_interopRequireDefault(pt_PT);const typeTemplate="${label} não é um ${type} válido",localeValues={locale:"pt",Pagination:_pt_PT.default,DatePicker:_pt_PT3.default,TimePicker:_pt_PT4.default,Calendar:_pt_PT2.default,global:{placeholder:"Por favor escolha"},Table:{filterTitle:"Filtro",filterConfirm:"Aplicar",filterReset:"Reiniciar",filterEmptyText:"Sem filtros",filterCheckall:"Selecionar todos os itens",filterSearchPlaceholder:"Pesquisar nos filtros",emptyText:"Sem conteúdo",selectAll:"Selecionar página atual",selectInvert:"Inverter seleção",sortTitle:"Ordenação",selectNone:"Apagar todo o conteúdo",selectionAll:"Selecionar todo o conteúdo",expand:"Expandir linha",collapse:"Colapsar linha",triggerDesc:"Clique organiza por descendente",triggerAsc:"Clique organiza por ascendente",cancelSort:"Clique para cancelar organização"},Modal:{okText:"OK",cancelText:"Cancelar",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancelar"},Transfer:{titles:["",""],searchPlaceholder:"Procurar...",itemUnit:"item",itemsUnit:"itens",remove:"Remover",selectCurrent:"Selecionar página atual",removeCurrent:"Remover página atual",selectAll:"Selecionar tudo",removeAll:"Remover tudo",selectInvert:"Inverter a página actual"},Upload:{uploading:"A carregar...",removeFile:"Remover",uploadError:"Erro ao carregar",previewFile:"Pré-visualizar",downloadFile:"Baixar"},Empty:{description:"Sem resultados"},Icon:{icon:"ícone"},Text:{edit:"editar",copy:"copiar",copied:"copiado",expand:"expandir"},Form:{optional:"(opcional)",defaultValidateMessages:{default:"Erro ${label} na validação de campo",required:"Por favor, insira ${label}",enum:"${label} deve ser um dos seguinte: [${enum}]",whitespace:"${label} não pode ser um carácter vazio",date:{format:" O formato de data ${label} é inválido",parse:"${label} não pode ser convertido para uma data",invalid:"${label} é uma data inválida"},types:{string:typeTemplate,method:typeTemplate,array:typeTemplate,object:typeTemplate,number:typeTemplate,date:typeTemplate,boolean:typeTemplate,integer:typeTemplate,float:typeTemplate,regexp:typeTemplate,email:typeTemplate,url:typeTemplate,hex:typeTemplate},string:{len:"${label} deve possuir ${len} caracteres",min:"${label} deve possuir ao menos ${min} caracteres",max:"${label} deve possuir no máximo ${max} caracteres",range:"${label} deve possuir entre ${min} e ${max} caracteres"},number:{len:"${label} deve ser igual à ${len}",min:"O valor mínimo de ${label} é ${min}",max:"O valor máximo de ${label} é ${max}",range:"${label} deve estar entre ${min} e ${max}"},array:{len:"Deve ser ${len} ${label}",min:"No mínimo ${min} ${label}",max:"No máximo ${max} ${label}",range:"A quantidade de ${label} deve estar entre ${min} e ${max}"},pattern:{mismatch:"${label} não se enquadra no padrão ${pattern}"}}},Image:{preview:"Pré-visualização"}};default_1=pt_PT$5.default=localeValues;_service.config({prefix:netuno.config.urlServices});const dashboardDiv=document.getElementById("app-dashboard"),dashboardContainer=dashboardDiv?client.createRoot(dashboardDiv):!1;dashboardContainer&&dashboardContainer.render(jsxRuntimeExports.jsx(ConfigProvider$1,{theme:{token:{colorPrimary:"#5b5ce1",colorLink:"#5b5ce1",borderRadius:5},algorithm:theme.darkAlgorithm},locale:{en_us:default_1$3,en_gb:default_1$4,es_es:default_1$2,pt_br:default_1$1,pt_pt:default_1}[netuno.config.langCode],children:jsxRuntimeExports.jsx(DashboardContainer,{})}));netuno.addNavigationLoad(()=>{$("[netuno-navigation]").find("a").on("netuno:click",o=>{const i=$(o.target);dashboardContainer&&i.is("[netuno-navigation-dashboard]")})});netuno.addContentLoad(o=>{o.is('[netuno-form-search="YOUR_FORM_NAME"]')||o.is('[netuno-form-edit="YOUR_FORM_NAME"]')});netuno.addPageLoad(()=>{let o=$("#app-dashboard-modal-form");o.on("hidden.bs.modal",()=>{o.find("[netuno-form-edit]").empty()}),$("#app-dashboard-modal-form-button").on("click",()=>{o.modal("show"),netuno.loadFormEdit(o.find("[netuno-form]"))}),o.find("[netuno-form]").on("netuno:save",()=>{o.modal("hide")})}); //# sourceMappingURL=ui.js.map