unis_crm/frontend1/dist/assets/index-CYM97J2V.js

446 lines
1.9 MiB
JavaScript
Raw Normal View History

2026-03-27 04:22:00 +00:00
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-PoQcL-Tk.js","assets/index-B7x062Ky.js","assets/index-DqftVe8j.js","assets/row-DNGQ3hV2.js","assets/useForm-B5uILH8t.js","assets/index-Bcf8yIZZ.js","assets/Table-CAs2vM8c.js","assets/index-M0Ae7f04.js","assets/Pagination-By0LqcoC.js","assets/index-DxFE0d51.css","assets/index-DdL3t8YK.js","assets/index-CacOxAQN.js","assets/index-DV4zjsPW.js","assets/index-CXEbfSHV.js","assets/index-D4LCKEjb.js","assets/dayjs.min-BRFHn-hn.js","assets/tenant-B-j-aSqk.js","assets/useDict-BjF_A4fe.js","assets/index-DcKUEw2_.js","assets/index-DfhCfAUo.js","assets/index-Cf7jgvhM.js","assets/org-Cup3xpla.js","assets/index-DaWo14Iv.js","assets/pagination-63Gtkzif.js","assets/index-fyGQdrIw.js","assets/index-DgZGLcg1.css","assets/index-JO3qGuCb.js","assets/index-CnUn0ngr.js","assets/fade-BGyB8Hun.js","assets/index-BWuvmhtx.css","assets/index-BZkJaEUm.js","assets/index-DP0H2Ybf.css","assets/index-CZaeiD0B.js","assets/index-BjpU0TIx.css","assets/index-DCIsHAO_.js","assets/index-Ci1ibwo1.css","assets/index--RxLytP1.js","assets/index-7tVXbr9a.css","assets/index-C5YPBgoQ.js","assets/index-DYpMqn2o.css","assets/index-GjYOyXFT.js","assets/index-B3NMXjwh.css","assets/index-qojYwREh.js","assets/index-BNQ-Rarv.js","assets/index-C_mxPlJL.js","assets/index-k3aVq55N.css","assets/index-d7Zj2rgy.js"])))=>i.map(i=>d[i]);
var k_=Object.defineProperty;var Y_=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var sr=(e,t,n)=>Y_(e,typeof t!="symbol"?t+"":t,n);function tM(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(r,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var aqe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nM={exports:{}},D4={},rM={exports:{}},Ot={};/**
* @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 ds=Symbol.for("react.element"),Q_=Symbol.for("react.portal"),J_=Symbol.for("react.fragment"),Z_=Symbol.for("react.strict_mode"),eF=Symbol.for("react.profiler"),tF=Symbol.for("react.provider"),nF=Symbol.for("react.context"),rF=Symbol.for("react.forward_ref"),aF=Symbol.for("react.suspense"),oF=Symbol.for("react.memo"),iF=Symbol.for("react.lazy"),K$=Symbol.iterator;function lF(e){return e===null||typeof e!="object"?null:(e=K$&&e[K$]||e["@@iterator"],typeof e=="function"?e:null)}var aM={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oM=Object.assign,iM={};function C1(e,t,n){this.props=e,this.context=t,this.refs=iM,this.updater=n||aM}C1.prototype.isReactComponent={};C1.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};C1.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lM(){}lM.prototype=C1.prototype;function Ex(e,t,n){this.props=e,this.context=t,this.refs=iM,this.updater=n||aM}var jx=Ex.prototype=new lM;jx.constructor=Ex;oM(jx,C1.prototype);jx.isPureReactComponent=!0;var G$=Array.isArray,sM=Object.prototype.hasOwnProperty,Mx={current:null},cM={key:!0,ref:!0,__self:!0,__source:!0};function uM(e,t,n){var r,a={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)sM.call(t,r)&&!cM.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)a[r]===void 0&&(a[r]=s[r]);return{$$typeof:ds,type:e,key:i,ref:l,props:a,_owner:Mx.current}}function sF(e,t){return{$$typeof:ds,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Px(e){return typeof e=="object"&&e!==null&&e.$$typeof===ds}function cF(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var X$=/\/+/g;function f3(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cF(""+e.key):t.toString(36)}function dc(e,t,n,r,a){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ds:case Q_:l=!0}}if(l)return l=e,a=a(l),e=r===""?"."+f3(l,0):r,G$(a)?(n="",e!=null&&(n=e.replace(X$,"$&/")+"/"),dc(a,t,n,"",function(u){return u})):a!=null&&(Px(a)&&(a=sF(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(X$,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=r===""?".":r+":",G$(e))for(var s=0;s<e.length;s++){i=e[s];var c=r+f3(i,s);l+=dc(i,t,n,c,a)}else if(c=lF(e),typeof c=="function")for(e=c.call(e),s=0;!(i=e.next()).done;)i=i.value,c=r+f3(i,s++),l+=dc(i,t,n,c,a);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Ts(e,t,n){if(e==null)return e;var r=[],a=0;return dc(e,r,"","",function(i){return t.call(n,i,a++)}),r}function uF(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var or={current:null},fc={transition:null},dF={ReactCurrentDispatcher:or,ReactCurrentBatchConfig:fc,ReactCurrentOwner:Mx};function dM(){throw Error("act(...) is not supported in production builds of React.")}Ot.Children={map:Ts,forEach:function(e,t,n){Ts(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ts(e,function(){t++}),t},toArray:function(e){return Ts(e,function(t){return t})||[]},only:function(e){if(!Px(e))throw Error("React.Children.only expected to receive a sin
* @license React
* react-jsx-runtime.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 fF=o,hF=Symbol.for("react.element"),vF=Symbol.for("react.fragment"),gF=Object.prototype.hasOwnProperty,mF=fF.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,pF={key:!0,ref:!0,__self:!0,__source:!0};function fM(e,t,n){var r,a={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)gF.call(t,r)&&!pF.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:hF,type:e,key:i,ref:l,props:a,_owner:mF.current}}D4.Fragment=vF;D4.jsx=fM;D4.jsxs=fM;nM.exports=D4;var de=nM.exports,N0={},hM={exports:{}},Er={},vM={exports:{}},gM={};/**
* @license React
* scheduler.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.
*/(function(e){function t(I,F){var B=I.length;I.push(F);e:for(;0<B;){var N=B-1>>>1,W=I[N];if(0<a(W,F))I[N]=F,I[B]=W,B=N;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var F=I[0],B=I.pop();if(B!==F){I[0]=B;e:for(var N=0,W=I.length,K=W>>>1;N<K;){var J=2*(N+1)-1,q=I[J],Y=J+1,te=I[Y];if(0>a(q,B))Y<W&&0>a(te,q)?(I[N]=te,I[Y]=B,N=Y):(I[N]=q,I[J]=B,N=J);else if(Y<W&&0>a(te,B))I[N]=te,I[Y]=B,N=Y;else break e}}return F}function a(I,F){var B=I.sortIndex-F.sortIndex;return B!==0?B:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,f=null,h=3,g=!1,v=!1,p=!1,b=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(I){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=I)r(u),F.sortIndex=F.expirationTime,t(c,F);else break;F=n(u)}}function x(I){if(p=!1,O(I),!v)if(n(c)!==null)v=!0,M(C);else{var F=n(u);F!==null&&T(x,F.startTime-I)}}function C(I,F){v=!1,p&&(p=!1,w(z),z=-1),g=!0;var B=h;try{for(O(F),f=n(c);f!==null&&(!(f.expirationTime>F)||I&&!H());){var N=f.callback;if(typeof N=="function"){f.callback=null,h=f.priorityLevel;var W=N(f.expirationTime<=F);F=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(c)&&r(c),O(F)}else r(c);f=n(c)}if(f!==null)var K=!0;else{var J=n(u);J!==null&&T(x,J.startTime-F),K=!1}return K}finally{f=null,h=B,g=!1}}var S=!1,$=null,z=-1,R=5,E=-1;function H(){return!(e.unstable_now()-E<R)}function P(){if($!==null){var I=e.unstable_now();E=I;var F=!0;try{F=$(!0,I)}finally{F?L():(S=!1,$=null)}}else S=!1}var L;if(typeof m=="function")L=function(){m(P)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,V=j.port2;j.port1.onmessage=P,L=function(){V.postMessage(null)}}else L=function(){b(P,0)};function M(I){$=I,S||(S=!0,L())}function T(I,F){z=b(function(){I(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){v||g||(v=!0,M(C))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(I){switch(h){case 1:case 2:case 3:var F=3;break;default:F=h}var B=h;h=F;try{return I()}finally{h=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,F){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var B=h;h=I;try{return F()}finally{h=B}},e.unstable_scheduleCallback=function(I,F,B){var N=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?N+B:N):B=N,I){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=B+W,I={id:d++,callback:F,priorityLevel:I,startTime:B,expirationTime:W,sortIndex:-1},B>N?(I.sortIndex=B,t(u,I),n(c)===null&&I===n(u)&&(p?(w(z),z=-1):p=!0,T(x,B-N))):(I.sortIndex=W,t(c,I),v||g||(v=!0,M(C))),I},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(I){var F=h;return function(){var B=h;h=F;try{return I.apply(this,arguments)}finally{h=B}}}})(gM);vM.exports=gM;var bF=vM.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 yF=o,zr=bF;function Se(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var mM=new Set,El={};function ci(e,t){i1(e,t),i1(e+"Capture",t)}function i1(e,t){for(El[e]=t,e=0;e<t.length;e++)mM.add(t[e])}var Va=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A0=Object.prototype.hasOwnProperty,wF=/^[: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]*$/,k$={},Y$={};function OF(e){return A0.call(Y$,e)?!0:A0.call(k$,e)?!1:wF.test(e)?Y$[e]=!0:(k$[e]=!0,!1)}function xF(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function CF(e,t,n,r){if(t===null||typeof t>"u"||xF(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ir(e,t,n,r,a,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Fn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fn[e]=new ir(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fn[t]=new ir(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fn[e]=new ir(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fn[e]=new ir(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Fn[e]=new ir(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fn[e]=new ir(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fn[e]=new ir(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fn[e]=new ir(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fn[e]=new ir(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ix=/[\-:]([a-z])/g;function Hx(e){return e[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
`+h3+e}var v3=!1;function g3(e,t){if(!e||v3)return"";v3=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var a=u.stack.split(`
`),i=r.stack.split(`
`),l=a.length-1,s=i.length-1;1<=l&&0<=s&&a[l]!==i[s];)s--;for(;1<=l&&0<=s;l--,s--)if(a[l]!==i[s]){if(l!==1||s!==1)do if(l--,s--,0>s||a[l]!==i[s]){var c=`
`+a[l].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=l&&0<=s);break}}}finally{v3=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?al(e):""}function $F(e){switch(e.tag){case 5:return al(e.type);case 16:return al("Lazy");case 13:return al("Suspense");case 19:return al("SuspenseList");case 0:case 2:case 15:return e=g3(e.type,!1),e;case 11:return e=g3(e.type.render,!1),e;case 1:return e=g3(e.type,!0),e;default:return""}}function q0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ti:return"Fragment";case Hi:return"Portal";case D0:return"Profiler";case Lx:return"StrictMode";case W0:return"Suspense";case U0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bM:return(e.displayName||"Context")+".Consumer";case pM:return(e._context.displayName||"Context")+".Provider";case Vx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _x:return t=e.displayName||null,t!==null?t:q0(e.type)||"Memo";case Qa:t=e._payload,e=e._init;try{return q0(e(t))}catch{}}return null}function SF(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q0(t);case 8:return t===Lx?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function po(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wM(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zF(e){var t=wM(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vs(e){e._valueTracker||(e._valueTracker=zF(e))}function OM(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wM(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function K0(e,t){var n=t.checked;return nn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function J$(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=po(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xM(e,t){t=t.checked,t!=null&&Tx(e,"checked",t,!1)}function G0(e,t){xM(e,t);var n=po(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?X0(e,t.type,n):t.hasOwnProperty("defaultValue")&&X0(e,t.type,po(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Z$(e,t,n){if(t.hasOwnProperty("val
`).replace(VB,"")}function Us(e,t,n){if(t=xS(t),xS(e)!==t&&n)throw Error(Se(425))}function Qc(){}var s8=null,c8=null;function u8(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var d8=typeof setTimeout=="function"?setTimeout:void 0,_B=typeof clearTimeout=="function"?clearTimeout:void 0,CS=typeof Promise=="function"?Promise:void 0,FB=typeof queueMicrotask=="function"?queueMicrotask:typeof CS<"u"?function(e){return CS.resolve(null).then(e).catch(BB)}:d8;function BB(e){setTimeout(function(){throw e})}function E3(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(r===0){e.removeChild(a),Hl(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=a}while(n);Hl(t)}function uo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function $S(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var S1=Math.random().toString(36).slice(2),ba="__reactFiber$"+S1,Fl="__reactProps$"+S1,_a="__reactContainer$"+S1,f8="__reactEvents$"+S1,NB="__reactListeners$"+S1,AB="__reactHandles$"+S1;function Lo(e){var t=e[ba];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_a]||n[ba]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$S(e);e!==null;){if(n=e[ba])return n;e=$S(e)}return t}e=n,n=e.parentNode}return null}function gs(e){return e=e[ba]||e[_a],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Se(33))}function G4(e){return e[Fl]||null}var h8=[],Bi=-1;function xo(e){return{current:e}}function Xt(e){0>Bi||(e.current=h8[Bi],h8[Bi]=null,Bi--)}function Ut(e,t){Bi++,h8[Bi]=e.current,e.current=t}var bo={},Gn=xo(bo),fr=xo(!1),ko=bo;function l1(e,t){var n=e.type.contextTypes;if(!n)return bo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function hr(e){return e=e.childContextTypes,e!=null}function Jc(){Xt(fr),Xt(Gn)}function SS(e,t,n){if(Gn.current!==bo)throw Error(Se(168));Ut(Gn,t),Ut(fr,n)}function uP(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(Se(108,SF(e)||"Unknown",a));return nn({},n,r)}function Zc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bo,ko=Gn.current,Ut(Gn,e),Ut(fr,fr.current),!0}function zS(e,t,n){var r=e.stateNode;if(!r)throw Error(Se(169));n?(e=uP(e,t,ko),r.__reactInternalMemoizedMergedChildContext=e,Xt(fr),Xt(Gn),Ut(Gn,e)):Xt(fr),Ut(fr,n)}var Pa=null,X4=!1,j3=!1;function dP(e){Pa===null?Pa=[e]:Pa.push(e)}function DB(e){X4=!0,dP(e)}function Co(){if(!j3&&Pa!==null){j3=!0;var e=0,t=Vt;try{var n=Pa;for(Vt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Pa=null,X4=!1}catch(a){throw Pa!==null&&(Pa=Pa.slice(e+1)),VM(Bx,Co),a}finally{Vt=t,j3=!1}}return null}var Ni=[],Ai=0,e4=null,t4=0,Nr=[],Ar=0,Yo=null,Ia=1,Ha="";function Mo(e,t){Ni[Ai++]=t4,Ni[Ai++]=e4,e4=e,t4=t}function fP(e,t,n){Nr[Ar++]=Ia,Nr[Ar++]=Ha,Nr[Ar++]=Yo,Yo=e;var r=Ia;e=Ha;var a=32-ta(r)-1;r&=~(1<<a),n+=1;var i=32-ta(t)+a;if(30<i){var l=a-a%5;i=(r&(1<<l)-1).toString(32),r>>=l,a-=l,Ia=1<<32-ta(t)+a|n<<a|r,Ha=i+e}else Ia=1<<i|n<<a|r,Ha=e}function Xx(e){e.return!==null&&(Mo(e,1),fP(e,1,0))}function kx(e){for(;e===e4;)e4=Ni[--Ai],Ni[Ai]=null,t4=Ni[--Ai],Ni[Ai]=null;for(;e===Yo;)Yo=Nr[--Ar],Nr[Ar]=null,Ha=Nr[--Ar],Nr[Ar]=null,Ia=Nr[--Ar],Nr[Ar]=null}var Sr=null,xr=null,Zt=!1,ea=null;function hP(e,t){var n=Dr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.de
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:a,digest:null}}function T3(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function y8(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var QB=typeof WeakMap=="function"?WeakMap:Map;function NP(e,t,n){n=Ta(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){c4||(c4=!0,j8=r),y8(e,t)},n}function AP(e,t,n){n=Ta(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){y8(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){y8(e,t),typeof r!="function"&&(ho===null?ho=new Set([this]):ho.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function VS(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new QB;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=dN.bind(null,e,t,n),t.then(e,e))}function _S(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function FS(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ta(-1,1),t.tag=2,fo(n,t,1))),n.lanes|=1),e)}var JB=Aa.ReactCurrentOwner,dr=!1;function tr(e,t,n,r){t.child=e===null?mP(t,null,n,r):c1(t,e.child,n,r)}function BS(e,t,n,r,a){n=n.render;var i=t.ref;return e1(t,a),r=iC(e,t,n,r,i,a),n=lC(),e!==null&&!dr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ba(e,t,a)):(Zt&&n&&Xx(t),t.flags|=1,tr(e,t,r,a),t.child)}function NS(e,t,n,r,a){if(e===null){var i=n.type;return typeof i=="function"&&!pC(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,DP(e,t,i,r,a)):(e=xc(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&a)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ll,n(l,r)&&e.ref===t.ref)return Ba(e,t,a)}return t.flags|=1,e=go(i,r),e.ref=t.ref,e.return=t,t.child=e}function DP(e,t,n,r,a){if(e!==null){var i=e.memoizedProps;if(Ll(i,r)&&e.ref===t.ref)if(dr=!1,t.pendingProps=r=i,(e.lanes&a)!==0)e.flags&131072&&(dr=!0);else return t.lanes=e.lanes,Ba(e,t,a)}return w8(e,t,n,r,a)}function WP(e,t,n){var r=t.pendingProps,a=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ut(Ui,Or),Or|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ut(Ui,Or),Or|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Ut(Ui,Or),Or|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ut(Ui,Or),Or|=r;return tr(e,t,a,n),t.child}function UP(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function w8(e,t,n,r,a){var i=hr(n)?ko:Gn.current;return i=l1(t,i),e1(t,a),n=iC(e,t,n,r,i,a),r=lC(),e!==null&&!dr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ba(e,t,a)):(Zt&&r&&Xx(t),t.flags|=1,tr(e,t,n,a),t.child)}function AS(e,t,n,r,a){if(hr(n)){var i=!0;Zc(t)}else i=!1;if(e1(t,a),t.stateNode===null)yc(e,t),BP(t,n,r),b8(t,n,r,a),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var c=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ur(u):(u=hr(n)?ko:Gn.current,u=l1(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||c!==u)&&LS(t,l,r,u),Ja=!1;var h=t.memoizedState;l.state=h,a4(t,r,l,a),c=t.memoizedState,s!==r||h!==c||fr.current||Ja?(typeof d=="function"&&(p8(t,n,d,r),c=t.memoizedState),(s=Ja||TS(t,n,s,r,h,c,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.
* @remix-run/router v1.23.2
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ql(){return ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ql.apply(this,arguments)}var ro;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ro||(ro={}));const tz="popstate";function CN(e){e===void 0&&(e={});function t(r,a){let{pathname:i,search:l,hash:s}=r.location;return T8("",{pathname:i,search:l,hash:s},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(r,a){return typeof a=="string"?a:h4(a)}return SN(t,n,null,e)}function hn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function $N(){return Math.random().toString(36).substr(2,8)}function nz(e,t){return{usr:e.state,key:e.key,idx:t}}function T8(e,t,n,r){return n===void 0&&(n=null),ql({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?z1(t):t,{state:n,key:t&&t.key||r||$N()})}function h4(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function z1(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function SN(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,l=a.history,s=ro.Pop,c=null,u=d();u==null&&(u=0,l.replaceState(ql({},l.state,{idx:u}),""));function d(){return(l.state||{idx:null}).idx}function f(){s=ro.Pop;let b=d(),w=b==null?null:b-u;u=b,c&&c({action:s,location:p.location,delta:w})}function h(b,w){s=ro.Push;let m=T8(p.location,b,w);u=d()+1;let O=nz(m,u),x=p.createHref(m);try{l.pushState(O,"",x)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(x)}i&&c&&c({action:s,location:p.location,delta:1})}function g(b,w){s=ro.Replace;let m=T8(p.location,b,w);u=d();let O=nz(m,u),x=p.createHref(m);l.replaceState(O,"",x),i&&c&&c({action:s,location:p.location,delta:0})}function v(b){let w=a.location.origin!=="null"?a.location.origin:a.location.href,m=typeof b=="string"?b:h4(b);return m=m.replace(/ $/,"%20"),hn(w,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,w)}let p={get action(){return s},get location(){return e(a,l)},listen(b){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(tz,f),c=b,()=>{a.removeEventListener(tz,f),c=null}},createHref(b){return t(a,b)},createURL:v,encodeLocation(b){let w=v(b);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:h,replace:g,go(b){return l.go(b)}};return p}var rz;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(rz||(rz={}));function zN(e,t,n){return n===void 0&&(n="/"),RN(e,t,n)}function RN(e,t,n,r){let a=typeof t=="string"?z1(t):t,i=CC(a.pathname||"/",n);if(i==null)return null;let l=vI(e);EN(l);let s=null;for(let c=0;s==null&&c<l.length;++c){let u=NN(i);s=_N(l[c],u)}return s}function vI(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let a=(i,l,s)=>{let c={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};c.relativePath.startsWith("/")&&(hn(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=mo([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(hn(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),vI(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:LN(u,i.index),routesMeta:d})};return e.forEach((i,l)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,l);else for(let c of gI(i.path))a(i,l,c)}),t}function gI(e){let t=e.split("/");if(t.length=
* React Router v6.30.3
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kl.apply(this,arguments)}const zC=o.createContext(null),YN=o.createContext(null),$o=o.createContext(null),a2=o.createContext(null),Da=o.createContext({outlet:null,matches:[],isDataRoute:!1}),pI=o.createContext(null);function QN(e,t){let{relative:n}=t===void 0?{}:t;R1()||hn(!1);let{basename:r,navigator:a}=o.useContext($o),{hash:i,pathname:l,search:s}=yI(e,{relative:n}),c=l;return r!=="/"&&(c=l==="/"?r:mo([r,l])),a.createHref({pathname:c,search:s,hash:i})}function R1(){return o.useContext(a2)!=null}function E1(){return R1()||hn(!1),o.useContext(a2).location}function bI(e){o.useContext($o).static||o.useLayoutEffect(e)}function RC(){let{isDataRoute:e}=o.useContext(Da);return e?fA():JN()}function JN(){R1()||hn(!1);let e=o.useContext(zC),{basename:t,future:n,navigator:r}=o.useContext($o),{matches:a}=o.useContext(Da),{pathname:i}=E1(),l=JSON.stringify($C(a,n.v7_relativeSplatPath)),s=o.useRef(!1);return bI(()=>{s.current=!0}),o.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=SC(u,JSON.parse(l),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:mo([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,l,i,e])}const ZN=o.createContext(null);function eA(e){let t=o.useContext(Da).outlet;return t&&o.createElement(ZN.Provider,{value:e},t)}function yI(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=o.useContext($o),{matches:a}=o.useContext(Da),{pathname:i}=E1(),l=JSON.stringify($C(a,r.v7_relativeSplatPath));return o.useMemo(()=>SC(e,JSON.parse(l),i,n==="path"),[e,l,i,n])}function tA(e,t){return nA(e,t)}function nA(e,t,n,r){R1()||hn(!1);let{navigator:a}=o.useContext($o),{matches:i}=o.useContext(Da),l=i[i.length-1],s=l?l.params:{};l&&l.pathname;let c=l?l.pathnameBase:"/";l&&l.route;let u=E1(),d;if(t){var f;let b=typeof t=="string"?z1(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||hn(!1),d=b}else d=u;let h=d.pathname||"/",g=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let v=zN(e,{pathname:g}),p=lA(v&&v.map(b=>Object.assign({},b,{params:Object.assign({},s,b.params),pathname:mo([c,a.encodeLocation?a.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:mo([c,a.encodeLocation?a.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&p?o.createElement(a2.Provider,{value:{location:Kl({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ro.Pop}},p):p}function rA(){let e=dA(),t=XN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,null)}const aA=o.createElement(rA,null);class oA extends o.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?o.createElement(Da.Provider,{value:this.props.routeContext},o.createElement(pI.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function iA(e){let{routeContext:t,match:n,children:r}=e,a=o.useContext(zC);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticC
* React Router DOM v6.30.3
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function _8(){return _8=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_8.apply(this,arguments)}function bA(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,i;for(i=0;i<r.length;i++)a=r[i],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function yA(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wA(e,t){return e.button===0&&(!t||t==="_self")&&!yA(e)}const OA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],xA="6";try{window.__reactRouterVersion=xA}catch{}const CA="startTransition",lz=fs[CA];function $A(e){let{basename:t,children:n,future:r,window:a}=e,i=o.useRef();i.current==null&&(i.current=CN({window:a,v5Compat:!0}));let l=i.current,[s,c]=o.useState({action:l.action,location:l.location}),{v7_startTransition:u}=r||{},d=o.useCallback(f=>{u&&lz?lz(()=>c(f)):c(f)},[c,u]);return o.useLayoutEffect(()=>l.listen(d),[l,d]),o.useEffect(()=>vA(r),[r]),o.createElement(mA,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:l,future:r})}const SA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,sz=o.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:l,state:s,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=bA(t,OA),{basename:g}=o.useContext($o),v,p=!1;if(typeof u=="string"&&zA.test(u)&&(v=u,SA))try{let O=new URL(window.location.href),x=u.startsWith("//")?new URL(O.protocol+u):new URL(u),C=CC(x.pathname,g);x.origin===O.origin&&C!=null?u=C+x.search+x.hash:p=!0}catch{}let b=QN(u,{relative:a}),w=RA(u,{replace:l,state:s,target:c,preventScrollReset:d,relative:a,viewTransition:f});function m(O){r&&r(O),O.defaultPrevented||w(O)}return o.createElement("a",_8({},h,{href:v||b,onClick:p||i?r:m,ref:n,target:c}))});var cz;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cz||(cz={}));var uz;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(uz||(uz={}));function RA(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:l,viewTransition:s}=t===void 0?{}:t,c=RC(),u=E1(),d=yI(e,{relative:l});return o.useCallback(f=>{if(wA(f,n)){f.preventDefault();let h=r!==void 0?r:h4(u)===h4(d);c(e,{replace:h,state:a,preventScrollReset:i,relative:l,viewTransition:s})}},[u,c,d,r,a,n,e,i,l,s])}const ct=e=>typeof e=="string",k1=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},dz=e=>e==null?"":""+e,EA=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},jA=/###/g,fz=e=>e&&e.indexOf("###")>-1?e.replace(jA,"."):e,hz=e=>!e||ct(e),Ol=(e,t,n)=>{const r=ct(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(hz(e))return{};const i=fz(r[a]);!e[i]&&n&&(e[i]=new n),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++a}return hz(e)?{}:{obj:e,k:fz(r[a])}},vz=(e,t,n)=>{const{obj:r,k:a}=Ol(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let i=t[t.length-1],l=t.slice(0,t.length-1),s=Ol(e,l,Object);for(;s.obj===void 0&&l.length;)i=`${l[l.length-1]}.${i}`,l=l.slice(0,l.length-1),s=Ol(e,l,Object),s!=null&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},MA=(e,t,n,r)=>{const{obj:a,k:i}=Ol(e,t,Object);a[i]=a[i]||[],a[i].push(n)},v4=(e,t)=>{const{obj:n,k:r}=Ol(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},PA=(e,t,n)=>{const r=v4(e,n);return r!==void 0?r:v4(t,n)},CI=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?ct(e[r])||e[r]instanceof String||ct(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):CI(e[r],t[r],n):e[r]=t[r]);return e},bi=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var IA={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const HA=e=>ct(e)?e.replace(/[&<>"'\/]/g,t=>IA[t]):e;class
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var h1=o;function sD(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cD=typeof Object.is=="function"?Object.is:sD,uD=h1.useState,dD=h1.useEffect,fD=h1.useLayoutEffect,hD=h1.useDebugValue;function vD(e,t){var n=t(),r=uD({inst:{value:n,getSnapshot:t}}),a=r[0].inst,i=r[1];return fD(function(){a.value=n,a.getSnapshot=t,D3(a)&&i({inst:a})},[e,n,t]),dD(function(){return D3(a)&&i({inst:a}),e(function(){D3(a)&&i({inst:a})})},[e]),hD(n),n}function D3(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!cD(e,n)}catch{return!0}}function gD(e,t){return t()}var mD=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?gD:vD;MI.useSyncExternalStore=h1.useSyncExternalStore!==void 0?h1.useSyncExternalStore:mD;jI.exports=MI;var PI=jI.exports;const pD=(e,t)=>ei(t)?t:YA(t)&&ei(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,bD={t:pD,ready:!1},yD=()=>()=>{},II=(e,t={})=>{var R,E,H;const{i18n:n}=t,{i18n:r,defaultNS:a}=o.useContext(iD)||{},i=n||r||aD();i&&!i.reportNamespaces&&(i.reportNamespaces=new lD),i||zI(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const l=o.useMemo(()=>{var P;return{...nD(),...(P=i==null?void 0:i.options)==null?void 0:P.react,...t}},[i,t]),{useSuspense:s,keyPrefix:c}=l,u=a||((R=i==null?void 0:i.options)==null?void 0:R.defaultNS),d=ei(u)?[u]:u||["translation"],f=o.useMemo(()=>d,d);(H=(E=i==null?void 0:i.reportNamespaces)==null?void 0:E.addUsedNamespaces)==null||H.call(E,f);const h=o.useRef(0),g=o.useCallback(P=>{if(!i)return yD;const{bindI18n:L,bindI18nStore:j}=l,V=()=>{h.current+=1,P()};return L&&i.on(L,V),j&&i.store.on(j,V),()=>{L&&L.split(" ").forEach(M=>i.off(M,V)),j&&j.split(" ").forEach(M=>i.store.off(M,V))}},[i,l]),v=o.useRef(),p=o.useCallback(()=>{if(!i)return bD;const P=!!(i.isInitialized||i.initializedStoreOnce)&&f.every(I=>kA(I,i,l)),L=t.lng||i.language,j=h.current,V=v.current;if(V&&V.ready===P&&V.lng===L&&V.keyPrefix===c&&V.revision===j)return V;const T={t:i.getFixedT(L,l.nsMode==="fallback"?f:f[0],c),ready:P,lng:L,keyPrefix:c,revision:j};return v.current=T,T},[i,f,c,l,t.lng]),[b,w]=o.useState(0),{t:m,ready:O}=PI.useSyncExternalStore(g,p,p);o.useEffect(()=>{if(i&&!O&&!s){const P=()=>w(L=>L+1);t.lng?zz(i,t.lng,f,P):N8(i,f,P)}},[i,t.lng,f,O,s,b]);const x=i||{},C=o.useRef(null),S=o.useRef(),$=P=>{const L=Object.getOwnPropertyDescriptors(P);L.__original&&delete L.__original;const j=Object.create(Object.getPrototypeOf(P),L);if(!Object.prototype.hasOwnProperty.call(j,"__original"))try{Object.defineProperty(j,"__original",{value:P,writable:!1,enumerable:!1,configurable:!1})}catch{}return j},z=o.useMemo(()=>{const P=x,L=P==null?void 0:P.language;let j=P;P&&(C.current&&C.current.__original===P?S.current!==L?(j=$(P),C.current=j,S.current=L):j=C.current:(j=$(P),C.current=j,S.current=L));const V=[m,j,O];return V.t=m,V.i18n=j,V.ready=O,V},[m,x,O,x.resolvedLanguage,x.language,x.languages]);if(i&&s&&!O)throw new Promise(P=>{const L=()=>P();t.lng?zz(i,t.lng,f,L):N8(i,f,L)});return z},{slice:wD,forEach:OD}=[];function xD(e){return OD.call(wD.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function CD(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const Rz=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,$D=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let i=`${e}=${a}`;if(r.maxAge>0){const l=r.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(l)}`}if(r.domain){if(!Rz.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!Rz.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw ne
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",l=0;l<arguments.length;l++){var s=arguments[l];s&&(i=a(i,r(s)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var l="";for(var s in i)t.call(i,s)&&i[s]&&(l=a(l,s));return l}function a(i,l){return l?i?i+" "+l:i+l:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(VI);var BW=VI.exports;const U=us(BW);function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(null,arguments)}function tt(e){"@babel/helpers - typeof";return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(e)}var NW=Symbol.for("react.element"),AW=Symbol.for("react.transitional.element"),DW=Symbol.for("react.fragment");function _I(e){return e&&tt(e)==="object"&&(e.$$typeof===NW||e.$$typeof===AW)&&e.type===DW}function rr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return D.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(rr(r)):_I(r)&&r.props?n=n.concat(rr(r.props.children,t)):n.push(r))}),n}var D8={},WW=function(t){};function UW(e,t){}function qW(e,t){}function KW(){D8={}}function FI(e,t,n){!t&&!D8[n]&&(e(!1,n),D8[n]=!0)}function vn(e,t){FI(UW,e,t)}function GW(e,t){FI(qW,e,t)}vn.preMessage=WW;vn.resetWarned=KW;vn.noteOnce=GW;function XW(e,t){if(tt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(tt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function BI(e){var t=XW(e,"string");return tt(t)=="symbol"?t:t+""}function _(e,t,n){return(t=BI(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pz(Object(n),!0).forEach(function(r){_(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pz(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Xl(e){return e instanceof HTMLElement||e instanceof SVGElement}function kW(e){return e&&tt(e)==="object"&&Xl(e.nativeElement)?e.nativeElement:Xl(e)?e:null}function Cc(e){var t=kW(e);if(t)return t;if(e instanceof D.Component){var n;return(n=H8.findDOMNode)===null||n===void 0?void 0:n.call(H8,e)}return null}var NI={exports:{}},_t={};/**
* @license React
* react-is.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 EC=Symbol.for("react.element"),jC=Symbol.for("react.portal"),i2=Symbol.for("react.fragment"),l2=Symbol.for("react.strict_mode"),s2=Symbol.for("react.profiler"),c2=Symbol.for("react.provider"),u2=Symbol.for("react.context"),YW=Symbol.for("react.server_context"),d2=Symbol.for("react.forward_ref"),f2=Symbol.for("react.suspense"),h2=Symbol.for("react.suspense_list"),v2=Symbol.for("react.memo"),g2=Symbol.for("react.lazy"),QW=Symbol.for("react.offscreen"),AI;AI=Symbol.for("react.module.reference");function Gr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case EC:switch(e=e.type,e){case i2:case s2:case l2:case f2:case h2:return e;default:switch(e=e&&e.$$typeof,e){case YW:case u2:case d2:case g2:case v2:case c2:return e;default:return t}}case jC:return t}}}_t.ContextConsumer=u2;_t.ContextProvider=c2;_t.Element=EC;_t.ForwardRef=d2;_t.Fragment=i2;_t.Lazy=g2;_t.Memo=v2;_t.Portal=jC;_t.Profiler=s2;_t.StrictMode=l2;_t.Suspense=f2;_t.SuspenseList=h2;_t.isAsyncMode=function(){return!1};_t.isConcurrentMode=function(){return!1};_t.isContextConsumer=function(e){return Gr(e)===u2};_t.isContextProvider=function(e){return Gr(e)===c2};_t.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===EC};_t.isForwardRef=function(e){return Gr(e)===d2};_t.isFragment=function(e){return Gr(e)===i2};_t.isLazy=function(e){return Gr(e)===g2};_t.isMemo=function(e){return Gr(e)===v2};_t.isPortal=function(e){return Gr(e)===jC};_t.isProfiler=function(e){return Gr(e)===s2};_t.isStrictMode=function(e){return Gr(e)===l2};_t.isSuspense=function(e){return Gr(e)===f2};_t.isSuspenseList=function(e){return Gr(e)===h2};_t.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===i2||e===s2||e===l2||e===f2||e===h2||e===QW||typeof e=="object"&&e!==null&&(e.$$typeof===g2||e.$$typeof===v2||e.$$typeof===c2||e.$$typeof===u2||e.$$typeof===d2||e.$$typeof===AI||e.getModuleId!==void 0)};_t.typeOf=Gr;NI.exports=_t;var W3=NI.exports;function ps(e,t,n){var r=o.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var JW=Number(o.version.split(".")[0]),MC=function(t,n){typeof t=="function"?t(n):tt(t)==="object"&&t&&"current"in t&&(t.current=n)},kn=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.filter(Boolean);return a.length<=1?a[0]:function(i){n.forEach(function(l){MC(l,i)})}},So=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ps(function(){return kn.apply(void 0,n)},n,function(a,i){return a.length!==i.length||a.every(function(l,s){return l!==i[s]})})},zo=function(t){var n,r;if(!t)return!1;if(PC(t)&&JW>=19)return!0;var a=W3.isMemo(t)?t.type.type:t.type;return!(typeof a=="function"&&!((n=a.prototype)!==null&&n!==void 0&&n.render)&&a.$$typeof!==W3.ForwardRef||typeof t=="function"&&!((r=t.prototype)!==null&&r!==void 0&&r.render)&&t.$$typeof!==W3.ForwardRef)};function PC(e){return o.isValidElement(e)&&!_I(e)}var ZW=function(t){return PC(t)&&zo(t)},di=function(t){if(t&&PC(t)){var n=t;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null},W8=o.createContext(null);function eU(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),a=o.useRef([]),i=o.useContext(W8),l=o.useCallback(function(s,c,u){r.current+=1;var d=r.current;a.current.push({size:s,element:c,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),i==null||i(s,c,u)},[n,i]);return o.createElement(W8.Provider,{value:l},t)}var DI=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.dele
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oe(e){return EU(e)||XI(e)||HC(e)||jU()}var kI=function(t){return+setTimeout(t,16)},YI=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(kI=function(t){return window.requestAnimationFrame(t)},YI=function(t){return window.cancelAnimationFrame(t)});var Tz=0,TC=new Map;function QI(e){TC.delete(e)}var $t=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Tz+=1;var r=Tz;function a(i){if(i===0)QI(r),t();else{var l=kI(function(){a(i-1)});TC.set(r,l)}}return a(n),r};$t.cancel=function(e){var t=TC.get(e);return QI(e),YI(t)};function JI(e){if(Array.isArray(e))return e}function MU(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,l,s=[],c=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(d){u=!0,a=d}finally{try{if(!c&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw a}}return s}}function ZI(){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 k(e,t){return JI(e)||MU(e,t)||HC(e,t)||ZI()}function Ql(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function ar(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function PU(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Lz="data-rc-order",Vz="data-rc-priority",IU="rc-util-key",K8=new Map;function eH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):IU}function p2(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function HU(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function LC(e){return Array.from((K8.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function tH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ar())return null;var n=t.csp,r=t.prepend,a=t.priority,i=a===void 0?0:a,l=HU(r),s=l==="prependQueue",c=document.createElement("style");c.setAttribute(Lz,l),s&&i&&c.setAttribute(Vz,"".concat(i)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=p2(t),d=u.firstChild;if(r){if(s){var f=(t.styles||LC(u)).filter(function(h){if(!["prepend","prependQueue"].includes(h.getAttribute(Lz)))return!1;var g=Number(h.getAttribute(Vz)||0);return i>=g});if(f.length)return u.insertBefore(c,f[f.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function nH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=p2(t);return(t.styles||LC(n)).find(function(r){return r.getAttribute(eH(t))===e})}function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=nH(e,t);if(n){var r=p2(t);r.removeChild(n)}}function TU(e,t){var n=K8.get(e);if(!n||!PU(document,n)){var r=tH("",t),a=r.parentNode;K8.set(e,a),e.removeChild(r)}}function La(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=p2(n),a=LC(r),i=A(A({},n),{},{styles:a});TU(r,i);var l=nH(t,i);if(l){var s,c;if((s=i.csp)!==null&&s!==void 0&&s.nonce&&l.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var u;l.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return l.innerHTML!==e&&(l.innerHTML=e),l}var d=tH(e,i);return d.setAttribute(eH(i),t),d}function LU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function at(e,t){if(e==null)return{};var n,r,a=LU(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function g1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(i,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(i);if(vn(!c,"Warning: There may be circular references"),c)return!1;if(i===l)return!0;if(n&&s>1)return!1;r.add(i);var u=s+1;if(Array.isArray(i)){if(!Array.isArray(l)||i.length!==l.length)return!1;for(var d=0;d<i.length;d++)if(!a(i[d],l[d],u))return!1;return!0}if(i&&l&&tt(i)==="object"&&tt(l)==="object"){var f=Object.keys(i);return f.length!==Object.keys(l).length?!1:f.every(function(h){return a(i[h],l[h],u)})}return!1}return a(e,t)}var VU="%";function G8(e){return e.join(VU)}var _U=function(){function e(t){sn(this,e),_(this,"instanceId",void 0),_(this,"cache",new Map),_(this,"extracted",new Set),this.instanceId=t}return cn(e,[{key:"get",value:function(n){return t
`);else if(m._keyframe)v(m);else{var O=f.reduce(function(x,C){var S;return(C==null||(S=C.visit)===null||S===void 0?void 0:S.call(C,x))||x},m);Object.keys(O).forEach(function(x){var C=O[x];if(tt(C)==="object"&&C&&(x!=="animationName"||!C._keyframe)&&!Eq(C)){var S=!1,$=x.trim(),z=!1;(a||i)&&s?$.startsWith("@")?S=!0:$==="&"?$=qz("",s,u):$=qz(x,s,u):a&&!s&&($==="&"||$==="")&&($="",z=!0);var R=e(C,n,{root:z,injectHash:S,parentSelectors:[].concat(Oe(l),[$])}),E=k(R,2),H=E[0],P=E[1];g=A(A({},g),P),h+="".concat($).concat(H)}else{let V=function(M,T){var I=M.replace(/[A-Z]/g,function(B){return"-".concat(B.toLowerCase())}),F=T;!iq[M]&&typeof F=="number"&&F!==0&&(F="".concat(F,"px")),M==="animationName"&&T!==null&&T!==void 0&&T._keyframe&&(v(T),F=T.getName(s)),h+="".concat(I,":").concat(F,";")};var L,j=(L=C==null?void 0:C.value)!==null&&L!==void 0?L:C;tt(C)==="object"&&C!==null&&C!==void 0&&C[vH]&&Array.isArray(j)?j.forEach(function(M){V(x,M)}):V(x,j)}})}}),a?c&&(h&&(h="@layer ".concat(c.name," {").concat(h,"}")),c.dependencies&&(g["@layer ".concat(c.name)]=c.dependencies.map(function(w){return"@layer ".concat(w,", ").concat(c.name,";")}).join(`
`))):h="{".concat(h,"}"),[h,g]};function gH(e,t){return Ql("".concat(e.join("%")).concat(t))}function Mq(){return null}var mH="style";function J8(e,t){var n=e.token,r=e.path,a=e.hashId,i=e.layer,l=e.nonce,s=e.clientOnly,c=e.order,u=c===void 0?0:c,d=o.useContext(bs),f=d.autoClear;d.mock;var h=d.defaultCache,g=d.hashPriority,v=d.container,p=d.ssrInline,b=d.transformers,w=d.linters,m=d.cache,O=d.layer,x=n._tokenKey,C=[x];O&&C.push("layer"),C.push.apply(C,Oe(r));var S=k8,$=_C(mH,C,function(){var P=C.join("|");if(Sq(P)){var L=zq(P),j=k(L,2),V=j[0],M=j[1];if(V)return[V,x,M,{},s,u]}var T=t(),I=jq(T,{hashId:a,hashPriority:g,layer:O?i:void 0,path:r.join("-"),transformers:b,linters:w}),F=k(I,2),B=F[0],N=F[1],W=Ec(B),K=gH(C,W);return[W,x,K,N,s,u]},function(P,L){var j=k(P,3),V=j[2];(L||f)&&k8&&Jl(V,{mark:ra,attachTo:v})},function(P){var L=k(P,4),j=L[0];L[1];var V=L[2],M=L[3];if(S&&j!==fH){var T={mark:ra,prepend:O?!1:"queue",attachTo:v,priority:u},I=typeof l=="function"?l():l;I&&(T.csp={nonce:I});var F=[],B=[];Object.keys(M).forEach(function(W){W.startsWith("@layer")?F.push(W):B.push(W)}),F.forEach(function(W){La(Ec(M[W]),"_layer-".concat(W),A(A({},T),{},{prepend:!0}))});var N=La(j,V,T);N[oo]=m.instanceId,N.setAttribute(m1,x),B.forEach(function(W){La(Ec(M[W]),"_effect-".concat(W),T)})}}),z=k($,3),R=z[0],E=z[1],H=z[2];return function(P){var L;return!p||S||!h?L=o.createElement(Mq,null):L=o.createElement("style",xe({},_(_({},m1,E),ra,H),{dangerouslySetInnerHTML:{__html:R}})),o.createElement(o.Fragment,null,L,P)}}var Pq=function(t,n,r){var a=k(t,6),i=a[0],l=a[1],s=a[2],c=a[3],u=a[4],d=a[5],f=r||{},h=f.plain;if(u)return null;var g=i,v={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return g=y4(i,l,s,v,h),c&&Object.keys(c).forEach(function(p){if(!n[p]){n[p]=!0;var b=Ec(c[p]),w=y4(b,l,"_effect-".concat(p),v,h);p.startsWith("@layer")?g=w+g:g+=w}}),[d,s,g]},pH="cssVar",Iq=function(t,n){var r=t.key,a=t.prefix,i=t.unitless,l=t.ignore,s=t.token,c=t.scope,u=c===void 0?"":c,d=o.useContext(bs),f=d.cache.instanceId,h=d.container,g=s._tokenKey,v=[].concat(Oe(t.path),[r,u,g]),p=_C(pH,v,function(){var b=n(),w=aH(b,r,{prefix:a,unitless:i,ignore:l,scope:u}),m=k(w,2),O=m[0],x=m[1],C=gH(v,x);return[O,x,C,r]},function(b){var w=k(b,3),m=w[2];k8&&Jl(m,{mark:ra,attachTo:h})},function(b){var w=k(b,3),m=w[1],O=w[2];if(m){var x=La(m,O,{mark:ra,prepend:"queue",attachTo:h,priority:-999});x[oo]=f,x.setAttribute(m1,r)}});return p},Hq=function(t,n,r){var a=k(t,4),i=a[1],l=a[2],s=a[3],c=r||{},u=c.plain;if(!i)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},h=y4(i,s,l,f,u);return[d,l,h]};_(_(_({},mH,Pq),oH,oq),pH,Hq);var jt=function(){function e(t,n){sn(this,e),_(this,"name",void 0),_(this,"style",void 0),_(this,"_keyframe",!0),this.name=t,this.style=n}return cn(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Oi(e){return e.notSplit=!0,e}Oi(["borderTop","borderBottom"]),Oi(["borderTop"]),Oi(["borderBottom"]),Oi(["borderLeft","borderRight"]),Oi(["borderLeft"]),Oi(["borderRight"]);var NC=o.createContext({});function bH(e){return JI(e)||XI(e)||HC(e)||ZI()}function wa(e,t){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;n=n[t[r]]}return n}function yH(e,t,n,r){if(!t.length)return n;var a=bH(t),i=a[0],l=a.slice(1),s;return!e&&typeof i=="number"?s=[]:Array.isArray(e)?s=Oe(e):s=A({},e),r&&n===void 0&&l.length===1?delete s[i][l[0]]:s[i]=yH(s[i],l,n,r),s}function Jr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!wa(e,t.slice(0,-1))?e:yH(e,t,n,r)}function Tq(e){return tt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Kz(e){return Array.isArray(e)?[]:{}}var Lq=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function qi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Kz(t[0]);return t.forEach(function(a){function i(l,s){var c=new Set(s),u=wa(a,l),d=Array.isArray(u);if(d||Tq(u)){if(!c.
'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}),jn=Math.round;function G3(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(a=>parseFloat(a));for(let a=0;a<3;a+=1)r[a]=t(r[a]||0,n[a]||"",a);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const kz=(e,t,n)=>n===0?e:e/100;function Y1(e,t){const n=t||255;return e>n?n:e<0?0:e}let Ht=class OH{constructor(t){_(this,"isValid",!0),_(this,"r",0),_(this,"g",0),_(this,"b",0),_(this,"a",1),_(this,"_h",void 0),_(this,"_s",void 0),_(this,"_l",void 0),_(this,"_v",void 0),_(this,"_max",void 0),_(this,"_min",void 0),_(this,"_brightness",void 0);function n(r){return r[0]in t&&r[1]in t&&r[2]in t}if(t)if(typeof t=="string"){let a=function(i){return r.startsWith(i)};const r=t.trim();/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):a("rgb")?this.fromRgbString(r):a("hsl")?this.fromHslString(r):(a("hsv")||a("hsb"))&&this.fromHsvString(r)}else if(t instanceof OH)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=Y1(t.r),this.g=Y1(t.g),this.b=Y1(t.b),this.a=typeof t.a=="number"?Y1(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(i){const l=i/255;return l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),a=t(this.b);return .2126*n+.7152*r+.0722*a}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=jn(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()-t/100;return a<0&&(a=0),this._c({h:n,s:r,l:a,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let a=this.getLightness()+t/100;return a>1&&(a=1),this._c({h:n,s:r,l:a,a:this.a})}mix(t,n=50){const r=this._c(t),a=n/100,i=s=>(r[s]-this[s])*a+this[s],l={r:jn(i("r")),g:jn(i("g")),b:jn(i("b")),a:jn(i("a")*100)/100};return this._c(l)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),a=i=>jn((this[i]*this.a+n[i]*n.a*(1-this.a))/r);return this._c({r:a("r"),g:a("g"),b:a("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const a=(this.b||0).toString(16);if(t+=
:root {
${Object.keys(n).map(l=>`--${e}-${l}: ${n[l]};`).join(`
`)}
}
`.trim()}function lK(e,t){const n=iK(e,t);ar()&&La(n,`${oK}-dynamic-theme`)}const Sa=o.createContext(!1),sK=({children:e,disabled:t})=>{const n=o.useContext(Sa);return o.createElement(Sa.Provider,{value:t??n},e)},y1=o.createContext(void 0),cK=({children:e,size:t})=>{const n=o.useContext(y1);return o.createElement(y1.Provider,{value:t||n},e)};function uK(){const e=o.useContext(Sa),t=o.useContext(y1);return{componentDisabled:e,componentSize:t}}var RH=cn(function e(){sn(this,e)}),EH="CALC_UNIT",dK=new RegExp(EH,"g");function Y3(e){return typeof e=="number"?"".concat(e).concat(EH):e}var fK=function(e){Wa(n,e);var t=Ua(n);function n(r,a){var i;sn(this,n),i=t.call(this),_(pt(i),"result",""),_(pt(i),"unitlessCssVar",void 0),_(pt(i),"lowPriority",void 0);var l=tt(r);return i.unitlessCssVar=a,r instanceof n?i.result="(".concat(r.result,")"):l==="number"?i.result=Y3(r):l==="string"&&(i.result=r),i}return cn(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(Y3(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(Y3(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var i=this,l=a||{},s=l.unit,c=!0;return typeof s=="boolean"?c=s:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(c=!1),this.result=this.result.replace(dK,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(RH),hK=function(e){Wa(n,e);var t=Ua(n);function n(r){var a;return sn(this,n),a=t.call(this),_(pt(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return cn(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(RH),vK=function(t,n){var r=t==="css"?fK:hK;return function(a){return new r(a,n)}},tR=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function It(e){var t=o.useRef();t.current=e;var n=o.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(i))},[]);return n}function ns(e){var t=o.useRef(!1),n=o.useState(e),r=k(n,2),a=r[0],i=r[1];o.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function l(s,c){c&&t.current||i(s)}return[a,l]}function Q3(e){return e!==void 0}function kt(e,t){var n=t||{},r=n.defaultValue,a=n.value,i=n.onChange,l=n.postState,s=ns(function(){return Q3(a)?a:Q3(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),c=k(s,2),u=c[0],d=c[1],f=a!==void 0?a:u,h=l?l(f):f,g=It(i),v=ns([f]),p=k(v,2),b=p[0],w=p[1];$l(function(){va
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:i,screenXSMin:i,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
0 1px 2px -2px ${new Ht("rgba(0, 0, 0, 0.16)").toRgbString()},
0 3px 6px 0 ${new Ht("rgba(0, 0, 0, 0.12)").toRgbString()},
0 5px 12px 4px ${new Ht("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)"}),r)}var iR=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const PH={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},SK={motionBase:!0,motionUnit:!0},zK={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},IH=(e,t,n)=>{const r=n.getDerivativeToken(e),{override:a}=t,i=iR(t,["override"]);let l=Object.assign(Object.assign({},r),{override:a});return l=MH(l),i&&Object.entries(i).forEach(([s,c])=>{const{theme:u}=c,d=iR(c,["theme"]);let f=d;u&&(f=IH(Object.assign(Object.assign({},l),d),{override:d},u)),l[s]=f}),l};function pr(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=D.useContext(zH),i=`${CK}-${t||""}`,l=n||SH,[s,c,u]=aq(l,[es,e],{salt:i,override:r,getComputedToken:IH,formatToken:MH,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:PH,ignore:SK,preserve:zK}});return[l,u,t?c:"",s,a]}const rs={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},$n=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),fi=()=>({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"}}),d6=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),RK=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),EK=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:a,l={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),l),{[a]:l})}},UC=(e,t)=>({outline:`${Z(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),ri=(e,t)=>({"&:focus-visible":UC(e,t)}),HH=e=>({[`.${e}`]:Object.assign(Object.assign({},fi()),{[`.${e} .${e}-icon`]:{display:"block"}})}),TH=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},ri(e)),{"&:hover":{color:e.colorLinkHover,textDecoration:e.linkHoverDecoration},"&:focus":{color:e.colorLinkHover,textDecoration:e.linkFocusDecoration},"&:active":{color:e.colorLinkActive,textDecoration:e.linkHoverDecoration}}),{genStyleHooks:Dt,genComponentStyleHook:jK,genSubStyleComponent:MK}=xK({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=o.useContext(ft);return{rootPrefixCls:e(),iconPrefixCls
.anticon {
display: inline-flex;
align-items: 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);
}
}
`,bG=function(t){var n=o.useContext(NC),r=n.csp,a=n.prefixCls,i=n.layer,l=pG;a&&(l=l.replace(/anticon/g,a)),i&&(l="@layer ".concat(i,` {
`).concat(l,`
}`)),o.useEffect(function(){var s=t.current,c=$4(s);La(l,"@ant-design-icons",{prepend:!i,csp:r,attachTo:c})},[])},yG=["icon","className","onClick","style","primaryColor","secondaryColor"],Sl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function wG(e){var t=e.primaryColor,n=e.secondaryColor;Sl.primaryColor=t,Sl.secondaryColor=n||YH(t),Sl.calculated=!!n}function OG(){return A({},Sl)}var M1=function(t){var n=t.icon,r=t.className,a=t.onClick,i=t.style,l=t.primaryColor,s=t.secondaryColor,c=at(t,yG),u=o.useRef(),d=Sl;if(l&&(d={primaryColor:l,secondaryColor:s||YH(l)}),bG(u),mG(vR(n),"icon should be icon definiton, but got ".concat(n)),!vR(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=A(A({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),m6(f.icon,"svg-".concat(f.name),A(A({className:r,onClick:a,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};M1.displayName="IconReact";M1.getTwoToneColors=OG;M1.setTwoToneColors=wG;function JH(e){var t=QH(e),n=k(t,2),r=n[0],a=n[1];return M1.setTwoToneColors({primaryColor:r,secondaryColor:a})}function xG(){var e=M1.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var CG=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];JH(O4.primary);var bn=o.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,l=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=at(e,CG),d=o.useContext(NC),f=d.prefixCls,h=f===void 0?"anticon":f,g=d.rootClassName,v=U(g,h,_(_({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!a||r.name==="loading"),n),p=l;p===void 0&&s&&(p=-1);var b=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,w=QH(c),m=k(w,2),O=m[0],x=m[1];return o.createElement("span",xe({role:"img","aria-label":r.name},u,{ref:t,tabIndex:p,onClick:s,className:v}),o.createElement(M1,{icon:r,primaryColor:O,secondaryColor:x,style:b}))});bn.displayName="AntdIcon";bn.getTwoToneColor=xG;bn.setTwoToneColor=JH;var $G=function(t,n){return o.createElement(bn,xe({},t,{ref:n,icon:XH}))},SG=o.forwardRef($G),ZH={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},zG=function(t,n){return o.createElement(bn,xe({},t,{ref:n,icon:ZH}))},KC=o.forwardRef(zG),eT={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},RG=function(t,n){return o.createElement(bn,xe({},t,{ref:n,icon:eT}))},GC=o.forwardRef(RG),tT={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,HG=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,TG="".concat(IG," ").concat(HG).split(/[\s\n]+/),LG="aria-",VG="data-";function mR(e,t){return e.indexOf(t)===0}function ia(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=A({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||mR(a,LG))||n.data&&mR(a,VG)||n.attr&&TG.includes(a))&&(r[a]=e[a])}),r}function rT(e){return e&&D.isValidElement(e)&&e.type===D.Fragment}const _G=(e,t,n)=>D.isValidElement(e)?D.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Rr(e,t){return _G(e,e,t)}const ca=e=>{const[,,,,t]=pr();return t?`${e}-css-var`:""};var He={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,N:78,P:80,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,SEMICOLON:186,EQUALS:187,WIN_KEY:224},aT=o.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,i=e.duration,l=i===void 0?4.5:i,s=e.showProgress,c=e.pauseOnHover,u=c===void 0?!0:c,d=e.eventKey,f=e.content,h=e.closable,g=e.closeIcon,v=g===void 0?"x":g,p=e.props,b=e.onClick,w=e.onNoticeClose,m=e.times,O=e.hovering,x=o.useState(!1),C=k(x,2),S=C[0],$=C[1],z=o.useState(0),R=k(z,2),E=R[0],H=R[1],P=o.useState(0),L=k(P,2),j=L[0],V=L[1],M=O||S,T=l>0&&s,I=function(){w(d)},F=function(q){(q.key==="Enter"||q.code==="Enter"||q.keyCode===He.ENTER)&&I()};o.useEffect(function(){if(!M&&l>0){var J=Date.now()-j,q=setTimeout(function(){I()},l*1e3-j);return function(){u&&clearTimeout(q),V(Date.now()-J)}}},[l,M,m]),o.useEffect(function(){if(!M&&T&&(u||j===0)){var J=performance.now(),q,Y=function te(){cancelAnimationFrame(q),q=requestAnimationFrame(function(Q){var re=Q+j-J,ne=Math.min(re/(l*1e3),1);H(ne*100),ne<1&&te()})};return Y(),function(){u&&cancelAnimationFrame(q)}}},[l,j,M,T,m]);var B=o.useMemo(function(){return tt(h)==="object"&&h!==null?h:h?{closeIcon:v}:{}},[h,v]),N=ia(B,!0),W=100-(!E||E<0?0:E>100?100:E),K="".concat(n,"-notice");return o.createElement("div",xe({},p,{ref:t,className:U(K,a,_({},"".concat(K,"-closable"),h)),style:r,onMouseEnter:function(q){var Y;$(!0),p==null||(Y=p.onMouseEnter)===null||Y===void 0||Y.call(p,q)},onMouseLeave:function(q){var Y;$(!1),p==null||(Y=p.onMouseLeave)===null||Y===void 0||Y.call(p,q)},onClick:b}),o.createElement("div",{className:"".concat(K,"-content")},f),h&&o.createElement("a",xe({tabIndex:0,className:"".concat(K,"-close"),onKeyDown:F,"aria-label":"Close"},N,{onClick:function(q){q.preventDefault(),q.stopPropagation(),I()}}),B.closeIcon),T&&o.createElement("progress",{className:"".concat(K,"-progress"),max:"100",value:W},W+"%"))}),oT=D.createContext({}),FG=function(t){var n=t.children,r=t.classNames;return D.createElement(oT.Provider,{value:{classNames:r}},n)},pR=8,bR=3,yR=16,BG=function(t){var n={offset:pR,threshold:bR,gap:yR};if(t&&tt(t)==="object"){var r,a,i;n.offset=(r=t.offset)!==null&&r!==void 0?r:pR,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:bR,n.gap=(i=t.gap)!==null&&i!==void 0?i:yR}return[!!t,n]},NG=["className","style","classNames","styles"],AG=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,i=t.className,l=t.style,s=t.motion,c=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,f=o.useContext(oT),h=f.classNames,g=o.useRef({}),v=o.useState(null),p=k(v,2),b=p[0],w=p[1],m=o.useState([]),O=k(m,2),x=O[0],C=O[1],S=n.map(function(M){return{config:M,key:String(M.key)}}),$=BG(d),z=k($,2),R=z[0],E=z[1],H=E.offset,P=E.threshold,L=E.gap,j=R&&(x.length>0||S.length<=P),V=typeof s=="function"?s(r):s;return o.useEffect(function(){R&&x.length>1&&C(function(M){return M.filter(function(T){return S.some(function(I){var F=I.key;return T===F})})})},[x,S,R]),o.useEffect(function(){var M;if(R&&g.current[(M=S[S.length-1])===null||M===void 0?void 0:M.key]){var T;w(g.current[(T=S[S.lengt
${t}-loading > ${n}`]:{color:c}};return[{[t]:Object.assign(Object.assign({},$n(e)),{color:a,position:"fixed",top:h,width:"100%",pointerEvents:"none",zIndex:p,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
${t}-move-up-appear,
${t}-move-up-enter
`]:{animationName:O,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`
${t}-move-up-appear${t}-move-up-appear-active,
${t}-move-up-enter${t}-move-up-enter-active
`]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${m}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},tX=e=>({zIndexPopup:e.zIndexPopupBase+QG+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),cT=Dt("Message",e=>{const t=St(e,{height:150});return eX(t)},tX);var nX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const rX={info:o.createElement(PG,null),success:o.createElement(SG,null),error:o.createElement(KC,null),warning:o.createElement(jG,null),loading:o.createElement(x2,null)},uT=({prefixCls:e,type:t,icon:n,children:r})=>o.createElement("div",{className:U(`${e}-custom-content`,`${e}-${t}`)},n||rX[t],o.createElement("span",null,r)),aX=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:i}=e,l=nX(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=o.useContext(ft),c=t||s("message"),u=ca(c),[d,f,h]=cT(c,u);return d(o.createElement(aT,Object.assign({},l,{prefixCls:c,className:U(n,f,`${c}-notice-pure-panel`,h,u),eventKey:"pure",duration:null,content:o.createElement(uT,{prefixCls:c,type:r,icon:a},i)})))};function oX(e,t){return{motionName:t??`${e}-move-up`}}function XC(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,i)=>n.then(a,i),r.promise=n,r}var iX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const lX=8,sX=3,cX=({children:e,prefixCls:t})=>{const n=ca(t),[r,a,i]=cT(t,n);return r(o.createElement(FG,{classNames:{list:U(a,i,n)}},e))},uX=(e,{prefixCls:t,key:n})=>o.createElement(cX,{prefixCls:t,key:n},e),dX=o.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:i,duration:l=sX,rtl:s,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f,message:h,direction:g}=o.useContext(ft),v=r||d("message"),p=()=>({left:"50%",transform:"translateX(-50%)",top:n??lX}),b=()=>U({[`${v}-rtl`]:s??g==="rtl"}),w=()=>oX(v,c),m=o.createElement("span",{className:`${v}-close-x`},o.createElement(GC,{className:`${v}-close-icon`})),[O,x]=KG({prefixCls:v,style:p,className:b,motion:w,closable:!1,closeIcon:m,duration:l,getContainer:()=>(a==null?void 0:a())||(f==null?void 0:f())||document.body,maxCount:i,onAllRemoved:u,renderNotifications:uX});return o.useImperativeHandle(t,()=>Object.assign(Object.assign({},O),{prefixCls:v,message:h})),x});let $R=0;function dT(e){const t=o.useRef(null);return w2(),[o.useMemo(()=>{const r=c=>{var u;(u=t.current)===null||u===void 0||u.close(c)},a=c=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:u,prefixCls:d,message:f}=t.current,h=`${d}-notice`,{content:g,icon:v,type:p,key:b,className:w,style:m,onClose:O}=c,x=iX(c,["content","icon","type","key","className","style","onClose"]);let C=b;return C==null&&($R+=1,C=`antd-message-${$R}`),XC(S=>(u(Object.assign(Object.assign({},x),{key:C,content:o.createElement(uT,{prefixCls:d,type:p,icon:v},g),placement:"top",className:U(p&&`${h}-${p}`,w,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),m),onClose:()=>{O==null||O(),S()}})),()=>{r(C)}))},l={open:a,destroy:c=>{var u;c!==void 0?r(c):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{cons
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),gk=e=>({animationDuration:e,animationFillMode:"both"}),mk=e=>({animationDuration:e,animationFillMode:"both"}),ZC=(e,t,n,r,a=!1)=>{const i=a?"&":"";return{[`
${i}${e}-enter,
${i}${e}-appear
`]:Object.assign(Object.assign({},gk(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},mk(r)),{animationPlayState:"paused"}),[`
${i}${e}-enter${e}-enter-active,
${i}${e}-appear${e}-appear-active
`]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},pk=new jt("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),bk=new jt("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),yk=new jt("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),wk=new jt("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Ok=new jt("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),xk=new jt("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Ck=new jt("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$k=new jt("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Sk={"move-up":{inKeyframes:Ck,outKeyframes:$k},"move-down":{inKeyframes:pk,outKeyframes:bk},"move-left":{inKeyframes:yk,outKeyframes:wk},"move-right":{inKeyframes:Ok,outKeyframes:xk}},E4=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Sk[t];return[ZC(r,a,i,e.motionDurationMid),{[`
${r}-enter,
${r}-appear
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},e$=new jt("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),t$=new jt("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),n$=new jt("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),r$=new jt("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),zk=new jt("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Rk=new jt("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ek=new jt("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),jk=new jt("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Mk={"slide-up":{inKeyframes:e$,outKeyframes:t$},"slide-down":{inKeyframes:n$,outKeyframes:r$},"slide-left":{inKeyframes:zk,outKeyframes:Rk},"slide-right":{inKeyframes:Ek,outKeyframes:jk}},w1=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Mk[t];return[ZC(r,a,i,e.motionDurationMid),{[`
${r}-enter,
${r}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Pk=new jt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ik=new jt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),HR=new jt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),TR=new jt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Hk=new jt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Tk=new jt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Lk=new jt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Vk=new jt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),_k=new jt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Fk=new jt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Bk=new jt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Nk=new jt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Ak={zoom:{inKeyframes:Pk,outKeyframes:Ik},"zoom-big":{inKeyframes:HR,outKeyframes:TR},"zoom-big-fast":{inKeyframes:HR,outKeyframes:TR},"zoom-left":{inKeyframes:Lk,outKeyframes:Vk},"zoom-right":{inKeyframes:_k,outKeyframes:Fk},"zoom-up":{inKeyframes:Hk,outKeyframes:Tk},"zoom-down":{inKeyframes:Bk,outKeyframes:Nk}},z2=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Ak[t];return[ZC(r,a,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
${r}-enter,
${r}-appear
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Dk=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:f,colorText:h,colorTextHeading:g,colorTextDisabled:v,fontSizeLG:p,lineHeight:b,lineHeightLG:w,marginSM:m,paddingSM:O,paddingLG:x,paddingXS:C,motionDurationSlow:S,fontSizeIcon:$,contentPadding:z,fontHeight:R,fontHeightLG:E}=e,H=`${Z(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},$n(e)),{backgroundColor:a,border:H,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:H,"&:first-child":{[`
&,
& > ${t}-header`]:{borderRadius:`${Z(c)} ${Z(c)} 0 0`}},"&:last-child":{[`
&,
& > ${t}-header`]:{borderRadius:`0 0 ${Z(c)} ${Z(c)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:g,lineHeight:b,cursor:"pointer",transition:`all ${S}, visibility 0s`},ri(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:R,display:"flex",alignItems:"center",paddingInlineEnd:m},[`${t}-arrow`]:Object.assign(Object.assign({},fi()),{fontSize:$,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:n,borderTop:H,[`& > ${t}-content-box`]:{padding:z},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(O).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:O}}},"&-large":{[`> ${t}-item`]:{fontSize:p,lineHeight:w,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:E,marginInlineStart:e.calc(x).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Z(c)} ${Z(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:m}}}}})}},Wk=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Uk=e=>{const{componentCls:t,headerBg:n,borderlessContentPadding:r,borderlessContentBg:a,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[`
> ${t}-item:last-child,
> ${t}-item:last-child ${t}-header
`]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:a,borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{padding:r}}}},qk=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Kk=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer,borderlessContentPadding:`${e.paddingXXS}px 16px ${e.padding}px`,borderlessContentBg:"transparent"}),Gk=Dt("Collapse",e=>{const t=St(e,{collapseHeaderPaddingSM:`${Z(e.paddingXS)} ${Z(e.paddingSM)}`,collapseHeaderPaddingLG:`${Z(e.padding)} ${Z(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Dk(t),Uk(t),qk(t),Wk(t),jT(t)]},Kk),Xk=o.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,expandIcon:a,className:i,style:l}=Hn("collapse"),{prefixCls:s,className:c,rootClassName:u,style:d,bordered:f=!0,ghost:h,size:g,expandIconPosition:v="start",children:p,destroyInactivePanel:b,destroyOnHidden:w,expandIcon:m}=e,O=ua(V=>{var M;return(M=g??V)!==null&&M!==void 0?M:"middle"}),x=n("collapse",s),C=n(),[S,$,z]=Gk(x),R=o.useMemo(()=>v==="left"?"start":v==="right"?"end":v,[v]),E=m??a,H=o.useCallback((V={})=>{const M=typeof E=="function"?E(V):o.createElement(R4,{rotate:V.isActive?r==="rtl"?-90:90:void 0,"aria-label":V.isActive?"expanded":"collapsed"});return Rr(M,()=>{var T;return{className:U((T=M.props)===null||T===void 0?void 0:T.className,`${x}-arrow`)}})},[E,x,r]),P=U(`${x}-icon-position-${R}`,{[`${x}-borderless`]:!f,[`${x}-rtl`]:r==="rtl",[`${x}-ghost`]:!!h,[`${x}-${O}`]:O!=="middle"},i,c,u,$,z),L=o.useMemo(()=>Object.assign(Object.assign({},gT(C)),{motionAppear:!1,leavedClassName:`${x}-content-hidden`}),[C,x]),j=o.useMemo(()=>p?rr(p).map((V,M)=>{var T,I;const F=V.props;if(F!=null&&F.disabled){const B=(T=V.key)!==null&&T!==void 0?T:String(M),N=Object.assign(Object.assign({},on(V.props,["disabled"])),{key:B,collapsible:(I=F.collapsible)!==null&&I!==void 0?I:"disabled"});return Rr(V,N)}return V}):null,[p]);return S(o.createElement(JC,Object.assign({ref:t,openMotion:L},on(e,["rootClassName"]),{expandIcon:H,prefixCls:x,className:P,style:Object.assign(Object.assign({},l),d),destroyInactivePanel:w??b}),j))}),kk=Object.assign(Xk,{Panel:vk}),Bn=e=>e instanceof Cr?e:new Cr(e),Hc=e=>Math.round(Number(e||0)),a$=e=>Hc(e.toHsb().a*100),Tc=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const r=e.toHsb();return r.a=1,Bn(r)}return n.a=1,Bn(n)},MT=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat(Oe(e),[{percent:100,color:e[e.length-1].color}]);for(let r=0;r<n.length-1;r+=1){const a=n[r].percent,i=n[r+1].percent,l=n[r].color,s=n[r+1].color;if(a<=t&&t<=i){const c=i-a;if(c===0)return l;const u=(t-a)/c*100,d=new la(l),f=new la(s);return d.mix(f,u).toRgbString()}}return""},s0=e=>e.map(t=>(t.colors=t.colors.map(Bn),t)),PT=(e,t)=>{const{r:n,g:r,b:a,a:i}=e.toRgb(),l=new la(e.toRgbString()).onBackground(t).toHsv();return i<=.5?l.v>.5:n*.299+r*.587+a*.114>192},LR=(e,t)=>{var n;return`panel-${(n=e.key)!==null&&n!==void 0?n:t}`},Yk=({prefixCls:e,presets:t,value:n,onChange:r})=>{const[a]=Ro("ColorPicker"),[,i]=pr(),[l]=kt(s0(t),{value:s0(t),postState:s0}),s=`${e}-presets`,c=o.useMemo(()=>l.reduce((f,h,g)=>{const{defaultOpen:v=!0}=h;return v&&f.push(LR(h,g)),f},[]),[l]),u=f=>{r==null||r(f)},d=l.map((f,h)=>{var g;return{key:LR(f,h),label:D.createElement("div",{className:`${s}-label`},f==null?void 0:f.label),children:D.createElement("div",{className:`${s}-items`},Array.isArray(f==null?void 0:f.colors)&&((g=f.colors)===null||g===void 0?void 0:g.length)>0?f.colors.map((v,p)=>D.createElement(QC,{key:`preset-${p}-${v.toHexString()}`,color:Bn(v).toRgbString(),prefixCls:e,className:U(`${s}-color`,{[`${s}-color-checked`]:v.toHexString()===(n==null?void 0:n.toHexString()),[`${s}-color-bright`]:PT(v,i.colorBgElevated)}),onClick:()=>u(v)})):D.createElement("span",{className:`${s
#`.concat(t,`::-webkit-scrollbar {
`).concat(d,`
`).concat(f,`
}`),t)}catch(v){console.error(v),a=c,i=u}}document.body.appendChild(n);var h=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,g=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),Jl(t),{width:h,height:g}}function sqe(e){return typeof document>"u"?0:(c0===void 0&&(c0=VT()),c0.width)}function zY(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:VT(e)}function RY(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var EY="rc-util-locker-".concat(Date.now()),_R=0;function jY(e){var t=!!e,n=o.useState(function(){return _R+=1,"".concat(EY,"_").concat(_R)}),r=k(n,1),a=r[0];vt(function(){if(t){var i=zY(document.body).width,l=RY();La(`
html body {
overflow-y: hidden;
`.concat(l?"width: calc(100% - ".concat(i,"px);"):"",`
}`),a)}else Jl(a);return function(){Jl(a)}},[t,a])}var MY=!1;function PY(e){return MY}var FR=function(t){return t===!1?!1:!ar()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},i$=o.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var i=e.autoDestroy,l=i===void 0?!0:i,s=e.children,c=o.useState(n),u=k(c,2),d=u[0],f=u[1],h=d||n;o.useEffect(function(){(l||n)&&f(n)},[n,l]);var g=o.useState(function(){return FR(a)}),v=k(g,2),p=v[0],b=v[1];o.useEffect(function(){var H=FR(a);b(H??null)});var w=SY(h&&!p),m=k(w,2),O=m[0],x=m[1],C=p??O;jY(r&&n&&ar()&&(C===O||C===document.body));var S=null;if(s&&zo(s)&&t){var $=s;S=$.ref}var z=So(S,t);if(!h||!ar()||p===void 0)return null;var R=C===!1||PY(),E=s;return t&&(E=o.cloneElement(s,{ref:z})),o.createElement(LT.Provider,{value:x},R?E:$a.createPortal(E,C))});function IY(){var e=A({},fs);return e.useId}var BR=0,NR=IY();const H2=NR?function(t){var n=NR();return t||n}:function(t){var n=o.useState("ssr-id"),r=k(n,2),a=r[0],i=r[1];return o.useEffect(function(){var l=BR;BR+=1,i("rc_unique_".concat(l))},[]),t||a};var Fo="RC_FORM_INTERNAL_HOOKS",Nt=function(){vn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},O1=o.createContext({getFieldValue:Nt,getFieldsValue:Nt,getFieldError:Nt,getFieldWarning:Nt,getFieldsError:Nt,isFieldsTouched:Nt,isFieldTouched:Nt,isFieldValidating:Nt,isFieldsValidating:Nt,resetFields:Nt,setFields:Nt,setFieldValue:Nt,setFieldsValue:Nt,validateFields:Nt,submit:Nt,getInternalHooks:function(){return Nt(),{dispatch:Nt,initEntityValue:Nt,registerField:Nt,useSubscribe:Nt,setInitialValues:Nt,destroyForm:Nt,setCallbacks:Nt,registerWatch:Nt,getFields:Nt,setValidateMessages:Nt,setPreserve:Nt,getInitialValue:Nt}}}),j4=o.createContext(null);function w6(e){return e==null?[]:Array.isArray(e)?e:[e]}function HY(e){return e&&!!e._init}function O6(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",tel:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var x6=O6();function TY(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function LY(e,t,n){if(IC())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&kl(a,n.prototype),a}function C6(e){var t=typeof Map=="function"?new Map:void 0;return C6=function(r){if(r===null||!TY(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return LY(r,arguments,Yl(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),kl(a,r)},C6(e)}var VY=/%[sdj%]/g,_Y=function(){};function $6(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function $r(e){
${r},
${a} > li,
${n},
${i},
${l},
${s}
`]:Object.assign({},MQ(e))}}},VQ=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},I1=Dt("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=St(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return LQ(r)},VQ,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),_Q=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:i="circle",size:l="default"}=e,{getPrefixCls:s}=o.useContext(ft),c=s("skeleton",t),[u,d,f]=I1(c),h=on(e,["prefixCls","className"]),g=U(c,`${c}-element`,{[`${c}-active`]:a},n,r,d,f);return u(o.createElement("div",{className:g},o.createElement(T2,Object.assign({prefixCls:`${c}-avatar`,shape:i,size:l},h))))},FQ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i=!1,size:l="default"}=e,{getPrefixCls:s}=o.useContext(ft),c=s("skeleton",t),[u,d,f]=I1(c),h=on(e,["prefixCls"]),g=U(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:i},n,r,d,f);return u(o.createElement("div",{className:g},o.createElement(T2,Object.assign({prefixCls:`${c}-button`,size:l},h))))},BQ="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",NQ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i}=e,{getPrefixCls:l}=o.useContext(ft),s=l("skeleton",t),[c,u,d]=I1(s),f=U(s,`${s}-element`,{[`${s}-active`]:i},n,r,u,d);return c(o.createElement("div",{className:f},o.createElement("div",{className:U(`${s}-image`,n),style:a},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},o.createElement("title",null,"Image placeholder"),o.createElement("path",{d:BQ,className:`${s}-image-path`})))))},AQ=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i,size:l="default"}=e,{getPrefixCls:s}=o.useContext(ft),c=s("skeleton",t),[u,d,f]=I1(c),h=on(e,["prefixCls"]),g=U(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:i},n,r,d,f);return u(o.createElement("div",{className:g},o.createElement(T2,Object.assign({prefixCls:`${c}-input`,size:l},h))))},DQ=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i,children:l}=e,{getPrefixCls:s}=o.useContext(ft),c=s("skeleton",t),[u,d,f]=I1(c),h=U(c,`${c}-element`,{[`${c}-active`]:i},d,n,r,f);return u(o.createElement("div",{className:h},o.createElement("div",{className:U(`${c}-image`,n),style:a},l)))},WQ=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},UQ=e=>{const{prefixCls:t,className:n,style:r,rows:a=0}=e,i=Array.from({length:a}).map((l,s)=>o.createElement("li",{key:s,style:{width:WQ(s,e)}}));return o.createElement("ul",{className:U(t,n),style:r},i)},qQ=({prefixCls:e,className:t,width:n,style:r})=>o.createElement("h3",{className:U(
`,`\r
`].includes(Xe)})},[V]),ge=o.useContext(u$)||{},ze=ge.maxCount,et=ge.rawValues,Ge=function(qe,Rt,Pt){if(!(fe&&P6(ze)&&(et==null?void 0:et.size)>=ze)){var Bt=!0,Kt=qe;R==null||R(null);var Qn=KJ(qe,V,P6(ze)?ze-et.size:void 0),Ln=Pt?null:Qn;return b!=="combobox"&&Ln&&(Kt="",j==null||j(Ln),Ie(!1),Bt=!1),L&&we!==Kt&&L(Kt,{source:Rt?"typing":"effect"}),Bt}},ht=function(qe){!qe||!qe.trim()||L(qe,{source:"submit"})};o.useEffect(function(){!Ke&&!fe&&b!=="combobox"&&Ge("",!1,!1)},[Ke]),o.useEffect(function(){bt&&w&&ut(!1),w&&!Pe.current&&_e(!1)},[w]);var wt=KT(),gt=k(wt,2),xt=gt[0],Yt=gt[1],qt=o.useRef(!1),At=function(qe){var Rt=xt(),Pt=qe.key,Bt=Pt==="Enter";if(Bt&&(b!=="combobox"&&qe.preventDefault(),Ke||Ie(!0)),Yt(!!we),Pt==="Backspace"&&!Rt&&fe&&!we&&d.length){for(var Kt=Oe(d),Qn=null,Ln=Kt.length-1;Ln>=0;Ln-=1){var Jn=Kt[Ln];if(!Jn.disabled){Kt.splice(Ln,1),Qn=Jn;break}}Qn&&f(Kt,{type:"remove",values:[Qn]})}for(var Nn=arguments.length,Zn=new Array(Nn>1?Nn-1:0),ha=1;ha<Nn;ha++)Zn[ha-1]=arguments[ha];if(Ke&&(!Bt||!qt.current)){var er;Bt&&(qt.current=!0),(er=De.current)===null||er===void 0||er.onKeyDown.apply(er,[qe].concat(Zn))}le==null||le.apply(void 0,[qe].concat(Zn))},yn=function(qe){for(var Rt=arguments.length,Pt=new Array(Rt>1?Rt-1:0),Bt=1;Bt<Rt;Bt++)Pt[Bt-1]=arguments[Bt];if(Ke){var Kt;(Kt=De.current)===null||Kt===void 0||Kt.onKeyUp.apply(Kt,[qe].concat(Pt))}qe.key==="Enter"&&(qt.current=!1),oe==null||oe.apply(void 0,[qe].concat(Pt))},Lt=function(qe){var Rt=d.filter(function(Pt){return Pt!==qe});f(Rt,{type:"remove",values:[qe]})},Qt=function(){qt.current=!1},je=o.useRef(!1),Ue=function(){_e(!0),w||(ee&&!je.current&&ee.apply(void 0,arguments),X.includes("focus")&&Ie(!0)),je.current=!0},Ne=function(){Pe.current=!0,_e(!1,function(){je.current=!1,Pe.current=!1,Ie(!1)}),!w&&(we&&(b==="tags"?L(we,{source:"submit"}):b==="multiple"&&L("",{source:"blur"})),ce&&ce.apply(void 0,arguments))},Ee=[];o.useEffect(function(){return function(){Ee.forEach(function(Xe){return clearTimeout(Xe)}),Ee.splice(0,Ee.length)}},[]);var nt=function(qe){var Rt,Pt=qe.target,Bt=(Rt=Te.current)===null||Rt===void 0?void 0:Rt.getPopupElement();if(Bt&&Bt.contains(Pt)){var Kt=setTimeout(function(){var Nn=Ee.indexOf(Kt);if(Nn!==-1&&Ee.splice(Nn,1),pe(),!ae&&!Bt.contains(document.activeElement)){var Zn;(Zn=Re.current)===null||Zn===void 0||Zn.focus()}});Ee.push(Kt)}for(var Qn=arguments.length,Ln=new Array(Qn>1?Qn-1:0),Jn=1;Jn<Qn;Jn++)Ln[Jn-1]=arguments[Jn];ie==null||ie.apply(void 0,[qe].concat(Ln))},mt=o.useState({}),zt=k(mt,2),un=zt[1];function gn(){un({})}var Wt;Je&&(Wt=function(qe){Ie(qe)}),nJ(function(){var Xe;return[Le.current,(Xe=Te.current)===null||Xe===void 0?void 0:Xe.getPopupElement()]},yt,Ie,!!Je);var Ft=o.useMemo(function(){return A(A({},e),{},{notFoundContent:v,open:Ke,triggerOpen:yt,id:r,showSearch:Ce,multiple:fe,toggleOpen:Ie})},[e,v,yt,Ke,r,Ce,fe,Ie]),zn=!!I||m,wn;zn&&(wn=o.createElement(V2,{className:U("".concat(a,"-arrow"),_({},"".concat(a,"-arrow-loading"),m)),customizeIcon:I,customizeIconProps:{loading:m,searchValue:we,open:Ke,focused:$e,showSearch:Ce}}));var Rn=function(){var qe;p==null||p(),(qe=Re.current)===null||qe===void 0||qe.focus(),f([],{type:"clear",values:d}),Ge("",!1,!1)},Tn=ZQ(a,Rn,d,M,F,w,we,b),En=Tn.allowClear,Mr=Tn.clearIcon,Pr=o.createElement(B,{ref:De}),Ir=U(a,i,_(_(_(_(_(_(_(_(_(_({},"".concat(a,"-focused"),$e),"".concat(a,"-multiple"),fe),"".concat(a,"-single"),!fe),"".concat(a,"-allow-clear"),M),"".concat(a,"-show-arrow"),zn),"".concat(a,"-disabled"),w),"".concat(a,"-loading"),m),"".concat(a,"-open"),Ke),"".concat(a,"-customize-input"),Qe),"".concat(a,"-show-search"),Ce)),fa=o.createElement(UJ,{ref:Te,disabled:w,prefixCls:a,visible:yt,popupElement:Pr,animation:N,transitionName:W,dropdownStyle:K,dropdownClassName:J,direction:c,dropdownMatchSelectWidth:q,dropdownRender:Y,dropdownAlign:te,placement:Q,builtinPlacements:re,getPopupContainer:ne,empty:h,getTriggerDOMNode:function(qe){return Ae.current||qe},onPopupVisibleChange:Wt,onPopupMouseEnter:gn},Je?o.cloneElement(Je,{ref:dt}):o.createElement(RJ,xe({},e,{domRef:Ae,prefixCls
${a}${s}bottomLeft,
${i}${s}bottomLeft
`]:{animationName:e$},[`
${a}${s}topLeft,
${i}${s}topLeft,
${a}${s}topRight,
${i}${s}topRight
`]:{animationName:n$},[`${l}${s}bottomLeft`]:{animationName:t$},[`
${l}${s}topLeft,
${l}${s}topRight
`]:{animationName:r$},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},bE(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},rs),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},bE(e)),{color:e.colorTextDisabled})}),[`${c}:has(+ ${c})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${c}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},w1(e,"slide-up"),w1(e,"slide-down"),E4(e,"move-up"),E4(e,"move-down")]},NZ=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,i=e.max(e.calc(n).sub(r).equal(),0),l=e.max(e.calc(i).sub(a).equal(),0);return{basePadding:i,containerPadding:l,itemHeight:Z(t),itemLineHeight:Z(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},AZ=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},DZ=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:i,multipleItemColorDisabled:l,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"calc(100% - 4px)",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:l,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},fi()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},WZ=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,l=AZ(e),s=t?`${n}-${t}`:"",c=NZ(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},DZ(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Z(r)} 0`,lineHeight:Z(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:Z(c.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:Z(i),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal()},[`${a}-item + ${a}-item,
${n}-prefix + ${n}-selection-wrap
`]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${a}-item-suffix`]:{minHeight:c.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:Z(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(c.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function b0(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[`
&${n}-show-arrow ${n}-selector,
&${n}-allow-clear ${n}-selector
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[WZ(e,t),a]}const UZ=e=>{const{componentCls:t}=e,n=St(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=St(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[b0(e),b0(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},b0(r,"lg")]};function y0(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},$n(e,!0)),{display:"flex",borderRadius:a,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:Z(i)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${n}-selection-item,
${n}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:Z(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${n}-show-arrow ${n}-selection-item,
&${n}-show-arrow ${n}-selection-search,
&${n}-show-arrow ${n}-selection-placeholder
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${Z(r)}`,[`${n}-selection-search-input`]:{height:i,fontSize:e.fontSize},"&:after":{lineHeight:Z(i)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Z(r)}`,"&:after":{display:"none"}}}}}}}function qZ(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[y0(e),y0(St(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${Z(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
&${t}-show-arrow ${t}-selection-item,
&${t}-show-arrow ${t}-selection-placeholder
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},y0(St(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const KZ=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:i,controlHeightLG:l,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:f,controlItemBgActive:h,controlItemBgHover:g,colorBgContainer:v,colorFillSecondary:p,colorBgContainerDisabled:b,colorTextDisabled:w,colorPrimaryHover:m,colorPrimary:O,controlOutline:x}=e,C=s*2,S=r*2,$=Math.min(a-C,a-S),z=Math.min(i-C,i-S),R=Math.min(l-C,l-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:h,optionActiveBg:g,optionPadding:`${(a-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:v,clearBg:v,singleItemHeightLG:l,multipleItemBg:p,multipleItemBorderColor:"transparent",multipleItemHeight:$,multipleItemHeightSM:z,multipleItemHeightLG:R,multipleSelectorBgDisabled:b,multipleItemColorDisabled:w,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:m,activeBorderColor:O,activeOutlineColor:x,selectAffixPadding:s}},iL=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Z(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Z(a)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},yE=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},iL(e,t))}),GZ=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},iL(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),yE(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),yE(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Z(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),lL=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Z(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},wE=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},lL(e,t))}),XZ=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},lL(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),wE(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),wE(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Z(e.lineWidth)} ${e.lineType}
> ${t}-item-active,
> ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},Qte=({componentCls:e,menuArrowOffset:t,calc:n})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${Z(n(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Z(t)})`}}}}),PE=e=>UC(e),IE=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,subMenuItemSelectedColor:i,groupTitleColor:l,itemBg:s,subMenuItemBg:c,itemSelectedBg:u,activeBarHeight:d,activeBarWidth:f,activeBarBorderWidth:h,motionDurationSlow:g,motionEaseInOut:v,motionEaseOut:p,itemPaddingInline:b,motionDurationMid:w,itemHoverColor:m,lineType:O,colorSplit:x,itemDisabledColor:C,dangerItemColor:S,dangerItemHoverColor:$,dangerItemSelectedColor:z,dangerItemActiveBg:R,dangerItemSelectedBg:E,popupBg:H,itemHoverBg:P,itemActiveBg:L,menuSubMenuBg:j,horizontalItemSelectedColor:V,horizontalItemSelectedBg:M,horizontalItemBorderRadius:T,horizontalItemHoverBg:I}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:Object.assign({},PE(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:l}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:i},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},PE(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:m}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:L}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:L}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:$}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:z},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:u,[`&${n}-item-danger`]:{backgroundColor:E}},[`&${n}-submenu > ${n}`]:{backgroundColor:j},[`&${n}-popup > ${n}`]:{backgroundColor:H},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:H},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:h,marginTop:e.calc(h).mul(-1).equal(),marginBottom:0,borderRadius:T,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${Z(d)} solid transparent`,transition:`border-color ${g} ${v}`,content:'""'},"&:hover, &-active, &-open":{background:I,"&::after":{borderBottomWidth:d,borderBottomColor:V}},"&-selected":{color:V,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:d,borderBottomColor:V}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Z(h)} ${O} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:c},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Z(f)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${w} ${p}`,`opacity ${w} ${p}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:z}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${w} ${v}`,`opacity ${w} ${v}`].join(",")}}}}}},HE=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:i,marginXS:l,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=e,d=e.calc(i).add(a).add(l).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Z(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item,
> ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:Z(n)},[`${t}-item-group-list ${t}-submenu-title,
${t}-submenu-title`]:{paddingInlineEnd:d}}},Jte=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:i,controlHeightLG:l,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationFast:f,motionDurationSlow:h,paddingXS:g,boxShadowSecondary:v,collapsedWidth:p,collapsedIconSize:b}=e,w={height:r,lineHeight:Z(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},HE(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},HE(e)),{boxShadow:v})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${Z(e.calc(l).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${h}`,`background ${h}`,`padding ${f} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:w,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:w}},{[`${t}-inline-collapsed`]:{width:p,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,
> ${t}-item-group > ${t}-item-group-list > ${t}-item,
> ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
> ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Z(e.calc(b).div(2).equal())} - ${Z(u)})`,textOverflow:"clip",[`
${t}-submenu-arrow,
${t}-submenu-expand-icon
`]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:b,lineHeight:Z(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},rs),{paddingInline:g})}}]},TE=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:i,iconCls:l,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},fi()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},LE=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:i,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${Z(e.calc(l).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${Z(l)})`}}}}},Zte=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:l,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:f,borderRadiusLG:h,subMenuItemBorderRadius:g,menuArrowSize:v,menuArrowOffset:p,lineType:b,groupTitleLineHeight:w,groupTitleFontSize:m}=e;return[{"":{[n]:Object.assign(Object.assign({},d6()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$n(e)),d6()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${Z(s)} ${Z(c)}`,fontSize:m,lineHeight:w,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${l}`,`background ${a} ${l}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${l}`,`background ${a} ${l}`,`padding ${i} ${l}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${l}`,`padding ${a} ${l}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${n}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:b,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),TE(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{marg
&-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Z(p)})`},"&::after":{transform:`rotate(45deg) translateX(${Z(e.calc(p).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${Z(e.calc(v).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${Z(e.calc(p).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${Z(p)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},ene=e=>{var t,n,r;const{colorPrimary:a,colorError:i,colorTextDisabled:l,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:h,lineWidth:g,lineWidthBold:v,controlItemBgActive:p,colorBgTextHover:b,controlHeightLG:w,lineHeight:m,colorBgElevated:O,marginXXS:x,padding:C,fontSize:S,controlHeightSM:$,fontSizeLG:z,colorTextLightSolid:R,colorErrorHover:E}=e,H=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,P=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:g,L=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,j=new Ht(R).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,subMenuItemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:b,itemHoverBg:b,colorItemBgActive:h,itemActiveBg:p,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:p,itemSelectedBg:p,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:H,colorActiveBarHeight:v,activeBarHeight:v,colorActiveBarBorderSize:g,activeBarBorderWidth:P,colorItemTextDisabled:l,itemDisabledColor:l,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:L,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:w,groupTitleLineHeight:m,collapsedWidth:w*2,popupBg:O,itemMarginBlock:x,itemPaddingInline:C,horizontalLineHeight:`${w*1.15}px`,iconSize:S,iconMarginInlineEnd:$-S,collapsedIconSize:z,groupTitleFontSize:S,darkItemDisabledColor:new Ht(R).setA(.25).toRgbString(),darkItemColor:j,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:R,darkItemSelectedBg:a,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:j,darkItemHoverColor:R,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:R,darkDangerItemActiveBg:i,itemWidth:H?`calc(100% + ${P}px)`:`calc(100% - ${L*2}px)`}},tne=(e,t=e,n=!0)=>Dt("Menu",a=>{const{colorBgElevated:i,controlHeightLG:l,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:h,darkItemSelectedBg:g,darkDangerItemSelectedBg:v,darkItemHoverBg:p,darkGroupTitleColor:b,darkItemHoverColor:w,darkItemDisabledColor:m,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:C,popupBg:S,darkPopupBg:$}=a,z=a.calc(s).div(7).mul(5).equal(),R=St(a,{menuArrowSize:z,menuHorizontalHeight:a.calc(l).mul(1.15).equal(),menuArrowOffset:a.calc(z).mul(.25).equal(),menuSubMenuBg:i,calc:a.calc,popupBg:S}),E=St(R,{itemColor:c,itemHoverColor:w,groupTitleColor:b,itemSelectedColor:h,subMenuItemSelectedColor:h,itemBg:d,popupBg:$,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:p,itemDisabledColor:m,dangerItemColor:u,dangerItemHoverColor:O,dangerItemSelectedColor:x,dangerItemActiveBg:C,dangerItemSelectedBg:v,menuSubMenuBg:f,horizontalItemSelectedColor:h,horizontalItemSelectedBg:g});return
&${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomLeft,
&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottom,
&${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottom,
&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomRight,
&${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:e$},[`&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topLeft,
&${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topLeft,
&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-top,
&${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-top,
&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topRight,
&${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topRight`]:{animationName:n$},[`&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomLeft,
&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom,
&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:t$},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft,
&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top,
&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:r$}}},p$(e,p,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},$n(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:p,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},ri(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${Z(u)} ${Z(v)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${Z(u)} ${Z(v)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},ri(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:p,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Z(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorIcon,fontSize:g,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${Z(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(v).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:p,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[w1(e,"slide-up"),w1(e,"slide-down"),E4(e,"move-up"),E4(e,"move-down"),z2(e,"zoom-big")]]},lne=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},N2({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),m$(e)),sne=Dt("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,i=St(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[ine(i),one(i)]},lne,{resetStyle:!1}),q2=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:i,trigger:l,disabled:s,dropdownRender:c,popupRender:u,getPopupContainer:d,overlayClassName:f,rootClassName:h,overlayStyle:g,open:v,onOpenChange:p,visible:b,onVisibleChange:w,mouseEnterDelay:m=.15,mouseLeaveDelay:O=.1,autoAdjustOverflow:x=!0,placement:C="",overlay:S,transitionName:$,destroyOnHidden:z,destroyPopupOnHide:R}=e,{getPopupContainer:E,getPrefixCls:H,direction:P,dropdown:L}=o.useContext(ft),j=u||c;w2();const V=o.useMemo(()=>{const ie=H();return $!==void 0?$:C.includes("top")?`${ie}-slide-down`:`${ie}-slide-up`},[H,C,$]),M=o.useMemo(()=>C?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:P==="rtl"?"bottomRight":"bottomLeft",[C,P]),T=H("dropdown",a),I=ca(T),[F,B,N]=sne(T,I),[,W]=pr(),K=o.Children.only(nte(i)?o.createElement("span",null,i):i),J=Rr(K,{className:U(`${T}-trigger`,{[`${T}-rtl`]:P==="rtl"},K.props.className),disabled:(t=K.props.disabled)!==null&&t!==void 0?t:s}),q=s?[]:l
& > ${t}-affix-wrapper,
& > ${t}-number-affix-wrapper,
& > ${n}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector,
& > ${n}-select-auto-complete ${t},
& > ${n}-cascader-picker ${t},
& > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${n}-select:first-child > ${n}-select-selector,
& > ${n}-select-auto-complete:first-child ${t},
& > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
& > ${n}-select:last-child > ${n}-select-selector,
& > ${n}-cascader-picker:last-child ${t},
& > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},fne=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,l=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$n(e)),X2(e)),YL(e)),eV(e)),JL(e)),rV(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:l,paddingBottom:l}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},hne=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Z(e.inputAffixPadding)}`}}}},vne=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:l,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},X2(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),hne(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:l}}}),[`${t}-underlined`]:{borderRadius:0},[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},gne=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},$n(e)),lV(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},QL(e)),tV(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},mne=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:not([disabled]):hover, &:not([disabled]):focus":{[`+ $
> ${t},
${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},pne=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},sV=Dt(["Input","Shared"],e=>{const t=St(e,K2(e));return[fne(t),vne(t)]},G2,{resetFont:!1}),bne=Dt(["Input","Component"],e=>{const t=St(e,K2(e));return[gne(t),mne(t),pne(t),P1(t)]},G2,{resetFont:!1});var yne={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function wne(e,t,n){var r=n||{},a=r.noTrailing,i=a===void 0?!1:a,l=r.noLeading,s=l===void 0?!1:l,c=r.debounceMode,u=c===void 0?void 0:c,d,f=!1,h=0;function g(){d&&clearTimeout(d)}function v(b){var w=b||{},m=w.upcomingOnly,O=m===void 0?!1:m;g(),f=!O}function p(){for(var b=arguments.length,w=new Array(b),m=0;m<b;m++)w[m]=arguments[m];var O=this,x=Date.now()-h;if(f)return;function C(){h=Date.now(),t.apply(O,w)}function S(){d=void 0}!s&&u&&!d&&C(),g(),u===void 0&&x>e?s?(h=Date.now(),i||(d=setTimeout(u?S:C,e))):C():i!==!0&&(d=setTimeout(u?S:C,u===void 0?e-x:e))}return p.cancel=v,p}function One(e,t,n){var r={},a=r.atBegin,i=a===void 0?!1:a;return wne(e,t,{debounceMode:i!==!1})}const xne=e=>{const{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}},Cne=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:l,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},$n(e)),{borderBlockStart:`${Z(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Z(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Z(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${Z(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Z(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-start`]:{"&::before":{width:`calc(${l} * 100%)`},"&::after":{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{"&::before":{width:`calc(100% - ${l} * 100%)`},"&::after":{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${Z(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${Z(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},$ne=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Sne=Dt("Divider",e=>{const t=St(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});
${t}-handler-up-inner,
${t}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:v,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Z(n)} ${r} ${E}`,transition:`all ${p} linear`,"&:active":{background:C},"&:hover":{height:"60%",[`
${t}-handler-up-inner,
${t}-handler-down-inner
`]:{color:b}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},fi()),{color:v,transition:`all ${p} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},kE(e,"lg")),kE(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[`
${t}-handler-up-disabled,
${t}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${t}-handler-up-disabled:hover &-handler-up-inner,
${t}-handler-down-disabled:hover &-handler-down-inner
`]:{color:S}})}]},ure=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:l,borderRadiusSM:s,paddingInlineLG:c,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:f,motionDurationMid:h}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Z(n)} 0`}},X2(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:l,paddingInlineStart:c,[`input${t}-input`]:{padding:`${Z(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${Z(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${h}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}}),[`${t}-underlined`]:{borderRadius:0}}},dre=Dt("InputNumber",e=>{const t=St(e,K2(e));return[cre(t),ure(t),P1(t)]},sre,{unitless:{handleOpacity:!0},resetFont:!1});var fre=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const bV=o.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=o.useContext(ft),a=o.useRef(null);o.useImperativeHandle(t,()=>a.current);const{className:i,rootClassName:l,size:s,disabled:c,prefixCls:u,addonBefore:d,addonAfter:f,prefix:h,suffix:g,bordered:v,readOnly:p,status:b,controls:w,variant:m}=e,O=fre(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),x=n("input-number",u),C=ca(x),[S,$,z]=dre(x,C),{compactSize:R,compactItemClassnames:E}=Eo(x,r);let H=o.createElement(Wne,{className:`${x}-handler-up-inner`}),P=o.createElement(fL,{className:`${x}-handler-down-inner`});const L=typeof w=="boolean"?w:void 0;typeof w=="object"&&(H=typeof w.upIcon>"u"?H:o.createElement("span",{className:`${x}-handler-up-inner`},w.upIcon),P=typeof w.downIcon>"u"?P:o.createElement("span",{className:`${x}-handler-down-inner`},w.downIcon));const{hasFeedback:j,status:V,isFormItemInput:M,feedbackIcon:T}=o.useContext(ai),I=F2(V,b),F=ua(Q=>{var re;return(re=s??R)!==null&&re!==void 0?re:Q}),B=o.useContext(Sa),N=c??B,[W,K]=B2("inputNumber",m,v),J=j&&o.createElement(o.Fragment,null,T),q=U({[`${x}-lg`]:F==="large",[`${x}-sm`]:F==="small",[`${x}-rtl`]:r==="rtl",[`${x}-in-form-item`]:M},$),Y=`${x}-group`,te=o.createElement(lre,Object.assign({ref:a,disabled:N,className:U(z,C,i,l,E),upHandler:H,downHandler:P,prefixCls:x,readOnly:p,controls:L,prefix:h,suffix:J||g,addonBefore:d&&o.createElement(Na,{form:!0,space:!0},d),addonAfter:f&&o.createElement(Na,{form:!0,space:!0},f),classNames:{input:q,variant:U({[`${x}-${W}`]:K},oi(x,I,j)),affixWrapper:U({[`${x}-affix-wrapper-sm`]:F==="small",[`${x}-affix-wrapper-lg`]:F==="large",[`${x}-affix-wrapper-rtl`]:r==="rtl",[`${x}-affix-wrapper-without-controls`]:w===!1||N||p},$),wrapper:U({[`${Y}-rtl`]:r==="rtl"},$),groupWrapper:U({[`${x}-group-wrapper-sm`]:F==="small",[`${x}-group-wrapper-lg`]:F==="large",[`${x}-group-wrapper-rtl`]:r==="rtl",[`${x}-group-wrapper-${W}`]:K},oi(`${x}-group-wrapper`,I,j),$)}},O));return S(te)}),yV=bV,hre=e=>o.createElement(qa,{theme:{compone
inset-inline-start ${b},
inset-block-start ${b},
width ${b},
height ${b},
box-shadow ${b},
outline ${b}
`},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(f).sub(d).div(2).add(p).mul(-1).equal(),insetBlockStart:u(f).sub(d).div(2).add(p).mul(-1).equal(),width:u(f).add(u(p).mul(2)).equal(),height:u(f).add(u(p).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Z(p)} ${h}`,outline:`6px solid ${g}`,width:f,height:f,insetInlineStart:e.calc(d).sub(f).div(2).equal(),insetBlockStart:e.calc(d).sub(f).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${Z(v)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[`
${t}-dot
`]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${Z(v)} ${c}`,insetInlineStart:0,insetBlockStart:0},[`
${t}-mark-text,
${t}-dot
`]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},CV=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:i,marginFull:l,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",h=t?"top":"insetInlineStart",g=s(r).mul(3).sub(a).div(2).equal(),v=s(a).sub(r).div(2).equal(),p=t?{borderWidth:`${Z(v)} 0`,transform:`translateY(${Z(s(v).mul(-1).equal())})`}:{borderWidth:`0 ${Z(v)}`,transform:`translateX(${Z(e.calc(v).mul(-1).equal())})`};return{[c]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},p),[`${n}-handle`]:{[f]:g},[`${n}-mark`]:{insetInlineStart:0,top:0,[h]:s(r).mul(3).add(t?0:l).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[h]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[f]:s(r).sub(i).div(2).equal()}}},Nre=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},CV(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Are=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},CV(e,!1)),{height:"100%"})}},Dre=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,i=e.lineWidth+1*1.5,l=e.colorPrimary,s=new Ht(l).setA(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:l,handleActiveOutlineColor:s,handleColorDisabled:new Ht(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Wre=Dt("Slider",e=>{const t=St(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[Bre(t),Nre(t),Are(t)]},Dre);function O0(){const[e,t]=o.useState(!1),n=o.useRef(null),r=()=>{$t.cancel(n.current)},a=i=>{r(),i?t(i):n.current=$t(()=>{t(i)})};return o.useEffect(()=>r,[]),[e,a]}var Ure=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};function qre(e,t){return e||e===null?e:t||t===null?t:n=>typeof n=="number"?n.toString():""}const Kre=D.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:i,style:l,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:f,tooltipPlacement:h,tooltip:g={},onChangeComplete:v,classNames:p,styles:b}=e,w=Ure(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:m}=e,{getPrefixCls:O,direction:x,className:C,style:S,classNames:$,styles:z,getPopupContainer:R}=Hn("slider"),E=D.useContext(Sa),H=s??E,{handleRender:P,direction:L}=D.useContext(xV),V=(L||x)==="rtl",[M,T]=O0(),[I,F]=O0(),B=Object.assign({},g),{open:N,placement:W,getPopupContainer:K,prefixCls:J,formatter:q}=B,Y=N??d,te=(M||I)&&Y!==!1,Q=qre(q,u),[re,ne]=O0(),G=ae=>{v==null||v(ae),ne(!1)},X=(ae,ye)=>ae||(ye?V?"left":"right":"top"),ee=O("slider",n),[ce,oe,le]=Wre(ee),ie=U(a,C,$.root,p==null?void 0:p.root,i,{[`${ee}-rtl`]:V,[`${ee}-lock`]:re},oe,le);V&&!w.vertical&&(w.reverse=!w.reverse),D.useEffect(()=>{const ae=()=>{$t(()=>{F(!1)},1)};return document.addEventListener("mouseup",ae),()=>{document.removeEventListener("mouseup",ae)}},[]);const ue=r&&!Y,fe=P||((ae,ye)=>{const{index:Le}=ye,Ae=ae.props;function Te(We,Me,
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,Qae=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],x0={},wr;function Jae(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&x0[n])return x0[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),l=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=Qae.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:i,borderSize:l,boxSizing:a};return t&&n&&(x0[n]=c),c}function Zae(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;wr||(wr=document.createElement("textarea"),wr.setAttribute("tab-index","-1"),wr.setAttribute("aria-hidden","true"),wr.setAttribute("name","hiddenTextarea"),document.body.appendChild(wr)),e.getAttribute("wrap")?wr.setAttribute("wrap",e.getAttribute("wrap")):wr.removeAttribute("wrap");var a=Jae(e,t),i=a.paddingSize,l=a.borderSize,s=a.boxSizing,c=a.sizingStyle;wr.setAttribute("style","".concat(c,";").concat(Yae)),wr.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,h=wr.scrollHeight;if(s==="border-box"?h+=l:s==="content-box"&&(h-=i),n!==null||r!==null){wr.value=" ";var g=wr.scrollHeight-i;n!==null&&(u=g*n,s==="border-box"&&(u=u+i+l),h=Math.max(u,h)),r!==null&&(d=g*r,s==="border-box"&&(d=d+i+l),f=h>d?"":"hidden",h=Math.min(d,h))}var v={height:h,overflowY:f,resize:"none"};return u&&(v.minHeight=u),d&&(v.maxHeight=d),v}var eoe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],C0=0,$0=1,S0=2,toe=o.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,l=n.autoSize,s=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var h=at(n,eoe),g=kt(a,{value:i,postState:function(K){return K??""}}),v=k(g,2),p=v[0],b=v[1],w=function(K){b(K.target.value),f==null||f(K)},m=o.useRef();o.useImperativeHandle(t,function(){return{textArea:m.current}});var O=o.useMemo(function(){return l&&tt(l)==="object"?[l.minRows,l.maxRows]:[]},[l]),x=k(O,2),C=x[0],S=x[1],$=!!l,z=o.useState(S0),R=k(z,2),E=R[0],H=R[1],P=o.useState(),L=k(P,2),j=L[0],V=L[1],M=function(){H(C0)};vt(function(){$&&M()},[i,C,S,$]),vt(function(){if(E===C0)H($0);else if(E===$0){var W=Zae(m.current,!1,C,S);H(S0),V(W)}},[E]);var T=o.useRef(),I=function(){$t.cancel(T.current)},F=function(K){E===S0&&(s==null||s(K),l&&(I(),T.current=$t(function(){M()})))};o.useEffect(function(){return I},[]);var B=$?j:null,N=A(A({},u),B);return(E===C0||E===$0)&&(N.overflowY="hidden",N.overflowX="hidden"),o.createElement(Ea,{onResize:F,disabled:!(l||s)},o.createElement("textarea",xe({},h,{ref:m,style:N,className:U(r,c,_({},"".concat(r,"-disabled"),d)),disabled:d,value:p,onChange:w})))}),noe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],roe=D.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,l=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,h=e.suffix,g=e.prefixCls,v=g===void 0?"rc-textarea":g,p=e.showCount,b=e.count,w=e.className,m=e.style,O=e.disabled,x=e.hidden,C=e.classNames,S=e.styles,$=e.onResize,z=e.onClear,R=e.onPressEnter,E=e.readOnly,H=e.autoSize,P=e.onKeyDown,L=at(e,noe),j=kt(r,{value:a,defaultValue:r}),V=
&-allow-clear > ${t},
&-affix-wrapper${r}-has-feedback ${t}
`]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},ooe=Dt(["Input","TextArea"],e=>{const t=St(e,K2(e));return aoe(t)},G2,{resetFont:!1});var ioe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const loe=o.forwardRef((e,t)=>{var n;const{prefixCls:r,bordered:a=!0,size:i,disabled:l,status:s,allowClear:c,classNames:u,rootClassName:d,className:f,style:h,styles:g,variant:v,showCount:p,onMouseDown:b,onResize:w}=e,m=ioe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:O,direction:x,allowClear:C,autoComplete:S,className:$,style:z,classNames:R,styles:E}=Hn("textArea"),H=o.useContext(Sa),P=l??H,{status:L,hasFeedback:j,feedbackIcon:V}=o.useContext(ai),M=F2(L,s),T=o.useRef(null);o.useImperativeHandle(t,()=>{var le;return{resizableTextArea:(le=T.current)===null||le===void 0?void 0:le.resizableTextArea,focus:ie=>{var ue,fe;j$((fe=(ue=T.current)===null||ue===void 0?void 0:ue.resizableTextArea)===null||fe===void 0?void 0:fe.textArea,ie)},blur:()=>{var ie;return(ie=T.current)===null||ie===void 0?void 0:ie.blur()}}});const I=O("input",r),F=ca(I),[B,N,W]=sV(I,d),[K]=ooe(I,F),{compactSize:J,compactItemClassnames:q}=Eo(I,x),Y=ua(le=>{var ie;return(ie=i??J)!==null&&ie!==void 0?ie:le}),[te,Q]=B2("textArea",v,a),re=wV(c??C),[ne,G]=o.useState(!1),[X,ee]=o.useState(!1),ce=le=>{G(!0),b==null||b(le);const ie=()=>{G(!1),document.removeEventListener("mouseup",ie)};document.addEventListener("mouseup",ie)},oe=le=>{var ie,ue;if(w==null||w(le),ne&&typeof getComputedStyle=="function"){const fe=(ue=(ie=T.current)===null||ie===void 0?void 0:ie.nativeElement)===null||ue===void 0?void 0:ue.querySelector("textarea");fe&&getComputedStyle(fe).resize==="both"&&ee(!0)}};return B(K(o.createElement(roe,Object.assign({autoComplete:S},m,{style:Object.assign(Object.assign({},z),h),styles:Object.assign(Object.assign({},E),g),disabled:P,allowClear:re,className:U(W,F,f,d,q,$,X&&`${I}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),R),{textarea:U({[`${I}-sm`]:Y==="small",[`${I}-lg`]:Y==="large"},N,u==null?void 0:u.textarea,R.textarea,ne&&`${I}-mouse-active`),variant:U({[`${I}-${te}`]:Q},oi(I,M)),affixWrapper:U(`${I}-textarea-affix-wrapper`,{[`${I}-affix-wrapper-rtl`]:x==="rtl",[`${I}-affix-wrapper-sm`]:Y==="small",[`${I}-affix-wrapper-lg`]:Y==="large",[`${I}-textarea-show-count`]:p||((n=e.count)===null||n===void 0?void 0:n.show)},N)}),prefixCls:I,suffix:j&&o.createElement("span",{className:`${I}-textarea-suffix`},V),showCount:p,ref:T,onResize:oe,onMouseDown:ce}))))});function soe(e,t,n){return typeof n=="boolean"?n:e.length?!0:rr(t).some(a=>a.type===WL)}var LV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.proto
h${r}&,
div&-h${r},
div&-h${r} > textarea,
h${r}
`]=aie(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},iie=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},TH(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},lie=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:w4[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),sie=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),insetBlockStart:e.calc(r).div(-2).add(1).equal(),marginBottom:e.calc(r).div(2).sub(2).equal()},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},cie=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),uie=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),die=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},oie(e)),{[`
& + h1${t},
& + h2${t},
& + h3${t},
& + h4${t},
& + h5${t}
`]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),lie(e)),iie(e)),{[`
${t}-expand,
${t}-collapse,
${t}-edit,
${t}-copy
`]:Object.assign(Object.assign({},TH(e)),{marginInlineStart:e.marginXXS})}),sie(e)),cie(e)),uie()),{"&-rtl":{direction:"rtl"}})}},fie=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),DV=Dt("Typography",die,fie),hie=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:i,maxLength:l,autoSize:s=!0,value:c,onSave:u,onCancel:d,onEnd:f,component:h,enterIcon:g=o.createElement(rie,null)}=e,v=o.useRef(null),p=o.useRef(!1),b=o.useRef(null),[w,m]=o.useState(c);o.useEffect(()=>{m(c)},[c]),o.useEffect(()=>{var j;if(!((j=v.current)===null||j===void 0)&&j.resizableTextArea){const{textArea:V}=v.current.resizableTextArea;V.focus();const{length:M}=V.value;V.setSelectionRange(M,M)}},[]);const O=({target:j})=>{m(j.value.replace(/[\n\r]/g,""))},x=()=>{p.current=!0},C=()=>{p.current=!1},S=({keyCode:j})=>{p.current||(b.current=j)},$=()=>{u(w.trim())},z=({keyCode:j,ctrlKey:V,altKey:M,metaKey:T,shiftKey:I})=>{b.current!==j||p.current||V||M||T||I||(j===He.ENTER?($(),f==null||f()):j===He.ESC&&d())},R=()=>{$()},[E,H,P]=DV(t),L=U(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${h}`]:!!h},r,H,P);return E(o.createElement("div",{className:L,style:a},o.createElement(loe,{ref:v,maxLength:l,value:w,onChange:O,onKeyDown:S,onKeyUp:z,onCompositionStart:x,onCompositionEnd:C,onBlur:R,"aria-label":n,rows:1,autoSize:s}),g!==null?Rr(g,{className:`${t}-edit-content-confirm`}):null))};var vie=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(a){e.addRange(a)}),t&&t.focus()}},gie=vie,gj={"text/plain":"Text","text/html":"Url",default:"Text"},mie="Copy to clipboard: #{key}, Enter";function pie(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function bie(e,t){var n,r,a,i,l,s,c=!1;t||(t={}),n=t.debug||!1;try{a=gie(),i=document.createRange(),l=document.getSelection(),s=document.createElement("span"),s.textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",function(d){if(d.stopPropagation(),t.format)if(d.preventDefault(),typeof d.clipboardData>"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=gj[t.format]||gj.default;window.clipboardData.setData(f,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),l.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=pie("message"in t?t.message:mie),window.prompt(r,e)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(i):l.removeAllRanges()),s&&document.body.removeChild(s),a()}return c}var yie=bie;const wie=us(yie);var Oie=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(l){l(i)})}return new(n||(n=Promise))(function(i,l){function s(d){try{u(r.next(d))}catch(f){l(f)}}function c(d){try{u(r.throw(d))}catch(f){l(f)}}function u(d){d.done?i(d.value):a(d.value).then(s,c)}u((r=r.apply(e,t||[])).next())})};const xie=({copyConfig:e,children:t})=>{const[n,r]=o.useState(!1),[a,i]=o.useState(!1),l=o.useRef(null),s=()=>{l.current&&clearTimeout(l.current)},c={};e.format&&(c.format=e.format),o.useEffect(()=>
.anticon {
display: inline-flex;
align-items: 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;
vertical-align: inherit;
}
.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);
}
}
`,e_=e=>{const{csp:t,prefixCls:n,layer:r}=o.useContext(Z2);let a=O1e;n&&(a=a.replace(/anticon/g,n)),r&&(a=`@layer ${r} {
${a}
}`),o.useEffect(()=>{const i=e.current,l=h1e(i);d1e(a,"@ant-design-icons",{prepend:!r,csp:t,attachTo:l})},[])},Rl={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function x1e({primaryColor:e,secondaryColor:t}){Rl.primaryColor=e,Rl.secondaryColor=t||JV(e),Rl.calculated=!!t}function C1e(){return{...Rl}}const V1=e=>{const{icon:t,className:n,onClick:r,style:a,primaryColor:i,secondaryColor:l,...s}=e,c=o.useRef(null);let u=Rl;if(i&&(u={primaryColor:i,secondaryColor:l||JV(i)}),e_(c),Q6(Ej(t),`icon should be icon definiton, but got ${t}`),!Ej(t))return null;let d=t;return d&&typeof d.icon=="function"&&(d={...d,icon:d.icon(u.primaryColor,u.secondaryColor)}),J6(d.icon,`svg-${d.name}`,{className:n,onClick:r,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",...s,ref:c})};V1.displayName="IconReact";V1.getTwoToneColors=C1e;V1.setTwoToneColors=x1e;function _$(e){const[t,n]=ZV(e);return V1.setTwoToneColors({primaryColor:t,secondaryColor:n})}function t_(){const e=V1.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}function Z6(){return Z6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z6.apply(this,arguments)}_$(X6.primary);const y=o.forwardRef((e,t)=>{const{className:n,icon:r,spin:a,rotate:i,tabIndex:l,onClick:s,twoToneColor:c,...u}=e,{prefixCls:d="anticon",rootClassName:f}=o.useContext(Z2),h=G6(f,d,{[`${d}-${r.name}`]:!!r.name,[`${d}-spin`]:!!a||r.name==="loading"},n);let g=l;g===void 0&&s&&(g=-1);const v=i?{msTransform:`rotate(${i}deg)`,transform:`rotate(${i}deg)`}:void 0,[p,b]=ZV(c);return o.createElement("span",Z6({role:"img","aria-label":r.name},u,{ref:t,tabIndex:g,onClick:s,className:h}),o.createElement(V1,{icon:r,primaryColor:p,secondaryColor:b,style:v}))});y.getTwoToneColor=t_;y.setTwoToneColor=_$;function eu(){return eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eu.apply(this,arguments)}const $1e=(e,t)=>o.createElement(y,eu({},e,{ref:t,icon:Jie})),S1e=o.forwardRef($1e);var z1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v584zM639.5 414h-45c-3 0-5.8 1.7-7.1 4.4L514 563.8h-2.8l-73.4-145.4a8 8 0 00-7.1-4.4h-46c-1.3 0-2.7.3-3.8 1-3.9 2.1-5.3 7-3.2 10.9l89.3 164h-48.6c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1v33.7h-65.1c-4.4 0-8 3.6-8 8v21.3c0 4.4 3.6 8 8 8h65.1V752c0 4.4 3.6 8 8 8h41.3c4.4 0 8-3.6 8-8v-53.8h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-65.4v-33.7h65.4c4.4 0 8-3.6 8-8v-21.3c0-4.4-3.6-8-8-8h-49.1l89.3-164.1c.6-1.2 1-2.5 1-3.8.1-4.4-3.4-8-7.9-8z"}}]},name:"account-book",theme:"outlined"};function tu(){return tu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tu.apply(this,arguments)}const R1e=(e,t)=>o.createElement(y,tu({},e,{ref:t,icon:z1e})),E1e=o.forwardRef(R1e);var j1e={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M712 304c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H384v48c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8v-48H184v584h656V256H712v48zm-65.6 121.8l-89.3 164.1h49.1c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4v33.7h65.4c4.4 0 8 3.6 8 8v21.3c0 4.4-3.6 8-8 8h-65.4V752c0 4.4-3.6 8-8 8h-41.3c-4.4 0-8-3.6-8-8v-53.8h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8h65.1v-33.7h-65.1c-4.4 0-8-3.6-8-8v-21.3c0-4.4 3.6-8 8-8H467l-89.3-164c-2.1-3.9-.7-8.8 3.2-10.9 1.1-.7 2.5-1 3.8-1h46a8 8 0 017.1 4.4l73.4
`).forEach(function(l){a=l.indexOf(":"),n=l.substring(0,a).trim().toLowerCase(),r=l.substring(a+1).trim(),!(!n||t[n]&&RWe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Tj=Symbol("internals");function nl(e){return e&&String(e).trim().toLowerCase()}function Ac(e){return e===!1||e==null?e:se.isArray(e)?e.map(Ac):String(e)}function jWe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const MWe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function T0(e,t,n,r,a){if(se.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!se.isString(t)){if(se.isString(r))return t.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(t)}}function PWe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function IWe(e,t){const n=se.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,l){return this[r].call(this,t,a,i,l)},configurable:!0})})}let mr=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(s,c,u){const d=nl(c);if(!d)throw new Error("header name must be a non-empty string");const f=se.findKey(a,d);(!f||a[f]===void 0||u===!0||u===void 0&&a[f]!==!1)&&(a[f||c]=Ac(s))}const l=(s,c)=>se.forEach(s,(u,d)=>i(u,d,c));if(se.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(se.isString(t)&&(t=t.trim())&&!MWe(t))l(EWe(t),n);else if(se.isObject(t)&&se.isIterable(t)){let s={},c,u;for(const d of t){if(!se.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(c=s[u])?se.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}l(s,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=nl(t),t){const r=se.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return jWe(a);if(se.isFunction(n))return n.call(this,a,r);if(se.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=nl(t),t){const r=se.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||T0(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(l){if(l=nl(l),l){const s=se.findKey(r,l);s&&(!n||T0(r,r[s],s,n))&&(delete r[s],a=!0)}}return se.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||T0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return se.forEach(this,(a,i)=>{const l=se.findKey(r,i);if(l){n[l]=Ac(a),delete n[i];return}const s=t?PWe(i):String(i).trim();s!==i&&delete n[i],n[s]=Ac(a),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return se.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Tj]=this[Tj]={accessors:{}}).accessors,a=this.prototype;function i(l){const s=nl(l);r[s]||(IWe(a,l),r[s]=!0)}return se.isArray(t)?t.forEach(i):i(t),this}};mr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);se.reduceDescriptors(mr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});se.freezeMethods(mr);function L0(e,t){const n=this||js,r=t||n,a=mr.from(r.headers);let i=r.data;return se.forEach(e,function(s){i=s.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function M_(e){return!!(e&&e.__CANCEL__)}let Ms=class extends st{constructor(t,n,r){super(t??"canceled",st.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function P_(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new st("Request failed with status code "+n.status,[st.ERR_BAD_REQUEST,st.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function HWe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function TWe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,l;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[i];l||(l=u),n[a]=c,r[a]=u;let f=i,h=0;for(;f!==a;)h+=n[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-l<t)return;const g=d&&u-d;return g?Math.round(h*1e3/g):void 0}}function LWe(e,t){let n=0,r=1e3/t,a,i;const l=(u,d=Date.now())=>{n=d,a=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?l(u,d):(a=u,i||(i=setTimeout(()=>{i=null,l(a)},r-f)))},()=>a&&l(a)]}const A4=(e,t,n=3)=>{let r=0;const a=TWe(50,250);return LWe(i=>{const l=i.loaded,s=i.lengthComputable?i.total:void 0,c=l-r,u=a(c),d=l<=s;r=l;const f={loaded:l,total:s,progress:s?l/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s&&d?(s-l)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Lj=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vj=e=>(...t)=>se.asap(()=>e(...t)),VWe=Kn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Kn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Kn.origin),Kn.navigator&&/(msie|trident)/i.test(Kn.navigator.userAgent)):()=>!0,_We=Kn.hasStandardBrowserEnv?{write(e,t,n,r,a,i,l){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];se.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),se.isString(r)&&s.push(`path=${r}`),se.isString(a)&&s.push(`domain=${a}`),i===!0&&s.push("secure"),se.isString(l)&&s.push(`SameSite=${l}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function FWe(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function BWe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function I_(e,t,n){let r=!FWe(t);return e&&(r||n==!1)?BWe(e,t):t}const _j=e=>e instanceof mr?{...e}:e;function si(e,t){t=t||{};const n={};function r(u,d,f,h){return se.isPlainObject(u)&&se.isPlainObject(d)?se.merge.call({caseless:h},u,d):se.isPlainObject(d)?se.merge({},d):se.isArray(d)?d.slice():d}function a(u,d,f,h){if(se.isUndefined(d)){if(!se.isUndefined(u))return r(void 0,u,f,h)}else return r(u,d,f,h)}function i(u,d){if(!se.isUndefined(d))return r(void 0,d)}function l(u,d){if(se.isUndefined(d)){if(!se.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l
`+l.map(Wj).join(`
`):" "+Wj(l[0]):"as no adapter specified";throw new st("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return a}const L_={getAdapter:YWe,adapters:W$};function V0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ms(null,e)}function Uj(e){return V0(e),e.headers=mr.from(e.headers),e.data=L0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),L_.getAdapter(e.adapter||js.adapter,e)(e).then(function(r){return V0(e),r.data=L0.call(e,e.transformResponse,r),r.headers=mr.from(r.headers),r},function(r){return M_(r)||(V0(e),r&&r.response&&(r.response.data=L0.call(e,e.transformResponse,r.response),r.response.headers=mr.from(r.response.headers))),Promise.reject(r)})}const V_="1.13.5",o3={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{o3[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const qj={};o3.transitional=function(t,n,r){function a(i,l){return"[Axios v"+V_+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,s)=>{if(t===!1)throw new st(a(l," has been removed"+(n?" in "+n:"")),st.ERR_DEPRECATED);return n&&!qj[l]&&(qj[l]=!0,console.warn(a(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,s):!0}};o3.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function QWe(e,t,n){if(typeof e!="object")throw new st("options must be an object",st.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],l=t[i];if(l){const s=e[i],c=s===void 0||l(s,i,e);if(c!==!0)throw new st("option "+i+" must be "+c,st.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new st("Unknown option "+i,st.ERR_BAD_OPTION)}}const Dc={assertOptions:QWe,validators:o3},Fr=Dc.validators;let Xo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Hj,response:new Hj}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=si(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&Dc.assertOptions(r,{silentJSONParsing:Fr.transitional(Fr.boolean),forcedJSONParsing:Fr.transitional(Fr.boolean),clarifyTimeoutError:Fr.transitional(Fr.boolean),legacyInterceptorReqResOrdering:Fr.transitional(Fr.boolean)},!1),a!=null&&(se.isFunction(a)?n.paramsSerializer={serialize:a}:Dc.assertOptions(a,{encode:Fr.function,serialize:Fr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Dc.assertOptions(n,{baseUrl:Fr.spelling("baseURL"),withXsrfToken:Fr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=i&&se.merge(i.common,i[n.method]);i&&se.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),n.headers=mr.concat(l,i);const s=[];let c=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(n)===!1)return;c=c&&p.synchronous;const b=n.transitional||A$;b&&b.legacyInterceptorReqResOrdering?s.unshift(p.fulfilled,p.rejected):s.push(p.fulfilled,p.rejected)});const u=[];this.interceptors.response.forEach(function(p){u.push(p.fulfilled,p.rejected)});let d,f=0,h;if(!c){const v=[Uj.bind(this),void 0];for(v.unshift(...s),v.push(...u),h=v.length,d=Promise.resolve(n);f<h;)d=d.then(v[f++],v[f++]);return d}h=s.length;let g=n;for(;f<h;){const v=s[f++],p=s[f++];try{g=v(g)}catch(b){p.call(this,b);break}}try{d=Uj.call(this,g)}catch(v){return Promise.reject(v)}for(f=0,h=u.length;f<h;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=si(this.defaults,t);const n=I_(t.baseURL,t.url,t.allowAbsoluteUrls);return E_(n,t.params,t.paramsSerializer)}};se.forEach(["delete","get","head","options"],function(t){Xo.prototype[t]=function(n,r){return this.request(si(r||{},{method:t,url:n,data:(r||{}).data}))}});se.forEach(["post","put","patch"],function(t){function n(r){return function(i,l,s){return this.request(si(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Xo.prototype[t]=n(),Xo.prototype[t+"Form"]=n(!0)});let JWe=class __{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(a=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(a);return l.cancel=function(){r.unsubscribe(i)},l},t(function(i,l,s){r.reason||(r.reason=new Ms(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new __(function(a){t=a}),cancel:t}}};function ZWe(e){return function(n){return e.apply(null,n)}}function eUe(e){return se.isObject(e)&&e.isAxiosError===!0}const zx={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:42
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var i3=o,dUe=PI;function fUe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hUe=typeof Object.is=="function"?Object.is:fUe,vUe=dUe.useSyncExternalStore,gUe=i3.useRef,mUe=i3.useEffect,pUe=i3.useMemo,bUe=i3.useDebugValue;K_.useSyncExternalStoreWithSelector=function(e,t,n,r,a){var i=gUe(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=pUe(function(){function c(g){if(!u){if(u=!0,d=g,g=r(g),a!==void 0&&l.hasValue){var v=l.value;if(a(v,g))return f=v}return f=g}if(v=f,hUe(d,g))return v;var p=r(g);return a!==void 0&&a(v,p)?(d=g,v):(d=g,f=p)}var u=!1,d,f,h=n===void 0?null:n;return[function(){return c(t())},h===null?void 0:function(){return c(h())}]},[t,n,r,a]);var s=vUe(e,i[0],i[1]);return mUe(function(){l.hasValue=!0,l.value=s},[s]),bUe(s),s};q_.exports=K_;var yUe=q_.exports;const wUe=us(yUe),G_={},{useDebugValue:OUe}=D,{useSyncExternalStoreWithSelector:xUe}=wUe;let Gj=!1;const CUe=e=>e;function $Ue(e,t=CUe,n){(G_?"production":void 0)!=="production"&&n&&!Gj&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),Gj=!0);const r=xUe(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return OUe(r),r}const Xj=e=>{(G_?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?uUe(e):e,n=(r,a)=>$Ue(t,r,a);return Object.assign(n,t),n},X_=e=>e?Xj(e):Xj,_0="permissionCodes",F0="userProfile",SUe=X_(e=>({codes:(()=>{try{const t=localStorage.getItem(_0);return t?JSON.parse(t):[]}catch{return[]}})(),isAdmin:(()=>{try{const t=sessionStorage.getItem(F0);return t?!!JSON.parse(t).isAdmin:!1}catch{return!1}})(),setCodes:t=>{e({codes:t}),localStorage.setItem(_0,JSON.stringify(t))},setIsAdmin:t=>{e({isAdmin:t})},load:async()=>{try{let t=!1;const n=sessionStorage.getItem(F0);if(n)t=!!JSON.parse(n).isAdmin;else{const i=await Rx();t=!!i.isAdmin,sessionStorage.setItem(F0,JSON.stringify(i))}if(e({isAdmin:t}),t)return;const a=(await W_()).filter(i=>i.status!==0).map(i=>i.code);e({codes:a}),localStorage.setItem(_0,JSON.stringify(a))}catch(t){console.error("Failed to load permissions",t)}}}));function zUe(){const{codes:e,load:t,isAdmin:n}=SUe();return{codes:e,load:t,can:a=>{if(!a||n||!e||e.length===0)return!0;const i=e.some(c=>c.startsWith("menu:")),l=e.some(c=>!c.startsWith("menu:")&&c.includes(":"));let s=!1;return a.startsWith("menu:")?s=!i||e.includes(a):s=!l||e.includes(a),s},isAdmin:n}}const kj="#1677ff",Yj="default",Qj="side",Jj=()=>`unis_theme_color_${localStorage.getItem("username")||"default"}`,Zj=()=>`unis_theme_mode_${localStorage.getItem("username")||"default"}`,eM=()=>`unis_layout_mode_${localStorage.getItem("username")||"default"}`,U$=X_(e=>({colorPrimary:kj,themeMode:Yj,layoutMode:Qj,setColorPrimary:t=>{e({colorPrimary:t});const n=Jj();localStorage.setItem(n,t),document.documentElement.style.setProperty("--app-primary-color",t)},setThemeMode:t=>{e({themeMode:t});const n=Zj();localStorage.setItem(n,t),document.documentElement.setAttribute("data-theme",t)},setLayoutMode:t=>{e({layoutMode:t});const n=eM();localStorage.setItem(n,t)},initTheme:()=>{const t=Jj(),n=Zj(),r=eM(),i=localStorage.getItem(t)||kj,s=localStorage.getItem(n)||Yj,u=localStorage.getItem(r)||Qj;e({colorPrimary:i,themeMode:s,layoutMode:u}),document.documentElement.style.setProperty("--app-primary-color",i),document.documentElement.setAttribute("data-theme",s)}})),{Text:B0}=Ss;function RUe(){const{t:e}=II(),[t,n]=o.useState(!1),{colorPrimary:r,themeMode:a,layoutMode:i,setColorPrimary:l,setThemeMode:s,setLayoutMode:c}=U$(),u=[{label:e("theme.default","Default"),value:"default"},{label:e("theme.minimal","Minimal"),value:"minimal"},{label:e("theme.tech","Tech"),value:"tech"}],d=[{label:e("theme.layoutSide","Side Menu"),value:"side"},{label:e("theme.layoutTop","Top Menu"),va